/* ==========================================================================
   DEHRADUN DEFENCE INSTITUTE - OFFICIAL STYLESHEET
   Design Theme: "Building Future Defenders of India"
   Palette:
   🔵 Primary Navy:     #002B5C (Backgrounds, Base, Accents)
   🟠 Saffron / Orange: #FF6B00 (CTAs, Highlights, Focus)
   🔹 Light Blue:       #EAF3FA (Cards, Overlays, Accents)
   ⚪ Lite White:        #CBDCEE (Paragraphs, Subtitles, Borders)
   🟡 Accent Gold:      #D4AF37 (Medals, Honors, Borders)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */

:root {
    /* 🔵 Primary Navy Spectrum */
    --color-primary-navy: #002B5C;
    --color-navy-dark: #001F44;
    --color-navy-deep: #001530;
    --color-navy-surface: #003673;
    --color-navy-glass: rgba(0, 43, 92, 0.88);
    --color-navy-glass-heavy: rgba(0, 24, 52, 0.95);
    /* 🟠 Saffron / Orange Spectrum */
    --color-saffron: #FF6B00;
    --color-saffron-bright: #FF7D1F;
    --color-saffron-dark: #E05E00;
    --color-saffron-glow: rgba(255, 107, 0, 0.45);
    --color-saffron-subtle: rgba(255, 107, 0, 0.15);
    /* 🔹 Light Blue Spectrum */
    --color-light-blue: #EAF3FA;
    --color-light-blue-hover: #F4F9FD;
    --color-light-blue-border: #C8E0F4;
    --color-cyan-glow: rgba(234, 243, 250, 0.15);
    /* ⚪ Lite White & Text */
    --color-lite-white: #CBDCEE;
    --color-lite-white-light: #E5F0FC;
    --color-pure-white: #FFFFFF;
    --color-slate-dim: #7C98BA;
    /* 🟡 Accent Gold */
    --color-accent-gold: #D4AF37;
    --color-accent-gold-bright: #ECC858;
    --color-gold-glow: rgba(212, 175, 55, 0.35);
    /* Tactical Borders */
    --color-border-subtle: rgba(203, 220, 238, 0.15);
    --color-border-medium: rgba(203, 220, 238, 0.28);
    --color-border-saffron: rgba(255, 107, 0, 0.5);
    /* Shadows */
    --shadow-sm: 0 4px 14px rgba(0, 15, 35, 0.4);
    --shadow-md: 0 8px 26px rgba(0, 15, 35, 0.55);
    --shadow-lg: 0 16px 45px rgba(0, 15, 35, 0.7);
    --shadow-glow-saffron: 0 8px 24px var(--color-saffron-glow);
    /* Typography */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-script: 'Caveat', cursive;
    --font-signpainter: 'SignPainter', 'Caveat', cursive;
    --font-mono: 'JetBrains Mono', monospace;
    /* Layout */
    --header-height: 98px;
    --header-height-scrolled: 82px;
    --container-max: 1500px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    /* Transitions */
    --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 280ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 450ms cubic-bezier(0.16, 1, 0.3, 1);
}


/* --------------------------------------------------------------------------
   2. RESET & FOUNDATIONS
   -------------------------------------------------------------------------- */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent iOS Safari from auto-inflating text when the device rotates */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background-color: var(--color-primary-navy);
    color: var(--color-pure-white);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-lite-white);
    background-color: var(--color-primary-navy);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

:focus-visible {
    outline: 2px solid var(--color-saffron);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 20px;
    background: var(--color-saffron);
    color: #FFFFFF;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 9999;
    border-radius: var(--radius-sm);
    transition: top 0.2s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}


/* National Tricolour Top Strip */

.tiranga-top-strip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-saffron) 0%, var(--color-accent-gold) 35%, #FFFFFF 65%, #046A38 100%);
    z-index: 1001;
    box-shadow: 0 1px 10px var(--color-saffron-glow);
}


/* Flag Video — sirf video, bottom se attached, koi box nahi */

.flag-video-fixed {
    position: fixed !important;
    left: 0 !important;
    right: auto !important;
    top: auto !important;
    bottom: -4px !important;
    width: 170px;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 900;
    pointer-events: none;
    line-height: 0;
    font-size: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateZ(0);
    contain: paint;
}

.flag-video-fixed video {
    width: 100%;
    height: auto;
    display: block !important;
    margin: 0 !important;
    margin-bottom: -2px !important;
    padding: 0 !important;
    vertical-align: bottom;
    background: transparent;
    border: none;
    outline: none;
}

@media (max-width: 768px) {
    .flag-video-fixed {
        width: 120px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-pure-white);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.01em;
}

p {
    color: var(--color-lite-white);
}

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

ul,
ol {
    list-style: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}


/* Layout Utilities */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding-top: 90px;
    padding-bottom: 90px;
    position: relative;
}


/* --------------------------------------------------------------------------
   Section render hint
   --------------------------------------------------------------------------
   NOTE: these sections previously used `content-visibility: auto` +
   `contain-intrinsic-size: auto 700px`. That skipped rendering while a
   section was off-screen and then did the ENTIRE style + layout + paint for
   that section in one burst the moment it scrolled near the viewport — i.e.
   work moved from page load straight into the scroll, which showed up as a
   visible stutter on both desktop and mobile. The DOM here is small
   (~1,200 nodes), so rendering everything up-front costs a few milliseconds
   and scrolling stays smooth. Do NOT reintroduce content-visibility on
   these blocks without re-measuring scroll frames first.
   -------------------------------------------------------------------------- */


/* Badge Tags (e.g. 🇮🇳 ABOUT US) */

.section-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--color-lite-white-light);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-headline {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.section-subtext {
    font-size: 1.02rem;
    color: var(--color-lite-white);
    line-height: 1.6;
    max-width: 620px;
}


/* --------------------------------------------------------------------------
   3. BUTTONS (ATTRACTIVE 3D & SHIMMER HOVER ANIMATIONS)
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
    user-select: none;
    line-height: 1;
    z-index: 1;
    transform: translateZ(0);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}


/* Shimmer Light-Sweep Reflection Element */

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 2;
    transition: left 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover::before {
    left: 170%;
}

.btn:active {
    transform: scale(0.96) translateY(1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}


/* Button Arrow / Icon Micro-Interaction */

.btn .btn-arrow,
.btn .btn-arrow-icon,
.btn-arrow {
    display: inline-block;
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover .btn-arrow,
.btn:hover .btn-arrow-icon,
.btn:hover .btn-arrow {
    transform: translateX(4px) translateY(-3px) scale(1.15);
}


/* Orange Saffron Pill CTA (Primary / Hero / Navbar / Enroll) */

.btn-pill-enroll,
.btn-pill-cta,
.btn-primary {
    background: linear-gradient(135deg, var(--color-saffron) 0%, var(--color-saffron-dark) 100%);
    color: #FFFFFF;
    border-color: var(--color-saffron);
    /* box-shadow: 0 4px 20px var(--color-saffron-glow), inset 0 1px 1px rgba(255, 255, 255, 0.4); */
}

.btn-pill-enroll:hover,
.btn-pill-cta:hover,
.btn-primary:hover {
    /* background: linear-gradient(135deg, var(--color-saffron-bright) 0%, var(--color-saffron) 100%); */
    border-color: var(--color-saffron-bright);
    /* transform: translateY(-3px) scale(1.02); */
    /* box-shadow: 0 12px 30px rgba(255, 107, 0, 0.55),
              0 0 20px rgba(255, 138, 51, 0.4),
              inset 0 1px 2px rgba(255, 255, 255, 0.6); */
}


/* Large CTA Button (Final Section) */

.btn-pill-enroll-lg {
    background: linear-gradient(135deg, var(--color-saffron) 0%, var(--color-saffron-dark) 100%);
    color: #FFFFFF;
    border-color: var(--color-saffron);
    padding: 18px 40px;
    font-size: 1.02rem;
    letter-spacing: 0.08em;
    box-shadow: 0 6px 26px var(--color-saffron-glow), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-pill-enroll-lg:hover {
    background: linear-gradient(135deg, var(--color-saffron-bright) 0%, var(--color-saffron) 100%);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 38px rgba(255, 107, 0, 0.65), 0 0 25px rgba(255, 138, 51, 0.5), inset 0 1px 3px rgba(255, 255, 255, 0.7);
}


/* Story Video Trigger Pill */

.btn-pill-story {
    background: rgba(0, 20, 48, 0.65);
    color: #FFFFFF;
    border-color: rgba(203, 220, 238, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* box-shadow: 0 4px 16px rgba(0, 15, 35, 0.4); */
}

.btn-pill-story:hover {
    background: rgba(0, 43, 92, 0.9);
    border-color: #FFFFFF;
    /* transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(0, 43, 92, 0.6), 0 0 16px rgba(203, 220, 238, 0.25); */
}

.play-icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--color-primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    padding-left: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.btn-pill-story:hover .play-icon-circle {
    transform: scale(1.2) rotate(10deg);
    background: var(--color-saffron);
    color: #FFFFFF;
}


/* Outline Pill Buttons (Know More, View All, Explore Facilities, etc.) */

.btn-outline-pill {
    background: rgba(0, 43, 92, 0.25);
    color: #FFFFFF;
    border: 1.5px solid rgba(203, 220, 238, 0.45);
    backdrop-filter: blur(6px);
}

.btn-outline-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-saffron), var(--color-saffron-dark));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s ease;
    border-radius: inherit;
}

.btn-outline-pill:hover {
    border-color: var(--color-saffron);
    color: #FFFFFF;
    /* transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px var(--color-saffron-glow), 0 0 14px rgba(255, 107, 0, 0.3); */
}

.btn-outline-pill:hover::after {
    opacity: 1;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.78rem;
}


/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 4px;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    /* Scroll perf: the header is a full-width FIXED bar, so its backdrop blur
       had to be recomputed for every single scroll frame (biggest single GPU
       cost on the page). Radius dropped 16px -> 8px and the base colour is a
       touch more opaque so the glass look stays the same. */
    background-color: rgba(0, 35, 75, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border-subtle);
    transition: height var(--transition-base), background-color var(--transition-base);
}

.site-header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(0, 25, 55, 0.96);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Brand Logo Badge */

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo-badge {
    height: 80px;
    padding: 5px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-badge {
    transform: translateY(-1px);
}

.site-header.scrolled .brand-logo-badge {
    height: 66px;
}

.brand-logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}


/* Nav Menu */

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-lite-white);
    padding: 6px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FFFFFF;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--color-saffron);
    border-radius: 2px;
}


/* Nav Dropdown */

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

.dropdown-caret {
    font-size: 0.7rem;
    margin-left: 2px;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--color-navy-dark);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.nav-dropdown-item:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-lite-white);
}

.dropdown-link:hover {
    background: rgba(255, 107, 0, 0.12);
    color: var(--color-saffron-bright);
}

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


/* Mobile Toggle */

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-border-medium);
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 38px;
    justify-content: center;
    align-items: center;
}

.hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #FFFFFF;
}


/* Mobile Drawer */

.mobile-menu-drawer {
    position: fixed;
    inset: 0;
    z-index: 999;
    visibility: hidden;
    pointer-events: none;
    transition: visibility var(--transition-fast);
}

.mobile-menu-drawer.open {
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 15, 35, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-menu-drawer.open .mobile-menu-backdrop {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    /* stays above .mobile-menu-backdrop inside the drawer's stacking context */
    width: min(340px, 85vw);
    background: var(--color-navy-dark);
    border-left: 1px solid var(--color-border-medium);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-base);
}

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

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border-subtle);
    margin-bottom: 12px;
}

.mobile-brand-box {
    /*background: #FFFFFF;*/
    padding: 3px 8px;
    border-radius: 4px;
    height: 38px;
}

.mobile-brand-img {
    height: 100%;
    width: auto;
}

.mobile-close-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--color-lite-white);
    cursor: pointer;
}

.mobile-motto {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-saffron);
    margin-bottom: 16px;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    padding: 8px 0;
    border-bottom: 1px solid rgba(203, 220, 238, 0.08);
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 16px;
}


/* --------------------------------------------------------------------------
   5. HERO SECTION (EXACT MOCKUP MATCH)
   -------------------------------------------------------------------------- */

.hero-cinematic-section {
    position: relative;
    min-height: 100vh;
    /* svh = small viewport height — identical to 100vh on desktop,
       but corrects Hero height on mobile browsers with collapsing URL toolbars */
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 1.1s ease-in-out, visibility 1.1s;
    z-index: 1;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    z-index: 2;
}

.hero-slide.is-leaving {
    z-index: 1;
}


/* Slider UI: arrows + dots + counter */

.hero-slider-ui {
    position: absolute;
    right: clamp(20px, 4vw, 54px);
    bottom: 72px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-slider-arrows {
    display: flex;
    gap: 10px;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(203, 220, 238, 0.4);
    background: rgba(0, 20, 48, 0.55);
    color: #FFFFFF;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    padding-bottom: 3px;
}

.hero-arrow:hover {
    background: var(--color-saffron);
    border-color: var(--color-saffron);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--color-saffron-glow);
}

.hero-arrow:active {
    transform: scale(0.94);
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot {
    background: transparent;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.hero-dot-bar {
    display: block;
    width: 34px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.28);
    position: relative;
    overflow: hidden;
    transition: background var(--transition-fast), width var(--transition-fast);
}

.hero-dot-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-saffron), var(--color-accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    border-radius: inherit;
}

.hero-dot.is-active .hero-dot-bar {
    width: 52px;
    background: rgba(255, 255, 255, 0.22);
}

.hero-dot.is-active .hero-dot-bar::after {
    animation: heroDotFill 5.5s linear forwards;
}

.hero-slider-ui.is-paused .hero-dot.is-active .hero-dot-bar::after {
    animation-play-state: paused;
}

@keyframes heroDotFill {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.hero-dot:hover .hero-dot-bar {
    background: rgba(255, 255, 255, 0.55);
}

.hero-slider-counter {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    background: rgba(0, 20, 48, 0.55);
    border: 1px solid rgba(203, 220, 238, 0.22);
    padding: 7px 13px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-counter-sep {
    color: var(--color-slate-dim);
    margin: 0 2px;
}

#heroCurrent {
    color: var(--color-saffron-bright);
}


/* Left-side only gradient — right side stays fully clear */

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient( to right, rgba(0, 15, 35, 0.95) 0%, rgba(0, 25, 55, 0.85) 30%, rgba(0, 35, 75, 0.5) 50%, rgba(0, 43, 92, 0.15) 65%, rgba(0, 43, 92, 0) 80%);
}

.hero-inner-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-editorial-col {
    max-width: 680px;
    width: 100%;
}


/* Per-slide text slider (synced with bg slider) */

.hero-text-slider {
    display: grid;
}

.hero-text-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease, visibility 0.65s;
    pointer-events: none;
    min-width: 0;
}

.hero-text-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    z-index: 2;
}


/* Staggered rise-in of text elements inside active slide */

