/* ==========================================================================
   Swami Ramanand Bharti Vidyamandir & Junior College, Tasgaon
   Executive Institutional Public Website Design System
   Colors: Navy Blue (#0A1931), Royal Blue (#185ADB), Gold (#FFC947), White (#FFF)
   ========================================================================== */

:root {
    --navy-dark: #070D1F;
    --navy-primary: #0F172A;
    --royal-blue: #1D4ED8;
    --royal-light: #3B82F6;
    --gold-accent: #F59E0B;
    --gold-dark: #D97706;
    --gold-soft: #fff8e6;
    --surface-light: #F8FAFC;
    --surface-white: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --radius-md: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.11);
    --shadow-lg: 0 26px 56px rgba(15, 23, 42, 0.18);
}

html {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--surface-light);
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100%;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

main,
.page-hero-banner,
section {
    flex-shrink: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--navy-primary);
    font-weight: 800;
    letter-spacing: -0.015em;
}

/* All paragraph tags justified by default */
p,
.text-justify,
.section-overview,
.footer-about-text {
    text-align: justify;
    text-justify: inter-word;
}

/* Explicit alignment classes take precedence */
p.text-center,
.text-center p,
p.text-center * {
    text-align: center !important;
}

p.text-start,
.text-start p,
p.text-start * {
    text-align: left !important;
}

p.text-end,
.text-end p,
p.text-end * {
    text-align: right !important;
}

a {
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Top Executive Utility Ribbon */
.top-utility-bar {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.015em;
    padding: 8px 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.28);
    position: relative;
    z-index: 1040;
}

.top-utility-bar a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.top-utility-bar a:hover {
    color: var(--gold-accent);
}

.utility-live-pill {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.42);
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 11px;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.utility-pill-link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 3px 11px;
    border-radius: 50px;
    font-size: 0.77rem;
}

.utility-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--gold-accent) 0%, #f59e0b 100%);
    color: var(--navy-dark) !important;
    font-weight: 800 !important;
    font-size: 0.76rem;
    padding: 4px 13px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.32);
    transition: all 0.25s ease;
}

.utility-admin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.48);
    color: #000 !important;
}

/* Grand School Header Banner */
.school-brand-header {
    background:
        radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.22), transparent 45%),
        linear-gradient(135deg, var(--navy-primary) 0%, var(--royal-blue) 100%);
    color: #fff;
    padding: 24px 0;
    position: relative;
    border-bottom: 4px solid var(--gold-accent);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.header-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    opacity: 0.75;
}

.school-emblem-wrapper {
    position: relative;
    flex-shrink: 0;
}

.school-emblem {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffe082 0%, var(--gold-accent) 55%, #d97706 100%);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.35rem;
    font-weight: 800;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.28),
        0 0 0 4px rgba(255, 255, 255, 0.18),
        inset 0 2px 4px rgba(255, 255, 255, 0.65);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.school-emblem-has-img {
    width: 176px;
    height: 124px;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
}

.school-emblem-img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-identity-link:hover .school-emblem-img {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(255, 201, 71, 0.3));
}

/* Sanstha Logo (Right Header Crest — Pure & Borderless) */
.sanstha-logo-header {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.sanstha-logo-header:hover {
    transform: translateY(-2px) scale(1.04);
}

.sanstha-header-img {
    width: 150px;
    height: 160px;
    object-fit: contain;
    display: block;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.42));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.sanstha-logo-header:hover .sanstha-header-img {
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(255, 201, 71, 0.35));
}

@media (max-width: 575.98px) {
    .school-emblem-has-img {
        width: 120px;
        height: 86px;
        padding: 0;
        border: none;
        box-shadow: none;
    }
}

.brand-identity-link:hover .school-emblem {
    transform: translateY(-3px) scale(1.03);
}

.emblem-verified-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

/* Sanstha Motto */
.sanstha-motto-header {
    font-family: 'Mukta', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(0.78rem, 1.08vw, 0.94rem);
    font-weight: 600;
    color: #fef08a;
    letter-spacing: 0.025em;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    margin-bottom: 3px;
}

.trust-pill-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 201, 71, 0.45);
    color: #FFC947;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 12px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.trust-pill-badge i {
    color: var(--gold-accent);
}

.est-pill-badge {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(255, 201, 71, 0.55);
    color: var(--gold-accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    padding: 4px 12px;
    border-radius: 8px;
}

/* Symmetrical Center-Aligned Grand Header */
.header-brand-row {
    width: 100%;
}

.header-side-logo {
    flex: 0 0 176px;
    display: flex;
    align-items: center;
}

.header-logo-left {
    justify-content: flex-start;
}

.header-logo-right {
    justify-content: flex-end;
}

.header-brand-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
}

.school-title-en {
    font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.36rem, 2.35vw, 1.96rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.25;
    letter-spacing: 0.025em;
    text-align: center;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
}

.school-title-en a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.school-title-en a:hover {
    opacity: 0.95;
}

@supports (-webkit-background-clip: text) {

    .school-title-en,
    .school-title-en a {
        background: linear-gradient(180deg, #ffffff 40%, #fef3c7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

@media (max-width: 991.98px) {
    .header-brand-row {
        flex-direction: column;
        text-align: center;
        gap: 12px !important;
    }

    .header-side-logo {
        flex: 0 0 auto;
        justify-content: center !important;
        margin: 0 auto;
    }

    .header-logo-left {
        justify-content: center !important;
    }

    .header-brand-center {
        padding: 0;
        width: 100%;
    }
}

.school-tagline-header {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.82rem, 1.15vw, 0.94rem);
    font-weight: 600;
    letter-spacing: 0.035em;
    color: #ffd54f !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.meta-chip {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.76rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 8px;
    letter-spacing: 0.015em;
}

.meta-chip strong {
    font-weight: 700;
    color: #ffd54f;
}

/* Right Executive Helpline & CTA Cluster */
.header-helpline-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 14px;
    color: #ffffff;
}

.helpline-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gold-accent);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.helpline-label {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    line-height: 1.1;
}

