/* ==========================================================================
   RADIANCE PUBLIC SCHOOL (RPS) - OFFICIAL STYLESHEET
   World-Class Luxury Academic & Bilingual Design
   Palette: Royal Maroon, Regal Gold & Pure Alabaster
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Nastaliq+Urdu:wght@400;600;700&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Primary Color Palette */
    --maroon-950: #220007;
    --maroon-900: #38000c;
    --maroon-850: #4e0013;
    --maroon-800: #68001a;
    --maroon-700: #800020; /* Core Royal Maroon */
    --maroon-600: #990c2e;
    --maroon-500: #b5153b;
    --maroon-100: #fce8ec;
    --maroon-50:  #fdf3f5;

    /* Regal Gold & Amber Accents */
    --gold-600: #b8860b;
    --gold-500: #d4af37;
    --gold-400: #e6ca65;
    --gold-300: #f3df93;
    --gold-200: #faeec7;
    --gold-100: #fdf8e6;

    /* Neutrals & Backgrounds */
    --white: #ffffff;
    --alabaster: #fcfbfa;
    --cream: #f8f5ee;
    --surface-light: #f4f5f8;
    --border-light: #e5e7eb;
    --border-maroon: rgba(128, 0, 32, 0.14);

    /* Text & Slates */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Gradients */
    --gradient-maroon: linear-gradient(135deg, #800020 0%, #4a0012 100%);
    --gradient-maroon-dark: linear-gradient(135deg, #3b000d 0%, #1c0006 100%);
    --gradient-maroon-vibrant: linear-gradient(135deg, #a30e31 0%, #68001a 100%);
    --gradient-gold: linear-gradient(135deg, #f9d976 0%, #d4af37 55%, #aa8010 100%);
    --gradient-gold-soft: linear-gradient(135deg, #fff8e1 0%, #f7e29c 100%);
    --gradient-surface: linear-gradient(180deg, #ffffff 0%, #fdf9fa 100%);

    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 14px 30px -5px rgba(15, 23, 42, 0.1), 0 8px 12px -6px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 24px 48px -10px rgba(15, 23, 42, 0.15);
    --shadow-maroon: 0 14px 34px rgba(128, 0, 32, 0.25);
    --shadow-gold: 0 10px 28px rgba(212, 175, 55, 0.32);

    /* Upgraded Font Stack */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-urdu: 'Noto Nastaliq Urdu', 'Amiri', serif;
    --font-arabic: 'Amiri', serif;

    /* Layout & Transitions */
    --container-max: 1320px;
    --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--maroon-700);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--maroon-500);
}

ul {
    list-style: none;
}

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

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

/* Section Common Styling */
.section-padding {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    position: relative;
}

.section-padding-sm {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.bg-light-tint {
    background-color: var(--alabaster);
    background-image: radial-gradient(var(--maroon-100) 0.85px, transparent 0.85px);
    background-size: 24px 24px;
}

.bg-maroon-dark {
    background: var(--gradient-maroon-dark);
    color: var(--white);
}

.bg-maroon {
    background: var(--gradient-maroon);
    color: var(--white);
}

.bg-cream {
    background-color: var(--cream);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 1rem;
    background-color: var(--maroon-100);
    color: var(--maroon-800);
    border: 1px solid rgba(128, 0, 32, 0.2);
}

.section-badge.badge-gold {
    background: var(--gradient-gold-soft);
    color: #7a5405;
    border-color: rgba(212, 175, 55, 0.4);
}

.section-badge.badge-white {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.55rem;
    font-weight: 700;
    color: var(--maroon-900);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-title.title-white {
    color: var(--white);
}

.section-title .text-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title .text-maroon {
    color: var(--maroon-700);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.section-desc.desc-white {
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-maroon);
    color: var(--white);
    box-shadow: var(--shadow-maroon);
}

.btn-primary:hover {
    background: var(--gradient-maroon-vibrant);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(128, 0, 32, 0.35);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #2b1d00;
    box-shadow: var(--shadow-gold);
    font-weight: 700;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #fae28c 0%, #e0b83a 100%);
    color: #1a1100;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--maroon-900);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-maroon {
    background: transparent;
    color: var(--maroon-700);
    border: 1.5px solid var(--maroon-700);
}

.btn-outline-maroon:hover {
    background: var(--maroon-700);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.15rem;
    font-size: 1rem;
}

/* ==========================================================================
   TOP BAR (STRICT SINGLE-LINE LAYOUT)
   ========================================================================== */
.topbar {
    background: linear-gradient(90deg, var(--maroon-950) 0%, var(--maroon-900) 50%, var(--maroon-950) 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    position: relative;
    z-index: 60;
    height: 40px;
    display: flex;
    align-items: center;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 1rem;
    width: 100%;
}

.topbar-contact {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.85rem;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 500;
}

.topbar-item i {
    color: var(--gold-400);
    font-size: 0.78rem;
}

.topbar-item a {
    color: inherit;
}

.topbar-item a:hover {
    color: var(--gold-300);
}

.topbar-address {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

.address-truncate {
    display: inline-block;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.topbar-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.topbar-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.9rem;
    flex-shrink: 0;
}

.topbar-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(212, 175, 55, 0.16);
    color: var(--gold-300);
    padding: 0.18rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(212, 175, 55, 0.38);
    white-space: nowrap;
}

.topbar-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulseDot 1.6s infinite;
}

.topbar-quicklinks {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.85rem;
}

.topbar-quicklinks a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.topbar-quicklinks a i {
    color: var(--gold-400);
    font-size: 0.72rem;
}

.topbar-quicklinks a:hover {
    color: var(--gold-300);
}

.topbar-lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
}

.topbar-lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.topbar-lang-btn:hover {
    color: var(--white);
}

.topbar-lang-btn.active {
    background: var(--gradient-gold);
    color: var(--maroon-950);
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (REFINED SINGLE-ROW ALIGNMENT)
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(128, 0, 32, 0.1);
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 78px;
    padding: 0.45rem 0;
    flex-wrap: nowrap;
}

/* Brand Identity */
.brand-wrapper {
    flex-shrink: 0;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 2px;
    background: var(--gradient-gold);
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.18);
    flex-shrink: 0;
    transition: var(--transition);
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--white);
    border: 2px solid var(--maroon-800);
}

.brand-logo-link:hover .brand-logo-ring {
    transform: scale(1.05) rotate(3deg);
}

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

.brand-title {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--maroon-900);
    letter-spacing: 0.01em;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-subtitle {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold-600);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.15rem;
    white-space: nowrap;
}

/* Navigation List */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
}

.nav-item {
    flex-shrink: 0;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.78rem;
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-label-en {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    transition: var(--transition);
}

.nav-label-ur {
    font-family: var(--font-urdu);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-600);
    line-height: 1.35;
    margin-top: 2px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: var(--gradient-maroon);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover {
    background-color: var(--maroon-50);
}

.nav-link:hover .nav-label-en,
.nav-link.active .nav-label-en {
    color: var(--maroon-700);
}

.nav-link.active {
    background-color: rgba(128, 0, 32, 0.06);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 65%;
}

/* Header Right Controls */
.header-cta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.header-lang-switch {
    display: inline-flex;
    align-items: center;
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 2px;
}

.lang-pill-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.lang-pill-btn:hover {
    color: var(--maroon-700);
}

.lang-pill-btn.active {
    background: var(--gradient-maroon);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(128, 0, 32, 0.25);
}

/* Header Portal Action Buttons (Email & App Login) */
.btn-header-portal {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
    line-height: 1.2;
}

.btn-header-email {
    background: #ffffff;
    color: var(--maroon-800);
    border: 1.5px solid rgba(128, 0, 32, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-header-email i {
    color: var(--maroon-700);
    font-size: 0.88rem;
    transition: transform 0.3s ease;
}

.btn-header-email:hover {
    background: var(--maroon-800);
    color: #ffffff;
    border-color: var(--maroon-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(128, 0, 32, 0.25);
}

.btn-header-email:hover i {
    color: var(--gold-300);
    transform: scale(1.15);
}

.btn-header-app {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    color: var(--maroon-950);
    border: 1.5px solid var(--gold-400);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.28);
}

.btn-header-app i {
    color: var(--maroon-950);
    font-size: 0.88rem;
    transition: transform 0.3s ease;
}

.btn-header-app:hover {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    color: var(--maroon-950);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

.btn-header-app:hover i {
    transform: scale(1.15) rotate(10deg);
}

/* Mobile Portal Shortcuts inside Navigation Drawer */
.mobile-portal-item {
    padding: 0.35rem 1.25rem;
}

.mobile-portal-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(128, 0, 32, 0.05);
    color: var(--maroon-800);
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid rgba(128, 0, 32, 0.1);
    transition: var(--transition);
}

.mobile-portal-link:hover {
    background: var(--maroon-800);
    color: #ffffff;
    border-color: var(--gold-400);
}

.mobile-portal-link i {
    color: var(--gold-600);
    font-size: 1.05rem;
}

.mobile-portal-link:hover i {
    color: var(--gold-300);
}

@media (min-width: 992px) {
    .hide-desktop {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .hide-mobile,
    .header-cta .btn-header-portal {
        display: none !important;
    }
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--maroon-50);
    border: 1px solid rgba(128, 0, 32, 0.15);
    font-size: 1.25rem;
    color: var(--maroon-800);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   INNOVATIVE VISUAL HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 740px;
    height: calc(100vh - 118px);
    max-height: 860px;
    overflow: hidden;
    background-color: var(--maroon-950);
}

.hero-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 2;
}

.hero-ambient-glow.glow-1 {
    width: 420px;
    height: 420px;
    background: rgba(212, 175, 55, 0.15);
    top: -100px;
    right: 10%;
}

.hero-ambient-glow.glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(181, 21, 59, 0.22);
    bottom: -150px;
    left: -100px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.95s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.95s;
    z-index: 1;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(24, 0, 6, 0.95) 0%,
        rgba(56, 0, 12, 0.88) 48%,
        rgba(34, 0, 7, 0.72) 100%
    );
}