.hero-text-slide .hero-kicker-tag,
.hero-text-slide .hero-big-title,
.hero-text-slide .hero-description,
.hero-text-slide .hero-action-buttons {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-text-slide.is-active .hero-kicker-tag,
.hero-text-slide.is-active .hero-big-title,
.hero-text-slide.is-active .hero-description,
.hero-text-slide.is-active .hero-action-buttons {
    opacity: 1;
    transform: translateY(0);
}

.hero-text-slide.is-active .hero-kicker-tag {
    transition-delay: 0.08s;
}

.hero-text-slide.is-active .hero-big-title {
    transition-delay: 0.18s;
}

.hero-text-slide.is-active .hero-description {
    transition-delay: 0.28s;
}

.hero-text-slide.is-active .hero-action-buttons {
    transition-delay: 0.38s;
}

@media (prefers-reduced-motion: reduce) {
    .hero-text-slide,
    .hero-text-slide .hero-kicker-tag,
    .hero-text-slide .hero-big-title,
    .hero-text-slide .hero-description,
    .hero-text-slide .hero-action-buttons {
        transition: none;
        transform: none;
    }
}

.hero-kicker-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #FFFFFF;
    margin-bottom: 18px;
}

.hero-big-title {
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    text-transform: uppercase;
}

.text-saffron-highlight {
    color: var(--color-saffron);
}


/* Hero only: SignPainter for saffron highlight words */

.hero-big-title .text-saffron-highlight {
    text-shadow: 0 0 10px #00000061;
    font-family: var(--font-signpainter);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.28em;
    line-height: 1.15;
}

.hero-description {
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.65;
    color: var(--color-lite-white-light);
    margin-bottom: 34px;
    max-width: 560px;
}

.hero-action-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}


/* Scroll Down Chevron */

.hero-down-chevron {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: #FFFFFF;
    font-size: 1.8rem;
    text-decoration: none;
    animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
    0%,
    100% {
        transform: translate(-50%, 0);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, 8px);
        opacity: 1;
    }
}


/* --------------------------------------------------------------------------
   6. QUICK WINGS & COURSES RIBBON STRIP (7 DIVISIONS)
   -------------------------------------------------------------------------- */

.wings-ribbon-section {
    background: linear-gradient(180deg, #00264f 0%, #001c3c 100%);
    border-top: 1px solid rgba(203, 220, 238, 0.14);
    border-bottom: 1px solid rgba(203, 220, 238, 0.14);
    padding: 0;
    position: relative;
    z-index: 10;
}

.wings-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
}

.wing-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    border-left: 1px solid rgba(203, 220, 238, 0.14);
    transition: background var(--transition-fast);
}

.wing-item:first-child {
    border-left: none;
}

.wing-item:hover {
    background: rgba(255, 107, 0, 0.12);
    border-color: rgba(203, 220, 238, 0.14);
    transform: none;
}

.wing-icon-box {
    color: #FFFFFF;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.wing-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wing-code {
    font-size: 0.82rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.wing-sub {
    font-size: 0.64rem;
    color: #9db4d0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* --------------------------------------------------------------------------
   7. ABOUT US SECTION: "MORE THAN JUST AN INSTITUTE"
   -------------------------------------------------------------------------- */

.about-section {
    position: relative;
    background: linear-gradient(180deg, #001a3a 0%, #001233 100%);
    overflow: hidden;
}


/* about-bg-img — big-about (whole .about-section) ka background.
   Left = text, Middle = 4-grid, Right blank me statue dikhega.
   Text/grid untouched, sirf bg full-bleed. */

.about-bg-img {
    position: absolute;
    inset: 0;
    background: url('about-bg-img.png') center right / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

.about-bg-img::after {
    content: '';
    position: absolute;
    inset: 0;
    /* left side solid navy for text readability, right side clear for statue */
    background: linear-gradient(to right, #001a3a 0%, rgba(0, 26, 58, 0.94) 32%, rgba(0, 26, 58, 0.62) 52%, rgba(0, 26, 58, 0.18) 72%, rgba(0, 26, 58, 0) 88%), linear-gradient(to top, rgba(0, 18, 51, 0.5) 0%, rgba(0, 18, 51, 0) 32%), linear-gradient(to bottom, rgba(0, 18, 51, 0.3) 0%, rgba(0, 18, 51, 0) 26%);
}

.about-grid-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 3.5vw, 56px);
    align-items: center;
    max-width: 66%;
}


/* Tiranga mini bar before badge label (like screenshot) */

.tiranga-mini {
    display: inline-block;
    width: 30px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #FF6B00 0 33%, #FFFFFF 33% 66%, #046A38 66% 100%);
    flex-shrink: 0;
}

.about-section .section-badge-tag {
    color: #7fb3e8;
}

.about-section .section-headline {
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    line-height: 1.15;
}

.about-text-lead {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #a9bfd8;
    margin-bottom: 26px;
    max-width: 420px;
}

.about-actions {
    margin-bottom: 0;
}

.about-section .btn-outline-pill {
    border-color: rgba(127, 179, 232, 0.55);
    padding: 11px 30px;
    font-size: 0.78rem;
}


/* Middle 2x2 features — centered, equal cells, no card box (like screenshot) */

.about-pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 20px;
    align-items: stretch;
}

.pillar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
    min-height: 100%;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    /* transition: transform var(--transition-fast); */
}

.pillar-box:hover {
    background: transparent;
    border: none;
    transform: translateY(-3px);
}

.pillar-ico {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #122c52;
    border: 1px solid rgba(203, 220, 238, 0.16);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pillar-name {
    text-shadow: 2px 2px 4px #000000;
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0;
    line-height: 1.35;
    min-height: 2.7em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.pillar-tag {
    text-shadow: 1px 1px 3px #000000;
    font-size: 13px;
    color: #fff;
    line-height: 1.5;
    min-height: 3em;
    margin: 0;
}


/* --------------------------------------------------------------------------
   7b. WHY CHOOSE US SECTION: "MORE THAN JUST AN INSTITUTE" (mockup style)
   -------------------------------------------------------------------------- */

.why-us-section {
    position: relative;
    overflow: hidden;
    background: #041630;
    padding-top: 70px;
    padding-bottom: 70px;
}


/* Single merged bg: soldier-mountain image flows behind the whole section */

.why-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /*background: url('slider-img-01.png') center top / cover no-repeat;*/
}

.why-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 15, 32, 0.85) 0%, rgba(3, 15, 32, 0.45) 40%, rgba(3, 15, 32, 0) 70%), linear-gradient(180deg, rgba(3, 15, 32, 0.30) 0%, rgba(3, 15, 32, 0.80) 34%, rgba(4, 18, 38, 0.94) 70%, rgba(3, 16, 36, 0.97) 100%);
}

.why-us-section>.container {
    position: relative;
    z-index: 2;
}

.why-top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 42px;
}

.why-top-copy {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.why-top-copy .section-badge-tag {
    color: #E5F0FC;
    justify-content: center;
}

.why-top-copy .section-headline {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 12px 0 16px;
    letter-spacing: 0.01em;
}

.why-saffron {
    color: var(--color-saffron);
}

.why-top-desc {
    font-size: 0.92rem;
    color: var(--color-lite-white-light);
    line-height: 1.7;
    margin: 0;
}


/* Bottom 3-column grid */

.why-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr 1fr;
    gap: 24px;
    margin-top: 10px;
    align-items: stretch;
}

.why-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.why-item {
    display: grid;
    grid-template-columns: 58px 1fr 200px;
    gap: 14px;
    align-items: center;
    padding: 18px 0;
}

.why-col .why-item+.why-item {
    border-top: 1px solid var(--color-border-subtle);
    padding-top: 40px !important;
}

.why-ico {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #041c38;
    border: 3px solid var(--color-saffron);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(255, 107, 0, 0.35);
}

.why-ico svg {
    width: 32px;
    height: 32px;
}

.why-ico::after {
    content: '★';
    position: absolute;
    right: -6px;
    bottom: -2px;
    font-size: 17px;
    color: #FFA23D;
    text-shadow: 0 0 8px rgba(255, 140, 40, 0.8);
    line-height: 1;
}

.why-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.25;
}

.why-title::after {
    content: '';
    display: block;
    width: 38px;
    height: 3px;
    border-radius: 2px;
    background: var(--color-saffron);
    margin-top: 8px;
}

.why-desc {
    font-size: 0.78rem;
    color: var(--color-lite-white);
    line-height: 1.55;
    margin: 8px 0 0;
}

.why-photo {
    position: relative;
    height: 150px;
    transform: skewX(-8deg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-light-blue-border);
    box-shadow: 0 10px 22px rgba(0, 10, 25, 0.5);
}

.why-photo.skew-r {
    transform: skewX(8deg);
}

.why-photo img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 132%;
    height: 132%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%) skewX(8deg);
    transition: transform 0.5s ease;
}

.why-photo.skew-r img {
    transform: translate(-50%, -50%) skewX(-8deg);
}

.why-item:hover .why-photo img {
    transform: translate(-50%, -50%) skewX(8deg) scale(1.08);
}

.why-item:hover .why-photo.skew-r img {
    transform: translate(-50%, -50%) skewX(-8deg) scale(1.08);
}


/* Center goals card */

.why-goals-card {
    background: linear-gradient(180deg, rgba(8, 36, 72, 0.90) 0%, rgba(6, 30, 58, 0.70) 32%, rgba(4, 22, 44, 0.20) 58%, rgba(4, 18, 38, 0) 80%), url('why-choose-middle-bg.png') center bottom / cover no-repeat;
    aspect-ratio: 941 / 1280;
    align-self: start;
    border: 1px solid var(--color-light-blue-border);
    border-radius: 14px;
    padding: 30px 26px 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
    text-align: center;
    box-shadow: 0 20px 44px rgba(0, 10, 25, 0.55);
}

.goals-mini-bar {
    width: 34px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #FF6B00 0 33%, #FFFFFF 33% 66%, #046A38 66% 100%);
    margin: 0 auto 16px;
}

.goals-title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: 0.01em;
}

.goals-saffron {
    color: var(--color-saffron);
}

.goals-desc {
    font-size: 0.85rem;
    color: var(--color-lite-white-light);
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 260px;
}

.goals-target {
    color: #4fa8ff;
    filter: drop-shadow(0 0 12px rgba(0, 160, 255, 0.5));
    margin-bottom: 18px;
}


/* Responsive: why choose us */

@media (max-width: 1100px) {
    .why-bottom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .why-goals-card {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }
    .why-item {
        grid-template-columns: 58px 1fr 180px;
    }
}

@media (max-width: 600px) {
    .why-us-section {
        padding-top: 48px;
    }
    .why-top-inner {
        padding-bottom: 30px;
    }
    .why-item {
        grid-template-columns: 58px 1fr;
    }
    .why-photo {
        grid-column: 1 / -1;
        width: 100%;
        height: 130px;
        margin-left: 8px;
    }
}


/* Desktop only (>1100px): WHY CHOOSE US content spans the full viewport width.
   The section background is already full-bleed; this just releases the shared
   1240px .container cap and the 960px headline/paragraph block for this section.
   Below 1100px nothing changes — the standard container rules apply as before. */

@media (min-width: 1101px) {
    .why-us-section>.container {
        max-width: 90%;
    }
    .why-top-copy {
        max-width: 100%;
    }
}


/* --------------------------------------------------------------------------
   8. COURSES WE OFFER SECTION (7 CARDS ROW)
   -------------------------------------------------------------------------- */

.courses-section {
    background-color: var(--color-navy-dark);
}


/* Centered heading */

.courses-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 44px;
    gap: 24px;
}

.courses-header-row>div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.courses-header-row .section-subtext {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}


/* Header actions: view-all + carousel arrows */

.courses-head-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.courses-nav {
    display: flex;
    gap: 10px;
}

.courses-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(203, 220, 238, 0.35);
    background: rgba(0, 20, 48, 0.55);
    color: #FFFFFF;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.courses-arrow:hover {
    background: var(--color-saffron);
    border-color: var(--color-saffron);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--color-saffron-glow);
}

.courses-arrow:active {
    transform: scale(0.94);
}


/* Crisp carousel track — uniform cards, snap scroll, no masonry */

.courses-cards-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    counter-reset: course;
}

.courses-cards-scroll::-webkit-scrollbar {
    display: none;
}

.course-visual-card {
    position: relative;
    flex: 0 0 clamp(250px, 23vw, 310px);
    height: 430px;
    scroll-snap-align: start;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(203, 220, 238, 0.16);
    background: #001a3a;
    box-shadow: none;
    transition: transform 0.35s ease, border-color 0.35s ease;
}


/* Neutralize old masonry spans / stagger offsets — uniform carousel now */

.courses-cards-scroll .course-visual-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    transform: none;
    clip-path: none;
}

.course-visual-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 0, 0.7);
    box-shadow: none;
}

.card-photo-wrap {
    position: absolute;
    inset: 0;
}

.card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-visual-card:hover .card-photo {
    transform: scale(1.07);
}

.card-photo-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 20, 48, 0.05) 0%, rgba(0, 20, 48, 0.22) 42%, rgba(0, 10, 26, 0.94) 84%);
}

.card-details-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    counter-increment: course;
}


/* Auto number 01–07 + saffron rule */

.card-details-overlay::before {
    content: '0' counter(course);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--color-saffron-bright);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-details-overlay::after {
    content: '';
    display: block;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-saffron), var(--color-accent-gold));
    margin-bottom: 12px;
    order: 5;
}

.card-course-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.card-course-sub {
    font-size: 0.78rem;
    color: var(--color-lite-white);
    line-height: 1.45;
    margin-bottom: 0;
}

.card-explore-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(203, 220, 238, 0.18);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    background: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.85;
    transform: none;
    width: 100%;
    transition: color 0.3s ease, gap 0.3s ease;
}

.course-visual-card:hover .card-explore-pill {
    opacity: 1;
    transform: none;
    color: var(--color-saffron-bright);
    gap: 12px;
}

.course-visual-card:hover .card-explore-pill:hover {
    transform: none;
    box-shadow: none;
}


/* Thin scroll progress under the track */

.courses-progress {
    height: 3px;
    border-radius: 3px;
    background: rgba(203, 220, 238, 0.15);
    margin-top: 8px;
    overflow: hidden;
}

.courses-progress span {
    display: block;
    height: 100%;
    width: 12%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-saffron), var(--color-accent-gold));
    transition: width 0.2s ease;
}


/* --------------------------------------------------------------------------
   9. FACILITIES SECTION: "WORLD-CLASS INFRASTRUCTURE"
   -------------------------------------------------------------------------- */

.infrastructure {
    --infra-navy: #03172d;
    --infra-blue: #00baff;
    --infra-orange: #ff7916;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 90px 5.5%;
    color: #fff;
    background: var(--infra-navy);
}

.infra-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, #03172d 5%, #03172de8 43%, #03172d55), url("hero_cadet_himalayas.jpg") center / cover no-repeat;
    opacity: .85;
}

.infrastructure::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 78% 45%, #0879bf38, transparent 48%), linear-gradient(0deg, #010c1b99, transparent 60%);
}

.infra-content {
    max-width: 1500px;
    margin: auto;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 45px;
}

.infra-info .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #c7eaff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.infra-info .eyebrow::before {
    content: "";
    width: 38px;
    height: 4px;
    background: linear-gradient(90deg, #ff7614 0 33%, #fff 33% 66%, #00a85a 66%);
}

.infra-info h2 {
    margin: 22px 0;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    line-height: 1.12;
    letter-spacing: -2px;
    font-weight: 800;
    color: #FFFFFF;
}

.infra-info h2 span {
    display: block;
    color: #ff9a26;
    text-shadow: 0 5px 25px #ff791640;
}

.infra-description {
    max-width: 500px;
    color: #c9d8e9;
    font-size: 16px;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    margin: 28px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 17px 0;
    border-bottom: 1px solid #5d83a344;
}

.feature-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    border: 1px solid #159ce7;
    border-radius: 50%;
    background: linear-gradient(145deg, #164a83, #03172d);
    box-shadow: inset 0 0 15px #00aaff20, 0 0 15px #009dff15;
    font-size: 23px;
    color: #FFFFFF;
}

