/* ==========================================================================
   MODEL PUBLIC SCHOOL — COMPLETE REDESIGN STYLESHEET
   Color Palette: Dark Navy Blue (#0b2545 / #07172c), Sky Blue (#0284c7 / #38bdf8 / #e0f2fe), Crisp White (#ffffff)
   ========================================================================== */

:root {
    --navy-deep: #07172c;
    --navy-primary: #0b2545;
    --navy-mid: #13315c;
    --sky-primary: #0284c7;
    --sky-bright: #38bdf8;
    --sky-soft: #e0f2fe;
    --sky-pale: #f0f9ff;
    --sky-bg-band: #dbeafe;
    --white: #ffffff;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-arabic: 'Amiri', 'Traditional Arabic', serif;
    --font-urdu: 'Noto Nastaliq Urdu', 'Noto Sans Arabic', serif;
    --transition-smooth: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--slate-900);
    background-color: var(--white);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

body.rtl-mode {
    font-family: var(--font-urdu), var(--font-sans);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.school-layout {
    display: block;
    width: 100%;
    min-height: 100vh;
}

.school-main-content,
html[dir="rtl"] .school-main-content,
body.rtl-mode .school-main-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0;
    display: block;
    background: var(--white);
}

/* Container Utility */
.mps-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 36px;
}

/* Typography Utilities */
.mps-kicker {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--sky-primary);
    margin: 0 0 6px;
    display: block;
}

.mps-section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 400;
    color: var(--navy-primary);
    line-height: 1.12;
    margin: 0 0 18px;
}

.mps-highlight-band {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: var(--navy-primary);
    font-weight: 600;
}

/* Buttons */
.mps-btn-pill-navy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy-primary);
    color: var(--white) !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 50px;
    border: 1.5px solid var(--navy-primary);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.2);
}

.mps-btn-pill-navy:hover {
    background: var(--sky-primary);
    border-color: var(--sky-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.3);
}

.mps-btn-pill-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--navy-primary) !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 11px 24px;
    border-radius: 50px;
    border: 1.5px solid var(--navy-primary);
    cursor: pointer;
}

.mps-btn-pill-outline:hover {
    background: var(--navy-primary);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   1. TOP NAVIGATION HEADER & MEGA MENU (TRANSPARENT -> SOLID WHITE ON SCROLL)
   ========================================================================== */
.mps-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 36px;
    background: linear-gradient(180deg, rgba(7, 23, 44, 0.85) 0%, rgba(7, 23, 44, 0.45) 65%, transparent 100%);
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.3s ease;
}

.mps-top-header.scrolled,
body.has-solid-header .mps-top-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(11, 37, 69, 0.1);
    padding: 10px 36px;
    border-bottom: 1px solid var(--slate-200);
}

.mps-header-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Brand / Crest */
.mps-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mps-header-logo {
    height: 54px;
    width: 54px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(7, 23, 44, 0.25);
    transition: height 0.3s ease, width 0.3s ease;
}

.mps-top-header.scrolled .mps-header-logo,
body.has-solid-header .mps-header-logo {
    height: 46px;
    width: 46px;
}

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

.mps-brand-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--white);
    line-height: 1.15;
    text-transform: uppercase;
}

.mps-brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    color: var(--sky-bright);
    text-transform: uppercase;
    margin-top: 2px;
}

.mps-top-header.scrolled .mps-brand-name,
body.has-solid-header .mps-brand-name {
    color: var(--navy-primary);
}

.mps-top-header.scrolled .mps-brand-sub,
body.has-solid-header .mps-brand-sub {
    color: var(--sky-primary);
}

/* Nav Right Column (2 Rows: Utility + Main Nav) */
.mps-header-nav-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.mps-utility-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.88);
}

.mps-top-header.scrolled .mps-utility-bar,
body.has-solid-header .mps-utility-bar {
    color: var(--slate-500);
}

.mps-utility-link {
    font-weight: 500;
    transition: color 0.2s ease;
}

.mps-utility-link:hover {
    color: var(--sky-bright);
}

.mps-top-header.scrolled .mps-utility-link:hover,
body.has-solid-header .mps-utility-link:hover {
    color: var(--sky-primary);
}

.mps-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 600;
}

.mps-top-header.scrolled .mps-lang-pill,
body.has-solid-header .mps-lang-pill {
    background: var(--sky-pale);
    border-color: #bae6fd;
    color: var(--navy-primary);
}

.mps-lang-pill a.active {
    color: var(--sky-bright);
    font-weight: 700;
}

.mps-top-header.scrolled .mps-lang-pill a.active,
body.has-solid-header .mps-lang-pill a.active {
    color: var(--sky-primary);
}

.mps-utility-pill-btn {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.mps-utility-pill-btn.mps-pill-app {
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.52);
    color: #e0f2fe;
}

.mps-utility-pill-btn.mps-pill-app:hover {
    background: rgba(2, 132, 199, 0.45);
    border-color: var(--sky-bright);
    color: var(--white);
}

.mps-utility-pill-btn.mps-pill-email {
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.48);
    color: #fef3c7;
}

.mps-utility-pill-btn.mps-pill-email:hover {
    background: rgba(217, 119, 6, 0.42);
    border-color: #fcd34d;
    color: var(--white);
}

.mps-top-header.scrolled .mps-utility-pill-btn.mps-pill-app,
body.has-solid-header .mps-utility-pill-btn.mps-pill-app {
    background: rgba(2, 132, 199, 0.1);
    border-color: rgba(2, 132, 199, 0.35);
    color: #0369a1;
}