.hero-mesh-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.14) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.45;
    pointer-events: none;
}

/* Floating Top Bar inside Hero */
.hero-lang-bar-container {
    position: absolute;
    top: 1.25rem;
    left: 0;
    right: 0;
    z-index: 15;
}

.hero-topbar-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-lang-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(20, 0, 5, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.45rem 0.3rem 1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.lang-bar-tag {
    color: var(--gold-300);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.hero-lang-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-lang-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.hero-lang-pill:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-lang-pill.active {
    background: var(--gradient-gold);
    color: var(--maroon-950);
    border-color: var(--gold-400);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--maroon-900);
}

.hero-trust-chip {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gold-200);
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.38rem 1rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.hero-trust-chip i {
    color: var(--gold-400);
}

/* Main Split Grid Inside Hero */
.hero-content-wrapper {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

.hero-stage-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: var(--white);
}

/* Badges */
.hero-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 1.05rem;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: var(--radius-full);
    color: var(--gold-300);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
}

.hero-badge-ur {
    font-family: var(--font-urdu);
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    padding: 0.3rem 1rem;
    color: var(--gold-200);
    background: rgba(128, 0, 32, 0.55);
}

/* Hero Display Titles */
.hero-title-group {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(22px);
    transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.28s;
}

.hero-title-en {
    font-family: var(--font-display);
    font-size: 3.35rem;
    font-weight: 800;
    line-height: 1.12;
    color: var(--white);
    letter-spacing: -0.015em;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hero-title-ur {
    font-family: var(--font-urdu);
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1.6;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0.4rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Subtitles */
.hero-subtitle-group {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.42s;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--gold-200);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.subtitle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.hero-subtitle-ur {
    font-family: var(--font-urdu);
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin-top: 0.25rem;
}

/* Descriptions */
.hero-text-group {
    margin-bottom: 1.85rem;
    max-width: 680px;
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.54s;
}

.hero-text-en {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.hero-text-ur {
    font-family: var(--font-urdu);
    font-size: 1.04rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-top: 0.4rem;
}

/* Actions */
.hero-actions-wrapper {
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.66s;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-btn-glow {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
}

.hero-actions-ur {
    display: none;
}

.hero-actions-ur .btn {
    font-family: var(--font-urdu);
    font-size: 0.98rem;
    padding: 0.65rem 1.5rem;
}

/* Right Column: Visual Showcase Card */
.hero-visual-showcase {
    position: relative;
    opacity: 0;
    transform: translateX(30px) scale(0.96);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.hero-slide.active .hero-badge-wrap,
.hero-slide.active .hero-title-group,
.hero-slide.active .hero-subtitle-group,
.hero-slide.active .hero-text-group,
.hero-slide.active .hero-actions-wrapper,
.hero-slide.active .hero-visual-showcase {
    opacity: 1;
    transform: translate(0) scale(1);
}

.hero-showcase-card {
    position: relative;
    padding: 12px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: var(--radius-xl);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.showcase-img-holder {
    position: relative;
    border-radius: calc(var(--radius-xl) - 8px);
    overflow: hidden;
    aspect-ratio: 4 / 4.2;
}

.showcase-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 6s ease;
}

.hero-slide.active .showcase-img-holder img {
    transform: scale(1);
}

.showcase-img-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(34, 0, 7, 0.85) 100%);
}

.showcase-slide-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    color: var(--gold-300);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.hero-floating-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(24, 0, 6, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    animation: floatSlow 4.5s ease-in-out infinite;
}

.hero-floating-chip.chip-top {
    top: 1.5rem;
    left: -2rem;
}

.hero-floating-chip.chip-bottom {
    bottom: 1.75rem;
    right: -1.5rem;
    animation-delay: 2.2s;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.chip-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gradient-maroon);
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
}

.chip-icon.chip-gold {
    background: var(--gradient-gold);
    color: var(--maroon-950);
}

.chip-info {
    display: flex;
    flex-direction: column;
}

.chip-info strong {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.chip-info span {
    font-size: 0.7rem;
    color: var(--gold-300);
}

/* Bottom Bar & Live Progress inside Hero */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: rgba(18, 0, 4, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    gap: 1.5rem;
}

.hero-indicators {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.indicator-dot {
    width: 28px;
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.28);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator-dot.active {
    width: 52px;
    background: var(--gradient-gold);
}

.hero-quick-metrics {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
}

.h-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.h-metric i {
    color: var(--gold-400);
}

.h-metric strong {
    color: var(--gold-300);
    font-family: var(--font-heading);
}

.h-metric-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.5);
}

.hero-arrows {
    display: flex;
    gap: 0.6rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.slider-btn:hover {
    background: var(--gradient-gold);
    color: var(--maroon-950);
    border-color: var(--gold-400);
    transform: translateY(-2px);
}

.hero-progress-track {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hero-progress-fill {
    height: 100%;
    width: 100%;
    background: var(--gradient-gold);
    transform-origin: left;
    animation: heroProgress 6s linear infinite;
}

@keyframes heroProgress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* ==========================================================================
   LANGUAGE DISPLAY FILTERING MODES
   ========================================================================== */
[data-active-lang="en"] .hero-badge-ur,
[data-active-lang="en"] .hero-title-ur,
[data-active-lang="en"] .hero-subtitle-ur,
[data-active-lang="en"] .hero-text-ur,
[data-active-lang="en"] .hero-actions-ur,
body[data-lang="en"] .nav-label-ur {
    display: none !important;
}

[data-active-lang="ur"] .hero-badge-en,
[data-active-lang="ur"] .hero-title-en,
[data-active-lang="ur"] .hero-subtitle-en,
[data-active-lang="ur"] .hero-text-en,
[data-active-lang="ur"] .hero-actions-en,
body[data-lang="ur"] .nav-label-en {
    display: none !important;
}

[data-active-lang="ur"] .hero-content {
    text-align: right;
}

[data-active-lang="ur"] .hero-badge-wrap,
[data-active-lang="ur"] .hero-subtitle {
    justify-content: flex-end;
}

[data-active-lang="ur"] .hero-title-ur {
    font-size: 2.75rem;
}

[data-active-lang="ur"] .hero-actions-ur {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

[data-active-lang="dual"] .hero-title-en {
    font-size: 2.75rem;
}

[data-active-lang="dual"] .hero-title-ur {
    font-size: 1.75rem;
}

/* ==========================================================================
   NOTICE TICKER BAR
   ========================================================================== */
.ticker-bar {
    background: var(--maroon-900);
    border-bottom: 2px solid var(--gold-500);
    color: var(--white);
    padding: 0.65rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 40;
}

.ticker-inner {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-badge {
    background: var(--gradient-gold);
    color: var(--maroon-950);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.32rem 0.95rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    margin-right: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--maroon-900);
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.65; }
    100% { transform: scale(0.95); opacity: 1; }
}

.ticker-track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: tickerScroll 35s linear infinite;
    font-size: 0.9rem;
    font-weight: 500;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    margin-right: 3rem;
    display: inline-block;
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ==========================================================================
   NOTICE BOARD (CARDS GRID)
   ========================================================================== */
.notice-section {
    background-color: var(--white);
    position: relative;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.notice-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--maroon-700);
    transition: var(--transition);
}

.notice-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(128, 0, 32, 0.35);
}

.notice-card:hover::before {
    width: 6px;
    background: var(--gradient-gold);
}

.notice-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.notice-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--maroon-50);
    border: 1px solid var(--maroon-100);
    border-radius: var(--radius-sm);
    width: 56px;
    height: 56px;
    text-align: center;
}

.date-day {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--maroon-800);
    line-height: 1;
}

.date-month {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--maroon-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notice-tag {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.tag-maroon { background: var(--maroon-100); color: var(--maroon-800); }
.tag-gold { background: var(--gold-100); color: #8c6307; }
.tag-green { background: #ecfdf5; color: #047857; }

.notice-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--maroon-900);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.notice-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.notice-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.notice-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--maroon-700);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.notice-link:hover {
    color: var(--maroon-500);
    gap: 0.65rem;
}

.notice-cta-banner {
    background: var(--cream);
    border: 1px dashed var(--gold-500);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.notice-cta-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.notice-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--maroon-700);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notice-cta-text h4 {
    font-family: var(--font-heading);
    color: var(--maroon-900);
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.notice-cta-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   INTRO / ABOUT SNAPSHOT
   ========================================================================== */
.about-snapshot {
    background-color: var(--alabaster);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-visual {
    position: relative;
    padding-bottom: 2rem;
    padding-right: 2rem;
}

.about-img-main {
    width: 88%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
    position: relative;
    z-index: 1;
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-visual:hover .about-img-main img {
    transform: scale(1.04);
}

.about-img-overlap {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 58%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(128, 0, 32, 0.25);
    border: 4px solid var(--white);
    z-index: 2;
}

.about-img-overlap img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-visual:hover .about-img-overlap img {
    transform: scale(1.06);
}

.experience-badge {
    position: absolute;
    top: -1.25rem;
    left: -1rem;
    z-index: 3;
    background: var(--gradient-maroon);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-maroon);
    border: 2px solid var(--gold-500);
    text-align: center;
    max-width: 180px;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.badge-text {
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.25;
}

.decorative-frame {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 85%;
    height: 90%;
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-xl);
    z-index: 0;
}

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

.about-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--gold-600);
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1.3;
}

.about-text-lead {
    font-size: 1.12rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.about-text-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.highlight-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--maroon-100);
    color: var(--maroon-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.highlight-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--maroon-900);
    margin-bottom: 0.15rem;
}

.highlight-text p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   VISION & MISSION
   ========================================================================== */
.vision-mission-section {
    background: var(--white);
    position: relative;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.vm-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.vm-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--maroon-100) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--maroon-600);
}