.feature h3 {
    margin: 1px 0 7px;
    font-size: 15px;
    font-family: var(--font-heading);
    color: #FFFFFF;
}

.feature p {
    margin: 0;
    color: #b9cce0;
    font-size: 12px;
    line-height: 1.6;
}


/* CTA uses theme .btn-outline-pill (same as other sections) */


/* 3D showcase */

.infra-showcase {
    min-width: 0;
    perspective: 1100px;
}

.campus-scene {
    position: relative;
    min-height: 570px;
    transform-style: preserve-3d;
    transition: transform 0.25s ease-out;
}

.campus-frame {
    position: absolute;
    z-index: 3;
    top: 13%;
    left: 13%;
    width: 76%;
    height: 51%;
    border: 2px solid #25aaff;
    border-radius: 24px 24px 8px 8px;
    box-shadow: 0 0 14px #009dff, inset 0 0 18px #009dff55;
    pointer-events: none;
    animation: frame-float 5s ease-in-out infinite;
}

.campus-frame::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-top: 4px solid var(--infra-orange);
    border-radius: inherit;
    filter: drop-shadow(0 0 8px var(--infra-orange));
}

.campus-image {
    position: absolute;
    z-index: 2;
    top: 13%;
    left: 13%;
    width: 76%;
    height: 51%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    filter: drop-shadow(0 20px 30px #0008);
    transform: translateZ(55px);
    animation: campus-float 5s ease-in-out infinite;
}

.facility-platform {
    position: absolute;
    bottom: 3%;
    left: 0;
    width: 100%;
    height: 100px;
    border: 3px solid #ff921d;
    border-radius: 50%;
    background: linear-gradient(180deg, #174c79, #041326 60%);
    box-shadow: 0 0 20px #ff851c, 0 20px 40px #0009, inset 0 4px 15px #32aaff;
    transform: rotateX(58deg) translateZ(-10px);
}

.facility-cards {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 13%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 7px;
    perspective: 1000px;
}

.facility-cards .facility-card {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #4c9bc9;
    border-radius: 9px;
    background: linear-gradient(160deg, #123b60, #031326);
    box-shadow: 0 12px 25px #0008;
    transform: rotateY(-5deg);
    transition: transform .35s, border-color .35s, box-shadow .35s;
}

.facility-cards .facility-card:nth-child(2),
.facility-cards .facility-card:nth-child(4) {
    transform: translateY(-13px);
}

.facility-cards .facility-card:nth-child(3) {
    transform: translateY(-19px) scale(1.03);
    border-color: #ff922c;
}

.facility-cards .facility-card img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.facility-cards .card-label {
    min-height: 75px;
    padding: 10px 5px;
    text-align: center;
    color: #eaf7ff;
    font-size: 20px;
}

.facility-cards .card-label h3 {
    margin: 5px 0 0;
    font-size: 13px;
    font-family: var(--font-heading);
    color: #FFFFFF;
}

.facility-cards .facility-card:hover {
    z-index: 5;
    border-color: #00c8ff;
    box-shadow: 0 0 25px #00aaff55;
    transform: translateY(-22px) rotateY(0) scale(1.06);
}

@keyframes campus-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}


/* Frame image ke saath hi bob kare — kabhi alag nahi dikhega */

@keyframes frame-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}


/* Tablet */

@media (max-width: 1050px) {
    .infra-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .infra-showcase {
        max-width: 760px;
        width: 100%;
        margin: auto;
    }
    .campus-scene {
        min-height: 530px;
    }
}


/* Mobile */

@media (max-width: 600px) {
    .infrastructure {
        padding: 60px 20px;
    }
    .infra-info h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
        letter-spacing: -1px;
    }
    .feature-grid {
        gap: 0 12px;
    }
    .feature {
        gap: 9px;
    }
    .feature-icon {
        width: 37px;
        height: 37px;
        font-size: 17px;
    }
    .feature h3 {
        font-size: 12px;
    }
    .feature p {
        font-size: 11px;
    }
    .campus-scene {
        min-height: 340px;
    }
    .campus-frame {
        top: 13%;
        left: 9%;
        width: 82%;
        height: 48%;
    }
    .campus-image {
        left: 9%;
        width: 82%;
        height: 48%;
    }
    .facility-cards {
        bottom: 12%;
        gap: 4px;
    }
    .facility-cards .facility-card img {
        height: 75px;
    }
    .facility-cards .card-label {
        min-height: 52px;
        padding: 7px 2px;
        font-size: 14px;
    }
    .facility-cards .card-label h3 {
        font-size: 10px;
    }
    .facility-platform {
        height: 55px;
    }
}

#facilities.campus-paused .campus-frame,
#facilities.campus-paused .campus-image {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .campus-image,
    .campus-frame {
        animation: none;
    }
    .facility-cards .facility-card {
        transition: none;
    }
}


/* --------------------------------------------------------------------------
   10. RESULTS SECTION: "OUR PROUD RESULTS"
   -------------------------------------------------------------------------- */

.results-section {
    position: relative;
    background-color: var(--color-primary-navy);
    overflow: hidden;
}

.our-result {
    background: url('our-result.png') center center / cover no-repeat;
}

.results-section .container {
    position: relative;
    z-index: 2;
}


/* Header block */

.results-header {
    max-width: 640px;
    margin: 0 0 30px;
    text-align: left;
}

.results-header .section-badge-tag {
    justify-content: flex-start;
}

.results-header .section-headline {
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 14px 0 18px;
    letter-spacing: -0.01em;
    text-align: left;
}

.results-header .section-subtext {
    font-size: 1.1rem;
    color: var(--color-lite-white-light);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 0 20px;
    text-align: left;
}

.results-header .text-saffron-highlight {
    color: var(--color-saffron);
}


/* Students grid: 5 per row, 2 rows */

.students-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.student-card {
    position: relative;
    background: rgba(0, 20, 48, 0.62);
    border: none;
    border-radius: 0;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: none;
    /* NOTE: no backdrop-filter in the transition list — animating a blur makes
       the GPU re-run the whole blur pass on every animation frame while you
       are already scrolling. */
    /* transition: transform var(--transition-base), background var(--transition-base); */
    display: flex;
    flex-direction: column;
}

.student-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.student-card:hover {
    transform: translateY(-8px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 20, 48, 0.78);
    box-shadow: none;
}

.student-card:hover::after {
    opacity: 1;
    border: 2px solid;
    border-image: linear-gradient(135deg, #FF6B00 0%, #FFFFFF 50%, #046A38 100%) 1;
}

.student-photo {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rank-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 20, 48, 0.85);
    border: 2px solid var(--color-accent-gold);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    box-shadow: 0 0 18px var(--color-gold-glow);
    z-index: 3;
    transition: transform var(--transition-fast);
}

.student-card:hover .rank-badge {
    transform: none;
}

.rank-badge .rank-num {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1;
    height: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(1px);
}

.rank-badge .rank-word {
    font-size: 0.55rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.14em;
    text-indent: 0.14em;
    text-transform: uppercase;
    margin-top: 3px;
    color: #E5F0FC;
}

.rank-1 {
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 22px var(--color-gold-glow);
}

.rank-2 {
    border-color: #CBDCEE;
    box-shadow: 0 0 16px rgba(203, 220, 238, 0.35);
}

.rank-3 {
    border-color: #B8860B;
    box-shadow: 0 0 16px rgba(184, 134, 11, 0.35);
}

.student-info {
    padding: 16px 14px 10px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.student-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.25;
}

.student-exam {
    font-size: 0.78rem;
    color: var(--color-slate-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.student-select {
    margin-top: auto;
    padding: 10px 14px 14px;
    background: rgba(0, 20, 48, 0.35);
    border-top: 1px solid var(--color-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.select-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.select-text {
    font-size: 0.78rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* CTA button */

.results-cta {
    display: flex;
    justify-content: center;
}


/* Responsive: results section */

@media (max-width: 1100px) {
    .students-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .students-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .student-photo {
        height: 170px;
    }
    .rank-badge {
        width: 48px;
        height: 48px;
        top: 10px;
        right: 10px;
    }
    .rank-badge .rank-num {
        font-size: 0.95rem;
        height: 0.95rem;
        transform: translateY(1px);
    }
    .rank-badge .rank-word {
        font-size: 0.5rem;
    }
    .results-header .section-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .results-header {
        margin-bottom: 40px;
    }
}

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


/* --------------------------------------------------------------------------
   10b. SUCCESS STATS SECTION: "SUCCESS STORIES THAT INSPIRE"
   -------------------------------------------------------------------------- */

.success-stats-section {
    position: relative;
    background: url('success.png') center center / cover no-repeat;
    overflow: hidden;
}

.success-grid {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 440px) 1fr;
    gap: clamp(24px, 3vw, 44px);
    align-items: center;
}

.success-blank {
    min-height: 1px;
}

.success-copy .section-badge-tag {
    color: #E5F0FC;
}

.success-copy .section-headline {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 14px 0 10px;
    text-shadow: 0 4px 18px rgba(0, 15, 35, 0.6);
}

.saffron-brush-underline {
    width: 120px;
    height: 4px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-saffron) 0%, var(--color-saffron-dark) 100%);
    margin-bottom: 18px;
}

.success-copy .section-subtext {
    font-size: 1.05rem;
    color: var(--color-lite-white-light);
    line-height: 1.7;
    margin: 0 0 28px;
    text-shadow: 0 2px 10px rgba(0, 15, 35, 0.7);
}

.success-copy .btn-outline-pill {
    border-color: rgba(234, 243, 250, 0.6);
    padding: 13px 34px;
}


/* 2x2 Stat Cards (compact) */

.success-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.stat-card {
    background: rgba(0, 20, 48, 0.62);
    border: 1px solid var(--color-light-blue-border);
    border-radius: var(--radius-md);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent-gold);
    box-shadow: 0 12px 28px var(--color-gold-glow);
}

.stat-value {
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 900;
    color: var(--color-accent-gold-bright);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 18px var(--color-gold-glow);
}

.stat-underline {
    width: 38px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-saffron), var(--color-accent-gold));
    margin-bottom: 10px;
}

.stat-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}


/* Responsive: success stats section */

@media (max-width: 1100px) {
    .success-grid {
        grid-template-columns: 1fr;
    }
    .success-copy {
        text-align: center;
    }
    .success-copy .section-badge-tag {
        justify-content: center;
    }
    .saffron-brush-underline {
        margin-left: auto;
        margin-right: auto;
    }
    .success-stats-grid {
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .success-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


/* --------------------------------------------------------------------------
   10c. TESTIMONIALS SECTION: "WHAT OUR CADETS SAY"
   -------------------------------------------------------------------------- */

.testimonials-section {
    background: linear-gradient(180deg, #001F44 0%, #002B5C 100%);
}

.section-header-center {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-header-center .section-badge-tag {
    justify-content: center;
}

.section-header-center .section-subtext {
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    position: relative;
    background: rgba(0, 20, 48, 0.58);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-md);
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-saffron);
}

.t-quote-mark {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 0.6;
    color: var(--color-saffron);
}

.t-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--color-lite-white);
    flex: 1;
}

.t-stars {
    color: var(--color-accent-gold);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}

.t-person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border-subtle);
}

.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-saffron), var(--color-saffron-dark));
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px var(--color-saffron-glow);
}

.t-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

.t-role {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-slate-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* --------------------------------------------------------------------------
   10d. TRAINING PROCESS SECTION: "FROM ASPIRANT TO OFFICER"
   -------------------------------------------------------------------------- */

.training-process-section {
    background: linear-gradient(180deg, #001530 0%, #001F44 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-step {
    position: relative;
    padding: 26px 20px 0;
    border-top: 2px solid var(--color-border-medium);
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* transition: border-color var(--transition-base), transform var(--transition-base); */
}

.process-step:hover {
    border-color: var(--color-saffron);
    transform: translateY(-4px);
}

.process-step::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 20px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-saffron);
    box-shadow: 0 0 12px var(--color-saffron-glow);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-saffron);
    line-height: 1;
    opacity: 0.9;
}

.step-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.step-desc {
    font-size: 0.82rem;
    color: var(--color-lite-white);
    line-height: 1.6;
    margin: 0;
}


/* Responsive: training process */

@media (max-width: 1100px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 22px;
    }
}

@media (max-width: 600px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}


/* --------------------------------------------------------------------------
   10e. BLOG SECTION: "DEFENCE PREP INSIGHTS"
   -------------------------------------------------------------------------- */

.blog-section {
    background: linear-gradient(180deg, #002B5C 0%, #001F44 100%);
}

.blog-carousel {
    position: relative;
}

.blog-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    background: rgba(0, 20, 48, 0.9);
    transform: translateY(-50%);
}

.blog-arrow:hover {
    transform: translateY(-50%);
}

.blog-prev {
    left: -16px;
}

.blog-next {
    right: -16px;
}

.blog-cards-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-cards-scroll::-webkit-scrollbar {
    display: none;
}

.blog-card {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    background: rgba(0, 20, 48, 0.58);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-saffron);
}

.blog-photo-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.blog-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-photo {
    transform: scale(1.07);
}

.blog-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 20, 48, 0.85);
    border: 1px solid var(--color-saffron);
    color: #FFFFFF;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
}

.blog-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-tag {
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-saffron);
    background: var(--color-saffron-subtle);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.blog-title {
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
    color: #FFFFFF;
    margin: 0;
}

.blog-excerpt {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--color-lite-white);
    margin: 0;
    flex: 1;
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-saffron-bright);
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.blog-readmore:hover {
    color: #FFFFFF;
    gap: 12px;
}


/* Responsive: blog carousel */

@media (max-width: 1100px) {
    .blog-card {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .blog-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 480px) {
    .blog-card {
        flex: 0 0 78vw;
    }
}


/* --------------------------------------------------------------------------
   11. GALLERY SECTION: "MOMENTS OF DEDICATION & PRIDE"
   -------------------------------------------------------------------------- */

.gallery-section {
    background-color: var(--color-primary-navy);
}

.gallery-layout-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}


/* Fan-Out Polaroid Stack */

.polaroid-stack-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stack-card {
    background: #FFFFFF;
    padding: 8px 8px 16px 8px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 10, 25, 0.6);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card-rotate-1 {
    transform: rotate(-4deg);
}

.card-rotate-2 {
    transform: rotate(2deg) translateY(-8px);
}

.card-rotate-3 {
    transform: rotate(-3deg);
}

.card-rotate-4 {
    transform: rotate(4deg) translateY(-6px);
}

.stack-card:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
    box-shadow: 0 16px 36px rgba(0, 10, 25, 0.85);
}

.stack-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 8px;
}

.stack-caption {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-primary-navy);
    text-align: center;
    display: block;
}

.gallery-description {
    font-size: 1.05rem;
    color: var(--color-lite-white);
    line-height: 1.65;
    margin-bottom: 24px;
}

.gallery-action {
    margin-bottom: 36px;
}


/* Calligraphic Script Banner */

.gallery-script-accent {
    display: inline-block;
    user-select: none;
}

.script-quote {
    font-family: var(--font-script);
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.05;
    display: block;
}

.tiranga-brush-underline {
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-saffron) 0%, #FFFFFF 50%, #046A38 100%);
    border-radius: 2px;
    margin-top: 6px;
}


/* --------------------------------------------------------------------------
   11A. TAEKWONDO MARTIAL ARTS (ABOUT PAGE — 30 / 70 SPLIT)
   -------------------------------------------------------------------------- */