.mps-top-header.scrolled .mps-utility-pill-btn.mps-pill-app:hover,
body.has-solid-header .mps-utility-pill-btn.mps-pill-app:hover {
    background: rgba(2, 132, 199, 0.2);
    border-color: var(--sky-primary);
    color: var(--navy-primary);
}

.mps-top-header.scrolled .mps-utility-pill-btn.mps-pill-email,
body.has-solid-header .mps-utility-pill-btn.mps-pill-email {
    background: rgba(217, 119, 6, 0.1);
    border-color: rgba(217, 119, 6, 0.35);
    color: #b45309;
}

.mps-top-header.scrolled .mps-utility-pill-btn.mps-pill-email:hover,
body.has-solid-header .mps-utility-pill-btn.mps-pill-email:hover {
    background: rgba(217, 119, 6, 0.2);
    border-color: #d97706;
    color: #78350f;
}

.mps-search-icon-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
}

/* Main Navigation Menu */
.mps-main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mps-nav-item {
    position: relative;
}

.mps-nav-link {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--white);
    padding: 8px 2px;
    display: inline-block;
    position: relative;
}

.mps-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--sky-bright);
    transition: width 0.25s ease;
}

.mps-nav-item:hover > .mps-nav-link::after,
.mps-nav-item.active > .mps-nav-link::after {
    width: 100%;
}

.mps-top-header.scrolled .mps-nav-link,
body.has-solid-header .mps-nav-link {
    color: var(--navy-primary);
}

.mps-top-header.scrolled .mps-nav-link::after,
body.has-solid-header .mps-nav-link::after {
    background: var(--sky-primary);
}

/* Mega-Menu Dropdown Card */
.mps-megamenu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 620px;
    margin-top: 6px;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 22px 50px rgba(7, 23, 44, 0.22);
    border: 1px solid var(--slate-200);
    border-top: 3px solid var(--sky-primary);
    display: grid;
    grid-template-columns: 220px 1fr;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
    z-index: 1050;
}

/* Invisible hover bridge so menu never closes when moving mouse down */
.mps-megamenu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

html[dir="rtl"] .mps-megamenu {
    right: auto;
    left: 0;
}

.mps-nav-item:hover .mps-megamenu,
.mps-nav-item:focus-within .mps-megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mps-megamenu-photo {
    position: relative;
    background: var(--navy-deep);
    overflow: hidden;
}

.mps-megamenu-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mps-megamenu-content {
    padding: 24px 28px;
    text-align: start;
}

.mps-megamenu-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--navy-primary);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--slate-200);
}

.mps-megamenu-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mps-megamenu-links a {
    font-size: 0.86rem;
    color: var(--slate-700);
    font-weight: 500;
    display: block;
    padding: 3px 0;
}

.mps-megamenu-links a:hover {
    color: var(--sky-primary);
    transform: translateX(3px);
}

html[dir="rtl"] .mps-megamenu-links a:hover {
    transform: translateX(-3px);
}

/* Mobile Hamburger */
.mps-mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mps-top-header.scrolled .mps-mobile-toggle,
body.has-solid-header .mps-mobile-toggle {
    background: var(--sky-pale);
    border-color: #bae6fd;
    color: var(--navy-primary);
}

/* ==========================================================================
   2. FLOATING RIGHT-SIDE QUICK ACTION RAIL (LIKE VIDEO)
   ========================================================================== */
.mps-floating-rail {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

html[dir="rtl"] .mps-floating-rail {
    right: auto;
    left: 20px;
}

.mps-rail-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--sky-primary);
    color: var(--white) !important;
    border: 2px solid var(--white);
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.mps-rail-btn:hover {
    background: var(--navy-primary);
    transform: scale(1.1);
}

.mps-rail-tooltip {
    position: absolute;
    right: 52px;
    background: var(--navy-deep);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: all 0.2s ease;
    pointer-events: none;
}

html[dir="rtl"] .mps-rail-tooltip {
    right: auto;
    left: 52px;
    transform: translateX(-6px);
}

.mps-rail-btn:hover .mps-rail-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   3. HERO SECTION (ROBUST UNOBSTRUCTED PHOTO + FLOATING GLASS CARD + ANIMATIONS)
   ========================================================================== */
.mps-video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    max-height: 920px;
    overflow: hidden;
    background: var(--navy-deep);
}

.mps-video-hero .slick-list,
.mps-video-hero .slick-track,
.mps-video-hero-slide {
    height: 100%;
}

.mps-video-hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    max-height: 920px;
    will-change: opacity;
    backface-visibility: hidden;
}

.mps-hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1) translate3d(0, 0, 0);
    will-change: transform;
}

@keyframes mpsKenBurnsRight {
    0%   { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.11) translate3d(-1.8%, -1.2%, 0); }
}

@keyframes mpsKenBurnsLeft {
    0%   { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.11) translate3d(1.8%, -1.2%, 0); }
}

