/* ============================================
   APPLY PAGE STYLES
   Modern, Professional, Brand-Aligned
   ============================================ */

/* Hero Section */
.apply-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 8s ease-in-out infinite;
}

.hero-decoration-1 {
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(77, 191, 184, 0.1) 0%, transparent 70%);
}

.hero-decoration-2 {
    bottom: -15%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(244, 181, 66, 0.08) 0%, transparent 70%);
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.apply-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(77, 191, 184, 0.1) 0%, rgba(77, 191, 184, 0.05) 100%);
    border: 1px solid rgba(77, 191, 184, 0.2);
    border-radius: 50px;
    color: var(--teal-turquoise);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

.hero-badge i {
    font-size: 1.125rem;
}

.apply-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: #1a202c;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.apply-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.apply-stats-mini {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #2d3748;
    font-weight: 600;
    font-size: 0.9375rem;
}

.stat-mini i {
    font-size: 1.5rem;
    color: var(--teal-turquoise);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Trust Indicators */
.trust-indicators {
    padding: 4rem 0;
    background: #ffffff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(77, 191, 184, 0.03) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 16px;
    border: 1px solid rgba(77, 191, 184, 0.1);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(77, 191, 184, 0.15);
    border-color: rgba(77, 191, 184, 0.3);
}

.trust-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--teal-turquoise) 0%, var(--teal-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(77, 191, 184, 0.25);
}

.trust-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.trust-item p {
    font-size: 0.9375rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Application Form Section */
.apply-form-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.form-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.form-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
}

.form-intro p {
    font-size: 1.125rem;
    color: #4a5568;
    margin: 0;
}

.required-indicator {
    color: #e53e3e;
    font-weight: 700;
}

/* What Happens Next Section */
.next-steps-section {
    padding: 5rem 0;
    background: #ffffff;
}

.timeline-steps {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--teal-turquoise) 0%, var(--golden-yellow) 100%);
}

.timeline-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-number-circle {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal-turquoise) 0%, var(--teal-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(77, 191, 184, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding: 1rem 0;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 1.0625rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.step-time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(77, 191, 184, 0.1);
    color: var(--teal-turquoise);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.step-time::before {
    content: '⏱';
    font-size: 1rem;
}

/* FAQ Section */
.apply-faq-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.faq-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--teal-turquoise);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-question i {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--teal-turquoise) 0%, var(--teal-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
}

.faq-question h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.4;
}

.faq-answer {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
    padding-left: 3rem;
}

/* Support CTA */
.apply-support-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.apply-support-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(77, 191, 184, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(244, 181, 66, 0.12) 0%, transparent 40%);
}

.support-cta-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.support-cta-content {
    flex: 1;
}

.support-cta-content i {
    font-size: 3rem;
    color: var(--teal-turquoise);
    margin-bottom: 1rem;
    display: block;
}

.support-cta-content h3 {
    font-size: 1.875rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.support-cta-content p {
    font-size: 1.125rem;
    color: #4a5568;
    margin: 0;
}

.support-cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-support-primary,
.btn-support-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-support-primary {
    background: linear-gradient(135deg, var(--teal-turquoise) 0%, var(--teal-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(77, 191, 184, 0.3);
}

.btn-support-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(77, 191, 184, 0.4);
}

.btn-support-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--teal-turquoise);
    border: 2px solid rgba(77, 191, 184, 0.3);
}

.btn-support-secondary:hover {
    background: #ffffff;
    border-color: var(--teal-turquoise);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-steps::before {
        left: 25px;
    }
    
    .step-number-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .apply-hero {
        padding: 140px 0 80px;
    }
    
    .apply-hero-title {
        font-size: 2.5rem;
    }
    
    .apply-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .apply-stats-mini {
        gap: 1.5rem;
    }
    
    .stat-mini {
        font-size: 0.875rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-intro h2 {
        font-size: 2rem;
    }
    
    .timeline-steps::before {
        left: 20px;
    }
    
    .step-number-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-step {
        gap: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.25rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .support-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .support-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-support-primary,
    .btn-support-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .apply-hero {
        padding: 120px 0 60px;
    }
    
    .apply-hero-title {
        font-size: 2rem;
    }
    
    .apply-stats-mini {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-item {
        padding: 1.5rem 1rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-answer {
        padding-left: 0;
        margin-top: 0.75rem;
    }
}