.tkd-layout {
    display: grid;
    grid-template-columns: minmax(0, 30fr) minmax(0, 70fr);
    gap: 44px;
    align-items: center;
}

.tkd-copy .section-headline {
    margin-bottom: 14px;
}

.tkd-lead {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--color-lite-white);
    margin-bottom: 20px;
}

.tkd-copy .checklist-styled {
    margin-bottom: 26px;
}

.tkd-btn {
    padding: 13px 26px;
    font-size: 0.86rem;
}


/* Photo slots — files drop into assets/tkd/ (placeholder shows until then) */

.tkd-stage {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.tkd-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tkd-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(0, 36, 76, 0.75) 0%, rgba(0, 14, 34, 0.9) 100%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, rgba(255, 255, 255, 0) 2px 15px);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.tkd-photo::before {
    content: 'TAEKWONDO PHOTO';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.tkd-photo img {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tkd-photo img.img-missing {
    display: none;
}

.tkd-photo:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-saffron);
    box-shadow: var(--shadow-md), 0 0 18px rgba(255, 107, 0, 0.14);
}

.tkd-photo:hover img {
    transform: scale(1.05);
}

.tkd-photo-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 26px 12px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}


/* Visual panel — pure CSS/SVG (no image assets) */

.tkd-visual {
    position: relative;
    overflow: hidden;
    padding: 30px 34px;
    background: linear-gradient(145deg, rgba(0, 36, 76, 0.92) 0%, rgba(0, 14, 34, 0.97) 100%);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.tkd-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 2px, rgba(255, 255, 255, 0) 2px 15px);
    pointer-events: none;
}

.tkd-visual::after {
    content: '';
    position: absolute;
    top: -78px;
    right: -78px;
    z-index: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 26px solid rgba(255, 107, 0, 0.12);
    pointer-events: none;
}

.tkd-visual-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 26px;
}

.tkd-emblem {
    flex-shrink: 0;
    line-height: 0;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.tkd-visual-id {
    min-width: 0;
}

.tkd-kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--color-saffron-bright);
    margin-bottom: 4px;
}

.tkd-wordmark {
    display: block;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

.tkd-subword {
    display: block;
    margin-top: 7px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--color-lite-white-light);
}


/* Belt ladder */

.tkd-belt-ladder {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 11px;
    margin-bottom: 26px;
    padding: 0;
    list-style: none;
}

.tkd-belt {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 92px;
    gap: 14px;
    align-items: center;
}

.tkd-belt-name {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.tkd-strap {
    position: relative;
    height: 15px;
    border-radius: 8px;
    background: var(--belt);
    box-shadow: inset 0 -4px 7px rgba(0, 0, 0, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.tkd-strap::before {
    content: '';
    position: absolute;
    left: 30px;
    top: -5px;
    width: 9px;
    height: 25px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.42);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.tkd-belt-note {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    color: var(--color-lite-white-light);
}


/* Fact strip */

.tkd-facts {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-subtle);
}

.tkd-fact {
    text-align: left;
}

.tkd-fact strong {
    display: block;
    font-size: 1.16rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.tkd-fact span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-lite-white-light);
}


/* Responsive */

@media (max-width: 992px) {
    .tkd-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tkd-visual {
        padding: 26px 24px;
    }
    .tkd-media-grid {
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .tkd-media-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .tkd-visual-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .tkd-visual-top .tkd-emblem svg {
        width: 84px;
        height: 84px;
    }
    .tkd-belt {
        grid-template-columns: 58px minmax(0, 1fr) 74px;
        gap: 10px;
    }
    .tkd-strap::before {
        left: 20px;
    }
    .tkd-facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .tkd-fact {
        display: flex;
        justify-content: flex-start;
        align-items: baseline;
        gap: 12px;
        text-align: left;
    }
    .tkd-fact strong {
        margin-bottom: 0;
    }
}


/* --------------------------------------------------------------------------
   11B. OFFICIAL YOUTUBE CHANNEL (ABOUT PAGE)
   -------------------------------------------------------------------------- */

.yt-channel-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: linear-gradient(145deg, rgba(0, 36, 76, 0.75) 0%, rgba(0, 24, 52, 0.85) 100%);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.yt-channel-avatar-link {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
}

.yt-channel-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-saffron);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.16);
    transition: transform var(--transition-base);
}

.yt-channel-avatar-link:hover .yt-channel-avatar {
    transform: scale(1.05);
}

.yt-channel-info {
    flex: 1 1 260px;
    min-width: 0;
}

.yt-channel-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.12rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.yt-channel-desc {
    font-size: 0.88rem;
    color: var(--color-lite-white);
    line-height: 1.55;
}

.btn-pill-yt {
    background: #FF0000;
    border-color: #FF0000;
    color: #FFFFFF;
    padding: 15px 30px;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 6px 22px rgba(255, 0, 0, 0.35);
}

.btn-pill-yt:hover {
    background: #E00000;
    border-color: #E00000;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.45);
}

.yt-btn-play {
    font-size: 0.78rem;
    line-height: 1;
}

.yt-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.yt-video-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: linear-gradient(145deg, rgba(0, 36, 76, 0.75) 0%, rgba(0, 24, 52, 0.85) 100%);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.yt-video-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-saffron);
    box-shadow: var(--shadow-md), 0 0 20px rgba(255, 107, 0, 0.15);
}

.yt-video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
}

.yt-video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.yt-video-card:hover .yt-video-thumb img {
    transform: scale(1.06);
}

.yt-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.92);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    padding-left: 3px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: transform var(--transition-base);
}

.yt-video-card:hover .yt-video-play {
    transform: translate(-50%, -50%) scale(1.12);
}

.yt-video-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.72);
    padding: 4px 8px;
    border-radius: 4px;
}

.yt-video-meta {
    padding: 16px 18px 18px;
}

.yt-video-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt-video-stats {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-lite-white-light);
}

@media (max-width: 992px) {
    .yt-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .yt-channel-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 24px 18px;
    }
    .yt-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .btn-pill-yt {
        width: 100%;
        justify-content: center;
    }
}


/* --------------------------------------------------------------------------
   11C. OFFICIAL INSTAGRAM FEED (ABOUT PAGE)
   -------------------------------------------------------------------------- */

.ig-profile-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: linear-gradient(145deg, rgba(0, 36, 76, 0.75) 0%, rgba(0, 24, 52, 0.85) 100%);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ig-avatar-link {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
}

.ig-avatar-ring {
    display: inline-flex;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
    box-shadow: 0 0 0 4px rgba(220, 39, 67, 0.18);
    transition: transform var(--transition-base);
}

.ig-avatar-link:hover .ig-avatar-ring {
    transform: scale(1.05);
}

.ig-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.ig-profile-info {
    flex: 1 1 300px;
    min-width: 0;
}

.ig-profile-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.ig-profile-handle {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--color-saffron-bright);
    margin-bottom: 6px;
}

.ig-profile-bio {
    font-size: 0.88rem;
    color: var(--color-lite-white);
    line-height: 1.55;
    margin-bottom: 10px;
}

.ig-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-lite-white-light);
}

.ig-stats strong {
    color: #FFFFFF;
    font-weight: 800;
    margin-right: 4px;
}

.btn-pill-ig {
    background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
    border-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 15px 30px;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 6px 22px rgba(220, 39, 67, 0.35);
}

.btn-pill-ig:hover {
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(204, 35, 102, 0.5);
}

.ig-btn-icon {
    display: inline-flex;
    line-height: 0;
}

.ig-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ig-post-card {
    display: block;
    text-decoration: none;
    background: #000000;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.ig-post-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-saffron);
    box-shadow: var(--shadow-md), 0 0 20px rgba(220, 39, 67, 0.2);
}

.ig-post-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.ig-post-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ig-post-card:hover .ig-post-thumb img {
    transform: scale(1.07);
}

.ig-post-type {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    background: linear-gradient(45deg, #F09433 0%, #DC2743 55%, #BC1888 100%);
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.ig-post-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 44px 14px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0) 100%);
}

.ig-post-label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.4;
    color: #FFFFFF;
}

.ig-view-more {
    text-align: center;
    margin-top: 32px;
    font-size: 0.92rem;
}

.ig-view-more a {
    color: var(--color-saffron-bright);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 138, 51, 0.4);
    padding-bottom: 2px;
}

.ig-view-more a:hover {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

@media (max-width: 992px) {
    .ig-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ig-profile-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 24px 18px;
    }
    .ig-stats {
        justify-content: center;
    }
    .ig-post-grid {
        gap: 14px;
    }
    .ig-post-label {
        font-size: 0.78rem;
    }
    .ig-post-overlay {
        padding: 34px 10px 10px;
    }
    .btn-pill-ig {
        width: 100%;
        justify-content: center;
    }
}


/* --------------------------------------------------------------------------
   11D. RIMS & RIMC FOUNDATION PATHWAY (ABOUT PAGE — 50 / 50 SPLIT)
   -------------------------------------------------------------------------- */

.rpath-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.rpath-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    min-width: 0;
    padding: 34px 32px 32px;
    background: linear-gradient(150deg, rgba(0, 36, 76, 0.90) 0%, rgba(0, 12, 30, 0.96) 100%);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}


/* Diagonal texture */

.rpath-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(255, 255, 255, 0) 2px 16px);
    pointer-events: none;
}


/* Saffron top accent */

.rpath-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-saffron) 0%, rgba(255, 107, 0, 0) 88%);
    pointer-events: none;
}

.rpath-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-saffron);
    box-shadow: var(--shadow-lg), 0 0 26px rgba(255, 107, 0, 0.16);
}


/* Giant watermark acronym */

.rpath-watermark {
    position: absolute;
    top: -16px;
    right: -4px;
    z-index: 0;
    font-size: clamp(4rem, 8vw, 6.4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.055);
    pointer-events: none;
    user-select: none;
}


/* Chip / kicker */

.rpath-chip {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 16px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-saffron-bright);
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.40);
    border-radius: var(--radius-pill);
}

.rpath-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-saffron);
    box-shadow: 0 0 8px var(--color-saffron-glow);
}


/* Card copy */

.rpath-title {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    font-size: clamp(1.22rem, 2vw, 1.58rem);
    font-weight: 800;
    line-height: 1.32;
    color: #FFFFFF;
}

.rpath-text {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-lite-white);
}

.rpath-list {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 24px;
}

.rpath-btn {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 12px 24px;
    font-size: 0.82rem;
}


/* Responsive */

@media (max-width: 992px) {
    .rpath-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .rpath-card {
        padding: 26px 20px 24px;
    }
    .rpath-watermark {
        top: -8px;
        right: -2px;
        font-size: 3.6rem;
    }
    .rpath-btn {
        width: 100%;
        justify-content: center;
    }
}


/* --------------------------------------------------------------------------
   11D-2. OUR FACULTY CARDS (ABOUT PAGE — TIRANGA GRADIENT BORDER)
   -------------------------------------------------------------------------- */

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 110px;
}


/* Sharp card: padding-box / border-box trick paints the
   saffron → white → green Tiranga gradient as the card's border. */

.fac-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 34px 30px 30px;
    border: 2px solid transparent;
    border-radius: 4px;
    background: linear-gradient(160deg, rgba(0, 38, 80, 0.96) 0%, rgba(0, 12, 30, 0.99) 100%) padding-box, linear-gradient(135deg, #FF9933 0%, #FFFFFF 48%, #FFFFFF 52%, #138808 100%) border-box;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}


/* Subtle diagonal texture overlay */

.fac-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, rgba(255, 255, 255, 0) 2px 16px);
    pointer-events: none;
}

.fac-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 153, 51, 0.20), 0 0 18px rgba(19, 136, 8, 0.16);
}


/* Discipline chip */

.fac-chip {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-saffron-bright);
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.40);
    border-radius: var(--radius-pill);
}

.fac-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-saffron);
    box-shadow: 0 0 8px var(--color-saffron-glow);
}


/* Hammer-style faculty photo — WIDE horizontal rectangle sitting
   on top of the card, overhanging both sides like a hammer head
   (the text below forms the handle).
   Drop your images at: assets/faculty/faculty-01.jpg / -02.jpg / -03.jpg
   (Landscape crop ~16:10 looks best. Until then the labelled placeholder shows.) */

.fac-photo {
    position: relative;
    z-index: 2;
    width: calc(100% + 88px);
    margin: -52px -44px 30px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 3px 3px 6px 6px;
    border: 2px solid transparent;
    background: linear-gradient(160deg, rgba(0, 38, 80, 0.85) 0%, rgba(0, 10, 26, 0.95) 100%) padding-box, linear-gradient(135deg, #FF9933 0%, #FFFFFF 48%, #FFFFFF 52%, #138808 100%) border-box;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), 0 0 22px rgba(255, 153, 51, 0.14);
}


/* Tiranga strip along the photo's bottom edge */

.fac-photo::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 3px;
    background: linear-gradient(90deg, #FF9933 0%, #FFFFFF 48%, #FFFFFF 52%, #138808 100%);
    pointer-events: none;
}

.fac-photo::before {
    content: 'FACULTY PHOTO';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.fac-photo img {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.fac-photo img.img-missing {
    display: none;
}

.fac-card:hover .fac-photo img {
    transform: scale(1.05);
}


/* Caption strip over the photo bottom */

.fac-photo-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 32px 16px 11px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-lite-white-light);
    background: linear-gradient(180deg, rgba(0, 10, 26, 0) 0%, rgba(0, 10, 26, 0.88) 100%);
    pointer-events: none;
}


/* Copy */

.fac-name {
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.32;
    color: #FFFFFF;
}

.fac-role {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-saffron-bright);
}

.fac-text {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--color-lite-white);
}

.fac-list {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 22px;
}


/* Experience badge pinned to card bottom */

.fac-exp {
    position: relative;
    z-index: 1;
    margin-top: auto;
    margin-bottom: 0;
}


/* Responsive */

@media (max-width: 992px) {
    .faculty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 100px 92px;
    }
}

@media (max-width: 640px) {
    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 78px;
    }
    .fac-card {
        padding: 26px 20px 24px;
    }
    .fac-photo {
        width: calc(100% + 72px);
        margin: -44px -36px 24px;
    }
}


/* --------------------------------------------------------------------------
   11E. OUR LOCATION — FULL-WIDTH MAP (INDEX PAGE)
   -------------------------------------------------------------------------- */

.location-section {
    padding-bottom: 0;
    overflow: hidden;
    /* background: linear-gradient(180deg, var(--color-navy-deep) 0%, #000B1D 100%); */
    border-top: 1px solid var(--color-border-subtle);
}

.location-head {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.location-head .section-headline {
    margin-bottom: 14px;
}

.location-sep {
    margin: 0 6px;
    color: var(--color-saffron);
}

.location-phone {
    color: var(--color-saffron-bright);
    font-weight: 700;
    transition: color var(--transition-fast);
}

.location-phone:hover {
    color: #FFFFFF;
}

.location-cta {
    margin-top: 26px;
    padding: 13px 28px;
    font-size: 0.85rem;
}


/* Full-width map frame */

.location-map-frame {
    position: relative;
    width: 100%;
    border-top: 1px solid var(--color-border-subtle);
    box-shadow: 0 -32px 64px rgba(0, 0, 0, 0.42);
}

.location-map {
    display: block;
    width: 100%;
    height: clamp(340px, 46vw, 560px);
    border: 0;
    background-color: var(--color-navy-deep);
}


/* Place info card — pinned over the red map pin (dead centre of the map) */

.location-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-100% - 34px));
    z-index: 3;
    width: min(212px, calc(100% - 28px));
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    box-shadow: 0 14px 38px rgba(0, 15, 35, 0.38);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.location-card.is-hidden {
    display: none;
}