.slick-active.pan-right .mps-hero-photo,
.mps-video-hero-slide.is-leaving.pan-right .mps-hero-photo {
    animation: mpsKenBurnsRight 7.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slick-active.pan-left .mps-hero-photo,
.mps-video-hero-slide.is-leaving.pan-left .mps-hero-photo {
    animation: mpsKenBurnsLeft 7.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Subtle Top & Bottom Gradient Scrim (Center-aligned photos remain bright) */
.mps-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 23, 44, 0.28) 0%, rgba(7, 23, 44, 0.0) 48%, rgba(7, 23, 44, 0.26) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Max 1/3 Height Semi-Transparent Bottom Band (Left: Heading+Buttons | Right: Arabic & Meaning Boxes) */
.mps-hero-bottom-band {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 33.333%;
    background: linear-gradient(180deg, rgba(11, 37, 69, 0.14) 0%, rgba(11, 37, 69, 0.34) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-top: 1px solid rgba(56, 189, 248, 0.34);
    padding: 20px 44px 54px;
    color: var(--white);
    z-index: 6;
    display: flex;
    align-items: center;
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.mps-hero-band-split {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 28px;
    align-items: center;
}

.mps-hero-band-left {
    text-align: start;
}

.mps-hero-band-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--sky-bright);
    margin-bottom: 4px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.mps-hero-band-title {
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.14;
    margin: 0 0 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Thin, Short, Semi-Transparent Hero Buttons */
.mps-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mps-hero-btn-thin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

.mps-hero-btn-thin.primary {
    background: rgba(2, 132, 199, 0.34);
    border-color: rgba(56, 189, 248, 0.72);
}

.mps-hero-btn-thin:hover {
    background: rgba(2, 132, 199, 0.78);
    border-color: var(--sky-bright);
    transform: translateY(-1px);
}

/* Right Column: Two Separate Boxes (Arabic Box + Meaning Box) */
.mps-hero-band-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
}

.mps-hero-ayah-box,
.mps-hero-meaning-box {
    background: rgba(7, 23, 44, 0.54);
    border: 1px solid rgba(56, 189, 248, 0.42);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.mps-hero-ayah-box {
    font-family: var(--font-arabic);
    font-size: clamp(1.15rem, 1.75vw, 1.45rem);
    font-weight: 700;
    line-height: 1.75;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.mps-hero-meaning-box {
    gap: 8px;
    text-align: start;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #e0f2fe;
}

.mps-slogan-tr {
    font-style: italic;
    color: #f0f9ff;
}

.mps-slogan-ref {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--sky-bright);
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Staggered Slide-In & Slow Fade-Out Choreography */
@keyframes mpsHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mps-video-hero-slide .mps-hero-band-kicker,
.mps-video-hero-slide .mps-hero-band-title,
.mps-video-hero-slide .mps-hero-actions,
.mps-video-hero-slide .mps-hero-ayah-box,
.mps-video-hero-slide .mps-hero-meaning-box {
    opacity: 0;
}

.mps-video-hero-slide.is-leaving .mps-hero-band-kicker,
.mps-video-hero-slide.is-leaving .mps-hero-band-title,
.mps-video-hero-slide.is-leaving .mps-hero-actions,
.mps-video-hero-slide.is-leaving .mps-hero-ayah-box,
.mps-video-hero-slide.is-leaving .mps-hero-meaning-box {
    opacity: 1;
    transform: translateY(0);
}

.slick-active .mps-hero-band-kicker {
    animation: mpsHeroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}
.slick-active .mps-hero-band-title {
    animation: mpsHeroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}
.slick-active .mps-hero-actions {
    animation: mpsHeroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}
.slick-active .mps-hero-ayah-box {
    animation: mpsHeroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.46s forwards;
}
.slick-active .mps-hero-meaning-box {
    animation: mpsHeroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.56s forwards;
}

/* Slow fade-out of the WHOLE bottom block + text together before slide changes */
@keyframes mpsHeroBandFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

.mps-video-hero-slide.is-exiting .mps-hero-bottom-band {
    animation: mpsHeroBandFadeOut 1.3s ease-in-out forwards !important;
    pointer-events: none;
}

.mps-video-hero-slide.is-leaving:not(.is-exiting) .mps-hero-bottom-band {
    animation: mpsHeroBandFadeOut 0.5s ease-out forwards !important;
    pointer-events: none;
}

/* Hero Side Arrows */
.mps-hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(7, 23, 44, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mps-hero-nav-btn:hover {
    background: var(--sky-primary);
    border-color: var(--white);
    transform: translateY(-50%) scale(1.08);
}

.mps-hero-nav-btn.prev { left: 16px; }
.mps-hero-nav-btn.next { right: 16px; }

html[dir="rtl"] .mps-hero-nav-btn.prev { left: auto; right: 16px; }
html[dir="rtl"] .mps-hero-nav-btn.next { right: auto; left: 16px; }

/* Hero Slide Dots */
.mps-hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(7, 23, 44, 0.6);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mps-hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.mps-hero-dot.active {
    width: 24px;
    border-radius: 10px;
    background: var(--sky-bright);
}

/* Bottom Progress Bar */
.mps-hero-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: rgba(255, 255, 255, 0.18);
    z-index: 20;
}

.mps-hero-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--sky-primary), var(--sky-bright));
}

/* Bottom Hero Controls (Pause bottom-left, Down Arrow bottom-right) */
.mps-hero-pause-btn {
    position: absolute;
    bottom: 18px;
    left: 24px;
    z-index: 15;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(7, 23, 44, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.78rem;
}

.mps-hero-pause-btn:hover {
    background: var(--sky-primary);
    border-color: var(--sky-bright);
}

.mps-hero-scroll-btn {
    position: absolute;
    bottom: 18px;
    right: 24px;
    z-index: 15;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy-deep);
    border: 1.5px solid var(--sky-bright);
    color: var(--white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    animation: mpsBounceDown 2.2s infinite;
}

@keyframes mpsBounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.mps-hero-scroll-btn:hover {
    background: var(--sky-primary);
    animation: none;
    transform: translateY(3px);
}

@media (max-width: 960px) {
    .mps-hero-bottom-band {
        max-height: none;
        padding: 18px 20px 58px;
    }
    .mps-hero-band-split {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .mps-video-hero,
    .mps-video-hero-slide {
        height: auto;
        min-height: 640px;
    }
    .mps-hero-bottom-band {
        padding: 16px 16px 62px;
    }
    .mps-hero-band-right {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .mps-hero-nav-btn {
        display: none;
    }
}

/* ==========================================================================
   4. SECTION 1: DISTINCTLY MODEL PUBLIC SCHOOL (ACCORDION + OVERLAPPING PHOTOS)
   ========================================================================== */
.mps-distinctly-section {
    padding: 90px 0 100px;
    background: var(--white);
    position: relative;
}

.mps-distinctly-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 64px;
    align-items: center;
    margin-top: 28px;
}

/* Left Interactive Accordion */
.mps-accordion-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mps-accordion-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    cursor: pointer;
}

.mps-accordion-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: start;
    cursor: pointer;
}

.mps-accordion-crest {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.7);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.mps-accordion-item.active .mps-accordion-crest {
    opacity: 1;
    transform: scale(1);
}

.mps-accordion-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 400;
    color: #94a3b8;
    transition: color 0.25s ease;
}