.vm-card:hover::after {
    transform: scale(1.6);
}

.vm-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-lg);
    background: var(--gradient-maroon);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-maroon);
    position: relative;
    z-index: 1;
}

.vm-card-title {
    font-family: var(--font-display);
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--maroon-900);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.vm-card-title span {
    color: var(--gold-600);
}

.vm-card-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.vm-card-watermark {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 10rem;
    color: rgba(128, 0, 32, 0.03);
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   AIMS & OBJECTIVES
   ========================================================================== */
.aims-section {
    background-color: var(--alabaster);
    position: relative;
}

.aims-narrative-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 3rem;
    border-left: 6px solid var(--maroon-700);
    border-top: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    margin-bottom: 3.5rem;
    position: relative;
}

.aims-quote-icon {
    font-size: 2.5rem;
    color: var(--gold-400);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.aims-narrative-text {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    line-height: 1.85;
    color: var(--text-primary);
    font-style: italic;
}

.aims-bullets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.aims-bullet-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.aims-bullet-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-500);
}

.bullet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.bullet-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--maroon-50);
    color: var(--maroon-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: var(--transition);
}

.aims-bullet-card:hover .bullet-icon {
    background: var(--gradient-maroon);
    color: var(--gold-300);
    transform: rotate(10deg);
}

.bullet-step {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(128, 0, 32, 0.15);
    line-height: 1;
}

.bullet-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--maroon-900);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.bullet-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   QUICK STATS COUNTERS
   ========================================================================== */
.stats-section {
    background: var(--gradient-maroon-dark);
    position: relative;
    color: var(--white);
    overflow: hidden;
    padding: 5rem 0;
}

.stats-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--gold-400);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    background: var(--gradient-gold);
    color: var(--maroon-900);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.stat-sub {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* ==========================================================================
   ACADEMIC PILLARS & AICU
   ========================================================================== */
.pillars-section {
    background-color: var(--white);
    position: relative;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: var(--alabaster);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(128, 0, 32, 0.25);
    background: var(--white);
}

.pillar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.pillar-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--maroon-100);
    color: var(--maroon-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
    background: var(--gradient-maroon);
    color: var(--gold-400);
    transform: scale(1.08);
}

.pillar-pill {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--gold-100);
    color: #835b03;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--maroon-900);
    margin-bottom: 0.75rem;
}

.pillar-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   CAMPUS SHOWCASE & GALLERY SLIDER
   ========================================================================== */
.gallery-section {
    background-color: var(--alabaster);
    position: relative;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--maroon-700);
    color: var(--white);
    border-color: var(--maroon-700);
    box-shadow: 0 4px 12px rgba(128, 0, 32, 0.25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background-color: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(0deg, rgba(20, 0, 5, 0.92) 0%, rgba(20, 0, 5, 0.4) 65%, transparent 100%);
    color: var(--white);
    transform: translateY(10px);
    opacity: 0.95;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-category {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-400);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    display: block;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.gallery-zoom-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery-item:hover .gallery-zoom-icon {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   DIRECTOR'S DESK MESSAGE
   ========================================================================== */
.director-section {
    background-color: var(--white);
    position: relative;
}

.director-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.director-visual {
    position: relative;
    text-align: center;
}

.director-frame {
    position: relative;
    display: inline-block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-maroon);
    border: 4px solid var(--white);
}

.director-frame img {
    width: 320px;
    height: 420px;
    object-fit: cover;
    object-position: right 20%;
    display: block;
}

.director-badge-chip {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-maroon);
    color: var(--gold-300);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--gold-400);
}

.director-content {
    position: relative;
}

.director-salutation {
    font-family: var(--font-arabic);
    font-size: 1.4rem;
    color: var(--maroon-700);
    margin-bottom: 0.75rem;
    display: block;
}

.director-headline {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--maroon-900);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.director-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    position: relative;
}

.director-quote::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: rgba(128, 0, 32, 0.15);
    position: absolute;
    top: -1.75rem;
    left: -1rem;
}

.director-signoff {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(128, 0, 32, 0.15);
}

.director-name h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--maroon-900);
}

.director-name p {
    font-size: 0.875rem;
    color: var(--gold-600);
    font-weight: 600;
}

.director-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--maroon-700);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    background-color: var(--alabaster);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--maroon-600);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: var(--gold-500);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-500);
    box-shadow: var(--shadow-sm);
}

.author-info h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--maroon-900);
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.author-badge {
    margin-left: auto;
    background: var(--maroon-50);
    color: var(--maroon-700);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.725rem;
    font-weight: 700;
}

/* ==========================================================================
   ADMISSIONS 4-STAGE ROADMAP & FAQ
   ========================================================================== */
.admissions-section {
    background: var(--white);
    position: relative;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    position: relative;
    margin-bottom: 4.5rem;
}

.roadmap-card {
    background: var(--alabaster);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.roadmap-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-500);
    background: var(--white);
}

.roadmap-step-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gradient-maroon);
    color: var(--gold-400);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-maroon);
    border: 2px solid var(--gold-500);
}

.roadmap-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--maroon-900);
    margin-bottom: 0.65rem;
}

.roadmap-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.admissions-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.faq-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-md);
}

.faq-header {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--maroon-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding: 1.15rem 0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1rem;
    color: var(--maroon-900);
    cursor: pointer;
    gap: 1rem;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--gold-600);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding-top: 0.75rem;
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.inquiry-card {
    background: var(--gradient-maroon);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    color: var(--white);
    box-shadow: var(--shadow-maroon);
    position: relative;
    overflow: hidden;
}

.inquiry-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
}

.inquiry-header h3 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.inquiry-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--gold-300);
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 0.925rem;
    outline: none;
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    border-color: var(--gold-400);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

select.form-control option {
    background-color: var(--maroon-900);
    color: var(--white);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background: var(--maroon-950);
    color: rgba(255, 255, 255, 0.82);
    position: relative;
    border-top: 3px solid var(--gold-500);
    padding-top: 5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold-400);
}

.footer-logo-text h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.footer-logo-text p {
    font-size: 0.75rem;
    color: var(--gold-300);
    font-weight: 600;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}

.footer-cbse-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-300);
    font-size: 0.775rem;
    font-weight: 600;
    width: fit-content;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gold-400);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-400);
    transform: translateX(4px);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-list i {
    color: var(--gold-400);
    margin-top: 0.25rem;
    font-size: 1rem;
}

.footer-hours-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.825rem;
}

.footer-hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.footer-hours-row:last-child {
    margin-bottom: 0;
}

.footer-hours-label {
    color: var(--gold-300);
    font-weight: 600;
}

.footer-bottom {
    background-color: #160004;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold-500);
    color: var(--maroon-900);
    transform: translateY(-2px);
}

/* Developer Credit Bar */
.footer-developer-credit {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
}

.dev-credit-text {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.dev-name {
    color: var(--gold-300);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-base);
}

.dev-name:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
    text-decoration: underline;
}

.dev-credit-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dev-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.dev-pill i {
    color: var(--gold-400);
    font-size: 0.75rem;
}

.dev-pill:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-400);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   FLOATING WIDGETS & MODALS
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 6.25rem;
    z-index: 998;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--maroon-700);
    color: var(--gold-400);
    border: 1.5px solid var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--maroon-900);
    transform: translateY(-4px);
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 0, 5, 0.94);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 2rem;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    position: relative;
    text-align: center;
}

.lightbox-img {
    max-height: 80vh;
    margin: 0 auto;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(212, 175, 55, 0.4);
}

.lightbox-caption {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-top: 1rem;
}

.lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--gold-400);
    transform: scale(1.1);
}

.toast-notice {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 3000;
    background: var(--maroon-900);
    color: var(--white);
    border-left: 4px solid var(--gold-400);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
    transform: translateX(0);
}

/* ==========================================================================
   MULTI-PAGE EXTENSIONS & INNER PAGE STYLES
   ========================================================================== */
.page-banner {
    position: relative;
    background: var(--gradient-maroon-dark);
    padding: 5rem 0 4.5rem;
    color: var(--white);
    overflow: hidden;
    text-align: center;
    border-bottom: 3px solid var(--gold-500);
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.page-banner-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.page-banner-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 0.45rem 1.25rem;
    font-size: 0.85rem;
}

.breadcrumb-nav a { color: var(--gold-300); }
.breadcrumb-nav a:hover { color: var(--white); }
.breadcrumb-separator { font-size: 0.65rem; color: rgba(255, 255, 255, 0.5); }
.breadcrumb-current { color: var(--white); font-weight: 600; }

.bismillah-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(128, 0, 32, 0.2);
}

.bismillah-arabic {
    font-family: var(--font-arabic);
    font-size: 2.5rem;
    color: var(--maroon-800);
    line-height: 1.4;
    display: block;
}

.bismillah-trans {
    font-size: 0.925rem;
    color: var(--gold-600);
    font-style: italic;
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-500);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--maroon-50);
    color: var(--maroon-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--gradient-maroon);
    color: var(--gold-400);
    transform: rotate(10deg);
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--maroon-900);
    margin-bottom: 0.5rem;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.history-timeline {
    position: relative;
    max-width: 900px;
    margin: 3.5rem auto 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--gradient-gold);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-node {
    position: absolute;
    top: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--maroon-700);
    border: 3px solid var(--gold-400);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-node { right: -10px; }
.timeline-item:nth-child(even) .timeline-node { left: -10px; }

.timeline-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-500);
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--maroon-800);
    margin-bottom: 0.35rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.nav-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-maroon);
    background: var(--white);
    color: var(--maroon-900);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--gradient-maroon);
    color: var(--white);
    border-color: var(--maroon-700);
    box-shadow: var(--shadow-maroon);
}

.tab-btn.active i { color: var(--gold-400); }