.location-card-media {
    position: relative;
    aspect-ratio: 16 / 7;
    background: #DCE5EF;
}

.location-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-card-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1;
    color: #4A5568;
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.location-card-close:hover {
    background: #FFFFFF;
    color: #0F172A;
}

.location-card-body {
    padding: 10px 11px 11px;
}

.location-card-name {
    margin-bottom: 3px;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
    color: #14532D;
}

.location-card-cat {
    margin-bottom: 9px;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #5F6368;
}

.location-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 14px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(145deg, #17613C 0%, #14532D 100%);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(20, 83, 45, 0.35);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.location-card-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #1B7A4A 0%, #166537 100%);
    box-shadow: 0 8px 18px rgba(20, 83, 45, 0.42);
}


/* Floating "Open in Google Maps" pill (sits above the iframe) */

.location-map-cta {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: rgba(0, 15, 35, 0.93);
    /* backdrop-filter removed: the pill is 90% opaque anyway, so the blur was
       invisible — but it still cost a full backdrop pass inside the map card. */
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.location-map-cta svg {
    flex-shrink: 0;
    color: var(--color-saffron-bright);
}

.location-map-cta:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, var(--color-saffron) 0%, var(--color-saffron-dark) 100%);
    border-color: transparent;
}

.location-map-cta:hover svg {
    color: #FFFFFF;
}


/* Responsive */

@media (max-width: 768px) {
    .location-head {
        margin-bottom: 34px;
    }
    .location-cta {
        margin-top: 20px;
    }
    .location-map {
        height: 340px;
    }
    .location-card {
        width: min(190px, calc(100% - 24px));
        transform: translate(-50%, calc(-100% - 14px));
    }
    .location-card-media {
        aspect-ratio: 16 / 6;
    }
    .location-card-cat {
        display: none;
    }
    .location-card-body {
        padding: 9px 10px 10px;
    }
    .location-map-cta {
        right: 12px;
        bottom: 12px;
        padding: 9px 14px;
        font-size: 0.66rem;
    }
}

@media (max-width: 480px) {
    .location-card {
        width: min(168px, calc(100% - 20px));
    }
    .location-card-media {
        aspect-ratio: 16 / 5;
    }
    .location-card-name {
        margin-bottom: 7px;
        font-size: 0.85rem;
    }
    .location-map-cta {
        right: 10px;
        bottom: 10px;
        padding: 9px 13px;
        font-size: 0.62rem;
        gap: 7px;
    }
    .location-map-cta span[aria-hidden="true"] {
        display: none;
    }
}


/* --------------------------------------------------------------------------
   11E. VIDEO REEL CAROUSEL (ABOUT PAGE — VERTICAL CARDS)
   -------------------------------------------------------------------------- */

.vid-carousel {
    position: relative;
}

.vid-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    transform: translateY(-50%);
    background: rgba(0, 20, 48, 0.9);
}

.vid-arrow:hover {
    transform: translateY(-50%);
}

.vid-prev {
    left: -16px;
}

.vid-next {
    right: -16px;
}

.vid-cards-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vid-cards-scroll::-webkit-scrollbar {
    display: none;
}

.vid-card {
    flex: 0 0 clamp(210px, 19vw, 260px);
    min-width: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.vid-frame {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-subtle);
    background: #000000;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.vid-card:hover .vid-frame {
    transform: translateY(-6px);
    border-color: var(--color-border-saffron);
    box-shadow: var(--shadow-md), 0 0 20px rgba(255, 107, 0, 0.15);
}

.vid-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000000;
}


/* Bottom scrim so the title stays readable over any frame */

.vid-frame::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    background: linear-gradient(to top, rgba(0, 10, 26, 0.95) 0%, rgba(0, 10, 26, 0.55) 45%, rgba(0, 10, 26, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.vid-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.72);
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
}

.vid-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.92);
    color: #FFFFFF;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding-left: 3px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: transform var(--transition-base), background var(--transition-base), opacity var(--transition-base);
}

.vid-card:hover .vid-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.vid-play .vid-ico-pause {
    display: none;
    padding-left: 0;
}


/* Playing state — hide the big button until hover, show pause glyph */

.vid-card.is-playing .vid-play {
    opacity: 0;
    padding-left: 0;
    background: rgba(0, 0, 0, 0.7);
}

.vid-card.is-playing:hover .vid-play,
.vid-card.is-playing .vid-play:focus-visible {
    opacity: 1;
}

.vid-card.is-playing .vid-ico-play {
    display: none;
}

.vid-card.is-playing .vid-ico-pause {
    display: inline;
}

.vid-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px;
    pointer-events: none;
}

.vid-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.35;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vid-caption {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-lite-white-light);
    margin: 0;
    opacity: 0.85;
}


/* Responsive: vertical card sizing */

@media (max-width: 992px) {
    .vid-card {
        flex: 0 0 clamp(200px, 30vw, 240px);
    }
}

@media (max-width: 640px) {
    .vid-card {
        flex: 0 0 clamp(210px, 62vw, 250px);
    }
    .vid-prev {
        left: -8px;
    }
    .vid-next {
        right: -8px;
    }
    .vid-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}


/* --------------------------------------------------------------------------
   12. FINAL CTA RIBBON STRIP
   -------------------------------------------------------------------------- */

.final-cta-ribbon-section {
    background-color: var(--color-navy-dark);
    padding: 40px 0;
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.cta-ribbon-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 36px;
    align-items: center;
    background: var(--color-primary-navy);
    border: 1.5px solid var(--color-border-medium);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    box-shadow: var(--shadow-lg);
}


/* Inner pages (about, courses, cds, nda, afcat, ssb, direct-entry) use this
   wrapper instead of .cta-ribbon-card — logo yahan nahi chahiye, sirf
   index.html (.cta-ribbon-card) pe hi dikhega. */

.cta-ribbon-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;
}

.cta-ribbon-grid .cta-ribbon-brand {
    display: none;
}

.cta-pitch-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.cta-pitch-sub {
    font-size: 0.92rem;
    color: var(--color-lite-white);
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   13. FOOTER (ENHANCED MULTI-TIER)
   -------------------------------------------------------------------------- */

.site-footer {
    background-color: var(--color-navy-deep);
    color: var(--color-lite-white);
    position: relative;
    overflow: hidden;
}

.footer-tiranga-strip {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #FF6B00 0%, #FF6B00 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #046A38 66.6%, #046A38 100%);
}

.footer-main-area {
    padding: 64px 0 36px;
}

.footer-grid-layout {
    display: grid;
    grid-template-columns: 1.35fr 1.05fr 1.05fr 1.25fr;
    gap: 36px;
}


/* Col 1: Brand */

.footer-col-brand .footer-brand-link {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-logo-wrap {
    background: transparent;
    padding: 0;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    height: auto;
}

.footer-logo-img {
    height: 64px;
    width: auto;
}

.footer-brand-tagline {
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--color-lite-white);
    margin-bottom: 20px;
}

.footer-accreditation-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(0, 43, 92, 0.65);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
}

.footer-accreditation-badge .badge-icon {
    font-size: 1.4rem;
}

.footer-accreditation-badge .badge-text strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.05em;
}

.footer-accreditation-badge .badge-text small {
    font-size: 0.68rem;
    color: var(--color-accent-gold);
    font-weight: 600;
}

.footer-social-hub {
    margin-top: 8px;
}

.social-hub-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--color-accent-gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.social-pills-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-pill-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-primary-navy);
    border: 1px solid var(--color-border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-lite-white);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-pill-btn:hover {
    background: var(--color-saffron);
    color: #FFFFFF;
    border-color: var(--color-saffron);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--color-saffron-glow);
}


/* Col Titles */

.footer-col-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.col-title-bar {
    width: 4px;
    height: 15px;
    background: var(--color-saffron);
    border-radius: 2px;
}


/* Links List */

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    font-size: 0.84rem;
    color: var(--color-lite-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.footer-links-list li a .link-bullet {
    color: var(--color-saffron);
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.footer-links-list li a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-links-list li a:hover .link-bullet {
    transform: translateX(2px);
}


/* Contact Col */

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 20px;
}

.contact-item-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.83rem;
}

.contact-item-row .item-icon {
    font-size: 1.05rem;
    line-height: 1.3;
    flex-shrink: 0;
}

.contact-item-row .item-title {
    display: block;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 0.76rem;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-item-row .item-val,
.contact-item-row .item-link {
    color: var(--color-lite-white);
    line-height: 1.45;
    text-decoration: none;
}

.contact-item-row .phone-link {
    font-weight: 800;
    color: var(--color-saffron-bright);
    font-size: 0.95rem;
    display: block;
}

.contact-item-row .item-link:hover {
    color: var(--color-saffron);
    text-decoration: underline;
}

.contact-item-row .toll-free {
    display: block;
    font-size: 0.7rem;
    color: var(--color-accent-gold);
    margin-top: 1px;
    font-weight: 700;
}

.btn-footer-cta {
    width: 100%;
    padding: 11px 16px;
    background: linear-gradient(135deg, var(--color-saffron), var(--color-saffron-dark));
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 50px;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--color-saffron-glow);
    transition: all var(--transition-fast);
}

.btn-footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--color-saffron-glow);
}


/* Middle Trust Strip */

.footer-trust-strip {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon {
    font-size: 1.6rem;
}

.trust-text strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.04em;
}

.trust-text span {
    font-size: 0.72rem;
    color: var(--color-lite-white);
}

.trust-divider {
    width: 1px;
    height: 28px;
    background: var(--color-border-subtle);
}


/* Bottom Legal Strip */

.footer-bottom-bar {
    background: rgba(0, 15, 35, 0.95);
    padding: 18px 0;
    border-top: 1px solid rgba(203, 220, 238, 0.08);
    font-size: 0.78rem;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-copyright-text {
    color: var(--color-slate-dim);
}

.footer-copyright-text strong {
    color: var(--color-lite-white);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--color-slate-dim);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--color-saffron);
}

.dot-sep {
    color: rgba(203, 220, 238, 0.25);
    font-size: 0.65rem;
}

.footer-tribute-text {
    color: var(--color-accent-gold);
    font-weight: 700;
    font-size: 0.76rem;
}


/* --------------------------------------------------------------------------
   14. MODALS (ADMISSIONS & PROGRAM DETAILS)
   -------------------------------------------------------------------------- */

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 15, 35, 0.88);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    background: var(--color-primary-navy);
    border: 2px solid var(--color-saffron);
    border-radius: var(--radius-md);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    /* dvh fallback — identical to 90vh on desktop; keeps modals inside the
       visually usable area of mobile browsers with dynamic toolbars/keyboards */
    max-height: min(90vh, 90dvh);
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 40px var(--color-saffron-glow);
    transform: translateY(20px) scale(0.97);
    transition: transform var(--transition-base);
}

.modal-backdrop.active .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-close-btn:hover {
    background: var(--color-saffron);
}

.modal-body {
    padding: 32px;
}

.modal-form-header {
    margin-bottom: 22px;
}

.modal-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-saffron);
    background: var(--color-saffron-subtle);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 6px 0;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--color-lite-white);
}


/* Form Styles */

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFFFFF;
}

.form-label .required {
    color: var(--color-saffron);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: var(--color-navy-dark);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: #FFFFFF;
    font-size: 0.9rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-saffron);
    outline: none;
}

.form-error {
    font-size: 0.72rem;
    color: #FF4D4D;
    display: none;
}

.form-group.has-error .form-error {
    display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select {
    border-color: #FF4D4D;
}


/* Success State */

.form-success-state {
    text-align: center;
    padding: 30px 10px;
}

.success-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(4, 106, 56, 0.2);
    border: 2px solid #046A38;
    color: #2ECC71;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.success-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.success-desc {
    font-size: 0.9rem;
    color: var(--color-lite-white);
    margin-bottom: 20px;
}


/* Back to Top */

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-saffron), var(--color-saffron-dark));
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 18px var(--color-saffron-glow);
}

.back-to-top.visible {
    margin-right: 6px;
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-to-top:hover {
    /* transform: translateY(-5px) scale(1.1); */
    box-shadow: 0 5px 30px rgba(255, 107, 0, 0.6), 0 0 16px rgba(255, 138, 51, 0.4);
}


/* .back-to-top:hover svg {
    transform: translateY(-3px);
} */

.back-to-top:active {
    transform: scale(0.95);
}


/* --------------------------------------------------------------------------
   FLOAT ACTION MENU (Indian Flag Toggle)
   -------------------------------------------------------------------------- */

.float-menu {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}


/* Toggle Button — Indian Flag Circle */

.float-menu-toggle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 6px 22px rgba(0, 31, 68, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.12);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.float-menu-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(0, 31, 68, 0.45), 0 0 0 6px rgba(255, 107, 0, 0.18);
}

.float-menu-toggle:active {
    transform: scale(0.94);
}

.float-menu-flag {
    display: flex;
    line-height: 0;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: inset 0 0 0 1px rgba(0, 31, 68, 0.12);
}

.float-menu-flag svg {
    display: block;
    border-radius: 50%;
}

.float-menu.open .float-menu-flag {
    transform: rotate(360deg) scale(1.06);
}


/* Popup Items — pop vertically, right → left slide-in */

.float-menu-items {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-right: 6px;
}

.float-menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-decoration: none;
    /* start state: hidden, shifted right (pops in right → left) */
    opacity: 0;
    visibility: hidden;
    transform: translateX(36px) scale(0.5);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.35s;
}

.float-menu.open .float-menu-item {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}


/* stagger: bottom item first, then the one above it */

.float-menu.open .float-menu-item:nth-child(2) {
    transition-delay: 0s;
}

.float-menu.open .float-menu-item:nth-child(1) {
    transition-delay: 0.09s;
}

.float-menu-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(0, 31, 68, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    flex-shrink: 0;
}

.float-menu-whatsapp .float-menu-icon-box {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-menu-call .float-menu-icon-box {
    background: linear-gradient(135deg, var(--color-saffron), var(--color-saffron-dark));
}

.float-menu-item:hover .float-menu-icon-box {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 31, 68, 0.4);
}


/* Hover Label Pill */

.float-menu-label {
    background: var(--color-navy-dark);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    box-shadow: 0 3px 12px rgba(0, 31, 68, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.float-menu-item:hover .float-menu-label {
    opacity: 1;
    transform: translateX(0);
}


/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    .float-menu-item,
    .float-menu-flag,
    .float-menu-toggle {
        transition: none;
    }
}


/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .wings-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .wing-item:nth-child(4n+1) {
        border-left: none;
    }
    .wing-item:nth-child(n+5) {
        border-top: 1px solid rgba(203, 220, 238, 0.14);
    }
    .about-grid-layout {
        grid-template-columns: 1fr 1fr;
    }
    .courses-cards-scroll {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    /* Tablet masonry — spans reset for 2 cols */
    .courses-cards-scroll .course-visual-card:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }
    .courses-cards-scroll .course-visual-card:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    .courses-cards-scroll .course-visual-card:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    .courses-cards-scroll .course-visual-card:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .courses-cards-scroll .course-visual-card:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }
    .courses-cards-scroll .course-visual-card:nth-child(6) {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }
    .courses-cards-scroll .course-visual-card:nth-child(7) {
        grid-column: 1 / 3;
        grid-row: 5 / 6;
    }
    /* Tablet par zigzag offset reset — seedhi grid */
    .courses-cards-scroll .course-visual-card:nth-child(n) {
        transform: none;
    }
    /* (3D showcase has its own 1050px / 600px breakpoints above) */
    .gallery-layout-grid {
        grid-template-columns: 1fr;
    }
    .cta-ribbon-card,
    .cta-ribbon-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .footer-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