.mps-accordion-item:hover .mps-accordion-title {
    color: var(--sky-primary);
}

.mps-accordion-item.active .mps-accordion-title {
    color: var(--navy-primary);
    font-weight: 600;
}

.mps-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    opacity: 0;
    padding-inline-start: 36px;
}

.mps-accordion-item.active .mps-accordion-body {
    max-height: 240px;
    opacity: 1;
    margin-top: 10px;
}

.mps-accordion-body p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--slate-700);
    margin: 0;
}

/* Right Overlapping Photo Stack (Video-Matched Proportions) */
.mps-photo-stack {
    position: relative;
    padding: 24px 24px 36px;
    min-height: 660px;
}

.mps-stack-sky-bg {
    position: absolute;
    top: 44px;
    right: 0;
    bottom: 0;
    left: 90px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border-radius: 6px;
    z-index: 0;
}

.mps-stack-card {
    position: relative;
    z-index: 2;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(7, 23, 44, 0.16);
    background: var(--navy-deep);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: block;
}

.mps-stack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(7, 23, 44, 0.22);
}

.mps-stack-card.card-1 {
    width: 66%;
    margin-left: auto;
    height: 255px;
}

.mps-stack-card.card-2 {
    width: 64%;
    margin-top: -55px;
    margin-right: auto;
    height: 260px;
    z-index: 3;
}

.mps-stack-card.card-3 {
    width: 66%;
    margin-top: -50px;
    margin-left: auto;
    height: 255px;
    z-index: 4;
}

.mps-stack-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.mps-stack-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 18px 14px;
    background: linear-gradient(to top, rgba(7, 23, 44, 0.92) 0%, transparent 100%);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
}

.mps-stack-plus {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: rgba(11, 37, 69, 0.85);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ==========================================================================
   5. SECTION 2: FOUR CORNERSTONES (DARK NAVY CARDS OVER SKY-BLUE BAND)
   ========================================================================== */
.mps-cornerstones-section {
    padding: 80px 0 90px;
    background: var(--white);
    position: relative;
}

.mps-cornerstones-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 36px;
    align-items: start;
    margin-top: 24px;
}

.mps-cornerstones-intro p {
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--slate-700);
    margin: 0;
}

.mps-cornerstones-track-wrap {
    position: relative;
    padding: 20px 0 16px 20px;
    min-width: 0;
}

.mps-cornerstones-sky-band {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    bottom: 24px;
    background: #e0f2fe;
    border-radius: 6px;
    z-index: 0;
}

.mps-cornerstones-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.mps-cornerstone-card {
    background: linear-gradient(160deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
    color: var(--white);
    border-radius: 4px;
    padding: 34px 18px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 380px;
    box-shadow: 0 14px 32px rgba(7, 23, 44, 0.18);
    border-top: 3px solid var(--sky-bright);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mps-cs-nav-controls {
    display: none;
}

.mps-cs-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--slate-200);
    color: var(--navy-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(7, 23, 44, 0.08);
    transition: var(--transition-smooth);
}

.mps-cs-nav-btn:hover {
    background: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

.mps-cornerstone-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(7, 23, 44, 0.28);
}

.mps-cs-icon {
    width: 48px;
    height: 48px;
    color: var(--sky-bright);
    margin-bottom: 16px;
}

.mps-cs-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--white);
    margin: 0 0 6px;
}

.mps-cs-sub {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--sky-bright);
    margin-bottom: 16px;
}

.mps-cs-divider {
    width: 36px;
    height: 1.5px;
    background: rgba(56, 189, 248, 0.45);
    margin: 0 auto 16px;
}

.mps-cs-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
}

/* ==========================================================================
   6. SECTION 3: ENDLESS POSSIBILITIES (FULL-BLEED DARK NAVY + QUOTE CARD)
   ========================================================================== */
