/* ========== MISSION AND VISION PAGE STYLES ========== */
/* Matches the Index.css design system — variables, typography, spacing, color palette */

/* ─── Hero Section ─────────────────────────────────────── */
#MissionVisionHero {
    min-height: 420px;
    padding: 140px 2rem 100px;
    background: var(--grad-navy);
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle radial light bloom — depth without slants */
#MissionVisionHero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 160, 27, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

#MissionVisionHero .mv-hero-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: mvFadeInUp 0.85s ease both;
}

/* Eyebrow label */
#MissionVisionHero .mv-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
}

#MissionVisionHero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    position: relative;
    display: inline-block;
}

/* Amber underline bar on h1 */
#MissionVisionHero h1::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: var(--grad-stripe);
    border-radius: 2px;
}

#MissionVisionHero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin-top: 2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Shared section base ───────────────────────────────── */
#VisionSection,
#MissionSection {
    padding: 100px 2rem;
    display: flex;
    align-items: center;
}

#VisionSection {
    background: var(--surface-card);
    box-shadow: inset 0 1px 0 rgba(13, 37, 69, 0.08);
}

#MissionSection {
    background: var(--surface-light);
    box-shadow: inset 0 1px 0 rgba(13, 37, 69, 0.08);
}

/* ─── Vision layout ─────────────────────────────────────── */
.vision-container,
.mission-container {
    display: flex;
    gap: 5rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    animation: mvFadeInUp 0.85s ease both;
}

/* ─── Shared image styles ───────────────────────────────── */
.vision-image,
.mission-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.vision-image img,
.mission-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vision-image img:hover,
.mission-image img:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 32px 64px rgba(13, 37, 69, 0.22);
}

/* Amber accent frame on vision image */
.vision-image::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: calc(var(--radius-lg) + 6px);
    border: 2px solid var(--amber);
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.vision-image:hover::after {
    opacity: 0.65;
}

/* Navy accent frame on mission image */
.mission-image::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: calc(var(--radius-lg) + 6px);
    border: 2px solid var(--navy-light);
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mission-image:hover::after {
    opacity: 0.6;
}

/* ─── Shared text styles ────────────────────────────────── */
.vision-text,
.mission-text {
    flex: 1;
    min-width: 300px;
}

/* Section label above heading */
.vision-text .mv-label,
.mission-text .mv-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.9rem;
}

.vision-text h2,
.mission-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    color: var(--navy-deep);
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Amber underline rule below h2 — removed */
.vision-text h2::after,
.mission-text h2::after {
    display: none;
}

.vision-text p,
.mission-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-top: 1.8rem;
}

.vision-text p strong,
.mission-text p strong {
    color: var(--amber);
    font-weight: 600;
}

/* Subtle left-border pull on vision paragraph — editorial accent */
.vision-text p {
    padding-left: 1.2rem;
    border-left: 2px solid var(--amber);
}

/* ─── Container ─────────────────────────────────────────── */
.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
}

/* ─── Animation ─────────────────────────────────────────── */
@keyframes mvFadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) {
    #MissionVisionHero h1 {
        font-size: 2.5rem;
    }

    #MissionVisionHero p {
        font-size: 1rem;
    }

    .vision-text h2,
    .mission-text h2 {
        font-size: 2rem;
    }

    .vision-container,
    .mission-container {
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    #MissionVisionHero {
        min-height: 360px;
        padding: 120px 1.5rem 70px;
    }

    #MissionVisionHero h1 {
        font-size: 2rem;
    }

    #VisionSection,
    #MissionSection {
        padding: 70px 1.5rem;
    }

    .vision-container,
    .mission-container {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .vision-text h2::after,
    .mission-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .vision-text,
    .mission-text {
        text-align: center;
    }

    /* Remove left border on mobile — looks odd when centered */
    .vision-text p {
        padding-left: 0;
        border-left: none;
    }

    .vision-image,
    .mission-image {
        min-width: 260px;
        width: 100%;
    }

    /* On mobile stack mission image above text */
    .mission-container {
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    #MissionVisionHero h1 {
        font-size: 1.65rem;
    }

    #MissionVisionHero p {
        font-size: 0.92rem;
    }

    .vision-text h2,
    .mission-text h2 {
        font-size: 1.75rem;
    }

    .vision-text p,
    .mission-text p {
        font-size: 0.95rem;
    }
}