.tab-pane { display: none; animation: fadeIn 0.4s ease; }
.tab-pane.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.wing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.wing-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    background: var(--maroon-100);
    color: var(--maroon-800);
    font-weight: 700;
    font-size: 0.825rem;
    margin-bottom: 1rem;
}

.wing-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--maroon-900);
    margin-bottom: 0.5rem;
}

.wing-focus {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold-600);
    margin-bottom: 1.25rem;
}

.wing-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.wing-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wing-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.wing-feature-item i { color: var(--gold-500); font-size: 1rem; }

.wing-visual img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--white);
}

.menu-table-wrap, .fee-table-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-maroon);
    margin-bottom: 2.5rem;
}

.menu-table, .fee-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.menu-table thead, .fee-table thead {
    background: var(--gradient-maroon);
    color: var(--white);
}

.menu-table th, .fee-table th {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gold-300);
}

.menu-table td, .fee-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.925rem;
    vertical-align: top;
    line-height: 1.5;
    color: var(--text-secondary);
}

.menu-table tbody tr:hover, .fee-table tbody tr:hover {
    background-color: var(--cream);
}

.menu-day-name, .grade-label {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--maroon-900);
    font-size: 1.05rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.schedule-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-500);
}

.schedule-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--maroon-50);
    color: var(--maroon-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.schedule-card:hover .schedule-icon-wrap {
    background: var(--gradient-maroon);
    color: var(--gold-400);
}

.schedule-time {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--gold-600);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    display: block;
}

.schedule-activity {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.club-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.club-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-500);
}

.club-icon {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-lg);
    background: var(--gradient-maroon);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-maroon);
}

.club-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--maroon-900);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.club-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-500);
}

.blog-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.08);
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-maroon);
    color: var(--gold-300);
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gold-500);
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-meta-row i { color: var(--gold-600); }

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--maroon-900);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card-excerpt {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.blog-read-more {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--maroon-700);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.blog-read-more:hover {
    color: var(--maroon-500);
    gap: 0.65rem;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-channel-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-maroon);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.contact-channel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-500);
}

.channel-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--maroon-50);
    color: var(--maroon-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.contact-channel-card:hover .channel-icon {
    background: var(--gradient-maroon);
    color: var(--gold-400);
}

.channel-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--maroon-900);
    margin-bottom: 0.5rem;
}

.channel-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.channel-contact-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--maroon-700);
    display: block;
    margin-bottom: 0.35rem;
}

.channel-hours {
    font-size: 0.8rem;
    color: var(--gold-600);
    font-weight: 600;
}

.transit-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: stretch;
}

.map-frame-box {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--white);
    min-height: 380px;
    height: 100%;
}

.map-frame-box iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

.transit-info-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.transit-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(128, 0, 32, 0.12);
}

.transit-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.transit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--maroon-700);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.transit-text h5 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--maroon-900);
    margin-bottom: 0.2rem;
}

.transit-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.home-admissions-cta {
    background: linear-gradient(180deg, var(--white) 0%, var(--surface-light) 100%);
    padding: 4.5rem 0;
}

.cta-banner-card {
    background: var(--gradient-maroon-dark);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-maroon);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cta-banner-decor {
    position: absolute;
    right: -2rem;
    bottom: -2.5rem;
    font-size: 16rem;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    line-height: 1;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.cta-banner-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold-400);
    color: var(--gold-300);
    padding: 0.4rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cta-banner-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-banner-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.btn-glass-white {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    backdrop-filter: blur(6px);
}

.btn-glass-white:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    border-color: var(--white);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1500px) and (min-width: 901px) {
    .header-inner { gap: 0.45rem; }
    .brand-logo-link { gap: 0.5rem; }
    .brand-title { font-size: 1.05rem; }
    .brand-subtitle { font-size: 0.55rem; letter-spacing: 0.02em; }
    .nav-list { gap: 0.05rem; }
    .nav-link { padding: 0.35rem 0.4rem; }
    .nav-label-en { font-size: 0.78rem; }
    .nav-label-ur { font-size: 0.62rem; }
    .header-cta { gap: 0.35rem; }
    .lang-pill-btn { padding: 3px 6px; font-size: 0.65rem; }
    .btn-apply-header { padding: 0.5rem 0.75rem; font-size: 0.78rem; }
}

@media (max-width: 1200px) {
    .hide-lg { display: none !important; }
    .nav-link { padding: 0.4rem 0.55rem; }
    .nav-label-en { font-size: 0.82rem; }
    .brand-title { font-size: 1.1rem; }
    .hero-stage-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; }
}

@media (max-width: 1024px) {
    .hide-md { display: none !important; }
    .section-title { font-size: 2.15rem; }
    .hero-section { height: auto; min-height: 680px; max-height: none; }
    .hero-stage-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual-showcase { display: none; }
    .hero-content-wrapper { padding-top: 5.5rem; padding-bottom: 5.5rem; }
    
    .about-grid, .vm-grid, .director-card, .admissions-split, .wing-card, .transit-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-visual { max-width: 580px; margin: 0 auto; }
    .notice-grid, .stats-grid, .pillars-grid, .roadmap-grid, .aims-bullets-grid, .values-grid, .clubs-grid, .blog-grid, .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-channels-grid { grid-template-columns: 1fr; }
    .history-timeline::before { left: 20px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 4rem !important; padding-right: 0 !important; text-align: left !important; }
    .timeline-node { left: 10px !important; right: auto !important; }
}