.mps-possibilities-section {
    background: linear-gradient(180deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 85px 0 90px;
    position: relative;
    overflow: hidden;
}

.mps-possibilities-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
    padding: 0 24px;
}

.mps-possibilities-header .mps-kicker {
    color: var(--sky-bright);
}

.mps-possibilities-header .mps-section-title {
    color: var(--white);
    margin-bottom: 12px;
}

.mps-possibilities-header p {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0 0 24px;
}

.mps-poss-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.mps-poss-arrow {
    background: none;
    border: none;
    color: var(--sky-bright);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
}

.mps-poss-dots {
    display: flex;
    gap: 8px;
}

.mps-poss-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
}

.mps-poss-dot.active {
    background: var(--white);
    border-color: var(--white);
}

.mps-poss-strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 40px 20px;
    scrollbar-width: none;
}

.mps-poss-strip::-webkit-scrollbar {
    display: none;
}

.mps-poss-card {
    flex: 0 0 290px;
    height: 440px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: #13315c;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.mps-poss-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 0.5s ease;
}

.mps-poss-card:hover img {
    transform: scale(1.06);
}

.mps-poss-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 23, 44, 0.92) 0%, rgba(7, 23, 44, 0.2) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 20px;
}

.mps-poss-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--sky-bright);
    margin-bottom: 4px;
}

.mps-poss-card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--white);
    margin: 0;
}

/* Sky-Blue Quote Card inside Strip */
.mps-poss-quote-card {
    flex: 0 0 300px;
    min-height: 440px;
    height: auto;
    border-radius: 4px;
    background: linear-gradient(155deg, var(--sky-primary) 0%, #0369a1 100%);
    padding: 38px 26px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--white);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.mps-poss-quote-marks {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.5;
    padding-top: 4px;
    display: block;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}

.mps-poss-quote-ar {
    font-family: var(--font-arabic);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    direction: rtl;
    margin-bottom: 10px;
    line-height: 1.6;
}

.mps-poss-quote-text {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #f0f9ff;
    margin: 0 0 16px;
}

.mps-poss-quote-cite {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #bae6fd;
}

/* ==========================================================================
   7. SECTION 4: FULL OF OPPORTUNITY (TEXT + 3x2 PHOTO GRID)
   ========================================================================== */
.mps-opportunity-section {
    padding: 95px 0;
    background: var(--white);
}

.mps-opportunity-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.mps-opportunity-text p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--slate-700);
    margin: 0;
}

.mps-opp-tiles-wrap {
    position: relative;
    padding: 20px;
}

.mps-opp-sky-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 22%;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    z-index: 0;
}

.mps-opp-tiles-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mps-opp-tile {
    position: relative;
    height: 192px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(7, 23, 44, 0.14);
}

.mps-opp-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 0.45s ease;
}

.mps-opp-tile:hover img {
    transform: scale(1.08);
}

.mps-opp-tile-label {
    position: absolute;
    inset: 0;
    background: rgba(7, 23, 44, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    transition: background 0.3s ease;
}

.mps-opp-tile:hover .mps-opp-tile-label {
    background: rgba(2, 132, 199, 0.65);
}

/* ==========================================================================
   8. SECTION 5: CELEBRATING MODEL STORIES (FEATURED NEWS + 3 STACKED)
   ========================================================================== */
.mps-stories-section {
    padding: 80px 0 90px;
    background: #f8fafc;
}

.mps-stories-header {
    text-align: center;
    margin-bottom: 36px;
}

.mps-stories-tabs {
    display: flex;
    justify-content: center;
    gap: 28px;
    border-bottom: 1px solid var(--slate-200);
    max-width: 520px;
    margin: 0 auto 36px;
}

.mps-stories-tab {
    background: none;
    border: none;
    padding: 10px 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--slate-500);
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
}

.mps-stories-tab.active {
    color: var(--navy-primary);
    border-bottom-color: var(--sky-primary);
}

.mps-stories-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: start;
}

.mps-story-featured {
    position: relative;
    height: 475px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(7, 23, 44, 0.14);
}

.mps-story-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.mps-story-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 23, 44, 0.94) 0%, rgba(7, 23, 44, 0.35) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: var(--white);
}

.mps-story-featured-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: var(--white);
    margin: 0 0 10px;
}

.mps-story-featured-desc {
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0 0 18px;
}

.mps-story-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mps-story-row {
    display: grid;
    grid-template-columns: 136px 1fr;
    gap: 20px;
    align-items: center;
    background: var(--white);
    padding: 16px;
    border-radius: 6px;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 12px rgba(7, 23, 44, 0.04);
    transition: var(--transition-smooth);
}

.mps-story-row:hover {
    border-color: var(--sky-primary);
    transform: translateX(4px);
}

.mps-story-thumb {
    width: 136px;
    height: 96px;
    border-radius: 4px;
    overflow: hidden;
}

.mps-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mps-story-row-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--navy-primary);
    margin: 0 0 6px;
    line-height: 1.35;
}

.mps-story-readmore {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--sky-primary);
}

/* ==========================================================================
   9. SECTION 6: DISCOVER YOUR EDUCATIONAL JOURNEY (4 DIVISIONS)
   ========================================================================== */
.mps-journey-section {
    padding: 90px 0 100px;
    background: var(--white);
    position: relative;
}

.mps-journey-intro {
    max-width: 720px;
    margin-bottom: 42px;
}