@media (max-width: 768px) {
     :root {
        --header-height: 80px;
    }
    .brand-logo-badge {
        height: 62px;
        padding: 4px 12px;
    }
    .desktop-nav,
    .nav-actions .btn-pill-enroll {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .hero-inner-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .hero-action-buttons {
        justify-content: center;
    }
    .hero-slider-ui {
        right: 50%;
        transform: translateX(50%);
        bottom: 56px;
        gap: 14px;
    }
    .hero-slider-counter {
        display: none;
    }
    .wings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wing-item {
        border-left: none;
        border-top: 1px solid rgba(203, 220, 238, 0.14);
        padding: 14px 16px;
    }
    .wing-item:nth-child(-n+2) {
        border-top: none;
    }
    .wing-item:nth-child(even) {
        border-left: 1px solid rgba(203, 220, 238, 0.14);
    }
    .about-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: none;
    }
    .about-text-lead {
        max-width: 100%;
    }
    .about-bg-img {
        background-position: center;
        opacity: 0.18;
    }
    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
    .courses-header-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .courses-header-row>div:first-child {
        align-items: center;
    }
    .courses-header-row .section-subtext {
        text-align: center;
    }
    .courses-head-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    .course-visual-card {
        flex-basis: 78vw;
        height: 400px;
    }
    .courses-cards-scroll {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    /* Mobile — single column stack, saare spans reset */
    .courses-cards-scroll .course-visual-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        min-height: 240px;
        transform: none;
    }
    /* (3D showcase has its own 1050px / 600px breakpoints above) */
    .polaroid-stack-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-trust-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .trust-divider {
        display: none;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-legal-links {
        justify-content: center;
    }
    .float-menu {
        bottom: 78px;
        right: 18px;
        gap: 10px;
    }
    .float-menu-toggle {
        width: 52px;
        height: 52px;
    }
    .float-menu-flag svg {
        width: 38px;
        height: 38px;
    }
    .float-menu-icon-box {
        width: 44px;
        height: 44px;
    }
    .back-to-top {
        bottom: 20px;
        right: 18px;
        width: 42px;
        height: 42px;
    }
}


/* ==========================================================================
   16. MOBILE & TABLET RESPONSIVE LAYER
   Desktop view (>1100px) is untouched — every rule below is max-width only.
   Breakpoints: 1100 → 992 → 768 → 600 → 480 → 360
   ========================================================================== */


/* ---- Small laptops / iPad landscape (≤1100px): tighten nav before hamburger ---- */

@media (max-width: 1100px) {
    .nav-list {
        gap: 14px;
    }
    .nav-link {
        font-size: 0.76rem;
        letter-spacing: 0.04em;
    }
    .nav-actions {
        gap: 10px;
    }
    .brand-logo-badge {
        height: 68px;
    }
    .site-header.scrolled .brand-logo-badge {
        height: 56px;
    }
}


/* ---- Tablets & small laptops (≤992px): hamburger nav kicks in early ---- */

@media (max-width: 992px) {
     :root {
        --header-height: 82px;
        --header-height-scrolled: 70px;
    }
    .nav-container {
        padding: 0 20px;
    }
    .brand-logo-badge {
        height: 64px;
        padding: 4px 12px;
    }
    .site-header.scrolled .brand-logo-badge {
        height: 54px;
    }
    .desktop-nav,
    .nav-actions .btn-pill-enroll {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    a,
    button {
        -webkit-tap-highlight-color: transparent;
    }
    section[id] {
        scroll-margin-top: calc(var(--header-height) + 12px);
    }
    .section {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .about-grid-layout {
        max-width: 100%;
    }
    .why-us-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}


/* ---- Tablets & large phones (≤768px) ---- */

@media (max-width: 768px) {
     :root {
        --header-height: 80px;
        --header-height-scrolled: 68px;
    }
    .brand-logo-badge {
        height: 60px;
        padding: 4px 12px;
    }
    .site-header.scrolled .brand-logo-badge {
        height: 50px;
    }
    .desktop-nav,
    .nav-actions .btn-pill-enroll {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .section-headline {
        font-size: clamp(1.7rem, 6.5vw, 2.2rem);
    }
    .section-subtext {
        font-size: 0.95rem;
    }
    .results-header .section-subtext {
        font-size: 0.95rem;
    }
    .success-copy .section-subtext {
        font-size: 0.95rem;
    }
    .section-header-center {
        margin-bottom: 36px;
    }
    .mobile-menu-content {
        width: min(320px, 88vw);
        padding: 20px;
    }
    .mobile-nav-link {
        padding: 11px 0;
        font-size: 1.02rem;
    }
    .hero-cinematic-section {
        padding-top: calc(var(--header-height) + 28px);
        padding-bottom: 90px;
    }
    .courses-header-row {
        margin-bottom: 28px;
    }
    .courses-cards-scroll,
    .blog-cards-scroll {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .blog-prev {
        left: 6px;
    }
    .blog-next {
        right: 6px;
    }
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px;
    }
    .final-cta-ribbon-section {
        padding: 30px 0;
    }
    .cta-ribbon-card {
        padding: 24px 18px;
        gap: 18px;
    }
    .cta-ribbon-grid {
        gap: 18px;
    }
    .cta-pitch-title {
        font-size: 1.15rem;
    }
    .cta-pitch-sub {
        font-size: 0.85rem;
    }
    .btn-pill-enroll-lg {
        width: 100%;
        justify-content: center;
        padding: 13px 22px;
        font-size: 0.85rem;
    }
    .btn {
        padding: 11px 20px;
        font-size: 0.76rem;
    }
    .modal-backdrop {
        padding: 14px;
    }
    .modal-body {
        padding: 26px 18px;
    }
    .modal-title {
        font-size: 1.25rem;
    }
    .footer-main-area {
        padding: 52px 0 30px;
    }
}


/* ---- Large phones / small tablets (≤600px) ---- */

@media (max-width: 600px) {
    .section {
        padding-top: 52px;
        padding-bottom: 52px;
    }
    .hero-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        border-width: 1px;
    }
    .hero-dot-bar {
        width: 20px;
        height: 2px;
    }
    .hero-dot.is-active .hero-dot-bar {
        width: 30px;
    }
    .why-us-section {
        padding-top: 44px;
        padding-bottom: 44px;
    }
    .campus-scene {
        min-height: 300px;
    }
    .stat-card {
        padding: 16px 10px;
    }
    .testimonial-card {
        padding: 20px 16px 16px;
    }
    .process-step {
        padding: 22px 14px 0;
    }
    .cta-ribbon-card {
        padding: 22px 16px;
    }
}


/* ---- Phones (≤480px) ---- */

@media (max-width: 480px) {
     :root {
        --header-height: 70px;
        --header-height-scrolled: 62px;
    }
    .nav-container {
        padding: 0 14px;
    }
    .brand-logo-badge {
        height: 54px;
        padding: 3px 10px;
    }
    .site-header.scrolled .brand-logo-badge {
        height: 46px;
    }
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .section {
        padding-top: 46px;
        padding-bottom: 46px;
    }
    .btn {
        padding: 8px 14px;
        font-size: 0.66rem;
        gap: 6px;
        letter-spacing: 0.04em;
    }
    .btn .btn-arrow,
    .btn .btn-arrow-icon,
    .btn-arrow {
        font-size: 0.85rem;
    }
    .btn-pill-enroll-lg {
        padding: 9px 15px;
        font-size: 0.72rem;
    }
    .btn-sm {
        padding: 6px 12px;
        font-size: 0.66rem;
    }
    .play-icon-circle {
        width: 16px;
        height: 16px;
        font-size: 0.5rem;
    }
    .section-headline {
        font-size: 1.65rem;
    }
    .section-subtext {
        font-size: 0.9rem;
    }
    .results-header .section-subtext {
        font-size: 0.9rem;
    }
    .success-copy .section-subtext {
        font-size: 0.9rem;
    }
    .section-header-center {
        margin-bottom: 28px;
    }
    .flag-video-fixed {
        width: 88px;
    }
    .mobile-menu-content {
        width: min(300px, 90vw);
        padding: 18px;
    }
    .mobile-brand-box {
        height: 34px;
    }
    .mobile-nav-link {
        padding: 10px 0;
        font-size: 0.96rem;
    }
    /* Hero */
    .hero-cinematic-section {
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 96px;
        min-height: 100vh;
        min-height: 100svh;
    }
    .hero-kicker-tag {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
        margin-bottom: 14px;
    }
    .hero-big-title {
        font-size: 1.9rem;
    }
    .hero-big-title .text-saffron-highlight {
        font-size: 1.15em;
    }
    .hero-description {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }
    .hero-action-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }
    /* Buttons hug their own text — no full-screen stretch */
    .hero-action-buttons .btn {
        width: max-content;
        max-width: 100%;
        justify-content: center;
    }
    .hero-slider-ui {
        bottom: 44px;
        gap: 8px;
    }
    .hero-slider-arrows {
        gap: 6px;
    }
    .hero-arrow {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
        border-width: 1px;
        padding-bottom: 2px;
    }
    .hero-dot-bar {
        width: 16px;
        height: 2px;
    }
    .hero-dot.is-active .hero-dot-bar {
        width: 24px;
    }
    .hero-down-chevron {
        font-size: 1.2rem;
        bottom: 10px;
    }
    /* Wings ribbon */
    .wings-grid {
        grid-template-columns: 1fr 1fr;
    }
    .wing-item {
        padding: 11px 10px;
        gap: 8px;
    }
    .wing-item svg {
        width: 22px;
        height: 22px;
    }
    .wing-code {
        font-size: 0.72rem;
    }
    .wing-sub {
        font-size: 0.56rem;
    }
    /* About */
    .about-grid-layout {
        gap: 32px;
    }
    .about-text-lead {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }
    .about-pillars-grid {
        gap: 22px 14px;
    }
    .pillar-ico {
        width: 52px;
        height: 52px;
    }
    .pillar-ico svg {
        width: 22px;
        height: 22px;
    }
    .pillar-name {
        font-size: 0.8rem;
        min-height: 0;
    }
    .pillar-tag {
        font-size: 0.68rem;
        min-height: 0;
    }
    /* Why choose us */
    .why-ico {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    .why-ico svg {
        width: 24px;
        height: 24px;
    }
    .why-title {
        font-size: 0.95rem;
    }
    .why-desc {
        font-size: 0.74rem;
    }
    .why-photo {
        height: 110px;
    }
    .why-goals-card {
        padding: 22px 16px 16%;
    }
    .why-top-desc {
        font-size: 0.85rem;
    }
    /* Courses */
    .course-visual-card {
        flex-basis: 80vw;
        height: 360px;
    }
    .card-course-name {
        font-size: 1.3rem;
    }
    .card-course-sub {
        font-size: 0.72rem;
    }
    .courses-cards-scroll,
    .blog-cards-scroll {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    /* Infrastructure */
    .infrastructure {
        padding: 48px 16px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 20px 0;
    }
    .feature {
        padding: 13px 0;
    }
    .campus-scene {
        min-height: 270px;
    }
    .facility-cards {
        gap: 3px;
        bottom: 10%;
    }
    .facility-cards .facility-card img {
        height: 62px;
    }
    .facility-cards .card-label {
        min-height: 44px;
        padding: 6px 2px;
        font-size: 12px;
    }
    .facility-cards .card-label h3 {
        font-size: 9px;
    }
    .facility-platform {
        height: 46px;
    }
    /* Results */
    .student-photo {
        height: 160px;
    }
    .student-info {
        padding: 12px 10px 8px;
        gap: 4px;
    }
    .student-name {
        font-size: 0.95rem;
    }
    .student-exam {
        font-size: 0.7rem;
    }
    .select-text {
        font-size: 0.7rem;
    }
    .rank-badge {
        width: 44px;
        height: 44px;
        top: 8px;
        right: 8px;
    }
    .rank-badge .rank-num {
        font-size: 0.9rem;
        height: 0.9rem;
    }
    .results-cta .btn {
        width: 100%;
    }
    /* Success stats */
    .stat-value {
        font-size: 1.5rem;
    }
    .stat-title {
        font-size: 0.75rem;
    }
    /* Testimonials */
    .t-text {
        font-size: 0.84rem;
    }
    /* Training process */
    .step-num {
        font-size: 1.6rem;
    }
    .step-name {
        font-size: 0.95rem;
    }
    /* Blog */
    .blog-card {
        flex-basis: 84vw;
    }
    .blog-photo-wrap {
        height: 160px;
    }
    .blog-body {
        padding: 16px;
    }
    .blog-title {
        font-size: 0.95rem;
    }
    .blog-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
    .blog-prev {
        left: 4px;
    }
    .blog-next {
        right: 4px;
    }
    /* Gallery */
    .polaroid-stack-wrap {
        gap: 10px;
    }
    .stack-card {
        padding: 6px 6px 12px;
    }
    .stack-img {
        height: 110px;
    }
    .stack-caption {
        font-size: 0.62rem;
    }
    .script-quote {
        font-size: 2rem;
    }
    .gallery-description {
        font-size: 0.92rem;
        margin-bottom: 18px;
    }
    /* Footer */
    .footer-grid-layout {
        gap: 28px;
    }
    .footer-col-title {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }
    .footer-links-list {
        gap: 8px;
    }
    .footer-links-list li a {
        font-size: 0.8rem;
    }
    .contact-item-row {
        font-size: 0.78rem;
        gap: 10px;
    }
    .trust-text strong {
        font-size: 0.72rem;
    }
    .trust-text span {
        font-size: 0.68rem;
    }
    /* Modals */
    .modal-body {
        padding: 22px 14px;
    }
    .modal-title {
        font-size: 1.15rem;
    }
    /* Float menu & back-to-top */
    .float-menu {
        bottom: 68px;
        right: 12px;
        gap: 10px;
    }
    .float-menu-toggle {
        width: 48px;
        height: 48px;
    }
    .float-menu-flag svg {
        width: 34px;
        height: 34px;
    }
    .float-menu-icon-box {
        width: 42px;
        height: 42px;
    }
    .float-menu-label {
        display: none;
    }
    .back-to-top {
        bottom: 14px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
}


/* ---- Small phones (≤360px) ---- */

@media (max-width: 360px) {
    .btn {
        padding: 7px 12px;
        font-size: 0.62rem;
        gap: 5px;
    }
    .btn-pill-enroll-lg {
        padding: 8px 13px;
        font-size: 0.68rem;
    }
    .btn-sm {
        padding: 6px 11px;
        font-size: 0.62rem;
    }
    .hero-big-title {
        font-size: 1.65rem;
    }
    .hero-description {
        font-size: 0.86rem;
    }
    .wings-grid {
        grid-template-columns: 1fr 1fr;
    }
    .wing-item {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 12px 6px;
    }
    .wing-info {
        align-items: center;
    }
    .wing-sub {
        white-space: normal;
        font-size: 0.54rem;
    }
    .course-visual-card {
        flex-basis: 86vw;
        height: 340px;
    }
    .blog-card {
        flex-basis: 88vw;
    }
    .stack-img {
        height: 96px;
    }
    .cta-pitch-title {
        font-size: 1.05rem;
    }
    .students-grid {
        gap: 10px;
    }
}


/* ==========================================================================
   17. FINAL RESPONSIVE HARDENING PASS (audit fixes)
   Touch ergonomics, drawer/modal scroll integrity and short-landscape safety.
   Every rule below applies to viewports <=992px (or short-landscape phones) —
   desktop tablets/laptops/desktops (>992px) are completely unaffected.
   ========================================================================== */


/* ---- <=992px: drawer integrity + touch ergonomics ---- */

@media (max-width: 992px) {
    /* Drawer must stack above the fixed header (z-index 1000) and the tiranga
       top strip (1001) so .mobile-menu-content (logo, close btn, links) is
       never covered when the menu is open */
    .mobile-menu-drawer {
        z-index: 1200;
    }
    /* Drawer content without scroll could clip the ENROLL button on short
       (landscape) screens — make it internally scrollable; size is unchanged */
    .mobile-menu-content {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        /* keep the ENROLL button clear of iPhone home-indicator / Android
           gesture bars — the drawer covers the full screen edge-to-edge */
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }
    /* Slightly roomier hamburger for accurate tapping (same visual style) */
    .mobile-toggle {
        width: 44px;
        height: 42px;
    }
    /* Kill double-tap zoom delay on all interactive targets */
    a,
    button,
    input,
    select,
    textarea,
    .course-visual-card,
    .hero-dot {
        touch-action: manipulation;
    }
}


/* ---- <=768px: tap targets + full-width centered Hero copy + safe areas ---- */

@media (max-width: 768px) {
    /* Guarantee comfortable touch height for all pill buttons */
    .btn {
        min-height: 42px;
    }
    .btn-sm {
        min-height: 36px;
    }
    /* ---- Mobile GPU budget -------------------------------------------------
       Each backdrop-filter forces the browser to capture, blur and recomposite
       whatever sits behind it on EVERY scroll frame. On phones the page was
       running a full-width fixed header blur(16px) + a full-width fixed bottom
       nav blur(18px) + a screenful of glass cards = 6-10 Gaussian passes per
       frame, which is exactly the scroll lag reported on mobile.
       Mobile keeps the same deep-navy glass look (same colours, slightly higher
       opacity) with zero blur passes. */
    .site-header {
        background-color: rgba(0, 27, 60, 0.95);
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .student-card,
    .stat-card,
    .process-step,
    .blog-card,
    .testimonial-card,
    .location-map-cta,
    .page-breadcrumb,
    .hero-arrow,
    .hero-slider-counter,
    .btn-pill-story,
    .btn-outline-pill {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    /* Raise opacity exactly where the blur was doing the readability work */
    .student-card,
    .stat-card,
    .process-step,
    .blog-card {
        background: rgba(0, 24, 52, 0.9);
    }
    .testimonial-card {
        background: rgba(0, 20, 48, 0.88);
    }
    .location-map-cta {
        background: rgba(0, 15, 35, 0.95);
    }
    .page-breadcrumb {
        background: rgba(0, 31, 68, 0.82);
    }
    .btn-pill-story {
        background: rgba(0, 20, 48, 0.78);
    }
    .btn-outline-pill {
        background: rgba(0, 43, 92, 0.6);
    }
    .hero-arrow,
    .hero-slider-counter {
        background: rgba(0, 20, 48, 0.72);
    }
    /* Hero copy is center-aligned on mobile — description block must center too
       (it is capped at 560px and previously hung off the left margin) */
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    /* Hero slider: show the COMPLETE poster on mobile — no crop, no zoom;
       height follows content so there is no oversized empty space */
    .hero-cinematic-section {
        background-color: var(--color-navy-deep);
        min-height: calc(var(--header-height) + 42.74vw);
        padding-bottom: 20px;
        align-items: flex-end;
    }
    /* Bottom strip: CTAs + slider UI share ONE horizontal line */
    .hero-text-slide {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .hero-down-chevron {
        display: none;
    }
    /* Poster strip is pinned right below the fixed header (never rides up) */
    .hero-slider {
        top: var(--header-height);
        bottom: auto;
        height: 42.74vw;
    }
    .hero-slide {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
    /* Mobile hero: shrunken, LEFT-aligned copy that hugs the poster */
    .hero-inner-container {
        align-items: flex-start;
        text-align: left;
    }
    .hero-kicker-tag {
        justify-content: flex-start;
        font-size: clamp(0.46rem, 1.2vw, 0.56rem);
        letter-spacing: 0.06em;
        margin-bottom: 8px;
    }
    .hero-big-title {
        font-size: clamp(0.9rem, 3.8vw, 1.25rem);
    }
    .hero-big-title .text-saffron-highlight {
        font-size: 1.08em;
    }
    .hero-text-slide.is-active .hero-big-title {
        margin-bottom: 5px;
    }
    /* Mobile: paragraph hidden so the copy stays inside the poster */
    .hero-description {
        display: none;
    }
    /* Both CTA buttons on ONE horizontal line, aligned left */
    .hero-action-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        padding-right: 86px;
    }
    .hero-action-buttons .btn {
        width: max-content;
        max-width: 100%;
        min-height: 22px;
        padding: 2px 7px;
        font-size: clamp(0.34rem, 1.6vw, 0.42rem);
        white-space: nowrap;
    }
    .hero-action-buttons .btn-arrow {
        font-size: 0.5rem;
    }
    .hero-action-buttons .play-icon-circle {
        width: 10px;
        height: 10px;
        font-size: 0.32rem;
    }
    /* Slider UI sits on the SAME line as the CTAs, pinned right */
    .hero-slider-ui {
        right: 6px;
        transform: none;
        bottom: 21px;
        gap: 6px;
    }
    .hero-slider-arrows {
        gap: 4px;
    }
    .hero-slider-dots {
        gap: 6px;
    }
    .hero-arrow {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        border-width: 1px;
        padding-bottom: 1px;
    }
    .hero-dot-bar {
        width: 10px;
        height: 2px;
    }
    .hero-dot.is-active .hero-dot-bar {
        width: 16px;
    }
    /* Wings ribbon: row 1 = 4 columns, row 2 = 3 columns */
    .wings-grid {
        grid-template-columns: repeat(12, 1fr);
    }
    .wing-item {
        grid-column: span 4;
    }
    .wing-item:nth-child(-n+4) {
        grid-column: span 3;
        border-top: none;
    }
    .wing-item:nth-child(3),
    .wing-item:nth-child(7) {
        border-left: 1px solid rgba(203, 220, 238, 0.14);
    }
    .wing-item:nth-child(5) {
        border-left: none;
    }
    /* About pillars: 2 rows x 2 columns on mobile */
    .about-pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    /* Why choose us: icon | text | photo in ONE horizontal row */
    .why-item {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
    }
    .why-photo {
        grid-column: auto;
        width: 96px;
        height: 70px;
        margin-left: 0;
        transform: skewX(-10deg);
    }
    .why-photo.skew-r {
        transform: skewX(10deg);
    }
    /* Our Infrastructure: feature list stays 2 columns on mobile */
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 12px;
    }
    /* Our Results: student cards stay 2 columns on mobile */
    .students-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Notch / home-indicator safe areas for popups & modals */
    .modal-backdrop {
        padding: 14px;
        padding-left: calc(14px + env(safe-area-inset-left, 0px));
        padding-right: calc(14px + env(safe-area-inset-right, 0px));
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .modal-backdrop {
        overscroll-behavior: contain;
    }
}


/* ---- Phones rotated to landscape (short viewports): keep Hero compact ---- */

@media (max-width: 992px) and (max-height: 520px) and (orientation: landscape) {
    .hero-cinematic-section {
        padding-top: calc(var(--header-height) + 14px);
        padding-bottom: 14px;
    }
    .hero-big-title {
        font-size: clamp(1rem, 4.6vh, 1.5rem);
    }
    .hero-kicker-tag {
        font-size: 0.62rem;
        margin-bottom: 8px;
    }
    .hero-description {
        display: none;
    }
    .hero-action-buttons {
        flex-wrap: nowrap;
        gap: 8px;
    }
    .hero-action-buttons .btn {
        min-height: 32px;
        padding: 7px 14px;
        font-size: 0.62rem;
    }
    .hero-slider-ui {
        bottom: 18px;
    }
    .hero-down-chevron {
        display: none;
    }
}


/* ==========================================================================
   18. MOBILE APP-STYLE BOTTOM NAVIGATION (visible only <=767px)
   ========================================================================== */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2px;
        padding: 2px 8px calc(2px + env(safe-area-inset-bottom, 0px));
        border-radius: 22px 22px 0 0;
        border: none;
        border-top: 1px solid var(--color-border-subtle);
        background: linear-gradient(165deg, rgba(0, 40, 84, 0.94) 0%, rgba(0, 21, 48, 0.97) 100%);
        box-shadow: 0 -14px 34px rgba(0, 12, 30, 0.55), 0 -3px 10px rgba(0, 12, 30, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
        /* Scroll perf: this bar is full-width + fixed to the bottom edge, so the
           18px blur (plus saturate) was recomputed on every scroll frame on top
           of the header blur. The gradient above is already 94-97% opaque, so the
           blur was invisible — removed entirely. */
        -webkit-tap-highlight-color: transparent;
    }
    .mbn-item {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        padding: 1px 0 0;
        color: var(--color-slate-dim);
        text-decoration: none;
        border-radius: 18px;
        outline: none;
        transition: color var(--transition-fast);
    }
    .mbn-icon-wrap {
        position: relative;
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        transition: transform var(--transition-base);
    }
    .mbn-icon-wrap::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: linear-gradient(140deg, var(--color-saffron), var(--color-saffron-dark));
        box-shadow: 0 6px 16px var(--color-saffron-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
        opacity: 0;
        transform: scale(0.45);
        transition: transform var(--transition-smooth), opacity var(--transition-base);
    }
    .mbn-item svg {
        position: relative;
        z-index: 1;
        width: 21px;
        height: 21px;
        transition: color var(--transition-base), transform var(--transition-base);
    }
    .mbn-label {
        font-family: var(--font-body);
        font-size: 0.58rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1;
        color: inherit;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: color var(--transition-base);
    }
    /* Home: raised circular flagship item, dead-center */
    .mbn-home {
        position: relative;
    }
    .mbn-home .mbn-icon-wrap {
        width: 52px;
        height: 52px;
        margin-top: -24px;
        background: linear-gradient(140deg, var(--color-saffron), var(--color-saffron-dark));
        border: 3px solid rgba(0, 21, 48, 0.95);
        box-shadow: 0 10px 22px rgba(0, 12, 30, 0.55), 0 0 0 1px rgba(255, 107, 0, 0.35), 0 0 0 6px rgba(255, 107, 0, 0.08);
        transition: transform var(--transition-base), box-shadow var(--transition-base);
    }
    .mbn-home .mbn-icon-wrap::before {
        display: none;
    }
    .mbn-home svg {
        width: 24px;
        height: 24px;
        color: var(--color-pure-white);
    }
    .mbn-home .mbn-label {
        color: var(--color-lite-white-light);
        font-weight: 800;
    }
    /* Active states */
    .mbn-item.is-active {
        color: var(--color-saffron-bright);
    }
    .mbn-item.is-active .mbn-icon-wrap::before {
        opacity: 1;
        transform: scale(1);
    }
    .mbn-item.is-active svg {
        color: var(--color-pure-white);
    }
    .mbn-item.is-active .mbn-label {
        color: var(--color-saffron-bright);
    }
    .mbn-item.is-active .mbn-icon-wrap {
        animation: mbnPop 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .mbn-home.is-active .mbn-icon-wrap {
        box-shadow: 0 10px 26px var(--color-saffron-glow), 0 0 0 1px rgba(255, 107, 0, 0.5), 0 0 0 7px rgba(255, 107, 0, 0.14);
        transform: scale(1.04);
    }
    @keyframes mbnPop {
        0% {
            transform: scale(1);
        }
        45% {
            transform: scale(1.14);
        }
        100% {
            transform: scale(1);
        }
    }
    /* Hover only on devices that support it */
    @media (hover: hover) {
        .mbn-item:hover .mbn-icon-wrap {
            transform: translateY(-2px);
        }
        .mbn-item:hover .mbn-label {
            color: var(--color-lite-white-light);
        }
        .mbn-item.is-active:hover .mbn-label {
            color: var(--color-saffron-bright);
        }
        .mbn-home:hover .mbn-icon-wrap {
            transform: translateY(-2px) scale(1.03);
        }
    }
    /* Tap feedback */
    .mbn-item:active .mbn-icon-wrap {
        transform: scale(0.88);
    }
    .mbn-home:active .mbn-icon-wrap {
        transform: scale(0.94);
    }
    .mbn-item:focus-visible {
        box-shadow: 0 0 0 2px var(--color-saffron-bright);
    }
    /* Keep page content, floats and the last section clear of the bar */
    body {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }
    .back-to-top {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
    .float-menu {
        bottom: calc(124px + env(safe-area-inset-bottom, 0px));
    }
    .flag-video-fixed {
        bottom: calc(50px + env(safe-area-inset-bottom, 0px)) !important;
    }
    @media (prefers-reduced-motion: reduce) {
        .mobile-bottom-nav,
        .mbn-item,
        .mbn-icon-wrap,
        .mbn-icon-wrap::before,
        .mbn-item svg,
        .mbn-label {
            transition: none !important;
            animation: none !important;
        }
    }
}


/* Float action menu: side padding only on desktop; removed for mobile/tablet */

@media (max-width: 992px) {
    .float-menu-items {
        padding-right: 0;
    }
}


/* ==========================================================================
   22. FOOTER — MOBILE TWEAKS
   ========================================================================== */

@media (max-width: 768px) {
    /* Footer link lists in 2 columns */
    .footer-links-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }
    /* Move bottom-nav clearance from body into the footer so no gap remains
       below the footer */
    body {
        padding-bottom: 0;
    }
    .footer-bottom-bar {
        padding-bottom: calc(18px + 88px + env(safe-area-inset-bottom, 0px));
    }
}


/* ==========================================================================
   20. TESTIMONIALS 3D COVERFLOW CAROUSEL
   ========================================================================== */

.testimonials-carousel {
    position: relative;
    perspective: 1400px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    transform: translateY(-50%);
    background: rgba(0, 20, 48, 0.9);
}

.testimonials-arrow:hover {
    transform: translateY(-50%);
}

.testimonials-prev {
    left: -16px;
}

.testimonials-next {
    right: -16px;
}

.testimonials-track {
    position: relative;
    display: block;
    height: 340px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    perspective: 1400px;
    scroll-snap-type: none;
    transition: height 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonials-track .testimonial-card {
    position: absolute;
    top: 50%;
    left: 50%;
    flex: none;
    width: clamp(300px, 46vw, 560px);
    max-width: none;
    margin: 0;
    z-index: 1;
    opacity: 0;
    transform: translate(-50%, -50%) translateZ(-120px) scale(0.6);
    transform-origin: 50% 50%;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

.testimonials-track .testimonial-card.is-active {
    z-index: 3;
    opacity: 1;
    transform: translate(-50%, -50%) translateZ(0) scale(1);
    pointer-events: auto;
    background: rgba(0, 20, 48, 0.92);
}

.testimonials-track .testimonial-card.is-prev {
    z-index: 2;
    opacity: 0.55;
    transform: translate(calc(-50% - 50%), -50%) translateZ(-40px) scale(0.82);
    pointer-events: auto;
}

.testimonials-track .testimonial-card.is-next {
    z-index: 2;
    opacity: 0.55;
    transform: translate(calc(-50% + 50%), -50%) translateZ(-40px) scale(0.82);
    pointer-events: auto;
}

.testimonials-track .testimonial-card.is-active:hover {
    border-color: var(--color-saffron);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.testimonials-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(203, 220, 238, 0.55);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.testimonials-dot:hover {
    border-color: var(--color-saffron-bright);
}

.testimonials-dot.is-active {
    background: var(--color-saffron);
    border-color: var(--color-saffron);
    box-shadow: 0 0 12px var(--color-saffron-glow);
    transform: scale(1.2);
}

@media (max-width: 1100px) {
    .testimonials-track .testimonial-card {
        width: clamp(280px, 56vw, 470px);
    }
    .testimonials-track .testimonial-card.is-prev {
        transform: translate(calc(-50% - 52%), -50%) translateZ(-30px) scale(0.84);
    }
    .testimonials-track .testimonial-card.is-next {
        transform: translate(calc(-50% + 52%), -50%) translateZ(-30px) scale(0.84);
    }
}

@media (max-width: 600px) {
    .testimonials-track {
        height: 320px;
    }
    .testimonials-track .testimonial-card {
        width: 78%;
    }
    .testimonials-prev {
        left: 4px;
    }
    .testimonials-next {
        right: 4px;
    }
    .testimonials-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
    .testimonials-track .testimonial-card.is-prev {
        opacity: 0.5;
        transform: translate(calc(-50% - 72%), -50%) scale(0.86);
    }
    .testimonials-track .testimonial-card.is-next {
        opacity: 0.5;
        transform: translate(calc(-50% + 72%), -50%) scale(0.86);
    }
    .testimonials-dots {
        margin-top: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-track,
    .testimonials-track .testimonial-card {
        transition: none;
    }
}


/* ==========================================================================
   21. BLOG CAROUSEL — CONTAINED STAGE
   ========================================================================== */

.blog-carousel {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cards-scroll {
    margin-left: 0;
    margin-right: 0;
    padding-left: 4px;
    padding-right: 4px;
}


/* ==========================================================================
   22. COMPREHENSIVE INNER PAGES DESIGN SYSTEM
   Theme: Dehradun Defence Institute High-Performance Architecture
   ========================================================================== */


/* Container Consistency */

.site-container,
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* Inner Page Breadcrumb Banner — compact page header used on every inner page.
   Scoped component: index.html never uses these classes, so the homepage hero is untouched. */

.page-crumb-banner {
    position: relative;
    padding-top: calc(var(--header-height) + 26px);
    padding-bottom: 30px;
    background-color: var(--color-navy-dark);
    /* breadcrum-bg.png: dark navy on the left keeps the breadcrumb text readable,
       while the NDA gate / jets / tricolour smoke detail shows through on the right. */
    background-image: linear-gradient(90deg, rgba(0, 24, 52, 0.92) 0%, rgba(0, 31, 68, 0.78) 40%, rgba(0, 31, 68, 0.35) 70%, rgba(0, 31, 68, 0.15) 100%), url('breadcrum-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--color-border-subtle);
    overflow: hidden;
}

.page-crumb-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(203, 220, 238, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(203, 220, 238, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.8;
}

.page-crumb-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    /* Width/padding/margins come exclusively from the shared .container rule
       (max-width: 1240px, margin: auto, side padding) so the breadcrumb content
       aligns exactly with the main content container on every breakpoint. */
}


/* Subtle tricolour accent hairline along the base of the banner */

.page-crumb-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-saffron) 0%, var(--color-accent-gold) 35%, #FFFFFF 65%, #046A38 100%);
    opacity: 0.5;
    pointer-events: none;
}


/* Breadcrumbs */

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-lite-white);
    background: rgba(0, 31, 68, 0.6);
    border: 1px solid var(--color-border-subtle);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.page-breadcrumb a {
    color: var(--color-lite-white-light);
    transition: color var(--transition-fast);
}

.page-breadcrumb a:hover {
    color: var(--color-saffron-bright);
}

.page-breadcrumb .crumb-sep {
    color: var(--color-saffron);
    font-size: 0.8rem;
}

.page-breadcrumb .crumb-current {
    color: var(--color-saffron);
    font-weight: 700;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-saffron);
    box-shadow: 0 0 8px var(--color-saffron-glow);
    display: inline-block;
    flex-shrink: 0;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 43, 92, 0.7);
    border: 1px solid var(--color-border-medium);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-lite-white-light);
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.hero-pill-badge.saffron {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.4);
    color: #FFB37C;
}

.hero-pill-badge.gold {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    color: #F2D98D;
}


/* Compact page title inside the breadcrumb banner */

.page-crumb-title {
    font-family: var(--font-signpainter);
    font-size: clamp(1.6rem, 4vw, 51.4rem);
    font-weight: 800;
    line-height: 1.24;
    color: #FFFFFF;
    margin: 0 0 4px;
    letter-spacing: 0.02em;
    max-width: 900px;
    overflow-wrap: break-word;
}

.btn-arrow-icon {
    display: inline-block;
    font-size: 1.05rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.btn:hover .btn-arrow-icon {
    transform: translate(3px, -2px);
}


/* Page Section Background Variations */

.page-section {
    padding: 80px 0;
    position: relative;
}

.page-section.bg-navy {
    background-color: var(--color-primary-navy);
}

.page-section.bg-dark {
    background-color: var(--color-navy-dark);
}

.page-section.bg-deep {
    background-color: var(--color-navy-deep);
}

.page-section.border-top-subtle {
    border-top: 1px solid var(--color-border-subtle);
}


/* Inner Grids */

.inner-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: start;
}

.inner-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.inner-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.inner-grid-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .inner-grid-2,
    .inner-grid-sidebar {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .inner-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .inner-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .inner-grid-3,
    .inner-grid-4 {
        grid-template-columns: 1fr;
    }
    .page-crumb-banner {
        padding-top: calc(var(--header-height) + 18px);
        padding-bottom: 20px;
        /* Shift focus toward the detailed side of the banner image on small screens */
        background-position: 68% center;
    }
    .page-crumb-banner .page-breadcrumb {
        font-size: 0.76rem;
        padding: 5px 12px;
        gap: 6px;
        margin-bottom: 12px;
    }
    .page-crumb-title {
        font-size: clamp(1.6rem, 4vw, 51.4rem);
    }
}


/* Modern Card Components */

.card-glass {
    background: linear-gradient(145deg, rgba(0, 36, 76, 0.75) 0%, rgba(0, 24, 52, 0.85) 100%);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.card-glass:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-saffron);
    box-shadow: var(--shadow-md), 0 0 20px rgba(255, 107, 0, 0.12);
}

.card-glass-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.card-glass-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, rgba(0, 43, 92, 0.8) 100%);
    border: 1px solid rgba(255, 107, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-saffron-bright);
    flex-shrink: 0;
}

.card-glass-title {
    font-size: 1.28rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.card-glass-meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-saffron-bright);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-glass-desc {
    color: var(--color-lite-white);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
}


/* Point Checklists */

.checklist-styled {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 0;
}

.checklist-styled li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 15px 10px 12px;
    font-size: 0.92rem;
    color: var(--color-lite-white-light);
    line-height: 1.55;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.09) 0%, rgba(255, 255, 255, 0.035) 45%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(203, 220, 238, 0.10);
    border-left: 2px solid rgba(255, 107, 0, 0.65);
    border-radius: 9px;
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.checklist-styled li>strong,
.checklist-styled li>b {
    color: #FFFFFF;
    font-weight: 800;
}

.checklist-styled li:hover {
    transform: translateX(4px);
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.17) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
    border-color: rgba(255, 107, 0, 0.30);
    border-left-color: var(--color-saffron);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.check-bullet {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--color-saffron) 0%, var(--color-saffron-dark) 100%);
    border: none;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 2px 7px rgba(255, 107, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 3px rgba(0, 0, 0, 0.22);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.checklist-styled li:hover .check-bullet {
    transform: scale(1.12);
    box-shadow: 0 3px 11px rgba(255, 107, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 3px rgba(0, 0, 0, 0.22);
}


/* Modern Data Table */

.data-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: var(--color-navy-dark);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 24px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.data-table th {
    background: rgba(0, 43, 92, 0.95);
    color: #FFFFFF;
    font-weight: 800;
    padding: 16px 20px;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--color-saffron);
    white-space: nowrap;
}

.data-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border-subtle);
    color: var(--color-lite-white);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(255, 107, 0, 0.05);
    color: #FFFFFF;
}

.data-table .highlight-cell {
    color: var(--color-saffron-bright);
    font-weight: 700;
}


/* FAQ Accordion */

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 31, 68, 0.7);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.faq-item.active {
    border-color: var(--color-saffron);
    background: rgba(0, 36, 76, 0.9);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 24px;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-saffron-bright);
}