@media (max-width: 900px) {
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    .header-inner {
        min-height: 60px;
        padding: 0.35rem 0;
    }
    .brand-logo-ring {
        width: 44px;
        height: 44px;
    }
    .brand-title {
        font-size: 1.15rem;
        line-height: 1.15;
    }
    .brand-subtitle {
        font-size: 0.68rem;
    }
    .header-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }
    .hide-mobile,
    .header-cta .btn-header-portal {
        display: none !important;
    }
    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--maroon-900);
        color: var(--gold-300);
        border: 1px solid var(--gold-400);
        font-size: 1.15rem;
        cursor: pointer;
        transition: all 0.25s ease;
    }
    .mobile-toggle i {
        color: var(--gold-300) !important;
        font-size: 1.15rem;
        line-height: 1;
        display: block;
    }
    .mobile-toggle.active {
        background: var(--gold-500);
        color: var(--maroon-950);
        border-color: var(--gold-600);
    }
    .mobile-toggle.active i {
        color: var(--maroon-950) !important;
    }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
        padding: 1.25rem 1.5rem;
        display: none;
        flex-direction: column;
        border-bottom: 4px solid var(--maroon-700);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }
    .main-nav.active,
    .main-nav.open {
        display: flex;
        animation: slideDownNav 0.25s ease-out;
    }
    @keyframes slideDownNav {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0.35rem;
    }
    .nav-item { width: 100%; }
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.85rem 1rem;
        border-bottom: 1px solid var(--border-light);
        border-radius: 6px;
        color: var(--maroon-950);
        font-weight: 600;
        transition: all 0.2s ease;
    }
    .nav-link:hover, .nav-link.active {
        background: rgba(128, 0, 32, 0.06);
        color: var(--maroon-700);
    }
    .nav-link::after { display: none; }
    .mobile-portal-item {
        display: block !important;
        margin-top: 0.5rem;
    }
    .mobile-portal-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
        background: var(--maroon-900);
        color: #ffffff !important;
        border-radius: 8px;
        font-size: 0.88rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        border: 1px solid rgba(212, 175, 55, 0.35);
    }
    .mobile-portal-link i {
        color: var(--gold-400);
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }
    .section-padding { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .section-title { font-size: 1.75rem; line-height: 1.3; }
    body[data-lang="dual"] .section-title .lang-ur { font-size: 1.25rem; line-height: 1.5; }
    .section-desc { font-size: 0.92rem; margin-bottom: 2rem; }

    /* Page Banners */
    .page-banner { padding: 3.25rem 0 2.5rem; }
    .page-banner-title { font-size: 1.85rem; line-height: 1.25; }
    body[data-lang="dual"] .page-banner-title.lang-ur { font-size: 1.35rem; }
    .page-banner-subtitle { font-size: 0.95rem; margin-bottom: 1.25rem; }

    /* Topbar */
    .topbar { height: auto; min-height: 36px; padding: 4px 0; font-size: 0.75rem; }
    .topbar-pill { display: none; }
    .btn-apply-header { display: none; }
    
    /* Hero Slider Mobile Architecture - Fully Responsive & Viewport Optimized */
    .hero-section {
        height: calc(100vh - 96px);
        height: calc(100svh - 96px);
        min-height: 440px;
        max-height: 720px;
    }
    .hero-content-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-top: 0.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(20, 0, 5, 0.78) 0%,
            rgba(38, 0, 10, 0.85) 60%,
            rgba(15, 0, 4, 0.94) 100%
        ) !important;
    }
    .hero-badge-wrap { margin-bottom: 0.45rem; }
    .hero-badge { font-size: 0.7rem; padding: 0.22rem 0.65rem; }
    .hero-title-en, [data-active-lang="dual"] .hero-title-en { font-size: clamp(1.4rem, 5vw, 1.75rem); line-height: 1.22; margin-bottom: 0.25rem; }
    .hero-title-ur, [data-active-lang="dual"] .hero-title-ur { font-size: clamp(1.1rem, 3.8vw, 1.3rem); line-height: 1.45; margin-bottom: 0.45rem; }
    .hero-quran-card {
        padding: 0.65rem 0.85rem;
        margin: 0.45rem 0 0.65rem;
        border-radius: var(--radius-md);
        background: rgba(18, 5, 10, 0.75);
    }
    .quran-header-row { margin-bottom: 0.25rem; font-size: 0.72rem; }
    .quran-arabic-text { font-size: 1.2rem; line-height: 1.5; margin-bottom: 0.2rem; }
    .quran-meaning-en { font-size: 0.76rem; line-height: 1.4; margin-bottom: 0.15rem; }
    .quran-meaning-ur { font-size: 0.86rem; line-height: 1.5; }
    .hero-subtitle-group { display: none; }
    .hero-text-group { margin-bottom: 0.85rem; }
    .hero-text-en { font-size: 0.82rem; line-height: 1.5; margin-bottom: 0.25rem; }
    .hero-text-ur { font-size: 0.9rem; line-height: 1.6; }
    .hero-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        flex-wrap: wrap;
    }
    .hero-actions .btn {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 130px;
        justify-content: center;
        padding: 0.65rem 0.85rem;
        font-size: 0.82rem;
        border-radius: 9999px;
        white-space: nowrap !important;
    }
    .hero-bottom-bar {
        padding: 0.45rem 0;
        z-index: 20;
    }
    .hero-bottom-inner {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        padding-right: 75px !important; /* Leave generous clearance for WhatsApp button */
    }
    .slider-btn { width: 34px; height: 34px; font-size: 0.8rem; }
    .indicator-dot { width: 20px; height: 5px; }
    .indicator-dot.active { width: 34px; }

    /* Mobile General Buttons & Long Label Wrapping */
    .btn {
        white-space: normal !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .btn-lg {
        padding: 0.85rem 1.25rem !important;
        font-size: 0.92rem !important;
    }

    /* Explore AL-BASAYIR button in academics.php */
    .explore-albasayir-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.95rem 1.15rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.65rem !important;
        font-size: 0.92rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        text-align: center !important;
    }
    .explore-albasayir-btn .btn-text {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        line-height: 1.35 !important;
    }
    .explore-albasayir-btn .lang-en {
        font-size: 0.92rem !important;
        white-space: normal !important;
    }
    .explore-albasayir-btn .lang-ur {
        font-size: 1rem !important;
        margin-top: 0.2rem !important;
        white-space: normal !important;
    }

    /* Form Submit Rows (Admissions & Contact Us - perfectly aligned) */
    .form-submit-row {
        width: 100% !important;
        margin-top: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .form-submit-row .btn,
    .form-submit-row .submit-btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0.95rem 1rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.65rem !important;
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        text-align: center !important;
    }
    .form-submit-row .btn .btn-text,
    .form-submit-row .submit-btn .btn-text {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }
    .form-submit-row .btn .btn-text .lang-en,
    .form-submit-row .submit-btn .btn-text .lang-en {
        font-size: 0.92rem !important;
        white-space: normal !important;
    }
    .form-submit-row .btn .btn-text .lang-ur,
    .form-submit-row .submit-btn .btn-text .lang-ur {
        font-size: 0.95rem !important;
        margin-top: 0.2rem !important;
        white-space: normal !important;
    }

    /* Tuition & Boarding Fee Structure: 100% On-Screen Mobile Card Layout */
    .fee-table-wrap {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        margin-bottom: 2rem !important;
        padding: 0 !important;
    }
    .fee-schedule-table {
        min-width: 0 !important;
        width: 100% !important;
        display: block !important;
        border-collapse: separate !important;
    }
    .fee-schedule-table thead {
        display: none !important;
    }
    .fee-schedule-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.15rem !important;
        width: 100% !important;
    }
    .fee-schedule-table tr {
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        border-radius: 14px !important;
        border: 1.5px solid rgba(128, 0, 32, 0.16) !important;
        box-shadow: 0 6px 20px rgba(128, 0, 32, 0.08) !important;
        overflow: hidden !important;
        padding: 0 !important;
    }
    .fee-schedule-table td.menu-day {
        background: linear-gradient(135deg, var(--maroon-900) 0%, var(--maroon-800) 100%) !important;
        color: #ffffff !important;
        padding: 0.85rem 1.15rem !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        border-bottom: 2.5px solid var(--gold-400) !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .fee-schedule-table td.menu-day strong {
        color: #ffffff !important;
        font-size: 1.05rem !important;
    }
    .fee-schedule-table td:not(.menu-day) {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.7rem 1.15rem !important;
        border-bottom: 1px dashed rgba(128, 0, 32, 0.12) !important;
        font-size: 0.88rem !important;
        color: var(--text-primary) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .fee-schedule-table td:last-child {
        border-bottom: none !important;
    }
    .fee-schedule-table td:not(.menu-day)::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--maroon-900);
        font-size: 0.82rem;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }
    .fee-schedule-table td .fee-val {
        color: var(--maroon-800);
        font-weight: 800;
        font-size: 0.95rem;
    }

    /* Fallback general menu table scroll for other tables */
    .menu-table-wrap:not(.fee-table-wrap) {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius-lg);
        width: 100%;
    }
    .menu-table:not(.fee-schedule-table) {
        min-width: 580px;
    }
    .menu-table th, .fee-table th,
    .menu-table td, .fee-table td {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }

    /* Grids & Cards */
    .notice-grid, .aims-bullets-grid, .stats-grid, .pillars-grid, .testimonials-grid, .roadmap-grid, .footer-top, .values-grid, .schedule-grid, .clubs-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .notice-cta-banner, .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-developer-credit { flex-direction: column; text-align: center; justify-content: center; }
    .dev-credit-links { justify-content: center; }
    .notice-cta-info { flex-direction: column; }

    /* Cards Responsive Padding */
    .wing-card-body { padding: 1.25rem; }
    .wing-card-media { height: 210px; }
    .overview-card { padding: 1.5rem 1.25rem; }
    .director-card { padding: 1.75rem 1.25rem; }
    .director-frame { max-width: 100%; margin: 0 auto 1.5rem; }
    .director-frame img { width: 280px; max-width: 100%; height: auto; aspect-ratio: 320/400; margin: 0 auto; }

    /* Floating Side Nav for Themes: Hide on Touch/Mobile */
    .themes-float-nav { display: none !important; }

    /* Floating Contact Buttons */
    .floating-whatsapp { bottom: 1.25rem; right: 1.25rem; width: 48px; height: 48px; font-size: 1.35rem; }
    .back-to-top { bottom: 1.25rem; right: 4.75rem; width: 40px; height: 40px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .section-padding { padding-top: 2.75rem; padding-bottom: 2.75rem; }
    .section-title { font-size: 1.5rem; }
    body[data-lang="dual"] .section-title .lang-ur { font-size: 1.15rem; }
    .page-banner-title { font-size: 1.55rem; }
    
    .gallery-grid { grid-template-columns: 1fr; }
    .header-inner { gap: 0.5rem; }
    .brand-wrapper { flex: 1 1 auto; min-width: 0; }
    .brand-logo-link { min-width: 0; gap: 0.45rem; }
    .brand-text { min-width: 0; }
    .brand-title { font-size: 0.82rem; white-space: normal; line-height: 1.2; }
    .brand-subtitle { font-size: 0.46rem; letter-spacing: 0.01em; white-space: normal; flex-wrap: wrap; }
    .brand-logo-ring { width: 40px; height: 40px; }
    .header-cta { gap: 0.4rem; }
    .hide-mobile,
    .header-cta .btn-header-portal {
        display: none !important;
    }
    .mobile-toggle { width: 36px; height: 36px; font-size: 1rem; border-radius: 50%; }
    .topbar-contact .topbar-item:nth-child(n+2) { display: none; }
    .topbar-divider { display: none; }

    /* Hero Small Phone Architecture */
    .hero-section {
        height: calc(100vh - 98px);
        height: calc(100svh - 98px);
        min-height: 420px;
    }
    .hero-content-wrapper {
        padding-top: 0.5rem !important;
        padding-bottom: 3.25rem !important;
        min-height: 100%;
        height: 100%;
        justify-content: center;
    }
    .hero-badge-wrap { margin-bottom: 0.35rem; }
    .hero-badge { font-size: 0.68rem; padding: 0.18rem 0.55rem; }
    .hero-title-en, [data-active-lang="dual"] .hero-title-en { font-size: 1.28rem; line-height: 1.2; margin-bottom: 0.15rem; }
    .hero-title-ur, [data-active-lang="dual"] .hero-title-ur { font-size: 1.05rem; line-height: 1.35; margin-bottom: 0.25rem; }
    .hero-quran-card {
        padding: 0.45rem 0.65rem;
        margin: 0.3rem 0 0.45rem;
    }
    .quran-header-row { margin-bottom: 0.2rem; }
    .quran-bismillah-seal { font-size: 0.88rem; }
    .quran-surah-tag { font-size: 0.68rem; padding: 0.15rem 0.45rem; }
    .quran-arabic-text { font-size: 1.12rem; line-height: 1.45; margin-bottom: 0.15rem; }
    .quran-meaning-en { font-size: 0.74rem; line-height: 1.35; margin-bottom: 0.15rem; }
    .quran-meaning-ur { font-size: 0.82rem; line-height: 1.45; }
    .hero-text-group { margin-bottom: 0.55rem; }
    .hero-text-en { font-size: 0.78rem; line-height: 1.4; margin-bottom: 0.15rem; }
    .hero-text-ur { font-size: 0.86rem; line-height: 1.5; margin-bottom: 0.35rem; }
    .hero-actions {
        display: flex;
        flex-direction: row;
        gap: 0.4rem;
        width: 100%;
        margin-bottom: 0.35rem;
    }
    .hero-actions .btn {
        flex: 1 1 calc(50% - 0.2rem);
        min-width: 0;
        padding: 0.55rem 0.65rem;
        font-size: 0.78rem;
        white-space: nowrap !important;
        justify-content: center;
        text-align: center;
    }
    .hero-bottom-inner {
        padding-right: 75px !important;
    }
    .indicator-dot { width: 16px; height: 4px; }
    .indicator-dot.active { width: 28px; }
    .slider-btn { width: 32px; height: 32px; font-size: 0.75rem; }
}