.mps-journey-intro p {
    font-size: 0.98rem;
    color: var(--slate-700);
    line-height: 1.75;
    margin: 0;
}

.mps-journey-cards-wrap {
    position: relative;
    padding-bottom: 28px;
}

.mps-journey-sky-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 135px;
    background: #e0f2fe;
    z-index: 0;
}

.mps-journey-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mps-journey-card {
    position: relative;
    height: 415px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(7, 23, 44, 0.14);
    display: block;
}

.mps-journey-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s ease;
}

.mps-journey-card:hover img {
    transform: scale(1.06);
}

.mps-journey-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 23, 44, 0.9) 0%, rgba(7, 23, 44, 0.25) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px 20px;
    text-align: center;
    color: var(--white);
}

.mps-journey-age {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--sky-bright);
    margin-bottom: 6px;
}

.mps-journey-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

.mps-journey-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 14px auto 0;
    transition: var(--transition-smooth);
}

.mps-journey-card:hover .mps-journey-arrow {
    background: var(--sky-primary);
    border-color: var(--sky-bright);
}

/* ==========================================================================
   10. SECTION 7: REFINED CAMPUS CTA BANNER
   ========================================================================== */
.mps-yourday-cta {
    position: relative;
    min-height: 440px;
    padding: 72px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-deep);
}

.mps-yourday-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.45;
}

.mps-yourday-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 23, 44, 0.45) 0%, rgba(11, 37, 69, 0.78) 100%);
}

.mps-yourday-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
}

.mps-yourday-glass-card {
    background: rgba(11, 37, 69, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-top: 4px solid var(--sky-bright);
    border-radius: 12px;
    padding: 46px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 24px 55px rgba(5, 18, 36, 0.45);
}

.mps-yourday-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--sky-bright);
    margin-bottom: 10px;
}

.mps-yourday-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 500;
    color: var(--white);
    margin: 0 0 12px;
    line-height: 1.2;
}

.mps-yourday-sub {
    font-size: 0.98rem;
    color: #e0f2fe;
    line-height: 1.65;
    max-width: 660px;
    margin: 0 auto 26px;
}

.mps-yourday-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.mps-apply-circle-btn {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy-primary) !important;
    border: 4px solid var(--sky-bright);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.mps-apply-circle-btn:hover {
    background: var(--sky-primary);
    color: var(--white) !important;
    transform: scale(1.08);
}

/* ==========================================================================
   11. DARK NAVY FOOTER (3-COLUMN + BACK TO TOP)
   ========================================================================== */
.mps-footer {
    background: linear-gradient(180deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 70px 0 36px;
    position: relative;
    border-top: 3px solid var(--sky-primary);
}

.mps-back-to-top {
    position: absolute;
    top: -22px;
    right: 48px;
    background: var(--navy-deep);
    color: var(--white) !important;
    border: 1.5px solid var(--sky-bright);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.mps-back-to-top:hover {
    background: var(--sky-primary);
}

.mps-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mps-footer-heading {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--white);
    margin: 0 0 16px;
}

.mps-footer-contact-text {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.75;
    margin: 0 0 18px;
}

.mps-footer-center {
    text-align: center;
}

.mps-footer-crest {
    height: 76px;
    width: 76px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    margin: 0 auto 14px;
    display: block;
}

.mps-footer-mission {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #e2e8f0;
    margin: 0 0 22px;
}

.mps-footer-circle-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 22px;
}

.mps-footer-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #bae6fd;
}

.mps-footer-circle-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(56, 189, 248, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-smooth);
}

.mps-footer-circle-item:hover .mps-footer-circle-icon {
    background: var(--sky-primary);
    border-color: var(--sky-bright);
    transform: translateY(-2px);
}

.mps-footer-dua-pill {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(2, 132, 199, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 30px;
}

.mps-footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}

.mps-footer-links-list a {
    font-size: 0.88rem;
    color: #cbd5e1;
}

.mps-footer-links-list a:hover {
    color: var(--sky-bright);
}

.mps-footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ==========================================================================
   12. SUBPAGE HERO + NAVY SUB-NAV BAR (MATCHING VIDEO 01:18 - 01:35)
   ========================================================================== */
.mps-subhero {
    position: relative;
    height: 460px;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 120px 24px 48px;
}

.mps-subhero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 23, 44, 0.58) 0%, rgba(11, 37, 69, 0.72) 100%);
    z-index: 1;
}

.mps-subhero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    width: 100%;
}

.mps-subhero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 500;
    color: var(--white);
    margin: 0 0 14px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

.mps-subhero-slogan {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 26px;
    background: rgba(7, 23, 44, 0.58);
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 780px;
}

.mps-subhero-slogan .ar {
    font-family: var(--font-arabic);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.8;
    color: var(--white);
    direction: rtl;
}

.mps-subhero-slogan .tr {
    font-size: 0.85rem;
    color: #e0f2fe;
    line-height: 1.45;
}

/* Navy Horizontal Sub-Nav Bar */
.mps-subnav-bar {
    background: var(--navy-primary);
    border-bottom: 2px solid var(--sky-primary);
    padding: 0 32px;
}

.mps-subnav-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 14px 0;
}

.mps-subnav-root {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--sky-bright);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mps-subnav-link {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.mps-subnav-link:hover {
    color: var(--sky-bright);
}

/* Subpage Stats Row (01:22 in video) */
.mps-stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    margin: 50px 0;
}