.faq-chevron {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(203, 220, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-saffron);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    background: var(--color-saffron);
    color: #FFFFFF;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out;
    padding: 0 24px;
    color: var(--color-lite-white);
    font-size: 0.94rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 24px 22px 24px;
}


/* Filter Tab Bar */

.filter-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    justify-content: center;
}

.filter-tab-btn {
    background: rgba(0, 31, 68, 0.7);
    border: 1px solid var(--color-border-subtle);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    color: var(--color-lite-white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab-btn:hover {
    color: #FFFFFF;
    border-color: var(--color-border-medium);
}

.filter-tab-btn.active {
    background: var(--color-saffron);
    color: #FFFFFF;
    border-color: var(--color-saffron);
    box-shadow: 0 4px 14px var(--color-saffron-glow);
}


/* Gallery Showcase Grid */

.gallery-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-grid-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-navy-dark);
    border: 1px solid var(--color-border-subtle);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.gallery-grid-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-md);
    border-color: var(--color-saffron);
}

.gallery-grid-item img,
.gallery-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-item:hover img,
.gallery-grid-item:hover .gallery-grid-img {
    transform: scale(1.06);
}

.gallery-grid-overlay,
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 18, 42, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: background 0.3s ease;
}

.gallery-category-pill,
.gallery-item-tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-saffron);
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.4);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 6px;
}