.helpline-number {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.btn-gold-premium {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #ffd54f 0%, var(--gold-accent) 55%, #d97706 100%);
    color: var(--navy-dark) !important;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.025em;
    padding: 9px 18px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    transition: all 0.25s ease;
}

.btn-gold-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.42);
    color: #000 !important;
}

.btn-glass-light {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 9px 16px;
    border-radius: 11px;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.btn-glass-light:hover {
    background: #ffffff;
    color: var(--navy-primary) !important;
    transform: translateY(-2px);
}

.dropdown-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--royal-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.main-navbar .dropdown-item:hover .dropdown-icon-box,
.main-navbar .dropdown-item.active .dropdown-icon-box {
    background: var(--royal-blue);
    color: #ffffff;
}

/* Main Sticky Glass Navbar */
.main-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 26px rgba(10, 25, 49, 0.08);
    border-bottom: 4px solid var(--gold-accent);
    padding: 0;
    z-index: 1035;
}

.nav-brand-mini-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy-primary), var(--royal-blue));
    color: var(--gold-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.nav-brand-logo-box {
    width: 64px;
    height: 46px;
    border-radius: 11px;
    background: #ffffff;
    border: 2px solid var(--gold-accent);
    padding: 2px 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14);
    flex-shrink: 0;
}

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

.main-navbar .navbar-nav {
    gap: 2px;
}

.main-navbar .nav-link {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.94rem;
    letter-spacing: 0.015em;
    padding: 16px 14px !important;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.main-navbar .nav-link i {
    color: var(--royal-blue);
    font-size: 0.95rem;
    opacity: 0.88;
    transition: transform 0.2s ease, color 0.2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus,
.main-navbar .nav-link.active {
    color: var(--royal-blue);
    background-color: rgba(24, 90, 219, 0.04);
}

.main-navbar .nav-link:hover i,
.main-navbar .nav-link.active i {
    color: var(--royal-blue);
    opacity: 1;
}

.main-navbar .nav-link.active {
    font-weight: 700;
}

.main-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3.5px;
    background: linear-gradient(90deg, var(--royal-blue), var(--gold-accent));
    border-radius: 4px 4px 0 0;
}

/* Sticky Navbar Right CTA Button */
.btn-nav-cta {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--royal-blue) 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    padding: 9px 20px;
    border-radius: 50px;
    white-space: nowrap;
    border: 1.5px solid rgba(255, 201, 71, 0.45);
    box-shadow: 0 4px 14px rgba(24, 90, 219, 0.22);
    transition: all 0.25s ease;
}

.btn-nav-cta i {
    color: var(--gold-accent);
}

.btn-nav-cta:hover,
.btn-nav-cta.active {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #f59e0b 100%);
    color: var(--navy-primary) !important;
    border-color: var(--gold-accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 201, 71, 0.38);
}

.btn-nav-cta:hover i,
.btn-nav-cta.active i {
    color: var(--navy-primary);
}

/* Navbar Dropdown Menus */
.main-navbar .dropdown-menu {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-top: 3px solid var(--royal-blue);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 36px rgba(10, 25, 49, 0.14);
    padding: 8px;
    min-width: 240px;
    margin-top: 0;
}

.main-navbar .dropdown-menu-academics {
    min-width: 310px;
}

@media (min-width: 992px) {
    .main-navbar .dropdown-menu-about {
        min-width: 660px;
        max-width: 700px;
        padding: 14px 16px;
    }

    .main-navbar .dropdown-about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
}

.main-navbar .dropdown-item {
    border-radius: 9px;
    padding: 9px 14px;
    font-weight: 600;
    font-size: 0.89rem;
    color: var(--navy-primary);
    transition: all 0.2s ease;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus,
.main-navbar .dropdown-item.active {
    background-color: #EFF6FF;
    color: var(--royal-blue);
    transform: translateX(3px);
}

@media (min-width: 992px) {
    .main-navbar .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        animation: navDropdownFade 0.18s ease-out;
    }
}

@keyframes navDropdownFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .main-navbar .navbar-collapse {
        background: #ffffff;
        padding: 12px 6px 16px;
        border-top: 1px solid var(--border-color);
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-navbar .nav-link {
        padding: 11px 14px !important;
        border-radius: 9px;
    }

    .main-navbar .nav-link.active::after {
        display: none;
    }

    .main-navbar .nav-link.active {
        background-color: #EFF6FF;
    }

    .main-navbar .dropdown-menu {
        border: none;
        border-left: 3px solid var(--royal-blue);
        border-radius: 0 8px 8px 0;
        box-shadow: none;
        background: var(--surface-light);
        margin-left: 14px;
        padding: 4px 8px;
    }
}

/* Notice Marquee Bar */
.notice-ticker-bar {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.ticker-label {
    background: linear-gradient(135deg, var(--gold-accent), #f59e0b);
    color: var(--navy-primary);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 20px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.08);
}

.ticker-track {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.ticker-content {
    display: inline-block;
    padding-left: 30px;
    -webkit-animation: tickerScroll 32s linear infinite;
    animation: tickerScroll 32s linear infinite;
}

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

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

    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

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

    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: inline-block;
    margin-right: 42px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-primary);
}