.mps-stat-box {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-top: 3px solid var(--sky-primary);
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(7, 23, 44, 0.05);
}

.mps-stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--sky-primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.mps-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--navy-primary);
}

/* Subpage Full-Width Navy Quote Band (01:25 in video) */
.mps-navy-quote-band {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 64px 24px;
    text-align: center;
}

.mps-navy-quote-band blockquote {
    max-width: 820px;
    margin: 0 auto 14px;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
}

.mps-navy-quote-band cite {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sky-bright);
    font-style: normal;
}

/* Subpage "Begin Your Journey" 3-Card Row (01:31 in video) */
.mps-begin-journey-section {
    padding: 80px 0 90px;
    background: var(--white);
    text-align: center;
}

.mps-begin-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.mps-begin-card {
    position: relative;
    height: 290px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(7, 23, 44, 0.14);
}

.mps-begin-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.mps-begin-card:hover img {
    transform: scale(1.06);
}

.mps-begin-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 20px 18px;
    background: linear-gradient(to top, rgba(7, 23, 44, 0.92) 0%, transparent 100%);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.4rem;
}

/* Mobile Drawer */
.mps-mobile-drawer {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    color: var(--white);
    z-index: 2000;
    padding: 28px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mps-mobile-drawer.open {
    transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
    .mps-header-nav-col {
        display: none;
    }
    .mps-mobile-toggle {
        display: inline-flex;
    }
    .mps-distinctly-grid,
    .mps-cornerstones-layout,
    .mps-opportunity-grid,
    .mps-stories-grid,
    .mps-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .mps-cornerstones-grid,
    .mps-journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mps-floating-rail {
        display: none;
    }
}

@media (max-width: 640px) {
    .mps-top-header {
        padding: 10px 18px;
    }
    .mps-container {
        padding: 0 20px;
    }
    .mps-cornerstones-grid,
    .mps-journey-grid,
    .mps-begin-cards,
    .mps-opp-tiles-grid {
        grid-template-columns: 1fr;
    }
    .mps-stack-card.card-1,
    .mps-stack-card.card-2,
    .mps-stack-card.card-3 {
        width: 100%;
        margin: 0 0 16px;
    }
    .mps-photo-stack {
        min-height: auto;
        padding: 0;
    }
    .mps-stack-sky-bg {
        display: none;
    }
    .mps-footer-links-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HOMEPAGE POLISH: CLEARER HERO ACTIONS, DEPTH, AND ACCESSIBLE MOTION
   ========================================================================== */
.mps-video-hero {
    height: 92vh;
    height: min(92svh, 900px);
    min-height: 620px;
    max-height: 900px;
}

.mps-video-hero-slide {
    height: 100%;
    min-height: 0;
    max-height: none;
}

.mps-video-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 23, 44, 0.22) 0%, transparent 36%, rgba(7, 23, 44, 0.12) 100%);
}

.mps-hero-bottom-band {
    max-height: none;
    padding: 24px 44px 58px;
    background: linear-gradient(180deg, rgba(7, 23, 44, 0.62) 0%, rgba(7, 23, 44, 0.82) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top-width: 2px;
}

.mps-hero-band-inner {
    max-width: 900px;
}

.mps-hero-band-title {
    font-size: clamp(1.55rem, 2.75vw, 2.4rem);
    line-height: 1.22;
    text-wrap: balance;
}

html[dir="rtl"] .mps-hero-band-title {
    font-size: clamp(1.4rem, 2.35vw, 2.05rem);
    line-height: 1.55;
    margin-bottom: 14px;
}

.mps-hero-band-desc {
    max-width: 720px;
}

.mps-hero-band-slogan {
    max-width: 100%;
    line-height: 1.6;
}

.mps-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.mps-hero-cta-primary,
.mps-hero-cta-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.mps-hero-cta-primary {
    background: var(--sky-primary);
    color: var(--white) !important;
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.28);
}

.mps-hero-cta-primary span {
    font-size: 1.1rem;
    transition: transform 220ms ease;
}

.mps-hero-cta-primary:hover {
    background: #0369a1;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.4);
    transform: translateY(-2px);
}

.mps-hero-cta-primary:hover span {
    transform: translateX(3px);
}

html[dir="rtl"] .mps-hero-cta-primary:hover span {
    transform: translateX(-3px);
}

.mps-hero-cta-secondary {
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.08);
}

