/* Apply Page Styles */

/* Hero Section */
.apply-hero {
    background: linear-gradient(135deg, #0d5a26 0%, #117331 25%, #1a8f42 50%, #117331 75%, #0d5a26 100%);
    padding: 50px 20px;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.apply-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.apply-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.apply-hero .hero-subtitle {
    font-size: clamp(10px, 0.85vw, 12px);
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.95;
    text-align: center;
}

.apply-hero h1 {
    font-size: clamp(32px, 3.5vw, 42px);
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.2;
    color: #FFD700;
}

.apply-hero .hero-description {
    font-size: clamp(13px, 1vw, 15px);
    opacity: 0.95;
    line-height: 1.6;
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}

.application-section {
    min-height: calc(100vh - 80px);
    background-color: #f5f5f5;
    padding: 60px 20px 80px;
}

.application-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 35px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
}


/* Form Styles */
.application-form {
    width: 100%;
}

.form-section-title {
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 700;
    color: #117331;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e8f5e9;
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: #333;
    font-size: clamp(12px, 0.95vw, 14px);
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: clamp(12px, 0.95vw, 14px);
    transition: border-color 0.3s;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #117331;
    background-color: white;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

/* Validation Message */
.validation-message {
    display: none;
    color: #e53935;
    font-size: clamp(11px, 0.85vw, 13px);
    margin-top: 4px;
    line-height: 1.4;
}

.validation-message.show {
    display: block;
}


/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: flex-end;
    margin-top: 25px;
}

.btn-submit {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: clamp(13px, 0.95vw, 15px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #117331;
    color: white;
    box-shadow: 0 2px 8px rgba(17, 115, 49, 0.2);
}

.btn-submit:hover {
    background-color: #0d5a26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 115, 49, 0.3);
}

/* Responsive */
@media (min-width: 1920px) {
    .application-container {
        max-width: 1400px;
    }
}

@media (max-width: 1440px) {
    .application-container {
        max-width: 1100px;
    }
}

@media (max-width: 1366px) {
    .application-container {
        max-width: 1000px;
        padding: 28px 40px;
    }
}

@media (max-width: 1024px) {
    .application-container {
        max-width: 95%;
        padding: 25px 30px;
    }

    .form-row-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .application-section {
        padding: 30px 15px 50px;
    }

    .application-container {
        padding: 22px 20px;
        border-radius: 12px;
    }

    .form-row-3,
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .application-section {
        padding: 20px 10px 40px;
    }

    .application-container {
        padding: 18px 15px;
        border-radius: 10px;
    }

    .form-row-3,
    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        justify-content: stretch;
    }

    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 375px) {
    .application-container {
        padding: 15px 12px;
    }

    .form-group input,
    .form-group select {
        font-size: 14px;
        padding: 9px 11px;
    }
}