.ticker-item:hover {
    color: var(--royal-blue);
}

/* Hero Carousel */
/* ==========================================================================
   Hero Carousel Slider — Professional Pure Images with Cinematic Fade
   ========================================================================== */
.hero-carousel-section {
    position: relative;
    overflow: hidden;
    background: #0F172A;
    width: 100%;
}

#schoolHeroCarousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-carousel-section .carousel-item {
    height: 560px;
    background-color: #0F172A;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1199.98px) {
    .hero-carousel-section .carousel-item {
        height: 480px;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel-section .carousel-item {
        height: 360px;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel-section .carousel-item {
        height: 260px;
    }
}

.hero-slide-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Crystal-Clear Image Display with Subtle Ken Burns Zoom */
.hero-pro-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1 !important;
    filter: none !important;
    transform: scale(1);
    transition: transform 6.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item.active .hero-pro-slide-img {
    transform: scale(1.045);
}

/* Professional Cinematic Cross-Dissolve */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.9s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

/* --------------------------------------------------------------------------
   Carousel Navigation Arrows & Indicators
   -------------------------------------------------------------------------- */
.hero-carousel-arrow {
    width: 60px;
    opacity: 0.85;
    z-index: 15;
    transition: all 0.3s ease;
}

.hero-carousel-arrow:hover {
    opacity: 1;
}

.hero-arrow-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    border: 2px solid rgba(255, 201, 71, 0.7);
    color: #FFC947;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-carousel-arrow:hover .hero-arrow-circle {
    background: var(--gold-accent);
    color: #0F172A;
    border-color: #ffffff;
    transform: scale(1.1);
}

.hero-carousel-section .carousel-indicators {
    margin-bottom: 24px;
    z-index: 15;
    gap: 10px;
}

.hero-carousel-section .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.hero-carousel-section .carousel-indicators button.active {
    width: 38px;
    border-radius: 12px;
    background-color: var(--gold-accent);
    border-color: #ffffff;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.5);
}

/* Floating Executive Quick-Access Ribbon below Hero */
.hero-Quick-cards-section {
    position: relative;
    z-index: 15;
    margin-top: -46px;
    margin-bottom: 18px;
}

.hero-float-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-bottom: 3.5px solid var(--royal-blue);
    border-radius: 16px;
    padding: 18px 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    color: var(--text-main);
}

.hero-float-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.18);
    border-bottom-color: var(--gold-accent);
}

.hero-float-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-primary), var(--royal-blue));
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.hero-float-tag {
    display: block;
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--royal-blue);
    margin-bottom: 2px;
}

.hero-float-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 1px;
}

.hero-float-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
}

.hero-float-card-gold {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--royal-blue) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    border-bottom: 3.5px solid var(--gold-accent);
    color: #ffffff;
}

.hero-float-card-gold .hero-float-icon {
    background: linear-gradient(135deg, #ffd54f 0%, var(--gold-accent) 100%);
    color: var(--navy-dark);
}

.hero-float-card-gold .hero-float-tag {
    color: var(--gold-accent);
}

.hero-float-card-gold .hero-float-title {
    color: #ffffff;
}

.hero-float-card-gold .hero-float-sub {
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 991.98px) {
    .hero-Quick-cards-section {
        margin-top: 16px;
    }
}

/* Executive Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #f59e0b 100%);
    color: var(--navy-primary);
    font-weight: 800;
    border: none;
    padding: 11px 26px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(255, 201, 71, 0.35);
    transition: all 0.25s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #ffd46b 0%, var(--gold-accent) 100%);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 201, 71, 0.45);
}

.btn-royal {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--navy-primary) 100%);
    color: #fff !important;
    font-weight: 700;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.25);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-royal:hover {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--royal-blue) 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.35);
}

/* Section Headings */
.section-badge {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    color: var(--navy-primary);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 12px;
}

.gold-divider {
    width: 68px;
    height: 4px;
    background: linear-gradient(90deg, var(--royal-blue), var(--gold-accent));
    border-radius: 4px;
    margin-bottom: 22px;
}

/* Cards & Modules */
.premium-card {
    background: var(--surface-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: auto;
    overflow: hidden;
    position: relative;
}

.premium-card.h-100 {
    height: 100% !important;
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.academic-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy-primary), var(--royal-blue));
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.22);
}

/* ==========================================================================
   Comprehensive Academic Wings Showcase Section (Organized & Harmonious)
   ========================================================================== */
.academic-wings-section {
    position: relative;
    background:
        radial-gradient(circle at 10% 15%, rgba(var(--primary-rgb), 0.04) 0%, transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(245, 158, 11, 0.05) 0%, transparent 45%),
        #f8fafc;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 70px 0;
    overflow: hidden;
}

.academic-wings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--royal-blue), var(--gold-accent), transparent);
    opacity: 0.85;
}

/* Wing Card Structure */
.academic-wing-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.32s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.academic-wing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--royal-blue), var(--gold-accent));
    opacity: 0.85;
    transition: all 0.3s ease;
}

.academic-wing-card:hover {
    transform: translateY(-7px);
    border-color: rgba(var(--primary-rgb), 0.35);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09), 0 0 20px rgba(var(--primary-rgb), 0.06);
}

.academic-wing-card:hover::before {
    height: 5px;
    opacity: 1;
}

/* Top Row: Icon + Class Pill (Single Balanced Line) */
.wing-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.wing-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--royal-blue) 100%);
    color: #ffffff;
    border: 1.5px solid rgba(255, 201, 71, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.22);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.academic-wing-card:hover .wing-icon-box {
    transform: scale(1.06);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.32);
    border-color: var(--gold-accent);
}