@media (max-width: 340px) {
    .hero-title-en, [data-active-lang="dual"] .hero-title-en { font-size: 1.18rem; }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-height: 620px) and (max-width: 768px) {
    .hero-section {
        min-height: 490px;
    }
    .hero-content-wrapper {
        padding-top: 0.5rem !important;
        padding-bottom: 3.25rem !important;
        min-height: 490px;
        justify-content: flex-start;
    }
    .hero-badge-wrap { margin-bottom: 0.2rem; }
    .hero-title-en, [data-active-lang="dual"] .hero-title-en { font-size: 1.18rem; margin-bottom: 0.1rem; }
    .hero-title-ur, [data-active-lang="dual"] .hero-title-ur { font-size: 0.98rem; margin-bottom: 0.2rem; }
    .hero-quran-card { padding: 0.35rem 0.55rem; margin: 0.2rem 0 0.35rem; }
    .quran-arabic-text { font-size: 1.05rem; }
    .hero-text-group { margin-bottom: 0.35rem; }
    .hero-text-en { font-size: 0.74rem; line-height: 1.35; }
    .hero-text-ur { font-size: 0.8rem; line-height: 1.4; }
    .hero-actions .btn { padding: 0.45rem 0.6rem; font-size: 0.75rem; }

    /* Forms */
    .form-grid-row { grid-template-columns: 1fr; gap: 0.85rem; margin-bottom: 0.85rem; }
    .online-inquiry-form { padding: 1.25rem 1rem; }
    .input-styled { padding: 0.75rem 1rem; font-size: 0.88rem; }
}

/* ==========================================================================
   GLOBAL BILINGUAL SYSTEM (ENGLISH / URDU / DUAL)
   ========================================================================== */
.lang-ur {
    font-family: var(--font-urdu);
    line-height: 1.6;
}

/* Dual Mode (Default): Render both languages with harmonious visual hierarchy */
body[data-lang="dual"] .lang-en,
body:not([data-lang]) .lang-en {
    display: inline-block;
}

body[data-lang="dual"] .lang-ur,
body:not([data-lang]) .lang-ur {
    display: block;
    color: var(--gold-600);
    font-size: 0.9em;
    font-weight: 600;
}

body[data-lang="dual"] .page-banner-title.lang-ur {
    font-size: 1.85rem;
    color: var(--gold-300);
    margin-top: 0.25rem;
}

body[data-lang="dual"] .page-banner-subtitle.lang-ur {
    font-size: 1.1rem;
    color: var(--gold-200);
    margin-top: 0.25rem;
}

body[data-lang="dual"] .section-title .lang-ur {
    font-size: 0.85em;
    color: var(--gold-600);
    margin-top: 0.35rem;
}

body[data-lang="dual"] .section-desc .lang-ur {
    font-size: 0.92em;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* English Only Mode */
body[data-lang="en"] .lang-ur,
body[data-lang="en"] .nav-label-ur,
body[data-lang="en"] .hero-title-ur,
body[data-lang="en"] .hero-subtitle-ur,
body[data-lang="en"] .hero-text-ur,
body[data-lang="en"] .hero-actions-ur,
body[data-lang="en"] .hero-badge-ur,
body[data-lang="en"] .quran-meaning-ur {
    display: none !important;
}

body[data-lang="en"] .lang-en,
body[data-lang="en"] .hero-title-en,
body[data-lang="en"] .hero-subtitle-en,
body[data-lang="en"] .hero-text-en,
body[data-lang="en"] .hero-actions-en,
body[data-lang="en"] .hero-badge-en,
body[data-lang="en"] .quran-meaning-en {
    display: block !important;
}

/* Urdu Only Mode: Structure remains completely INTACT (no RTL layout inversion) */
body[data-lang="ur"] .lang-en,
body[data-lang="ur"] .nav-label-en,
body[data-lang="ur"] .hero-title-en,
body[data-lang="ur"] .hero-subtitle-en,
body[data-lang="ur"] .hero-text-en,
body[data-lang="ur"] .hero-actions-en,
body[data-lang="ur"] .hero-badge-en,
body[data-lang="ur"] .quran-meaning-en {
    display: none !important;
}

body[data-lang="ur"] .lang-ur,
body[data-lang="ur"] .hero-title-ur,
body[data-lang="ur"] .hero-subtitle-ur,
body[data-lang="ur"] .hero-text-ur,
body[data-lang="ur"] .hero-actions-ur,
body[data-lang="ur"] .hero-badge-ur,
body[data-lang="ur"] .quran-meaning-ur {
    display: block !important;
    font-family: var(--font-urdu) !important;
}

body[data-lang="ur"] h1,
body[data-lang="ur"] h2,
body[data-lang="ur"] h3,
body[data-lang="ur"] h4,
body[data-lang="ur"] h5,
body[data-lang="ur"] h6,
body[data-lang="ur"] .btn,
body[data-lang="ur"] .nav-link,
body[data-lang="ur"] .section-title,
body[data-lang="ur"] .page-banner-title {
    font-family: var(--font-urdu) !important;
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
}

body[data-lang="ur"] p {
    font-family: var(--font-urdu) !important;
    line-height: 2.15 !important;
    margin-bottom: 1.5rem !important;
}

/* Generous typography spacing to prevent Urdu cramping */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.section-desc {
    margin-bottom: 2.25rem !important;
}


/* ==========================================================================
   HERO QURANIC AYAH CARD (Reverent Divine Focus)
   ========================================================================== */
.hero-quran-card {
    background: rgba(30, 0, 10, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.35rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), inset 0 0 15px rgba(212, 175, 55, 0.12);
    position: relative;
}

.quran-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.quran-bismillah-seal {
    font-family: var(--font-arabic);
    color: var(--gold-300);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.quran-surah-tag {
    font-size: 0.775rem;
    color: var(--gold-400);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quran-arabic-text {
    font-family: var(--font-arabic);
    font-size: 1.75rem;
    color: var(--gold-200);
    line-height: 1.55;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
}

.quran-meaning-row {
    border-top: 1px dashed rgba(212, 175, 55, 0.25);
    padding-top: 0.45rem;
}

.quran-meaning-en {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.55;
    margin-bottom: 0.25rem;
}

.quran-meaning-ur {
    font-family: var(--font-urdu);
    font-size: 1.05rem;
    color: var(--gold-300);
    line-height: 1.85;
    margin-bottom: 0;
}
/* ==========================================================================
   ATTRACTIVE VISUAL EFFECTS & SHIMMER
   ========================================================================== */
@keyframes ringPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.topbar-pill, .badge-gold, .overview-card-badge {
    animation: ringPulse 3s infinite ease-in-out;
}

/* Card Glow & 3D Micro-lift */
.card-glow-effect {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.card-glow-effect:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(128, 0, 32, 0.18), 0 0 25px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-400);
}

.card-glow-effect:hover::before {
    opacity: 1;
}

/* ==========================================================================
   INSTITUTIONAL OVERVIEW GRID (HOMEPAGE PILLARS)
   ========================================================================== */
.home-overview-section {
    position: relative;
    background: linear-gradient(180deg, #fbfaf8 0%, #f4f2ec 100%);
    border-top: 1px solid rgba(128, 0, 32, 0.08);
    border-bottom: 1px solid rgba(128, 0, 32, 0.08);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.overview-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    border: 1px solid rgba(128, 0, 32, 0.1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.overview-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.overview-icon-box {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: var(--gradient-maroon);
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 18px rgba(128, 0, 32, 0.25);
    transition: var(--transition);
}

.overview-card:hover .overview-icon-box {
    transform: rotate(6deg) scale(1.08);
    background: var(--gradient-gold);
    color: var(--maroon-900);
}

.overview-card-badge {
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
    background: rgba(128, 0, 32, 0.06);
    border: 1px solid rgba(128, 0, 32, 0.15);
    color: var(--maroon-700);
    font-size: 0.775rem;
    font-weight: 700;
}

.overview-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--maroon-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.overview-card-desc {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.overview-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--maroon-800);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(128, 0, 32, 0.08);
}

.feature-chip i {
    color: var(--gold-600);
    font-size: 0.75rem;
}

.overview-card-footer {
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(128, 0, 32, 0.12);
}

.overview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--maroon-700);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
}

.overview-link:hover {
    color: var(--gold-600);
    transform: translateX(5px);
}

body[data-lang="ur"] .overview-link:hover {
    transform: translateX(-5px);
}

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


/* ==========================================================================
   Screen-Edge Floating Quick Language Switcher (Tiny & Minimalist)
   ========================================================================== */
.screen-edge-lang-widget {
    position: fixed;
    right: 0;
    top: 48%;
    transform: translateY(-50%);
    z-index: 9999;
}

.screen-edge-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(128, 0, 32, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-right: none;
    padding: 0.28rem 0.6rem 0.28rem 0.5rem;
    border-radius: 16px 0 0 16px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1;
    box-shadow: -2px 3px 12px rgba(0, 0, 0, 0.22);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.9;
}

.screen-edge-lang-btn:hover {
    opacity: 1;
    background: var(--maroon-900);
    border-color: var(--gold-400);
    color: var(--gold-300);
    transform: translateX(-3px);
    box-shadow: -4px 5px 16px rgba(128, 0, 32, 0.4);
}

.edge-lang-indicator {
    font-weight: 800;
    letter-spacing: 0.3px;
    font-size: 0.75rem;
    color: #ffffff;
    transition: color 0.2s ease;
}

.screen-edge-lang-btn:hover .edge-lang-indicator {
    color: var(--gold-300);
}

.edge-lang-icon {
    font-size: 0.7rem;
    color: var(--gold-400);
    transition: transform 0.25s ease;
}

.screen-edge-lang-btn:hover .edge-lang-icon {
    transform: rotate(20deg);
}

@media (max-width: 768px) {
    .screen-edge-lang-widget {
        top: auto;
        bottom: 80px;
        transform: none;
    }
    .screen-edge-lang-btn {
        padding: 0.24rem 0.5rem 0.24rem 0.42rem;
        font-size: 0.68rem;
    }
    .edge-lang-indicator { font-size: 0.7rem; }
    .edge-lang-icon { font-size: 0.65rem; }
}

/* ==========================================================================
   Hero Quranic Ayah Box
   ========================================================================== */
.hero-quran-card {
    background: rgba(18, 5, 10, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-left: 4px solid var(--gold-500);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.45rem;
    margin: 1.25rem 0 1.5rem;
    max-width: 660px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-quran-card:hover {
    border-color: var(--gold-400);
    transform: translateY(-2px);
}

.quran-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.25);
}

.quran-bismillah-seal {
    font-size: 1.4rem;
    color: var(--gold-400);
    font-family: var(--font-arabic);
}

.quran-surah-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gold-300);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.quran-arabic-text {
    font-family: var(--font-arabic);
    font-size: 1.4rem;
    line-height: 1.9;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
    direction: rtl;
    text-align: right;
}

.quran-meaning-row {
    margin-top: 0.35rem;
}

.quran-meaning-en,
.quran-meaning-ur {
    margin: 0;
}

.quran-meaning-en {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.quran-meaning-ur {
    font-family: var(--font-urdu);
    font-size: 1.05rem;
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.94);
    direction: rtl;
    text-align: right;
}

body[data-lang="en"] .quran-meaning-ur {
    display: none;
}

body[data-lang="ur"] .quran-meaning-en {
    display: none;
}

/* ==========================================================================
   Typography & Urdu Spacing Enhancements
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1.15rem;
    line-height: 1.35;
}

p {
    margin-top: 0;
    margin-bottom: 1.35rem;
    line-height: 1.8;
}

p:last-child {
    margin-bottom: 0;
}

body[data-lang="ur"] p,
body[data-lang="ur"] .section-desc,
body[data-lang="ur"] .wing-desc,
body[data-lang="ur"] .card-desc,
body[data-lang="ur"] .lead-text {
    font-family: var(--font-urdu);
    line-height: 2.2 !important;
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
    letter-spacing: 0.2px;
}

body[data-lang="ur"] h1,
body[data-lang="ur"] h2,
body[data-lang="ur"] h3,
body[data-lang="ur"] h4 {
    font-family: var(--font-urdu);
    line-height: 1.7 !important;
    margin-bottom: 1.35rem;
}

/* ==========================================================================
   Academic Wings Grid & Cards
   ========================================================================== */
.academic-wings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.wing-feature-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(128, 0, 32, 0.1);
    box-shadow: var(--shadow-md);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.wing-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(128, 0, 32, 0.16);
    border-color: rgba(212, 175, 55, 0.4);
}