.mps-hero-cta-secondary:hover {
    border-color: var(--sky-bright);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.mps-hero-pause-btn,
.mps-hero-scroll-btn {
    z-index: 6;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mps-hero-pause-btn {
    bottom: 20px;
}

.mps-hero-scroll-btn {
    bottom: 18px;
}

.mps-stack-card,
.mps-cornerstone-card,
.mps-poss-card,
.mps-poss-quote-card,
.mps-opp-tile,
.mps-story-featured,
.mps-story-row,
.mps-journey-card {
    border-radius: 12px;
}

.mps-stack-card img,
.mps-story-featured img,
.mps-story-thumb img {
    transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mps-stack-card:hover img,
.mps-story-featured:hover img,
.mps-story-row:hover .mps-story-thumb img {
    transform: scale(1.045);
}

.mps-cornerstone-card,
.mps-story-row,
.mps-journey-card {
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.mps-cornerstone-card:hover,
.mps-journey-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 44px rgba(7, 23, 44, 0.22);
}

.mps-story-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(7, 23, 44, 0.1);
}

.mps-poss-card,
.mps-poss-quote-card,
.mps-story-featured,
.mps-journey-card,
.mps-opp-tile {
    box-shadow: 0 14px 32px rgba(7, 23, 44, 0.16);
}

.mps-poss-card,
.mps-journey-card,
.mps-opp-tile,
.mps-story-featured {
    isolation: isolate;
}

.mps-poss-card img,
.mps-journey-card img,
.mps-opp-tile img {
    transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mps-poss-card:hover img,
.mps-journey-card:hover img,
.mps-opp-tile:hover img {
    transform: scale(1.055);
}

.mps-hero-cta-primary:focus-visible,
.mps-hero-cta-secondary:focus-visible,
.mps-hero-pause-btn:focus-visible,
.mps-hero-scroll-btn:focus-visible,
.mps-stack-card:focus-visible,
.mps-poss-card:focus-visible,
.mps-opp-tile:focus-visible,
.mps-story-row:focus-visible,
.mps-journey-card:focus-visible {
    outline: 3px solid var(--sky-bright);
    outline-offset: 4px;
}

html.mps-motion-ready [data-home-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.mps-motion-ready [data-home-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .mps-video-hero {
        height: 100vh;
        height: 100svh;
        min-height: 640px;
        max-height: 900px;
    }

    .mps-hero-bottom-band {
        padding: 26px 18px 48px;
    }

    .mps-hero-band-kicker {
        font-size: 0.68rem;
        letter-spacing: 1.8px;
    }

    .mps-hero-band-title {
        font-size: clamp(2rem, 9vw, 3rem);
        margin-bottom: 8px;
    }

    .mps-hero-band-desc {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 10px;
    }

    .mps-hero-band-slogan {
        gap: 4px 8px;
        padding: 6px 12px;
        font-size: 0.76rem;
    }

    .mps-hero-band-slogan .ar-text {
        font-size: 1.1rem;
    }

    .mps-hero-actions {
        gap: 8px;
        margin-top: 14px;
    }

    .mps-hero-cta-primary,
    .mps-hero-cta-secondary {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    .mps-hero-pause-btn {
        left: 18px;
        bottom: 12px;
        width: 36px;
        height: 36px;
    }

    .mps-hero-scroll-btn {
        right: 18px;
        bottom: 10px;
        width: 40px;
        height: 40px;
    }

    .mps-stack-card,
    .mps-cornerstone-card,
    .mps-poss-card,
    .mps-poss-quote-card,
    .mps-opp-tile,
    .mps-story-featured,
    .mps-story-row,
    .mps-journey-card {
        border-radius: 10px;
    }
}

/* ==========================================================================
   13. SCROLL REVEAL & INTERACTIVE MICRO-ANIMATIONS
   ========================================================================== */
.mps-anim-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.mps-anim-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle floating pulse on CTA circle & rail buttons */
@keyframes mpsSoftFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.mps-apply-circle-btn {
    animation: mpsSoftFloat 3.6s ease-in-out infinite;
}

.mps-apply-circle-btn:hover {
    animation: none;
    transform: scale(1.08);
}

/* Shimmering sky-blue border glow on Cornerstone & Journey cards */
.mps-cornerstone-card,
.mps-journey-card,
.mps-opp-tile,
.mps-story-row,
.mps-stat-box,
.mps-begin-card {
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s ease, border-color 0.3s ease;
}

.mps-cornerstone-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 50px rgba(2, 132, 199, 0.28);
}

.mps-stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(11, 37, 69, 0.12);
    border-top-color: var(--navy-primary);
}

/* ==========================================================================
   14. URDU RTL TYPOGRAPHY & SPACING FIXES (PREVENT NASTALIQ GAPS)
   ========================================================================== */
html[dir="rtl"] *,
body.rtl-mode * {
    letter-spacing: 0 !important;
}

html[dir="rtl"] .mps-section-title,
html[dir="rtl"] .mps-hero-band-title,
html[dir="rtl"] .mps-subhero-title,
html[dir="rtl"] .mps-accordion-title,
html[dir="rtl"] .mps-cs-title,
html[dir="rtl"] .mps-story-featured-title,
html[dir="rtl"] .mps-story-row-title,
html[dir="rtl"] .mps-journey-name,
html[dir="rtl"] .mps-yourday-title {
    font-family: var(--font-urdu), var(--font-sans);
    line-height: 2.05 !important;
}

html[dir="rtl"] .mps-kicker {
    display: inline-block;
    margin-bottom: 22px !important;
    line-height: 1.85;
}

html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] .mps-nav-link,
html[dir="rtl"] .mps-kicker,
html[dir="rtl"] .mps-hero-band-kicker,
html[dir="rtl"] .mps-subnav-link,
html[dir="rtl"] .mps-subnav-root,
html[dir="rtl"] .mps-btn-pill-navy,
html[dir="rtl"] .mps-btn-pill-outline,
html[dir="rtl"] .mps-hero-btn-thin {
    font-family: var(--font-urdu), var(--font-sans);
    line-height: 1.9;
}

html[dir="rtl"] .mps-main-nav {
    gap: 20px;
}

html[dir="rtl"] .mps-cornerstones-track-wrap {
    padding: 20px 20px 16px 0;
}

html[dir="rtl"] .mps-back-to-top {
    right: auto;
    left: 48px;
}

html[dir="rtl"] .mps-slogan-ref {
    align-self: flex-end;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    html.mps-motion-ready [data-home-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}