.wing-classes-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    background: #fff8e6;
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.35);
    letter-spacing: 0.01em;
    max-width: 70%;
    text-align: right;
    white-space: normal;
    line-height: 1.25;
}

/* Category Subtitle Kicker */
.wing-category-kicker {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--royal-blue);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wing-category-kicker::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 2px;
    background: var(--gold-accent);
    border-radius: 2px;
}

/* Wing Card Title */
.wing-card-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: var(--navy-primary);
    font-weight: 800;
    letter-spacing: -0.015em;
    font-size: 1.28rem;
    line-height: 1.35;
    margin-bottom: 10px;
    transition: color 0.25s ease;
}

.academic-wing-card:hover .wing-card-title {
    color: var(--royal-blue);
}

/* Medium Strip (Delicate and Non-intrusive) */
.wing-medium-strip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 12px;
}

.wing-medium-strip strong {
    color: var(--navy-primary);
}

/* Descriptive Text: Natural Left-Aligned (Zero Stretched Word Gaps) */
.wing-card-desc {
    font-size: 0.88rem !important;
    line-height: 1.62 !important;
    color: #475569 !important;
    text-align: left !important;
    text-justify: auto !important;
    margin-bottom: 14px !important;
}

/* Organized Feature Checklist */
.wing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.wing-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #334155;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    padding: 4px 10px;
    transition: all 0.2s ease;
}

.wing-feature-item i {
    color: var(--royal-blue);
    font-size: 0.88rem;
    flex-shrink: 0;
}

.academic-wing-card:hover .wing-feature-item {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: rgba(var(--primary-rgb), 0.16);
    color: var(--navy-primary);
}

/* Card Buttons (Harmonious & Sleek) */
.academic-wing-card .wing-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.academic-wing-card .btn-royal {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--navy-primary) 100%);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.18);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.academic-wing-card .btn-royal:hover {
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-1px);
}

.academic-wing-card .btn-royal i {
    transition: transform 0.25s ease;
}

.academic-wing-card:hover .btn-royal i {
    transform: translateX(4px);
}

.academic-wing-card .btn-outline-wing {
    background: #ffffff;
    border: 1.5px solid rgba(var(--primary-rgb), 0.3);
    color: var(--royal-blue);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.academic-wing-card .btn-outline-wing:hover {
    background: rgba(var(--primary-rgb), 0.08);
    border-color: var(--royal-blue);
    color: var(--navy-primary);
    transform: translateY(-1px);
}

/* VIP Admission Enquiry Card (6th Card - Harmonious Executive Color Palette) */
.academic-vip-cta-card {
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.18), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(var(--primary-rgb), 0.28), transparent 50%),
        linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-primary) 55%, var(--royal-blue) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-top: 4px solid var(--gold-accent) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2), 0 0 20px rgba(var(--primary-rgb), 0.12) !important;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.academic-vip-cta-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, 0.3) !important;
    border-top-color: #ffd54f !important;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.32), 0 0 30px rgba(var(--primary-rgb), 0.22) !important;
}

.vip-badge-status {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ffd54f 0%, var(--gold-accent) 100%);
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    padding: 5px 13px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.vip-badge-stream {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.vip-card-title {
    color: #ffffff !important;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.vip-card-desc {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.88rem;
    line-height: 1.62;
    text-align: left !important;
}

.academic-vip-cta-card .admission-feature-item {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.academic-vip-cta-card .admission-feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 201, 71, 0.35);
    transform: translateX(3px);
}

.academic-vip-cta-card .admission-feature-item i {
    color: var(--gold-accent) !important;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.btn-vip-apply {
    background: linear-gradient(135deg, #ffd54f 0%, var(--gold-accent) 55%, var(--gold-dark) 100%);
    color: var(--navy-dark) !important;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
    text-align: center;
}

.btn-vip-apply:hover {
    background: linear-gradient(135deg, #ffe082 0%, #ffd54f 60%, var(--gold-accent) 100%);
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
}

.btn-vip-prospectus {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
    text-align: center;
}

.btn-vip-prospectus:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
    transform: translateY(-1px);
}


/* Statistics Counter Ribbon */
.stats-ribbon {
    background:
        radial-gradient(circle at top right, rgba(255, 201, 71, 0.16), transparent 50%),
        linear-gradient(135deg, var(--navy-primary) 0%, #123163 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 42px 32px;
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--gold-accent);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--gold-accent);
    line-height: 1.1;
}

/* Notice Board Scroll List */
.notice-board-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.notice-board-header {
    background: linear-gradient(135deg, var(--navy-primary), var(--royal-blue));
    color: #fff;
    padding: 16px 20px;
    border-bottom: 3px solid var(--gold-accent);
}

/* Notice Board Looping Viewport & Track */
.notice-board-viewport {
    height: 440px;
    min-height: 440px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

.notice-board-viewport::before,
.notice-board-viewport::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 24px;
    z-index: 3;
    pointer-events: none;
}

.notice-board-viewport::before {
    top: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
}

.notice-board-viewport::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
}

.notice-scroll-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    will-change: transform;
    -webkit-animation: scrollNoticesLoop 36s linear infinite;
    animation: scrollNoticesLoop 36s linear infinite;
}

@-webkit-keyframes scrollNoticesLoop {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

@keyframes scrollNoticesLoop {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

/* Pause State ONLY via class, never on entire viewport hover */
.notice-scroll-track.is-paused {
    -webkit-animation-play-state: paused !important;
    animation-play-state: paused !important;
}

.notice-scroll-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
}

.notice-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: noticeDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    flex-shrink: 0;
}

