/* Import Jost Font */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600&display=swap');

/* Reset + Base Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Jost', sans-serif;
}

body {
    background: #f0f4f8;
    padding: 2rem;
    color: #333;
    animation: fadeIn 1s ease-in;
}


/* Container */
.job-application-form-container {
    max-width: 720px;
    margin: auto;
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    animation: slideIn 0.8s ease-out;
}

/* Heading */
.job-application-form-container h2 {
    text-align: center;
    color: #3c2c95;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Fieldsets */
.job-application-form fieldset {
    border: none;
    margin-bottom: 2rem;
}

.job-application-form legend {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3c2c95;
    margin-bottom: 1rem;
}

/* Labels and Inputs */
.job-application-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.job-application-form label i {
    margin-right: 8px;
    color: #3c2c95;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #f9fafb;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #3c2c95;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(60, 44, 149, 0.1);
}

textarea {
    resize: vertical;
}

/* reCAPTCHA */
.g-recaptcha {
    margin: 20px 0;
    transform: scale(1.05);
    transform-origin: 0 0;
}
/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #3c2c95;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #2e247d;
    transform: translateY(-2px);
}

/* Small Text (like file size note) */
small {
    display: block;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #555;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .job-application-form-container {
        padding: 1.5rem;
    }

    .job-application-form-container h2 {
        font-size: 1.8rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="file"],
    select,
    textarea,
    .submit-btn {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .job-application-form-container h2 {
        font-size: 1.5rem;
    }

    .submit-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    @media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.95); /* Slightly smaller */
        transform-origin: 0 0;
    }
}

}