.wing-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.wing-feature-card:hover .wing-card-media img {
    transform: scale(1.08);
}

.wing-grade-pill {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(128, 0, 32, 0.92);
    backdrop-filter: blur(8px);
    color: var(--gold-300);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.wing-card-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wing-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--maroon-700);
    margin-bottom: 0.5rem;
}

.wing-title {
    font-size: 1.25rem;
    color: var(--maroon-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.wing-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.wing-points-list {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    border-top: 1px dashed rgba(128, 0, 32, 0.1);
    padding-top: 1rem;
}

.wing-points-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.wing-points-list li i {
    color: var(--gold-600);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* ==========================================================================
   STEM Laboratories Showcase
   ========================================================================== */
.labs-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.lab-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(128, 0, 32, 0.1);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.lab-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-500);
}

.lab-card-media {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.lab-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lab-card:hover .lab-card-media img {
    transform: scale(1.08);
}

.lab-card-body {
    padding: 1.35rem;
}

.lab-card-title {
    font-size: 1.1rem;
    color: var(--maroon-900);
    margin-bottom: 0.5rem;
}

.lab-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   AICU Master Remedial Banner
   ========================================================================== */
.aicu-master-banner {
    background: linear-gradient(135deg, var(--maroon-900) 0%, var(--maroon-950) 60%, #1a0208 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--gold-500);
    box-shadow: 0 16px 40px rgba(128, 0, 32, 0.3);
}

.aicu-master-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.aicu-banner-content {
    position: relative;
    z-index: 1;
}

.aicu-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold-400);
    color: var(--gold-300);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.aicu-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.aicu-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 820px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.aicu-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.aicu-feature-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border-left: 3px solid var(--gold-400);
}

.aicu-feature-item h4 {
    color: var(--gold-300);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.aicu-feature-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   Residential Schedule Timeline & Tables
   ========================================================================== */
.schedule-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.schedule-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.35rem;
    border: 1px solid rgba(128, 0, 32, 0.1);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--maroon-700);
    transition: var(--transition);
}

.schedule-card:hover {
    transform: translateY(-4px);
    border-left-color: var(--gold-500);
    box-shadow: var(--shadow-md);
}

.slot-time {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--gold-600);
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.slot-title {
    font-size: 1.05rem;
    color: var(--maroon-900);
    margin-bottom: 0.35rem;
}

.slot-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.menu-table-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow-x: auto;
    border: 1px solid rgba(128, 0, 32, 0.12);
    margin-top: 2rem;
}

.menu-styled-table,
.fee-styled-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.menu-styled-table thead,
.fee-styled-table thead {
    background: linear-gradient(135deg, var(--maroon-800) 0%, var(--maroon-900) 100%);
    color: #ffffff;
}

.menu-styled-table th,
.fee-styled-table th {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gold-500);
}

.menu-styled-table td,
.fee-styled-table td {
    padding: 1rem 1.25rem;
    font-size: 0.92rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(128, 0, 32, 0.08);
}

.menu-styled-table tr:hover,
.fee-styled-table tr:hover {
    background: rgba(128, 0, 32, 0.02);
}

/* ==========================================================================
   Admissions Roadmap & Forms
   ========================================================================== */
.admissions-steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.admission-step-row {
    display: flex;
    gap: 1.75rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid rgba(128, 0, 32, 0.1);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.admission-step-row:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold-500);
    transform: translateX(6px);
}

.step-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900));
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    flex-shrink: 0;
    border: 2px solid var(--gold-500);
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--maroon-900);
    margin-bottom: 0.4rem;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.online-inquiry-form {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(128, 0, 32, 0.12);
}

.form-grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.input-styled {
    width: 100%;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(128, 0, 32, 0.18);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-styled:focus {
    outline: none;
    border-color: var(--maroon-700);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.12);
}

.form-status-alert {
    padding: 0.95rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;
}

.form-status-alert.alert-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-status-alert.alert-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* ==========================================================================
   Contact Transit Cards & Directory
   ========================================================================== */
.transit-cards-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.transit-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.35rem;
    border: 1px solid rgba(128, 0, 32, 0.1);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.transit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-500);
}

.transit-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--cream);
    color: var(--maroon-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.transit-card h4 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    color: var(--maroon-900);
}

.transit-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Responsive Breakpoints for Added Components */
@media (max-width: 1024px) {
    .academic-wings-grid { grid-template-columns: repeat(2, 1fr); }
    .labs-showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .aicu-features-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .academic-wings-grid { grid-template-columns: 1fr; }
    .labs-showcase-grid { grid-template-columns: 1fr; }
    .admission-step-row { flex-direction: column; gap: 1rem; }
    .form-grid-row { grid-template-columns: 1fr; }
    .online-inquiry-form { padding: 1.5rem; }
    .aicu-master-banner { padding: 2rem 1.5rem; }
}


/* ==========================================================================
   TOPBAR LANGUAGE SWITCHER (EN / اردو)
   ========================================================================== */
.topbar-lang-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius-full);
    padding: 2px 4px;
    gap: 2px;
    flex-shrink: 0;
}

.topbar-lang-pill .lang-opt {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.25;
}

.topbar-lang-pill .lang-opt:hover {
    color: #ffffff;
}