@keyframes noticeDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.notice-scroll-toggle {
    font-size: 0.8rem;
    line-height: 1.4;
    border-color: rgba(255, 255, 255, 0.35);
    transition: all 0.2s ease;
}

.notice-scroll-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-list-item {
    padding: 14px 18px;
    border-bottom: 1px dashed var(--border-color);
    transition: background 0.2s;
}

.notice-list-item:hover {
    background: var(--surface-light);
}

.notice-date-badge {
    min-width: 60px;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--royal-blue);
    border-radius: 10px;
    text-align: center;
    padding: 6px 8px;
}

/* Page Inner Banner */
.page-hero-banner {
    background:
        radial-gradient(circle at 80% 25%, rgba(255, 201, 71, 0.18), transparent 45%),
        linear-gradient(135deg, var(--navy-primary) 0%, #13366e 60%, var(--royal-blue) 100%);
    color: #fff;
    padding: 58px 0;
    border-bottom: 4px solid var(--gold-accent);
    position: relative;
}

.page-hero-banner h1 {
    font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    letter-spacing: 0.02em;
    font-weight: 800;
}

.page-hero-banner .breadcrumb {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.page-hero-banner .breadcrumb-item a {
    color: var(--gold-accent);
    font-weight: 600;
}

.page-hero-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.site-footer {
    background:
        radial-gradient(circle at 15% 10%, rgba(24, 90, 219, 0.18), transparent 40%),
        radial-gradient(circle at 85% 90%, rgba(245, 158, 11, 0.12), transparent 45%),
        var(--navy-dark);
    color: rgba(255, 255, 255, 0.82);
    border-top: 5px solid var(--gold-accent);
    padding-top: 48px;
    position: relative;
    z-index: 20;
    clear: both;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: auto;
}

.footer-brand-strip {
    background: rgba(255, 255, 255, 0.02);
}

.footer-emblem-box {
    width: 68px;
    height: 68px;
    max-width: 68px;
    max-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
}

.footer-emblem-img {
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.footer-emblem-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy-primary), var(--royal-blue));
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1.5px solid var(--gold-accent);
    flex-shrink: 0;
}

.footer-brand-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin-bottom: 4px;
}

@media (max-width: 575.98px) {

    .footer-emblem-box,
    .footer-emblem-img {
        width: 52px !important;
        height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
    }

    .footer-brand-title {
        font-size: 1.05rem;
    }
}

.footer-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 201, 71, 0.35);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.footer-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--gold-accent);
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.footer-trust-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid var(--gold-accent) !important;
}

.site-footer h5 {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 3px;
    background: var(--gold-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    display: inline-block;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
    transform: translateX(2px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.42);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 13px 0;
    margin-top: 36px;
    font-size: 0.86rem;
    width: 100%;
    max-width: 100%;
}

.footer-techsarthi-link {
    transition: all 0.2s ease;
    border-bottom: 1px dotted rgba(255, 201, 71, 0.5);
}

.footer-techsarthi-link:hover {
    color: #ffffff !important;
    border-bottom-color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 201, 71, 0.4);
}

/* ==========================================================================
   Achievements & Board Results — Continuous "Run Right to Left" Reel
   ========================================================================== */
.achievements-carousel-section {
    position: relative;
    overflow: hidden;
}

/* Nav & Play/Pause Buttons in Header */
.ach-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: var(--navy-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.ach-nav-btn:hover {
    background: var(--navy-primary);
    color: #ffffff;
    border-color: var(--navy-primary);
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.ach-nav-btn:active {
    transform: scale(0.95);
}

.ach-nav-btn:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
}

.ach-play-pause-btn {
    border-color: rgba(var(--primary-rgb), 0.3);
    color: var(--royal-blue);
}

.ach-play-pause-btn:hover {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    color: #ffffff;
}

/* Continuous Running Marquee Reel Wrapper */
.achievements-marquee-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    contain: paint;
    padding: 10px 0 16px 0;
}

.achievements-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    -webkit-animation: runAchievementsRightToLeft 32s linear infinite;
    animation: runAchievementsRightToLeft 32s linear infinite;
}

/* Hover & Pause States */
.achievements-marquee-track:hover,
.achievements-marquee-track.is-paused {
    -webkit-animation-play-state: paused !important;
    animation-play-state: paused !important;
}

