/* Shared frame for OUSD pathway detail pages. */

:root {
    --pathway-green: #205F30;
    --pathway-overlay: rgba(24, 79, 45, .65);
    --pathway-yellow: #F6B40E;
    --pathway-stats: #1D6B3A;
    --pathway-hero-height: 680px;
    --pathway-content-width: 800px;
}

body {
    margin: 0;
    padding-top: 110px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 110px;
    padding: 12px 40px;
    box-sizing: border-box;
    background: var(--pathway-green);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text h2 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.brand-text p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: .8rem;
    letter-spacing: .4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
}

.nav-links a:hover {
    opacity: .75;
}

.nav-links a.active {
    padding-bottom: 4px;
    border-bottom: 2px solid #fff;
}

.eeap-hero,
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: var(--pathway-hero-height);
    min-height: var(--pathway-hero-height);
    padding: 120px 20px 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}

.hero-content,
.page-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--pathway-content-width);
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 20px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 30px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.eeap-hero h1,
.page-hero h1 {
    margin: 0 0 25px;
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
}

.eeap-hero p:not(.eyebrow),
.page-hero .description {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .95);
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 36px;
    border-radius: 999px;
    background: var(--pathway-yellow);
    color: #184F2D;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.hero-btn:hover {
    background: #ffd34d;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);
    transform: translateY(-3px);
}

/* Shared metrics and introduction treatment. */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
    background: var(--pathway-stats);
    color: #fff;
    text-align: center;
}

.stat {
    padding: 35px 24px;
}

.stat h2 {
    margin: 0;
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .92);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.about {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 90px auto;
    padding: 0 40px;
    background: #fff;
}

.about h2 {
    margin: 0 0 25px;
    color: var(--pathway-green);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.15;
}

.about p {
    margin: 0 0 25px;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.about img,
.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

@media (max-width: 1000px) {
    .eeap-hero h1,
    .page-hero h1 {
        font-size: 2.8rem;
    }

    .stats,
    .about {
        grid-template-columns: 1fr;
    }

    .about {
        gap: 45px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        min-height: 96px;
        padding: 10px 20px;
    }

    .nav-logo {
        width: 64px;
        height: 64px;
    }

    .brand-text h2 {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 16px;
    }

    .eeap-hero,
    .page-hero {
        height: auto;
        min-height: 600px;
        padding: 140px 25px 70px;
    }

    .eeap-hero h1,
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .eeap-hero p:not(.eyebrow),
    .page-hero .description {
        font-size: 1.05rem;
    }

    .stats,
    .about {
        grid-template-columns: 1fr;
    }

    .about {
        gap: 40px;
        margin: 64px auto;
        padding: 0 25px;
    }
}

/* Phone framework shared by both pathway pages. */
@media (max-width: 720px) {
    body {
        padding-top: 0;
    }

    .navbar {
        position: static;
        flex-direction: column;
        height: auto;
        min-height: 0;
        align-items: stretch;
        gap: 10px;
        padding: 14px 20px 10px;
    }

    .nav-brand {
        justify-content: center;
        gap: 10px;
    }

    .nav-logo {
        width: 54px;
        height: 54px;
    }

    .brand-text h2 {
        font-size: 1.3rem;
    }

    .brand-text p {
        margin: 2px 0 0;
        font-size: .7rem;
    }

    .nav-links {
        justify-content: flex-start;
        gap: 2px;
        width: 100%;
        overflow-x: auto;
        padding: 0 0 3px;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li {
        flex: 0 0 auto;
    }

    .nav-links a {
        display: block;
        padding: 8px 10px;
        font-size: .84rem;
        white-space: nowrap;
    }

    .nav-links a.active {
        padding-bottom: 6px;
    }

    .eeap-hero,
    .page-hero {
        min-height: 520px;
        height: auto;
        padding: 74px 24px;
    }

    .eeap-hero h1,
    .page-hero h1 {
        font-size: clamp(2.5rem, 11vw, 3.6rem);
    }

    .eeap-hero p:not(.eyebrow),
    .page-hero .description {
        font-size: 1.02rem;
        line-height: 1.65;
    }

    .eyebrow {
        margin-bottom: 16px;
        padding: 7px 13px;
        font-size: .72rem;
        letter-spacing: 1.4px;
    }

    .hero-btn {
        width:100%;
        max-width:320px;
        box-sizing:border-box;
        margin-top:30px;
        padding:15px 20px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat {
        padding: 28px 14px;
    }

    .stat h2 {
        font-size: 2.25rem;
    }

    .stat p {
        font-size: .88rem;
    }

    section {
        padding-right: 24px;
        padding-left: 24px;
    }

    .about,
    .feature-section,
    .feature,
    .info-section {
        gap: 32px;
        margin: 64px auto;
        padding-right: 24px;
        padding-left: 24px;
    }

    .benefits,
    .gallery,
    .cta {
        padding: 64px 24px;
    }

    .about h2,
    .benefits h2,
    .section-heading h2,
    .cta h2,
    .feature-content h2,
    .feature-text h2 {
        font-size: clamp(2rem, 9vw, 2.65rem);
        line-height: 1.15;
    }

    .benefit-card,
    .info-card {
        padding: 26px 22px;
    }

    .feature-image img {
        height:320px;
        border-radius:16px;
    }

    .gallery-grid {
        gap:16px;
    }

    .gallery-grid img,
    .gallery-item img {
        height:280px;
    }
}

@media (max-width: 380px) {
    .stats {
        grid-template-columns: 1fr;
    }
}