.topbar-lang-pill .lang-opt.active {
    background: var(--gradient-gold);
    color: var(--maroon-950);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.topbar-lang-pill .lang-opt-divider {
    color: rgba(212, 175, 55, 0.5);
    font-size: 0.7rem;
    user-select: none;
}

/* Hide screen edge toggle if any residual exists */
.screen-edge-lang-widget {
    display: none !important;
}

/* ==========================================================================
   DEDICATED COMMUNICATION CHANNELS (Communicative Visual Badges & Effects)
   ========================================================================== */
.channel-comm-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(128, 0, 32, 0.08);
    border: 1px solid rgba(128, 0, 32, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.channel-comm-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 22px 45px rgba(128, 0, 32, 0.18);
    border-color: rgba(212, 175, 55, 0.65);
}

.channel-comm-visual {
    height: 175px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: #ffffff;
}

.bg-gradient-maroon {
    background: linear-gradient(135deg, #800020 0%, #4a0013 100%);
}

.bg-gradient-gold-dark {
    background: linear-gradient(135deg, #996515 0%, #5c3d0d 100%);
}

.bg-gradient-maroon-deep {
    background: linear-gradient(135deg, #590016 0%, #29000a 100%);
}

.comm-decor-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.comm-icon-bubble {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.bubble-gold {
    border-color: rgba(255, 215, 0, 0.7);
    background: rgba(212, 175, 55, 0.2);
}

.bubble-red {
    border-color: rgba(248, 113, 113, 0.7);
    background: rgba(220, 38, 38, 0.2);
}

.channel-comm-card:hover .comm-icon-bubble {
    transform: scale(1.12) rotate(6deg);
    border-color: var(--gold-400);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.comm-main-icon {
    font-size: 1.85rem;
    color: var(--gold-300);
}

.comm-pulse-beacon {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: pulseDot 1.8s infinite;
}

.comm-pulse-beacon.beacon-gold {
    background: #eab308;
    box-shadow: 0 0 10px #eab308;
}

.comm-visual-status {
    margin-top: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(0, 0, 0, 0.38);
    padding: 0.3rem 0.95rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.comm-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px #4ade80;
}

.comm-status-dot.dot-urgent {
    background: #f87171;
    box-shadow: 0 0 6px #f87171;
}

/* ==========================================================================
   LIBRARY & DIGITAL HUB (Rich Multi-Tone Shades & Hover Depth)
   ========================================================================== */
.library-section-shaded {
    background: linear-gradient(180deg, #faf7f2 0%, #f3ede4 100%);
    position: relative;
    border-top: 1px solid rgba(128, 0, 32, 0.08);
    border-bottom: 1px solid rgba(128, 0, 32, 0.08);
}

.lib-stats-shaded {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.lib-stat-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid rgba(128, 0, 32, 0.1);
    box-shadow: 0 6px 18px rgba(128, 0, 32, 0.06);
    transition: all 0.35s ease;
    border-top: 4px solid var(--maroon-700);
}

.lib-stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(128, 0, 32, 0.14);
    border-top-color: var(--gold-500);
}

.lib-stat-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(128, 0, 32, 0.06);
    color: var(--maroon-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.35rem;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.lib-stat-box:hover .lib-stat-icon-wrap {
    transform: scale(1.12);
    background: var(--maroon-800);
    color: var(--gold-300);
}

.lib-stat-num {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--maroon-900);
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.lib-stat-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.library-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.library-shaded-card {
    background: linear-gradient(160deg, #ffffff 0%, #fcf9f4 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(128, 0, 32, 0.12);
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.07);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--maroon-800);
}

.library-shaded-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 22px 45px rgba(128, 0, 32, 0.16);
    border-top-color: var(--gold-500);
    border-color: rgba(212, 175, 55, 0.5);
}

.lib-card-shade-header {
    background: rgba(128, 0, 32, 0.03);
    padding: 1.35rem 1.75rem;
    border-bottom: 1px dashed rgba(128, 0, 32, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lib-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--maroon-800);
    background: rgba(128, 0, 32, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 14px;
}

.lib-card-icon {
    font-size: 1.45rem;
    color: var(--gold-600);
    transition: transform 0.4s ease;
}

.library-shaded-card:hover .lib-card-icon {
    transform: scale(1.2) rotate(-8deg);
    color: var(--gold-500);
}

.lib-card-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lib-card-title {
    font-size: 1.25rem;
    color: var(--maroon-900);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.lib-card-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.lib-features-list {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    border-top: 1px dashed rgba(128, 0, 32, 0.1);
    padding-top: 1rem;
}

.lib-features-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.lib-features-list li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   FREQUENTLY ASKED QUESTIONS (Shaded Interactive Accordion)
   ========================================================================== */
.faq-accordion-wrap {
    max-width: 900px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.faq-item {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(128, 0, 32, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(128, 0, 32, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
}

.faq-item.active {
    border-color: var(--gold-500);
    border-left: 5px solid var(--gold-500);
    box-shadow: 0 14px 34px rgba(128, 0, 32, 0.14);
    background: linear-gradient(to bottom, #ffffff 0%, #fdfbf7 100%);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 1.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 1.25rem;
}

.faq-trigger:focus {
    outline: none;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--maroon-900);
    line-height: 1.45;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--maroon-700);
}

.faq-chevron {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(128, 0, 32, 0.06);
    color: var(--maroon-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    background: var(--gold-500);
    color: var(--maroon-950);
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.75rem;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer-panel {
    padding: 0 1.75rem 1.45rem;
    border-top: 1px dashed rgba(128, 0, 32, 0.1);
}

.faq-answer-text {
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0.75rem 0 0;
}

/* ==========================================================================
   ENTRANCE ANIMATION & SCROLL REVEAL SYSTEM
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive Card Hover Effects */
.lab-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(128, 0, 32, 0.14);
    border-color: var(--gold-500);
}

.lab-card-img {
    height: 185px;
    overflow: hidden;
}

.lab-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lab-card-content {
    padding: 1.5rem;
}

.lab-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--maroon-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.lab-card:hover .lab-icon {
    transform: scale(1.15) rotate(6deg);
    background: var(--maroon-800);
    color: var(--gold-300);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .lib-stats-shaded { grid-template-columns: repeat(2, 1fr); }
    .library-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .lib-stats-shaded { grid-template-columns: 1fr; }
    .faq-trigger { padding: 1.15rem 1.25rem; }
    .faq-question { font-size: 1rem; }
}

/* ==========================================================================
   MISSION IN ACTION / CORE THEMES FLIP-CARD SLIDER
   ========================================================================== */
.mission-themes-section {
    background: #faf8f5;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(128, 0, 32, 0.08);
    border-bottom: 1px solid rgba(128, 0, 32, 0.08);
    padding: 4.5rem 0 5rem;
}

.themes-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.themes-nav-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.5rem;
}

.themes-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d5dae2;
    background: #ffffff;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.themes-arrow-btn:hover {
    background: #ffffff;
    color: #641824;
    border-color: #94a3b8;
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.themes-title-wrap {
    text-align: right;
    margin-left: auto;
}

.themes-kicker {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #8b2635;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.themes-main-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.3rem, 4vw, 3.25rem);
    font-weight: 500;
    color: #1a1e27;
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

/* Carousel Track */
.themes-carousel-container {
    position: relative;
    width: 100%;
}

.themes-carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.75rem 0.5rem 2.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
    cursor: default;
}

.themes-carousel-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
    width: 0;
    height: 0;
}

/* 3D Flip Card Slots */
.theme-card-slot {
    flex: 0 0 240px;
    width: 240px;
    height: 460px;
    perspective: 1200px;
    -webkit-perspective: 1200px;
    scroll-snap-align: start;
    user-select: none;
    -webkit-user-select: none;
}

.theme-flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
    cursor: pointer;
}

.theme-flip-card.is-flipped {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.theme-card-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 38px -10px rgba(45, 10, 18, 0.44);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Front Face */
.theme-card-front {
    background: #641824;
    color: #ffffff;
    position: relative;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    z-index: 2;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.theme-flip-card.is-flipped .theme-card-front {
    z-index: 1;
    pointer-events: none;
}

.theme-flip-card:hover .theme-card-front {
    box-shadow: 0 24px 48px -10px rgba(45, 10, 18, 0.58);
}

.theme-front-top {
    padding: 1.75rem 1rem 0.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.theme-crest-wrap {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-crest-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 0.9;
    pointer-events: none;
}

.theme-front-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 1.45rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
    pointer-events: none;
    padding: 0 0.5rem;
}

.theme-front-title .lang-ur {
    font-family: var(--font-urdu);
    font-size: 1.25rem;
    line-height: 1.5;
}

.theme-cutout-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 295px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.theme-cutout-img {
    max-height: 280px;
    width: auto;
    max-width: 96%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38));
    transition: transform 0.4s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Individual card image tweaks */
.theme-cutout-inspiration {
    max-height: 290px;
    margin-bottom: -15px;
}
.theme-cutout-purpose {
    max-height: 280px;
}
.theme-cutout-learning {
    max-height: 275px;
}
.theme-cutout-service {
    max-height: 280px;
}
.theme-cutout-cultivating {
    max-height: 285px;
}
.theme-cutout-leadership {
    max-height: 285px;
}
.theme-cutout-creative {
    max-height: 285px;
}

.theme-flip-card:hover .theme-cutout-img {
    transform: scale(1.03);
}

/* Classic Serif Italic Info Button */
.theme-info-btn {
    position: absolute;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    color: #641824;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.theme-info-btn span,
.theme-info-btn-static span {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1;
    display: block;
}

.theme-info-btn:hover {
    background: #ffffff;
    transform: translateX(-50%) scale(1.12);
}

/* Back Face */
.theme-card-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    background: #56121d;
    color: #ffffff;
    padding: 2.25rem 1.35rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-flip-card.is-flipped .theme-card-back {
    z-index: 4;
    pointer-events: auto;
}

.theme-back-header {
    margin-bottom: 0.25rem;
}

.theme-back-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 1.45rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}

.theme-back-title .lang-ur {
    font-family: var(--font-urdu);
    font-size: 1.25rem;
    line-height: 1.5;
}

.theme-back-divider {
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.45);
    margin: 0.85rem auto 1.25rem;
}

.theme-back-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 0.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.theme-back-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.5rem;
}

.theme-back-text.lang-ur {
    font-family: var(--font-urdu);
    font-size: 1.05rem;
    line-height: 1.75;
}

.theme-back-footer {
    position: absolute;
    bottom: 3.1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.theme-flip-back-btn {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    border-radius: 9999px;
    padding: 0.38rem 1.05rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.theme-flip-back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.theme-info-btn-static {
    position: absolute;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    color: #641824;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .themes-header-row {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 1rem;
    }
    .themes-title-wrap {
        text-align: left;
        margin-left: 0;
    }
    .theme-card-slot {
        flex: 0 0 230px;
        width: 230px;
        height: 440px;
    }
    .theme-cutout-wrap {
        height: 275px;
    }
    .theme-cutout-img {
        max-height: 260px;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        display: grid;
        height: auto;
        min-height: max(420px, calc(100svh - 118px));
        max-height: none;
    }

    .hero-slider {
        display: grid;
        grid-area: 1 / 1;
        height: auto;
        min-height: inherit;
        min-width: 0;
    }

    .hero-slide {
        position: relative;
        inset: auto;
        grid-area: 1 / 1;
        min-height: inherit;
        min-width: 0;
    }

    .hero-content-wrapper {
        box-sizing: border-box;
        height: auto;
        min-height: inherit;
        min-width: 0;
        padding: 2rem 0 5.5rem !important;
    }

    .hero-stage-grid,
    .hero-content {
        min-width: 0;
    }

    .quran-header-row {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.25rem 0.5rem;
    }

    .quran-surah-tag {
        flex: 1 1 auto;
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: right;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: max(420px, calc(100svh - 96px));
    }

    .hero-content-wrapper {
        padding: 0.5rem 0 5.5rem !important;
    }
}