/* Reverse Direction */
.achievements-marquee-track.is-reversed {
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

/* Keyframes: Smooth continuous right to left motion */
@-webkit-keyframes runAchievementsRightToLeft {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(calc(-50% - 12px), 0, 0);
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

@keyframes runAchievementsRightToLeft {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(calc(-50% - 12px), 0, 0);
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

/* Slide Item Widths inside Running Reel */
.achievement-slide-item {
    flex: 0 0 350px;
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .achievement-slide-item {
        flex: 0 0 300px;
        width: 300px;
        min-width: 300px;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    .achievement-slide-item {
        flex: 0 0 280px;
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

/* Achievement Card Polish */
.achievement-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.achievement-img-wrap {
    height: 195px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.achievement-img-wrap .achievement-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Floating Badges on Image */
.achievement-score-pill {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 5px 12px;
    border-radius: 50rem;
    border: 1px solid rgba(255, 193, 7, 0.65);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.achievement-year-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.76rem;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 2;
}

/* Card Content Details */
.achievement-card .achievement-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.38;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.achievement-card .achievement-achiever {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--royal-blue);
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
}

.achievement-card .achievement-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #64748b;
    margin-bottom: 0;
}

/* Achievement Card Image Zoom Overlay & Clickable Link */
.achievement-img-link {
    cursor: pointer;
    text-decoration: none;
    display: block;
    height: 100%;
}

.achievement-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3;
}

.achievement-zoom-overlay i {
    transform: scale(0.75);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(15, 23, 42, 0.8);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.achievement-img-wrap:hover .achievement-zoom-overlay {
    opacity: 1;
}

.achievement-img-wrap:hover .achievement-zoom-overlay i {
    transform: scale(1);
}

/* ==========================================================================
   Upcoming & Recent Events — Continuous "Run Right to Left" Reel
   ========================================================================== */
.events-carousel-section {
    position: relative;
    overflow: hidden;
}

/* Nav & Play/Pause Buttons in Header */
.events-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: var(--navy-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.events-nav-btn:hover {
    background: var(--navy-primary);
    color: #ffffff;
    border-color: var(--navy-primary);
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.events-nav-btn:active {
    transform: scale(0.95);
}

.events-nav-btn:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
}

.events-play-pause-btn {
    border-color: rgba(var(--primary-rgb), 0.3);
    color: var(--royal-blue);
}

.events-play-pause-btn:hover {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    color: #ffffff;
}

/* Continuous Running Marquee Reel Wrapper */
.events-marquee-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    contain: paint;
    padding: 10px 0 16px 0;
}

.events-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    -webkit-animation: runEventsRightToLeft 34s linear infinite;
    animation: runEventsRightToLeft 34s linear infinite;
}

/* Hover & Pause States */
.events-marquee-track:hover,
.events-marquee-track.is-paused {
    -webkit-animation-play-state: paused !important;
    animation-play-state: paused !important;
}

/* Reverse Direction */
.events-marquee-track.is-reversed {
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

/* Keyframes: Smooth continuous right to left motion */
@-webkit-keyframes runEventsRightToLeft {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(calc(-50% - 12px), 0, 0);
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

@keyframes runEventsRightToLeft {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(calc(-50% - 12px), 0, 0);
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

/* Slide Item Widths inside Running Reel */
.event-slide-item {
    flex: 0 0 360px;
    width: 360px;
    min-width: 360px;
    max-width: 360px;
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .event-slide-item {
        flex: 0 0 310px;
        width: 310px;
        min-width: 310px;
        max-width: 310px;
    }
}

@media (max-width: 575.98px) {
    .event-slide-item {
        flex: 0 0 285px;
        width: 285px;
        min-width: 285px;
        max-width: 285px;
    }
}

/* Event Card Polish */
.event-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.event-img-wrap {
    height: 205px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.event-img-wrap .event-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Date Chip Overlay */
.event-date-chip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 201, 71, 0.55);
    border-radius: 10px;
    padding: 5px 12px;
    text-align: center;
    color: #ffffff;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.event-date-day {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-accent);
    line-height: 1;
}

.event-date-month {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f1f5f9;
    line-height: 1.2;
}

.event-card .event-title {
    font-size: 1.05rem;
    color: var(--navy-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Campus Photo & Video Gallery Showcase
   ========================================================================== */
.gallery-showcase-section {
    background-color: #f8fafc;
}

.gallery-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.gallery-img-link {
    display: block;
    position: relative;
    height: 220px;
    background: #0f172a;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img-link .gallery-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-category-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 3;
}

.gallery-hover-overlay i {
    transform: scale(0.75);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.gallery-img-link:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-img-link:hover .gallery-hover-overlay i {
    transform: scale(1);
}

.gallery-card-title {
    color: var(--navy-primary);
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.gallery-card:hover .gallery-card-title {
    color: var(--royal-blue);
}

.gallery-view-cta {
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.gallery-card:hover .gallery-view-cta {
    transform: translateX(3px);
}

/* ==========================================================================
   DYNAMIC WEBSITE VISITOR COUNTER
   ========================================================================== */
.visitor-counter-heading .visitor-label,
.footer-bottom .visitor-label {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    font-family: 'Outfit', var(--font-primary), sans-serif;
    color: rgba(255, 255, 255, 0.9);
}

.visitor-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: visitorDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    flex-shrink: 0;
}

@keyframes visitorDotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.visitor-odometer {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 5px;
    background: rgba(3, 7, 18, 0.65);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 6px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.visitor-digit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 28px;
    font-family: 'Outfit', 'Plus Jakarta Sans', monospace, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
    color: #FCD34D;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 50%, #050b14 100%);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 4px rgba(0, 0, 0, 0.4);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    user-select: none;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Classic mechanical split-flap divider line */
.visitor-digit::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.visitor-stat-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    transition: all 0.25s ease;
}

.visitor-stat-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(245, 158, 11, 0.45);
    transform: translateY(-1px);
}

.visitor-stat-chip strong {
    font-weight: 700;
    color: #ffffff;
    margin-left: 2px;
}

.visitor-chip-live {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #6EE7B7;
}

.visitor-chip-live strong {
    color: #A7F3D0;
}

.live-dot-mini {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
    animation: visitorDotPulse 1.8s infinite;
}

@media (max-width: 575.98px) {
    .visitor-counter-heading .visitor-label {
        font-size: 0.76rem;
    }

    .visitor-digit {
        width: 22px;
        height: 29px;
        font-size: 0.98rem;
    }

    .visitor-odometer {
        gap: 3px;
        padding: 2px 4px;
    }

    .visitor-stat-chip {
        padding: 4px 9px;
        font-size: 0.74rem;
    }
}

/* ==========================================================================
   Dedicated Executive Section: From the Principal's Desk
   ========================================================================== */
.principal-desk-section {
    background:
        radial-gradient(circle at 10% 20%, rgba(24, 90, 219, 0.05), transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.06), transparent 45%),
        #F8FAFC;
    position: relative;
    overflow: hidden;
}

.principal-desk-card {
    background: #ffffff;
    border-radius: var(--radius-lg, 22px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.principal-desk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5px;
    background: linear-gradient(90deg, var(--navy-primary) 0%, var(--royal-blue) 45%, var(--gold-accent) 100%);
}

.principal-portrait-wrapper {
    position: relative;
    width: 190px;
    height: 190px;
}

.principal-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ffffff;
    outline: 3px solid var(--gold-accent);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.principal-desk-card:hover .principal-portrait-img {
    transform: scale(1.03);
}

.principal-badge-floating {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-accent), #d97706);
    color: #0f172a;
    font-weight: 800;
    font-size: 0.73rem;
    padding: 4px 14px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.principal-name {
    color: var(--navy-primary);
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
}

.principal-quote-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid var(--gold-accent);
    border-radius: 0 16px 16px 0;
    padding: 22px 26px;
    position: relative;
}

.principal-quote-icon {
    font-size: 2.8rem;
    color: var(--gold-accent);
    opacity: 0.35;
    position: absolute;
    top: 8px;
    right: 18px;
    line-height: 1;
    pointer-events: none;
}

.principal-quote-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-primary);
    line-height: 1.6;
    font-style: italic;
}

.principal-quote-body {
    font-size: 0.94rem;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .principal-desk-card {
        padding: 28px 20px;
    }
    .principal-portrait-wrapper {
        width: 160px;
        height: 160px;
    }
}

/* ==========================================================================
   Our Revered Patrons & Inspirations Section
   ========================================================================== */
.patrons-section {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--surface-light) 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.patrons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
}

.patrons-sanstha-strip {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.75) 0%, rgba(253, 230, 138, 0.45) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.patron-card {
    background: #ffffff;
    border-radius: var(--radius-md, 18px);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.patron-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-primary) 0%, var(--royal-blue) 50%, var(--gold-accent) 100%);
    opacity: 0.85;
    transition: height 0.25s ease, opacity 0.25s ease;
}

.patron-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    border-color: rgba(245, 158, 11, 0.55);
}

.patron-card:hover::before {
    height: 5px;
    opacity: 1;
}

.patron-portrait-box {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.patron-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3.5px solid #ffffff;
    outline: 2.5px solid var(--gold-accent);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
    background: var(--navy-primary);
    transition: transform 0.35s ease, outline-color 0.35s ease;
}

.patron-card:hover .patron-portrait-img {
    transform: scale(1.05);
    outline-color: var(--royal-blue);
}

.patron-badge-role {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
}

.patron-name-en {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1.3;
    margin-bottom: 3px;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.patron-name-mr {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--royal-blue);
    line-height: 1.35;
    margin-bottom: 6px;
}

.patron-designation {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.patron-quote-box {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
    border-left: 3px solid var(--gold-accent);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-style: italic;
    color: #1e293b;
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
}

.patron-desc {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 0;
}

/* Continuous Running Reel (Right to Left) for Patrons */
.patrons-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    contain: paint;
    padding: 12px 0 20px 0;
}

.patrons-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    -webkit-animation: runPatronsRightToLeft 34s linear infinite;
    animation: runPatronsRightToLeft 34s linear infinite;
}

.patrons-marquee-track:hover,
.patrons-marquee-track.is-paused {
    -webkit-animation-play-state: paused !important;
    animation-play-state: paused !important;
}

.patrons-marquee-track.is-reversed {
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

@-webkit-keyframes runPatronsRightToLeft {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(calc(-50% - 12px), 0, 0);
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

@keyframes runPatronsRightToLeft {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(calc(-50% - 12px), 0, 0);
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

.patron-slide-item {
    flex: 0 0 350px;
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    box-sizing: border-box;
}

/* Nav & Play/Pause Buttons */
.patron-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: var(--navy-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.patron-nav-btn:hover {
    background: var(--navy-primary);
    color: #ffffff;
    border-color: var(--navy-primary);
    transform: scale(1.06);
}

.patron-play-pause-btn {
    border-color: var(--gold-accent);
    color: var(--gold-dark);
}

.patron-play-pause-btn:hover {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    color: #0f172a;
}

/* ==========================================================================
   Campus Photo & Video Gallery — Continuous "Run Right to Left" Reel
   ========================================================================== */
.gallery-showcase-section {
    position: relative;
    overflow: hidden;
}

.gallery-nav-group {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.95);
    padding: 4px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.gallery-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: var(--navy-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.gallery-nav-btn:hover {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    color: #ffffff;
    transform: scale(1.05);
}

.gallery-play-pause-btn {
    background: var(--surface-light);
    color: var(--royal-blue);
}

.gallery-play-pause-btn:hover {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    color: #ffffff;
}

/* Continuous Running Marquee Reel Wrapper */
.gallery-marquee-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    contain: paint;
    padding: 10px 0 16px 0;
}

.gallery-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    -webkit-animation: runGalleryRightToLeft 30s linear infinite;
    animation: runGalleryRightToLeft 30s linear infinite;
}

.gallery-marquee-track:hover,
.gallery-marquee-track.is-paused {
    -webkit-animation-play-state: paused !important;
    animation-play-state: paused !important;
}

.gallery-marquee-track.is-reversed {
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

@-webkit-keyframes runGalleryRightToLeft {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(calc(-50% - 12px), 0, 0);
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

@keyframes runGalleryRightToLeft {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(calc(-50% - 12px), 0, 0);
        transform: translate3d(calc(-50% - 12px), 0, 0);
    }
}

.gallery-slide-item {
    flex: 0 0 360px;
    width: 360px;
    min-width: 360px;
    max-width: 360px;
    box-sizing: border-box;
}

.gallery-slide-item .gallery-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-slide-item .gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.gallery-slide-item .gallery-img-link {
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.gallery-slide-item .gallery-img {
    height: 220px;
    transition: transform 0.4s ease;
}

.gallery-slide-item .gallery-img-link:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-title-link {
    transition: color 0.2s ease;
}

.gallery-title-link:hover {
    color: var(--royal-blue) !important;
}

@media (max-width: 767.98px) {
    .gallery-slide-item {
        flex: 0 0 310px;
        width: 310px;
        min-width: 310px;
        max-width: 310px;
    }
    .gallery-slide-item .gallery-img-link,
    .gallery-slide-item .gallery-img {
        height: 190px;
    }
}

@media (max-width: 575.98px) {
    .gallery-slide-item {
        flex: 0 0 285px;
        width: 285px;
        min-width: 285px;
        max-width: 285px;
    }
    .gallery-slide-item .gallery-img-link,
    .gallery-slide-item .gallery-img {
        height: 175px;
    }
}

/* ==========================================================================
   Hostel Facilities Portal Dedicated Styles
   ========================================================================== */
.hostel-subnav-sticky {
    position: sticky;
    top: 70px;
    z-index: 990;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.hostel-nav-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.hostel-nav-pills::-webkit-scrollbar {
    height: 4px;
}

.hostel-nav-pills::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.hostel-nav-btn {
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--navy-primary);
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hostel-nav-btn:hover,
.hostel-nav-btn.active {
    background: var(--royal-blue);
    color: #FFFFFF !important;
    border-color: var(--royal-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.25);
}

.hostel-facility-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hostel-facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: rgba(29, 78, 216, 0.25);
}

.hostel-facility-card .icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    background: #EFF6FF;
    color: var(--royal-blue);
    transition: transform 0.3s ease;
}

.hostel-facility-card:hover .icon-box {
    transform: scale(1.1) rotate(2deg);
}

.hostel-routine-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.hostel-routine-item:hover {
    background: #F8FAFC;
    border-color: #E2E8F0;
    transform: translateX(4px);
}

.hostel-routine-time {
    min-width: 130px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--royal-blue);
    background: #EFF6FF;
    padding: 4px 10px;
    border-radius: 8px;
    text-align: center;
    display: inline-block;
}

.hostel-routine-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy-primary);
    margin-bottom: 2px;
}

.hostel-routine-desc {
    font-size: 0.82rem;
    color: #64748B;
    margin-bottom: 0;
}

.hostel-warden-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 28px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.hostel-warden-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
    border-color: rgba(29, 78, 216, 0.2);
}

.hostel-warden-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 18px;
    object-fit: cover;
    border: 4px solid #EFF6FF;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.hostel-gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0F172A;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hostel-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.15);
}

