/* Hero Section */
.hero-section {
    position: relative;
    margin-top: -100px;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85), rgba(184, 84, 80, 0.75));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Introduction Section */
.intro-section {
    padding: 5rem 0 3rem;
    background: white;
}

.section-title-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-center h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    display: inline-block;
}

.section-title-center h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-red));
    border-radius: 2px;
}

.section-title-center p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
}

/* Programs Section */
.programs-section {
    padding: 3rem 0 5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.program-card {
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.program-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.program-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    align-items: center;
    min-height: 500px;
}

.program-card.reverse .program-content {
    direction: rtl;
}

.program-card.reverse .program-content>* {
    direction: ltr;
}

.program-card:hover .program-content {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.program-image {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.08);
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.4), rgba(255, 107, 53, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover .program-overlay {
    opacity: 1;
}

.program-text {
    padding: 3.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.program-category {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-red));
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.program-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.program-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.program-features li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.4rem;
}

.program-cta {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid #e8f4f8;
}

.cta-box {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 18px;
    border-left: 5px solid var(--accent-orange);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cta-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.cta-text {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.impact-content {
    position: relative;
    z-index: 2;
}

.section-title-center h2.text-white::after {
    background: white;
}

.section-title-center p.text-white {
    color: rgba(255, 255, 255, 0.95);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.impact-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.impact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.9;
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
    font-family: 'Poppins', sans-serif;
}

.impact-label {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
    line-height: 1.4;
}

/* Final CTA Section */
.final-cta-section {
    padding: 6rem 0;
    background: white;
}

.final-cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.final-cta-content p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid transparent;
}

.btn-cta-primary {
    background: var(--accent-orange);
    color: white;
}

.btn-cta-primary:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-cta-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-cta-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.btn-cta-tertiary {
    background: var(--primary-blue);
    color: white;
}

.btn-cta-tertiary:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .program-content {
        grid-template-columns: 1fr;
    }

    .program-card.reverse .program-content {
        direction: ltr;
    }

    .program-image {
        height: 350px;
    }

    .program-text {
        padding: 2.5rem;
    }

    .hero-stats {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title-center h2 {
        font-size: 2.2rem;
    }

    .program-image {
        height: 280px;
    }

    .program-text {
        padding: 2rem 1.5rem;
    }

    .program-title {
        font-size: 1.8rem;
    }

    .program-description {
        font-size: 1rem;
    }

    .program-features li {
        font-size: 0.95rem;
    }

    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }

    .impact-number {
        font-size: 2.5rem;
    }

    .final-cta-content h2 {
        font-size: 2rem;
    }

    .final-cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}