* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .container {
            max-width: 900px;
            width: 100%;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            animation: slideIn 0.5s ease-out;
        }
         /* Developer Info (from previous request) */
        .developer-info {
                position: fixed;
				top: 8%;
				left: 115px;
				transform: translateY(-50%);
				text-align: center;
				color: #ffffff;
				z-index: 10;
        }

        .developer-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #fff;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            
        }

        .developer-info h4 {
            margin: 0;
            font-size: 1.2em;
            font-weight: 600;
        }

        .developer-info p {
            
            font-size: 0.9em;
            opacity: 0.7;
        }
.hide-on-scroll {
  opacity: 0; /* Starts hidden */
  transform: translateY(-50px); /* Optional: moves it slightly off-screen */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth transition */
}

.show-on-scroll {
  opacity: 1; /* Becomes visible */
  transform: translateY(0); /* Returns to original position */
}

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .header h1 {
            font-size: 2em;
            margin-bottom: 5px;
            position: relative;
            z-index: 1;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .header p {
            font-size: 0.9em;
            opacity: 0.95;
            position: relative;
            z-index: 1;
        }

        .form-content {
            padding: 40px;
        }

        .section-title {
            font-size: 1.3em;
            color: #667eea;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 3px solid #667eea;
            font-weight: 600;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-row.single {
            grid-template-columns: 1fr;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        label {
            font-weight: 600;
            margin-bottom: 8px;
            color: #333;
            font-size: 0.9em;
        }

        input[type="text"],
        input[type="date"],
        input[type="number"],
        select,
        textarea {
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 0.95em;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        input[type="text"]:focus,
        input[type="date"]:focus,
        input[type="number"]:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
        }

        textarea {
            resize: vertical;
            min-height: 80px;
        }

        select {
            cursor: pointer;
            background-color: white;
        }

        .certificate-section {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            padding: 30px;
            border-radius: 15px;
            margin-top: 30px;
        }

        .certificate-section textarea,
        .certificate-section input,
        .certificate-section select {
            background-color: white;
        }

        .button-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
            padding: 30px;
            background: #f8f9fa;
        }

        .btn {
            padding: 15px 40px;
            border: none;
            border-radius: 50px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
/* Define the animation for the spinning flash effect */
@keyframes radial-flash {
    to {
        /* Spin the conical gradient 360 degrees */
        background-position: 100% 0;
        background-size: 200% 100%;
    }
}

/*
 * Base Button Style with Conic Gradient
 */
.btn-primary {
    /* New, vibrant colors */
    background: conic-gradient(from 0deg at 50% 50%, 
        #ff00cc 0%, #3333ff 50%, #ff00cc 100%);
    
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px; /* Slightly more rounded */
    cursor: pointer;
    font-weight: bold;
    
    /* Prepare for the flash effect */
    background-size: 150% 150%; /* Larger background to animate */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Springy transition */
}

/*
 * Hover Effect: Activate the Flash Animation
 */
.btn-primary:hover {
    /* Lift the button dramatically */
    transform: scale(1.05) translateY(-5px); 
    
    /* Stronger, glowing box shadow */
    box-shadow: 0 10px 30px rgba(255, 0, 204, 0.7); 
    
    /* Apply the flashing animation */
    animation: radial-flash 0.5s linear infinite; 
}

/* Optional: Stop the animation when the button is clicked to signal action */
.btn-primary:active {
    animation: none;
    transform: scale(0.95);
}

        .btn-secondary {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
        }

        .btn-secondary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
        }

        .btn:active {
            transform: translateY(-1px);
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .header h1 {
                font-size: 1.5em;
            }

            .form-content {
                padding: 20px;
            }

            .button-container {
                flex-direction: column;
                padding: 20px;
            }

            .btn {
                width: 100%;
            }
        }

        .watermark {
            text-align: center;
            color: #999;
            font-size: 0.85em;
            padding: 20px;
            background: #f8f9fa;
        }

        @media print {
            body {
                background: white;
                padding: 0;
            }
            
            .container {
                box-shadow: none;
            }
            
            .button-container,
            .watermark {
                display: none;
            }
        }
         /* New Footer Style */
        .page-footer {
            margin-top: 20px;
            padding: 15px;
            text-align: center;
            color: #6c757d;
            font-size: 0.9em;
            width: 100%;
            max-width: 1400px;
        }
        
        .page-footer a {
            color: #007bff;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .page-footer a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