.hostel-gallery-thumb {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hostel-gallery-card:hover .hostel-gallery-thumb {
    transform: scale(1.06);
}

.hostel-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #FFFFFF;
    transition: background 0.3s ease;
}

.hostel-gallery-card:hover .hostel-gallery-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.hostel-gallery-zoom-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.hostel-gallery-card:hover .hostel-gallery-zoom-badge {
    transform: scale(1.15);
    background: var(--royal-blue);
}

/* Lightbox Modal Custom */
#hostelLightboxModal .modal-content {
    background: transparent;
    border: none;
}

#hostelLightboxModal .modal-body {
    padding: 0;
    position: relative;
    text-align: center;
}

#hostelLightboxImg {
    max-height: 80vh;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

#hostelLightboxModal .btn-close-lightbox {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F172A;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

#hostelLightboxModal .btn-close-lightbox:hover {
    background: #FFFFFF;
    transform: scale(1.1);
}

/* ==========================================================================
   Academic Sections Enhanced Portal Styles
   ========================================================================== */
.section-nav-sticky {
    position: sticky;
    top: 70px;
    z-index: 990;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.section-nav-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.section-nav-pills::-webkit-scrollbar {
    height: 4px;
}

.section-nav-pills::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.section-nav-btn {
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--navy-primary);
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    transition: all 0.25s ease;
}

.section-nav-btn:hover,
.section-nav-btn.active {
    background: var(--royal-blue);
    color: #FFFFFF !important;
    border-color: var(--royal-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.25);
}

.stream-card {
    border-radius: 16px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
}

.stream-header-science {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    color: #FFFFFF;
    padding: 20px;
}

.stream-header-commerce {
    background: linear-gradient(135deg, #064E3B, #059669);
    color: #FFFFFF;
    padding: 20px;
}

.stream-header-arts {
    background: linear-gradient(135deg, #581C87, #7E22CE);
    color: #FFFFFF;
    padding: 20px;
}

.stream-header-mcvc {
    background: linear-gradient(135deg, #7C2D12, #EA580C);
    color: #FFFFFF;
    padding: 20px;
}

.academic-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.academic-table th {
    background: #F8FAFC;
    color: var(--navy-primary);
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid #E2E8F0;
}

.academic-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
}

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

.academic-table tr:hover td {
    background: #F8FAFC;
}

.timetable-period-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.timetable-period-row:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateX(3px);
}

.timetable-time-badge {
    min-width: 130px;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--royal-blue);
    background: #EFF6FF;
    padding: 4px 10px;
    border-radius: 6px;
    text-align: center;
}