.gallery-grid-title,
.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.gallery-grid-desc {
    font-size: 0.82rem;
    color: var(--color-lite-white);
    line-height: 1.4;
    opacity: 0.9;
}


/* Lightbox Modal */

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 15, 35, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.lightbox-modal.active,
.lightbox-modal.is-active {
    display: flex !important;
}

.lightbox-content,
.lightbox-dialog {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: var(--color-navy-dark);
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
}

.lightbox-close,
.lightbox-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-close-btn:hover {
    background: var(--color-saffron);
    transform: rotate(90deg);
}

.lightbox-img,
.lightbox-dialog img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #020b18;
}

.lightbox-caption,
.lightbox-caption-bar {
    padding: 16px 24px;
    background: var(--color-navy-deep);
    border-top: 1px solid var(--color-border-subtle);
    font-size: 0.95rem;
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1.5;
}


/* Contact Grid & Elements */

.contact-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 960px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    display: flex;
    flex-direction: column;
}

.contact-form-card {
    background: linear-gradient(145deg, rgba(0, 36, 76, 0.85) 0%, rgba(0, 24, 52, 0.95) 100%);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-md);
}


/* Form Controls */

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-lite-white-light);
    letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(0, 18, 42, 0.85);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-saffron);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(203, 220, 238, 0.45);
}

.form-select option {
    background: #001f44;
    color: #FFFFFF;
}


/* Results & Hall of Fame Showcase */

.results-stat-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .results-stat-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .results-stat-bar {
        grid-template-columns: 1fr;
    }
}

.stat-pill-card,
.stat-counter-box {
    background: linear-gradient(135deg, rgba(0, 43, 92, 0.85) 0%, rgba(0, 24, 52, 0.95) 100%);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-pill-card:hover,
.stat-counter-box:hover {
    transform: translateY(-3px);
    border-color: var(--color-saffron);
}

.stat-big-number,
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 900;
    color: var(--color-saffron-bright);
    line-height: 1.1;
}

.stat-pill-label,
.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-lite-white);
    line-height: 1.45;
    max-width: 240px;
}


/* Cadet Cards */

.cadet-card {
    background: var(--color-navy-dark);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cadet-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-saffron);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 0, 0.15);
}

.cadet-card-media,
.cadet-photo-frame {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #001228;
}

.cadet-card-img,
.cadet-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cadet-card:hover .cadet-card-img,
.cadet-card:hover .cadet-photo-frame img {
    transform: scale(1.06);
}

.cadet-card-rank-badge,
.cadet-badge-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-saffron);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.cadet-card-body,
.cadet-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cadet-card-academy,
.cadet-selection {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-saffron-bright);
    margin-bottom: 4px;
}

.cadet-card-name,
.cadet-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.cadet-card-entry {
    font-size: 0.82rem;
    color: var(--color-lite-white);
    opacity: 0.8;
    margin-bottom: 12px;
}

.cadet-card-quote,
.cadet-quote {
    font-size: 0.85rem;
    color: var(--color-lite-white-light);
    line-height: 1.6;
    font-style: italic;
    border-top: 1px solid rgba(203, 220, 238, 0.1);
    padding-top: 12px;
    margin-top: auto;
}


/* Global Enquiry Modal */

.modal-backdrop-custom {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 12, 28, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.modal-backdrop-custom.is-active,
.modal-backdrop-custom.active {
    display: flex !important;
}

.modal-dialog-custom {
    position: relative;
    max-width: 520px;
    width: 100%;
    background: linear-gradient(145deg, #002248 0%, #001530 100%);
    border: 1px solid rgba(255, 107, 0, 0.45);
    border-radius: var(--radius-md);
    padding: 34px 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 107, 0, 0.2);
    max-height: 92vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--color-saffron);
}

.modal-header-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-saffron-bright);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--color-lite-white);
    margin-bottom: 22px;
    line-height: 1.5;
}


/* Badge Status in Tables */

.badge-status {
    display: inline-block;
    background: rgba(4, 106, 56, 0.35);
    border: 1px solid #04a255;
    color: #72f5ab;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
    white-space: nowrap;
}


/* FAQ Toggle Icon */

.faq-toggle-icon {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-saffron);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--color-gold-accent);
}


/* Section & Typography Utilities */

.inner-page-section {
    padding: 80px 0;
    position: relative;
}

.bg-surface-alt {
    background: rgba(0, 24, 56, 0.75);
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.section-badge-center {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.sub-badge-text {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.4);
    color: #FFB37C;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
}

.section-title-center {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-desc-center {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.98rem;
    color: var(--color-lite-white);
    line-height: 1.7;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #FFE29F 0%, #D4AF37 50%, #B89228 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-saffron {
    background: linear-gradient(135deg, #FF9E54 0%, #FF6B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.card-badge-gold {
    display: inline-block;
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #F2D98D;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
}

.card-badge-saffron {
    display: inline-block;
    background: rgba(255, 107, 0, 0.16);
    border: 1px solid rgba(255, 107, 0, 0.45);
    color: #FFB37C;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
}

.highlight-border {
    border: 1px solid rgba(255, 107, 0, 0.45) !important;
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.15) !important;
}

.card-glass-text,
.card-glass-desc {
    color: var(--color-lite-white);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 14px;
}


/* Legal Documents Styling */

.legal-card {
    background: var(--color-navy-dark);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.legal-card h2 {
    font-size: 1.4rem;
    color: #FFFFFF;
    margin-top: 28px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--color-border-subtle);
    padding-bottom: 8px;
}

.legal-card h3 {
    font-size: 1.15rem;
    color: var(--color-saffron-bright);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-card p,
.legal-card ul {
    font-size: 0.95rem;
    color: var(--color-lite-white);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-card ul {
    padding-left: 20px;
    list-style: disc;
}

.legal-card li {
    margin-bottom: 8px;
}