﻿/* ============================================================
   St. Francis's International School ‚ Premium Design System
   ============================================================ */
:root {
    --navy: #4A0E1E;
    --navy-2: #6B1430;
    --royal: #8E1F3C;
    --royal-2: #A82B4A;
    --royal-3: #E0526B;
    --gold: #E9B84C;
    --gold-2: #D69B2F;
    --light: #FCF9F3;
    --text: #3A282E;
    --muted: #7C6A70;
    --border: #E8DCC9;
    --white: #FFFFFF;
    --green: #10B981;
    --red: #EF4444;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-sm: 0 4px 14px rgba(74, 14, 30, .08);
    --shadow-md: 0 12px 34px rgba(74, 14, 30, .12);
    --shadow-lg: 0 24px 60px rgba(74, 14, 30, .16);
    --shadow-gold: 0 12px 34px rgba(214, 155, 47, .38);
    --font-head: 'Poppins', sans-serif;
    --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --grad-navy: linear-gradient(135deg, #4A0E1E 0%, #8E1F3C 100%);
    --grad-gold: linear-gradient(135deg, #E9B84C 0%, #D69B2F 100%);
    --grad-teal: linear-gradient(135deg, #A82B4A 0%, #E0526B 100%);
    --glass: rgba(255, 255, 255, .72);
    --bg-soft: #F5EDE0;
}

[data-theme="dark"] {
    --navy: #1B060E;
    --navy-2: #2A0B16;
    --royal: #A82B4A;
    --royal-2: #C03B57;
    --light: #150409;
    --text: #EDD9DC;
    --muted: #B9A2A7;
    --border: #3A1220;
    --white: #1F0910;
    --bg-soft: #200B12;
    --glass: rgba(31, 9, 16, .72);
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
    --shadow-md: 0 12px 34px rgba(0, 0, 0, .45);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
    color-scheme: dark;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--light);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    /* overflow-wrap: break-word; */
    /* word-break: break-word; */
    -webkit-font-smoothing: antialiased;
    transition: background .4s, color .4s;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    transition: color .4s;
}

[data-theme="dark"] h1, [data-theme="dark"] h2,
[data-theme="dark"] h3, [data-theme="dark"] h4,
[data-theme="dark"] h5, [data-theme="dark"] h6 {
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: .3s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

p {
    color: var(--muted);
}

.text-navy {
    color: var(--navy) !important;
}

.text-gold {
    color: var(--gold-2) !important;
}

.bg-navy {
    background: var(--grad-navy) !important;
}

.bg-gold {
    background: var(--grad-gold) !important;
}

.container {
    max-width: 1280px;
}

/* Custom scrollbar - navy + gold theme (matches navbar / Login / Home).
   Old maroon thumb: background: linear-gradient(var(--royal), var(--navy));
   Old track: background: var(--light); */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(17, 24, 68, .06);
}

::-webkit-scrollbar-thumb {
    background: #111844;
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
    background-clip: padding-box;
}

::selection {
    background: var(--gold);
    color: var(--navy);
}

/* ============ Preloader ============ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    /* Old: background: var(--navy); (maroon) */
    background: #111844;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    transition: opacity .6s, visibility .6s;
}

    #loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loader-logo {
    width: 84px;
    height: 84px;
    animation: floaty 2s ease-in-out infinite;
}

.loader-bar {
    width: 180px;
    height: 4px;
    background: rgba(255,255,255,.15);
    border-radius: 4px;
    overflow: hidden;
}

    .loader-bar::after {
        content: "";
        display: block;
        width: 40%;
        height: 100%;
        background: var(--grad-gold);
        border-radius: 4px;
        animation: slide 1.1s ease-in-out infinite;
    }

.loader-text {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

@keyframes slide {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(500%);
    }
}

@keyframes floaty {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ============ Top Bar ============ */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,.85);
    font-size: 13px;
    padding: 7px 0;
    position: relative;
    z-index: 1030;
}

    .topbar a {
        color: rgba(255,255,255,.85);
    }

        .topbar a:hover {
            color: var(--gold);
        }

.topbar-left {
    min-width: 0;
}

.topbar-crest {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.25));
}

.topbar-title {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

@media (max-width: 480px) {
    .topbar-title b {
        white-space: normal;
        font-size: 12px;
        line-height: 1.3;
    }
}

.topbar-title b {
    font-family: var(--font-head);
    font-size: 13.5px;
    color: #fff;
    letter-spacing: .4px;
    white-space: nowrap;
}

.topbar-title small {
    font-size: 10.5px;
    color: var(--gold);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 600;
}

.topbar-right {
    margin-left: auto;
}

.topbar .socials a {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    margin-left: 6px;
    font-size: 12px;
}

    .topbar .socials a:hover {
        background: var(--gold);
        color: var(--navy);
    }

.gold-seam {
    height: 3px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--gold-2));
    position: relative;
    z-index: 1030;
}

@media (max-width: 991.98px) {
    .topbar-title small {
        display: none;
    }
}

/* ============ Navbar ============ */
.navbar-main {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(74, 14, 30, .08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    border-bottom: 1px solid var(--border);
}

    .navbar-main .navbar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }

    .navbar-main .brand-logo {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
    }

.brand-text b {
    display: block;
    font-family: var(--font-head);
    font-size: 15px;
    color: var(--navy);
    line-height: 1.1;
}

.brand-text small {
    color: var(--royal-2);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

[data-theme="dark"] .brand-text b {
    color: #fff;
}

.navbar-main .nav-link {
    font-weight: 600;
    font-size: 12.5px;
    color: var(--navy) !important;
    padding: 26px 12px !important;
    position: relative;
}

[data-theme="dark"] .navbar-main .nav-link {
    color: #fff !important;
}

.navbar-main .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 18px;
    height: 3px;
    background: var(--grad-gold);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-main .nav-link:hover {
    color: var(--royal-2) !important;
}

.navbar-main .nav-caret {
    font-size: 9px;
    margin-left: 6px;
    vertical-align: 1px;
    opacity: .8;
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    min-width: 230px;
    background: var(--white);
    margin-top: 6px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 9px 14px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
}

    .dropdown-item:hover {
        background: var(--bg-soft);
        color: var(--royal);
        padding-left: 20px;
    }

.nav-cta {
    background: var(--grad-gold);
    color: var(--navy) !important;
    font-weight: 700;
    font-size: 10px;
    padding: 8px 15px !important;
    border-radius: 10px;
    box-shadow: var(--shadow-gold);
}

    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 38px rgba(233,184,76,.45);
    }

    .nav-cta::after {
        display: none !important;
    }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    width: 33px;
    height: 33px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: .3s;
}

    .icon-btn:hover {
        background: var(--navy);
        color: var(--gold);
        border-color: var(--navy);
    }

[data-theme="dark"] .icon-btn {
    color: #fff;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 11px;
    color: var(--navy);
    border: 1px solid var(--border);
    background: var(--bg-soft);
    padding: 7px 13px;
    border-radius: 12px;
    transition: .3s;
}

    .portal-btn:hover {
        background: var(--royal);
        color: #fff;
        border-color: var(--royal);
    }

[data-theme="dark"] .portal-btn {
    color: #fff;
}

.offcanvas {
    background: var(--white);
}

    .offcanvas .nav-link {
        padding: 12px 0 !important;
        font-weight: 600;
        color: var(--navy);
        border-bottom: 1px dashed var(--border);
    }

[data-theme="dark"] .offcanvas .nav-link {
    color: #fff;
}

.mobile-sub {
    padding-left: 18px;
}

/* ============ Buttons ============ */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: .35s;
    position: relative;
    overflow: hidden;
}

    .btn-premium:hover {
        transform: translateY(-3px);
        color: var(--navy);
        box-shadow: 0 18px 44px rgba(233,184,76,.5);
    }

    .btn-premium::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
        transform: translateX(-120%);
        transition: .6s;
    }

    .btn-premium:hover::after {
        transform: translateX(120%);
    }

.btn-outline-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,.4);
    transition: .35s;
}

    .btn-outline-premium:hover {
        background: #fff;
        color: var(--navy);
        transform: translateY(-3px);
    }

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-navy);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    transition: .35s;
}

    .btn-navy:hover {
        transform: translateY(-3px);
        color: #fff;
        box-shadow: var(--shadow-lg);
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--royal-2);
    background: rgba(168,43,74,.12);
    padding: 10px 20px;
    border-radius: 12px;
    transition: .3s;
}

    .btn-ghost:hover {
        background: var(--royal);
        color: #fff;
    }

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: -5%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    animation: kenburns 22s ease-in-out infinite alternate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(46,8,17,.94) 0%, rgba(142,31,60,.82) 45%, rgba(74,14,30,.35) 100%);
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.12);
    }
}

.hero-content {
    padding: 150px 0 120px;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: center;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
}

    .hero-badge .dot {
        width: 8px;
        height: 8px;
        background: var(--gold);
        border-radius: 50%;
        animation: pulse-dot 1.6s infinite;
    }

@keyframes pulse-dot {
    0%,100% {
        box-shadow: 0 0 0 0 rgba(233,184,76,.6);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(233,184,76,0);
    }
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5.5vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -.5px;
}

    .hero h1 .gold {
        background: linear-gradient(90deg, #E9B84C, #F6DFA8);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero p.lead {
    color: rgba(255,255,255,.85);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 640px;
}

.hero-text-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}



.hero-divider {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

    .hero-divider::before, .hero-divider::after {
        content: "";
        width: 54px;
        height: 4px;
        background: var(--grad-gold);
        border-radius: 4px;
    }

    .hero-divider i {
        color: var(--gold);
        font-size: 15px;
    }

.hero .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-stats {
    position: relative;
    z-index: 3;
    padding-bottom: 0;
    margin-top: -70px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: .4s;
}

    .stat-card:hover {
        transform: translateY(-8px);
    }

.stat-icon {
    font-size: 26px;
    color: var(--royal-2);
}

.stat-num {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
}

    .stat-num .suffix {
        color: var(--gold-2);
    }

.stat-label {
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
}

.hero-scroll {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,.7);
    border-radius: 14px;
    position: relative;
}

    .mouse::after {
        content: "";
        position: absolute;
        top: 7px;
        left: 50%;
        width: 4px;
        height: 9px;
        margin-left: -2px;
        background: var(--gold);
        border-radius: 4px;
        animation: wheel 1.6s infinite;
    }

@keyframes wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

/* ---------- Hero trust row ---------- */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 30px;
    flex-wrap: wrap;
}

    .hero-trust > div {
        display: flex;
        flex-direction: column;
    }

    .hero-trust b {
        font-family: var(--font-head);
        font-size: 1.3rem;
        color: #fff;
        line-height: 1.1;
    }

    .hero-trust span {
        font-size: 11px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: rgba(255,255,255,.6);
        font-weight: 600;
    }

    .hero-trust .sep {
        width: 1px;
        height: 32px;
        background: rgba(255,255,255,.25);
    }

/* ---------- Heritage crest card ---------- */
.crest-card {
    position: relative;
    background: rgba(74,14,30,.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(233,184,76,.4);
    border-radius: 24px;
    padding: 40px 30px 30px;
    text-align: center;
    right: 6px;
    width: 340px;
    max-width: 100%;
    box-shadow: 0 34px 70px rgba(46,8,17,.45);
    animation: float 5s ease-in-out infinite;
}

    .crest-card .corner {
        position: absolute;
        width: 26px;
        height: 26px;
        border: 3px solid var(--gold);
    }

        .crest-card .corner.tl {
            top: -3px;
            left: -3px;
            border-right: none;
            border-bottom: none;
            border-radius: 20px 0 0 0;
        }

        .crest-card .corner.tr {
            top: -3px;
            right: -3px;
            border-left: none;
            border-bottom: none;
            border-radius: 0 20px 0 0;
        }

        .crest-card .corner.bl {
            bottom: -3px;
            left: -3px;
            border-right: none;
            border-top: none;
            border-radius: 0 0 0 20px;
        }

        .crest-card .corner.br {
            bottom: -3px;
            right: -3px;
            border-left: none;
            border-top: none;
            border-radius: 0 0 20px 0;
        }

.crest-emblems {
    width: 108px;
    height: 108px;
    margin: 0 auto 16px;
    animation: float 3.2s ease-in-out infinite;
    filter: drop-shadow(0 12px 26px rgba(233,184,76,.4));
}

.crest-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: .5px;
}

.crest-sub {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 4px 0 0;
}

.crest-rule {
    width: 70px;
    height: 3px;
    background: var(--grad-gold);
    margin: 16px auto;
    border-radius: 3px;
}

.crest-motto {
    color: rgba(255,255,255,.88);
    font-family: var(--font-head);
    font-style: italic;
    font-size: 14px;
    margin-bottom: 4px;
}

.crest-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

    .crest-stats .float-chip {
        justify-content: flex-start;
        padding: 8px 5px;
        font-size: 10.5px;
    }

/* ============ Section headers ============ */

.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--bg-soft);
}

.section-head {
    position: relative;
    margin-bottom: 50px;
    padding-top: 45px; /* Badge ke liye space */
}

/* Badge */

.eyebrow {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* Old: color: var(--royal-2); (pink/maroon) */
    color: var(--navy-ink); /* existing blue shade */
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 2px dashed var(--royal-2);
    border-radius: 12px;
    background: var(--white);
    z-index: 2;
}

    .eyebrow::before {
        content: "";
        width: 28px;
        height: 3px;
        /* Golden line before the eyebrow text */
        background: var(--grad-gold);
        border-radius: 3px;
    }

/* Heading */

.section-title {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 800;
    margin-top: 10px;
    color: var(--navy);
}

    /* Pink highlight -> premium gold accent word */
    .section-title .g {
        /* Old: color: var(--royal-2); (red/maroon) */
        background: var(--grad-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    /* Main quote text (chairman / principal / headmistress / manager /
       head boy / head girl messages) - was inheriting the maroon
       .section-title colour. Quote only: normal headings untouched,
       the author span keeps its gold accent (.section-title .g). */
    .msg-intro .section-title {
        /* Old: color: inherit; (maroon var(--navy) from .section-title) */
        color: var(--navy-ink); /* existing blue shade */
    }

/* Subtitle */

.section-sub {
    max-width: 640px;
    margin-top: 12px;
}

/* Mobile */

@media (max-width:768px) {

    .section-head {
        padding-top: 55px;
        text-align: center;
    }

    .eyebrow {
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }

    .section-sub {
        margin-left: auto;
        margin-right: auto;
    }
}

#about .col-lg-6:first-child {
    position: relative;
}

#about .eyebrow {
    position: absolute;
    top: -40px;
    margin-left: 20px;
    z-index: 10;
}

#events .eyebrow {
    position: absolute;
    top: 50px;
    left: 20px;
}

#app .col-lg-6 {
    position: relative;
    padding-top: 40px;
}

#app .eyebrow {
    position: absolute;
    top: -40px;
    left: 20px;
}
/* ============ Cards ============ */
.card-premium {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-top: 3px solid rgba(233,184,76,.28);
    box-shadow: var(--shadow-sm);
    transition: .4s;
    height: 100%;
    overflow: hidden;
}

    .card-premium:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md);
        border-top-color: var(--gold-2);
    }

    .card-premium .card-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        background: rgba(168,43,74,.12);
        color: var(--royal-2);
        margin-bottom: 16px;
        transition: .4s;
    }

    .card-premium:hover .card-icon {
        background: var(--grad-navy);
        color: var(--gold);
        transform: rotate(-6deg) scale(1.05);
    }

    .card-premium h4 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    .card-premium p {
        font-size: 14.5px;
    }

.feature-card {
    position: relative;
    padding: 30px 26px;
}

    .feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 26px;
        right: 26px;
        height: 4px;
        background: var(--grad-gold);
        border-radius: 0 0 6px 6px;
        transform: scaleX(0);
        transition: .4s;
    }

    .feature-card:hover::before {
        transform: scaleX(1);
    }

/* ============ Image cards / gallery ============ */
.img-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
}

    .img-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .7s;
    }

    .img-card:hover img {
        transform: scale(1.12);
    }

    .img-card .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(46,8,17,.92), transparent 60%);
        opacity: 0;
        transition: .5s;
        display: flex;
        align-items: flex-end;
        padding: 24px;
    }

    .img-card:hover .overlay {
        opacity: 1;
    }

    .img-card .overlay h5 {
        color: #fff;
        margin-bottom: 4px;
    }

    .img-card .overlay p {
        color: rgba(255,255,255,.8);
        font-size: 13px;
        margin: 0;
    }

/* ============ Glass cards ============ */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius);
    padding: 26px;
}

/* ============ About preview ============ */
.about-media {
    position: relative;
}

    .about-media .exp-badge {
        position: absolute;
        bottom: -24px;
        right: 24px;
        background: var(--grad-gold);
        color: var(--navy);
        padding: 18px 22px;
        border-radius: 18px;
        text-align: center;
        box-shadow: var(--shadow-gold);
    }

        .about-media .exp-badge b {
            font-size: 1.6rem;
            font-family: var(--font-head);
            display: block;
            line-height: 1;
        }

        .about-media .exp-badge span {
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
        }

.img-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text);
}

    .check-list li::before {
        content: "•";
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
        background: rgba(233,184,76,.2);
        color: var(--gold-2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 13px;
    }

/* ============ Tabs / pills ============ */
.pill-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pill {
    padding: 11px 22px;
    border-radius: 40px;
    background: var(--white);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    transition: .3s;
}

    .pill:hover {
        color: var(--royal);
        border-color: var(--royal-2);
    }

    .pill.active {
        background: var(--grad-navy);
        color: #fff;
        border-color: transparent;
        box-shadow: var(--shadow-md);
    }

/* ============ Timeline ============ */
.timeline {
    position: relative;
    padding: 20px 0;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(var(--royal-3), var(--gold));
        transform: translateX(-50%);
    }

.tl-item {
    position: relative;
    width: 50%;
    padding: 20px 50px;
}

    .tl-item:nth-child(odd) {
        left: 0;
        text-align: right;
    }

    .tl-item:nth-child(even) {
        left: 50%;
    }

    .tl-item .dot {
        position: absolute;
        top: 34px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--gold);
        border: 4px solid var(--white);
        box-shadow: 0 0 0 3px var(--royal-2);
    }

    .tl-item:nth-child(odd) .dot {
        right: -9px;
    }

    .tl-item:nth-child(even) .dot {
        left: -9px;
    }

.tl-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

    .tl-card .year {
        color: var(--gold-2);
        font-weight: 800;
        font-family: var(--font-head);
    }

    .tl-card h5 {
        margin: 4px 0;
        font-size: 1.05rem;
    }

    .tl-card p {
        font-size: 14px;
        margin: 0;
    }

@media (max-width: 768px) {
    .timeline::before {
        left: 18px;
    }

    .tl-item, .tl-item:nth-child(even), .tl-item:nth-child(odd) {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 16px 20px 16px 56px;
    }

        .tl-item:nth-child(odd) .dot, .tl-item:nth-child(even) .dot {
            left: 9px;
            right: auto;
        }
}

.ticker {
    /* Old: background: var(--grad-navy); (maroon) */
    background: #111844;
    /* Old: color: #fff; (white ticker text)
       Old: color: #E9B84C; (flat yellow)
       Old: color: #F1C75B; (flat yellow) */
    color: #D4AF37; /* fallback only - real text gets metallic gradient */
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

    .ticker .container {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap;
        position: relative; /* zaroori for mask positioning */
    }

    .ticker .label {
        /* Old: background: var(--grad-gold); (flat yellow gradient) */
        background: linear-gradient(135deg, #F1C75B 0%, #D4AF37 100%);
        color: var(--navy);
        font-weight: 800;
        font-size: 13px;
        letter-spacing: 1px;
        padding: 9px 18px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        flex: 0 0 auto; /* fixed, non-shrinking Notice button */
        position: relative;
        z-index: 3; /* sabse upar */
    }




/* Scroll-area clip: a non-animated wrapper that begins exactly after the
   fixed "Notice" button (+gap). All animated ticker-track content is clipped
   to this fixed box, so scrolling text can never render behind, under, or
   inside the Notice button — it starts and ends at the button's right edge. */
.ticker-scroll {
    flex: 1 1 0%; /* clip area = exactly the space after the Notice button */
    min-width: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ticker-track {
    display: inline-flex;
    gap: 48px;
    white-space: nowrap;
    animation: tick 32s linear infinite;
    min-width: max-content;
    position: relative;
    z-index: 1;
    padding-left: 20px;
}

    .ticker-track span {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 15px;
        letter-spacing: .5px;
        /* Old: color: rgba(255, 255, 255, .9); (white)
           Old: color: #E9B84C; (flat yellow)
           Old: color: #F1C75B; + flat text-shadow (prevented metallic look) */
        background-image: linear-gradient(180deg, #FFF1A8 0%, #F5D76E 25%, #D4AF37 55%, #B8860B 80%, #F5D76E 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
    }

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-track a {
    /* Old: color: rgba(255, 255, 255, 0.9); (white)
       Old: color: #E9B84C; (flat yellow)
       Old: color: #F1C75B; + flat text-shadow (prevented metallic look) */
    background-image: linear-gradient(180deg, #FFF1A8 0%, #F5D76E 25%, #D4AF37 55%, #B8860B 80%, #F5D76E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-family: "Segoe Script", cursive; /* font badla */
    font-weight: 700; /* bold */
    font-size: 16px; /* size */
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .ticker-track a:hover {
        /* Old: color: var(--gold); / color: #FCE9A8; (flat yellow)
           Gradient text ignores `color`, so hover lifts the shine instead. */
        filter: brightness(1.18);
    }

    .ticker-track a::before {
        content: "•";
        /* Old: color: var(--gold); / color: #D4AF37; (flat gold) */
        background-image: linear-gradient(180deg, #FFF1A8 0%, #F5D76E 25%, #D4AF37 55%, #B8860B 80%, #F5D76E 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
        font-size: 11px;
    }

@keyframes tick {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============ Notice board list ============ */
.notice-item {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 32px 50px;
    transition: .3s;
    align-items: center;
}

    .notice-item:hover {
        box-shadow: var(--shadow-md);
        transform: translateX(6px);
        border-color: var(--royal-3);
    }

.notice-date {
    flex: 0 0 74px;
    background: var(--grad-navy);
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 10px 6px;
}

    .notice-date b {
        display: block;
        font-size: 1.4rem;
        font-family: var(--font-head);
        line-height: 1;
    }

    .notice-date small {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: rgba(255,255,255,.75);
    }

    .notice-tag {
        font-size: 11px;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 20px;
        letter-spacing: .5px;
    }

    .tag-imp {
        background: rgba(239,68,68,.12);
        color: var(--red);
    }

    .tag-acad {
        background: rgba(168,43,74,.12);
        color: var(--royal-2);
    }

    .tag-event {
        background: rgba(16,185,129,.12);
        color: var(--green);
    }

    .tag-gen {
        background: rgba(100,116,139,.14);
        color: var(--muted);
    }
    /* ============ Events ============ */
    .event-card {
        display: flex;
        gap: 20px;
        padding: 24px;
    }

    .event-date-box {
        flex: 0 0 84px;
        text-align: center;
        border-radius: 16px;
        background: var(--grad-gold);
        color: var(--navy);
        padding: 12px 8px;
        align-self: flex-start;
    }

        .event-date-box b {
            font-size: 1.9rem;
            font-family: var(--font-head);
            display: block;
            line-height: 1;
        }

        .event-date-box small {
            font-weight: 800;
            font-size: 11px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

    .countdown {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .cd-box {
        background: var(--grad-navy);
        color: #fff;
        border-radius: 14px;
        padding: 12px 18px;
        min-width: 72px;
        text-align: center;
    }

        .cd-box b {
            font-family: var(--font-head);
            font-size: 1.6rem;
            display: block;
            line-height: 1.1;
        }

        .cd-box span {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255,255,255,.7);
        }
    /* ============ Testimonials ============ */
    .testimonial-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 30px;
        box-shadow: var(--shadow-sm);
        height: 100%;
        position: relative;
    }

        .testimonial-card .quote-mark {
            font-size: 54px;
            color: var(--gold);
            font-family: serif;
            line-height: 1;
            position: absolute;
            top: 18px;
            right: 24px;
            opacity: .4;
        }

        .testimonial-card .stars {
            color: var(--gold);
            margin-bottom: 12px;
        }

        .testimonial-card .avatar {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--gold);
        }

    .carousel-control-custom {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--white);
        color: var(--navy);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: .3s;
        font-size: 18px;
    }

        .carousel-control-custom:hover {
            background: var(--gold);
            color: var(--navy);
            border-color: var(--gold);
        }
    /* ============ CTA band ============ */
    .cta-band {
        position: relative;
        overflow: hidden;
        border-radius: var(--radius);
        background: var(--grad-navy);
        padding: 70px 50px;
        color: #fff;
    }

        .cta-band::before, .cta-band::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            background: rgba(233,184,76,.14);
            filter: blur(40px);
        }

        .cta-band::before {
            width: 320px;
            height: 320px;
            top: -120px;
            right: -80px;
        }

        .cta-band::after {
            width: 260px;
            height: 260px;
            bottom: -100px;
            left: 10%;
        }

        .cta-band h2 {
            color: #fff;
        }

        .cta-band p {
            color: rgba(255,255,255,.85);
        }
    /* ============ Footer ============
.footer { background: var(--grad-navy); color: rgba(255,255,255,.75); padding: 0 0 0; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,184,76,.18), transparent 70%);
}
.footer::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--gold-2));
}
.footer-seal { text-align: center; padding-top: 30px; margin-bottom: 25px; }
.footer-seal .brand-logo { width: 60px; height: 60px; display: inline-flex; filter: drop-shadow(0 10px 26px rgba(233,184,76,.45)); animation: float 4s ease-in-out infinite; }
.footer-motto { color: var(--gold); font-family: var(--font-head); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: 12px; margin: 10px 0 0; }
.footer-seal-rule { width: 240px; height: 2px; margin: 12px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; position: relative; padding-bottom: 8px; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--grad-gold); border-radius: 3px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.75); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-links a::before { content: "•"; color: var(--gold); font-size: 12px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 8px; font-size: 14.5px; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 4px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #fff; margin-right: 8px; transition: .3s; font-size: 16px;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 12px 0; margin-top: 30px; font-size: 13.5px; }
.sitemap-links a { color: var(--royal-2); }
.sitemap-links a:hover { color: var(--gold-2); }
.newsletter input {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff;
  padding: 12px 16px; border-radius: 12px; width: 100%;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.footer-map { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); } */
    /* ============ Footer ============ */
    .footer {
        background: linear-gradient(135deg, #111844 0%, #111844 100%);
        color: rgba(255,255,255,.75);
        padding: 0 0 0;
        position: relative;
        overflow: hidden;
        z-index: 1;
        clear: both;
        margin-top: clamp(40px, 6vw, 70px);
    }

        .footer::before {
            content: "";
            position: absolute;
            top: -120px;
            right: -120px;
            width: 340px;
            height: 340px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(233,184,76,.18), transparent 70%);
        }

        .footer::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--gold-2));
        }


    .footer-seal {
        text-align: center;
        padding-top: 16px;
        margin-bottom: 12px;
    }

        .footer-seal .brand-logo {
            width: 42px;
            height: 42px;
            display: inline-flex;
            filter: drop-shadow(0 6px 16px rgba(233,184,76,.45));
            animation: float 4s ease-in-out infinite;
        }

    .footer-motto {
        color: var(--gold);
        font-family: var(--font-head);
        font-weight: 600;
        letter-spacing: 3px;
        text-transform: uppercase;
        font-size: 11px;
        margin: 6px 0 0;
    }

    .footer-seal-rule {
        width: 180px;
        height: 2px;
        margin: 8px auto 0;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }

    .footer h5 {
        color: #fff;
        font-size: 0.775rem;
        margin-bottom: 8px;
        position: relative;
        padding-bottom: 6px;
    }

        .footer h5::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 36px;
            height: 3px;
            background: var(--grad-gold);
            border-radius: 3px;
        }


    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-links a {
        color: rgba(255,255,255,.75);
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a:hover {
            color: var(--gold);
            padding-left: 6px;
        }

        .footer-links a::before {
            content: "•";
            color: var(--gold);
            font-size: 12px;
        }

    .footer-contact li {
        display: flex;
        gap: 10px;
        margin-bottom: 6px;
        font-size: 14px;
        align-items: flex-start;
    }

    .footer-contact i {
        color: var(--gold);
        margin-top: 3px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.08);
        color: #fff;
        margin-right: 8px;
        transition: .3s;
        font-size: 15px;
    }

        .footer-social a:hover {
            background: var(--gold);
            color: var(--navy);
            transform: translateY(-4px);
        }


    .footer-bottom {
        border-top: 1px solid rgba(255,255,255,.12);
        padding: 10px 0;
        margin-top: 16px;
        font-size: 13px;
    }

    .sitemap-links a {
        color: var(--royal-2);
    }

        .sitemap-links a:hover {
            color: var(--gold-2);
        }

    .newsletter input {
        background: rgba(255,255,255,.1);
        border: 1px solid rgba(255,255,255,.2);
        color: #fff;
        padding: 10px 14px;
        border-radius: 10px;
        width: 100%;
        font-size: 14px;
    }

        .newsletter input::placeholder {
            color: rgba(255,255,255,.5);
        }

        .newsletter input:focus {
            outline: none;
            border-color: var(--gold);
        }


    .footer-map {
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.15);
        height: 160px;
    }

        .footer-map iframe {
            width: 100%;
            height: 100%;
            display: block;
        }
    /* ============ Page hero (inner pages) ============ */
    .page-hero {
        position: relative;
        padding: 130px 0 90px;
        color: #fff;
        text-align: center;
        overflow: hidden;
        isolation: isolate;
    }

        .page-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            background: linear-gradient(100deg, rgba(46,8,17,.45), rgba(168,43,74,.03));
        }

        .page-hero .bg {
            position: absolute;
            inset: -5%;
            z-index: -2;
            background-size: cover;
            background-position: center;
            animation: kenburns 26s infinite alternate;
        }

        .page-hero h1 {
            color: #fff;
            font-size: clamp(2rem, 4.5vw, 3.2rem);
            font-weight: 800;
        }

        .page-hero .crumbs {
            display: inline-flex;
            gap: 10px;
            align-items: center;
            background: var(--glass);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,.25);
            padding: 9px 20px;
            border-radius: 40px;
            font-size: 13.5px;
        }

            .page-hero .crumbs a {
                color: rgba(255,255,255,.8);
            }

                .page-hero .crumbs a:hover {
                    color: var(--gold);
                }

            .page-hero .crumbs .sep {
                color: var(--gold);
            }
    /* ============ Message cards (principal etc) ============ */
    .message-card {
        background: var(--white);
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border);
        overflow: hidden;
    }

        .message-card .msg-body {
            padding: 40px;
            font-size: 15.5px;
            line-height: 1.9;
        }

            .message-card .msg-body p {
                margin-bottom: 16px;
                color: var(--muted);
            }

    .signature {
        font-family: 'Segoe Script', cursive, sans-serif;
        font-size: 1.7rem;
        color: var(--royal-2);
    }
    /* ============ Magazine-style Float Layout (Manager/Principal message photo) ============ */
    .msg-photo-block {
        float: left;
        width: 380px;
        margin: 0 32px 20px 0;
    }

        .msg-photo-block .profile-avatar {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 14px;
            border: 3px solid var(--gold);
            object-fit: cover;
        }

        .msg-photo-block .msg-profile-info {
            margin-top: 14px;
            text-align: center;
        }

            .msg-photo-block .msg-profile-info h5 {
                margin: 0 0 4px;
                font-family: var(--font-head);
                font-weight: 800;
                color: var(--navy);
                font-size: 1.05rem;
            }

            .msg-photo-block .msg-profile-info .role {
                color: var(--gold-2);
                font-weight: 600;
                font-size: 13px;
                margin-bottom: 4px;
            }

            .msg-photo-block .msg-profile-info .bio {
                color: var(--muted);
                font-size: 12.5px;
                margin: 0;
            }

    .message-card .msg-body::after {
        content: "";
        display: block;
        clear: both;
    }

    @media (max-width: 768px) {
        .msg-photo-block {
            float: none;
            width: 100%;
            margin: 0 0 24px 0;
        }
    }
    /* ============ Accordion / FAQ ============ */
    .accordion-premium .accordion-item {
        border: 1px solid var(--border);
        border-radius: var(--radius-sm) !important;
        margin-bottom: 14px;
        overflow: hidden;
        background: var(--white);
    }

    .accordion-premium .accordion-button {
        background: var(--white);
        color: var(--navy);
        font-weight: 700;
        padding: 18px 22px;
        font-family: var(--font-head);
        font-size: 15px;
    }

        .accordion-premium .accordion-button:not(.collapsed) {
            background: var(--grad-navy);
            color: #fff;
            box-shadow: none;
        }

        .accordion-premium .accordion-button:focus {
            box-shadow: none;
        }

        .accordion-premium .accordion-button::after {
            filter: none;
        }
    /* ============ Table ============ */
    .table-premium {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        background: var(--white);
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--border);
    }

        .table-premium th {
            background: var(--grad-navy);
            color: #fff;
            font-family: var(--font-head);
            font-weight: 600;
            font-size: 14px;
            padding: 14px 18px;
        }

        .table-premium td {
            padding: 14px 18px;
            border-bottom: 1px solid var(--border);
            font-size: 14.5px;
            color: var(--muted);
        }

        .table-premium tr:hover td {
            background: rgba(233,184,76,.07);
        }
    /* ============ Forms ============ */
    .form-premium .form-control, .form-premium .form-select {
        background: var(--bg-soft);
        border: 1.5px solid var(--border);
        border-radius: 12px;
        padding: 13px 16px;
        color: var(--text);
    }

        .form-premium .form-control:focus, .form-premium .form-select:focus {
            background: var(--white);
            border-color: var(--royal-2);
            box-shadow: 0 0 0 4px rgba(168,43,74,.12);
            color: var(--text);
        }

    .form-premium label {
        font-weight: 600;
        font-size: 13.5px;
        color: var(--navy);
        margin-bottom: 6px;
    }

    [data-theme="dark"] .form-premium label {
        color: #fff;
    }

    .form-premium .form-control::placeholder {
        color: var(--muted);
    }
    /* ============ Floating actions ============ */
    .fab {
        position: fixed;
        right: 22px;
        bottom: 20px;
        z-index: 1050;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-end;
    }

    .fab-btn {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-md);
        cursor: pointer;
        transition: .35s;
        border: none;
        font-size: 22px;
    }

        .fab-btn:hover {
            transform: scale(1.12);
        }

    .fab-whatsapp {
        background: #25D366;
        color: #fff;
    }

    .fab-menu {
        background: var(--grad-navy);
        color: #fff;
    }

        .fab-menu.active {
            transform: rotate(225deg);
        }

    .fab .quick-menu {
        position: absolute;
        bottom: 74px;
        right: 0;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        padding: 10px;
        width: 250px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: .35s;
    }

        .fab .quick-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .fab .quick-menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 14px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 14px;
            color: var(--navy);
        }

            .fab .quick-menu a:hover {
                background: var(--bg-soft);
                color: var(--royal);
            }

        .fab .quick-menu i {
            color: var(--royal-2);
            width: 20px;
            text-align: center;
        }

    .back-top {
        position: fixed;
        right: 22px;
        bottom: 90px;
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: var(--grad-gold);
        color: var(--navy);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-gold);
        cursor: pointer;
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: .4s;
        border: none;
    }

        .back-top.show {
            opacity: 1;
            visibility: visible;
        }

        .back-top:hover {
            transform: translateY(-4px);
        }
    /* ============ Chatbot ============ */
    .chatbot {
        position: fixed;
        right: 22px;
        bottom: 160px;
        width: 360px;
        max-width: calc(100vw - 44px);
        z-index: 1055;
        pointer-events: none;
    }

        .chatbot .chat-window {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 20px;
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 480px;
            max-height: 70vh;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(.97);
            transition: .4s;
        }

        .chatbot.open .chat-window {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

    .chat-window,
    #fabChat {
        pointer-events: auto;
    }

    .chat-head {
        background: var(--grad-navy);
        color: #fff;
        padding: 16px 18px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .chat-head .bot-avatar {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: var(--grad-gold);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--navy);
            font-size: 20px;
        }

        .chat-head b {
            display: block;
            font-family: var(--font-head);
        }

        .chat-head small {
            color: rgba(255,255,255,.75);
            font-size: 12px;
        }

        .chat-head .status-dot {
            width: 8px;
            height: 8px;
            background: var(--green);
            border-radius: 50%;
            display: inline-block;
            margin-right: 4px;
            animation: pulse-dot 1.6s infinite;
        }

    .chat-body {
        flex: 1;
        padding: 16px;
        overflow-y: auto;
        background: var(--bg-soft);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .msg {
        max-width: 82%;
        padding: 11px 15px;
        border-radius: 14px;
        font-size: 14px;
        line-height: 1.55;
        animation: msgIn .35s;
    }

    @keyframes msgIn {
        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }

    .msg.bot {
        background: var(--white);
        color: var(--text);
        border: 1px solid var(--border);
        border-bottom-left-radius: 4px;
        align-self: flex-start;
    }

    .msg.user {
        background: var(--grad-navy);
        color: #fff;
        border-bottom-right-radius: 4px;
        align-self: flex-end;
    }

    .chat-quick {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0 16px 8px;
        background: var(--bg-soft);
    }

        .chat-quick button {
            font-size: 12px;
            font-weight: 600;
            background: var(--white);
            border: 1px solid var(--border);
            color: var(--navy);
            padding: 6px 12px;
            border-radius: 20px;
            cursor: pointer;
            transition: .3s;
        }

            .chat-quick button:hover {
                background: var(--gold);
                border-color: var(--gold);
                color: var(--navy);
            }

    .chat-input {
        display: flex;
        gap: 10px;
        padding: 12px;
        border-top: 1px solid var(--border);
        background: var(--white);
    }

        .chat-input input {
            flex: 1;
            border: 1.5px solid var(--border);
            border-radius: 12px;
            padding: 11px 14px;
            font-size: 14px;
            background: var(--bg-soft);
            color: var(--text);
        }

            .chat-input input:focus {
                outline: none;
                border-color: var(--royal-2);
            }

        .chat-input button {
            width: 46px;
            height: 46px;
            border-radius: 12px;
            background: var(--grad-gold);
            border: none;
            color: var(--navy);
            font-size: 18px;
            cursor: pointer;
        }
    /* ============ Masonry ============ */
    .masonry {
        columns: 4;
        column-gap: 16px;
    }

        .masonry .masonry-item {
            break-inside: avoid;
            margin-bottom: 16px;
            border-radius: var(--radius);
            overflow: hidden;
            position: relative;
            cursor: pointer;
        }

            .masonry .masonry-item img {
                width: 100%;
                transition: .6s;
            }

            .masonry .masonry-item:hover img {
                transform: scale(1.08);
            }

    @media (max-width: 992px) {
        .masonry {
            columns: 3;
        }
    }

    @media (max-width: 768px) {
        .masonry {
            columns: 2;
        }
    }

    @media (max-width: 480px) {
        .masonry {
            columns: 1;
        }
    }
    /* ============ Lightbox ============ */
    .lightbox {
        position: fixed;
        inset: 0;
        z-index: 1090;
        /* Old: background: rgba(46,8,17,.95); (maroon) */
        background: rgba(17, 24, 68, .95); /* #111844 dark navy */
        display: none;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(8px);
    }

        .lightbox.show {
            display: flex;
        }

        .lightbox img {
            max-width: 90vw;
            max-height: 85vh;
            border-radius: 16px;
            box-shadow: var(--shadow-lg);
        }

        .lightbox .lb-close {
            position: absolute;
            top: 22px;
            right: 30px;
            font-size: 34px;
            color: #fff;
            cursor: pointer;
        }

        .lightbox .lb-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 40px;
            color: #fff;
            cursor: pointer;
            padding: 12px;
        }

            .lightbox .lb-nav.prev {
                left: 18px;
            }

            .lightbox .lb-nav.next {
                right: 18px;
            }

        .lightbox .lb-caption {
            position: absolute;
            bottom: 22px;
            left: 50%;
            transform: translateX(-50%);
            color: #fff;
            background: rgba(0,0,0,.5);
            padding: 8px 18px;
            border-radius: 20px;
            font-size: 14px;
        }
    /* ============ Virtual tour ============ */
    .panorama {
        width: 100%;
        height: 60vh;
        border-radius: var(--radius);
        overflow: hidden;
        position: relative;
        cursor: grab;
        touch-action: pan-y;
        box-shadow: var(--shadow-lg);
    }

        .panorama:active {
            cursor: grabbing;
        }

        .panorama .pan-img {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            height: 100%;
            will-change: transform;
        }

    .pano-hotspot {
        position: absolute;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(233,184,76,.9);
        color: var(--navy);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        box-shadow: 0 0 0 6px rgba(233,184,76,.25);
        cursor: pointer;
        animation: hotspot 2s infinite;
    }

        .pano-hotspot:hover {
            background: #fff;
        }

    @keyframes hotspot {
        0%,100% {
            box-shadow: 0 0 0 4px rgba(233,184,76,.3);
        }

        50% {
            box-shadow: 0 0 0 12px rgba(233,184,76,0);
        }
    }

    .campus-map {
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--border);
        background: var(--white);
    }

    .map-point {
        cursor: pointer;
        transition: .3s;
    }

        .map-point:hover circle {
            fill: var(--gold);
        }

        .map-point text {
            pointer-events: none;
            font-family: var(--font-head);
        }
    /* ============ Scroll reveal ============ */
    .reveal {
        opacity: 0;
        transform: translateY(34px);
        transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1);
    }

        .reveal.visible {
            opacity: 1;
            transform: none;
        }

    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
        transition: .9s;
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
        transition: .9s;
    }

    .reveal-zoom {
        opacity: 0;
        transform: scale(.9);
        transition: .9s;
    }

        .reveal-left.visible, .reveal-right.visible, .reveal-zoom.visible {
            opacity: 1;
            transform: none;
        }

    .delay-1 {
        transition-delay: .1s;
    }

    .delay-2 {
        transition-delay: .2s;
    }

    .delay-3 {
        transition-delay: .3s;
    }

    .delay-4 {
        transition-delay: .4s;
    }
    /* ============ Profile cards ============ */
    .profile-card {
        text-align: center;
        padding: 30px 22px;
    }

    .profile-avatar {
        width: 410px;
        height: 350px;
        border-radius: 50%;
        margin: 0 auto 16px;
        object-fit: cover;
        border: 5px solid var(--gold);
        box-shadow: var(--shadow-md);
        transition: .4s;
    }

    .profile-card:hover .profile-avatar {
        transform: scale(1.06) rotate(-4deg);
    }

    .profile-card h5 {
        font-size: 1.05rem;
        margin-bottom: 2px;
    }

    .profile-card .role {
        color: var(--royal-2);
        font-size: 13px;
        font-weight: 600;
    }

    .profile-card .bio {
        font-size: 13.5px;
        margin-top: 10px;
        font-weight: 500;
    }
    /* ============ Utilities ============ */
    .mb-0 {
        margin-bottom: 0 !important;
    }

    .mt-n6 {
        margin-top: -70px;
        position: relative;
        z-index: 3;
    }

    .gradient-text {
        background: linear-gradient(90deg, var(--gold), var(--gold-2));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .hover-lift {
        transition: .4s;
    }

        .hover-lift:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
        }

    .rounded-20 {
        border-radius: var(--radius) !important;
    }

    .rounded-14 {
        border-radius: var(--radius-sm) !important;
    }

    .img-cover {
        object-fit: cover;
    }

    .object-position-top {
        object-position: top;
    }

    .btn-circle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border);
        background: var(--white);
        color: var(--navy);
        transition: .3s;
    }

        .btn-circle:hover {
            background: var(--gold);
            color: var(--navy);
            border-color: var(--gold);
        }

    @media (max-width: 991px) {
        .section {
            padding: 70px 0;
        }

        .navbar-main .navbar-collapse {
            display: none !important;
        }

        .nav-actions .desktop-only {
            display: none !important;
        }

        .navbar-main .navbar-toggler {
            display: block;
        }
    }

    @media (min-width: 992px) {
        .navbar-main .navbar-toggler {
            display: none;
        }
    }
    /* ============================================================
   ANIMATION & UI POLISH LAYER (v2)
   ============================================================ */
    /* ---------- Scroll progress bar ---------- */
    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        height: 4px;
        width: 0;
        z-index: 1080;
        background: linear-gradient(90deg, #E9B84C, #D69B2F, #E0526B);
        box-shadow: 0 0 12px rgba(233,184,76,.6);
        border-radius: 0 4px 4px 0;
        transition: width .1s linear;
    }
    /* ---------- Keyframes library ---------- */
    @keyframes float {
        0%,100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-16px);
        }
    }

    @keyframes floatX {
        0%,100% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(14px);
        }
    }

    @keyframes blob {
        0%,100% {
            transform: translate(0,0) scale(1);
        }

        33% {
            transform: translate(28px,-36px) scale(1.12);
        }

        66% {
            transform: translate(-22px,22px) scale(.94);
        }
    }

    @keyframes spin-slow {
        to {
            transform: rotate(360deg);
        }
    }

    @keyframes pulse-soft {
        0%,100% {
            opacity: .55;
        }

        50% {
            opacity: 1;
        }
    }

    @keyframes gradientShift {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    @keyframes popIn {
        0% {
            transform: scale(.4);
            opacity: 0;
        }

        70% {
            transform: scale(1.12);
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    @keyframes shimmer {
        0% {
            background-position: -200% 0;
        }

        100% {
            background-position: 200% 0;
        }
    }

    @keyframes wave {
        0%,100% {
            transform: rotate(0);
        }

        25% {
            transform: rotate(14deg);
        }

        75% {
            transform: rotate(-10deg);
        }
    }

    @keyframes caret-blink {
        50% {
            opacity: 0;
        }
    }

    @keyframes shine-sweep {
        0% {
            transform: translateX(-130%) skewX(-18deg);
        }

        60%,100% {
            transform: translateX(230%) skewX(-18deg);
        }
    }

    @keyframes ring-pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(233,184,76,.5);
        }

        100% {
            box-shadow: 0 0 0 22px rgba(233,184,76,0);
        }
    }
    /* ---------- Hero decorative blobs ---------- */
    .hero-blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(70px);
        z-index: -1;
        opacity: .5;
        animation: blob 16s ease-in-out infinite;
    }

        .hero-blob.b1 {
            width: 420px;
            height: 420px;
            top: -120px;
            right: -100px;
            background: radial-gradient(circle, rgba(224,82,107,.55), transparent 70%);
        }

        .hero-blob.b2 {
            width: 360px;
            height: 360px;
            bottom: -120px;
            left: -80px;
            background: radial-gradient(circle, rgba(233,184,76,.4), transparent 70%);
            animation-delay: -6s;
        }

        .hero-blob.b3 {
            width: 220px;
            height: 220px;
            top: 30%;
            left: 38%;
            background: radial-gradient(circle, rgba(168,43,74,.35), transparent 70%);
            animation-delay: -10s;
        }
    /* Floating glass chips in hero */
    .float-chip {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        background: var(--glass);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255,255,255,.28);
        border-radius: 14px;
        padding: 12px 16px;
        color: #fff;
        font-weight: 600;
        font-size: 13.5px;
        box-shadow: 0 14px 34px rgba(0,0,0,.18);
        animation: float 6s ease-in-out infinite;
    }

        .float-chip i {
            color: #E9B84C;
            font-size: 17px;
        }

        .float-chip:nth-child(2) {
            animation-delay: -2s;
        }

        .float-chip:nth-child(3) {
            animation-delay: -4s;
        }

        .float-chip .num {
            font-family: var(--font-head);
            font-size: 1.15rem;
            color: #E9B84C;
            font-weight: 800;
        }
    /* ---------- Animated gradient text ---------- */
    .gradient-text {
        background: linear-gradient(90deg, #E9B84C, #D69B2F, #E0526B, #E9B84C);
        background-size: 300% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: gradientShift 6s ease infinite;
    }

    .text-gold {
        background: linear-gradient(90deg,#E9B84C,#D69B2F);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    /* Eyebrow decorative line animates */
    .eyebrow::before {
        transition: width .6s cubic-bezier(.2,.6,.2,1);
    }

    .section-head:hover .eyebrow::before {
        width: 46px;
    }
    /* ---------- Button press + ripple ---------- */
    .btn-premium, .btn-navy, .btn-outline-premium, .btn-ghost {
        position: relative;
        overflow: hidden;
    }

        .btn-premium:active, .btn-navy:active, .btn-outline-premium:active, .btn-ghost:active {
            transform: scale(.96);
        }

    .btn-premium {
        background-size: 200% 100%;
        animation: gradientShift 5s ease infinite;
    }

    .ripple {
        position: absolute;
        border-radius: 50%;
        transform: scale(0);
        background: rgba(255,255,255,.5);
        pointer-events: none;
        animation: rippleAnim .6s ease-out;
    }

    @keyframes rippleAnim {
        to {
            transform: scale(3.4);
            opacity: 0;
        }
    }
    /* ---------- Card glow on hover ---------- */
    .card-premium {
        position: relative;
    }

        .card-premium:hover .card-icon {
            animation: popIn .5s ease;
        }

    .feature-card::after {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: inherit;
        pointer-events: none;
        border: 2px solid transparent;
        background: linear-gradient(135deg, rgba(168,43,74,.7), rgba(233,184,76,.7)) border-box;
        -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity .45s;
    }

    .feature-card:hover::after {
        opacity: 1;
    }
    /* ---------- Image shine sweep ---------- */
    .img-card {
        position: relative;
        overflow: hidden;
    }

        .img-card::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 45%;
            height: 100%;
            background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
            transform: translateX(-130%) skewX(-18deg);
            pointer-events: none;
        }

        .img-card:hover::after {
            animation: shine-sweep 1.1s ease;
        }

        .img-card .overlay {
            transform: translateY(14px);
        }

        .img-card:hover .overlay {
            transform: translateY(0);
        }
    /* ---------- Stat number pop ---------- */
    .stat-num {
        animation: popIn .6s ease both;
    }

    .stat-card:hover .stat-num {
        transform: scale(1.12);
        color: var(--royal-2);
    }

    .stat-card:hover .stat-icon {
        animation: wave .6s ease;
    }
    /* ---------- Avatar spin / float ---------- */
    .profile-avatar {
        animation: float 7s ease-in-out infinite;
    }

    .profile-card:hover .profile-avatar {
        animation-play-state: paused;
    }
    /* ---------- Exp badge float ---------- */
    .about-media .exp-badge {
        animation: float 5s ease-in-out infinite;
    }
    /* ---------- Navbar scrolled state ---------- */
    .navbar-main.scrolled {
        box-shadow: 0 10px 30px rgba(74,14,30,.14);
        background: var(--white);
    }

    .navbar-main.scrolled {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        background: color-mix(in srgb, var(--white) 88%, transparent);
    }

    [data-theme="dark"] .navbar-main.scrolled {
        box-shadow: 0 10px 30px rgba(0,0,0,.5);
    }
    /* ---------- Logo marquee strip ---------- */
    .marquee-strip {
        background: var(--white);
        border-block: 1px solid var(--border);
        padding: 18px 0;
        overflow: hidden;
        position: relative;
    }

        .marquee-strip::before, .marquee-strip::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            width: 90px;
            z-index: 2;
            pointer-events: none;
        }

        .marquee-strip::before {
            left: 0;
            background: linear-gradient(90deg, var(--white), transparent);
        }

        .marquee-strip::after {
            right: 0;
            background: linear-gradient(270deg, var(--white), transparent);
        }

    .marquee-track {
        display: inline-flex;
        gap: 56px;
        white-space: nowrap;
        animation: marquee 30s linear infinite;
    }

    .marquee-strip:hover .marquee-track {
        animation-play-state: paused;
    }

    .marquee-track span {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        font-family: var(--font-head);
        font-weight: 700;
        color: var(--muted);
        font-size: 15px;
        letter-spacing: .5px;
    }

        .marquee-track span i {
            color: var(--gold-2);
            font-size: 18px;
        }

    @keyframes marquee {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-50%);
        }
    }
    /* ---------- Rotating words (typewriter) ---------- */
    .rotator {
        display: inline-block;
    }

        .rotator .word {
            display: none;
        }

            .rotator .word.active {
                display: inline-block;
                animation: wordIn .6s ease;
            }

    @keyframes wordIn {
        from {
            opacity: 0;
            transform: translateY(14px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }

    .type-caret {
        display: inline-block;
        width: 3px;
        background: #E9B84C;
        margin-left: 2px;
        animation: caret-blink 1s step-end infinite;
    }
    /* ---------- Section title deco underline ---------- */
    .section-title {
        position: relative;
        display: inline-block;
    }

        .section-title::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -10px;
            height: 5px;
            width: 0;
            border-radius: 4px;
            background: var(--grad-gold);
            transition: width .9s cubic-bezier(.2,.6,.2,1);
        }

        .section-head:hover .section-title::after, .section-title.u-anim::after {
            width: 72px;
        }
    /* ---------- Event / notice hover slide ---------- */
    .notice-item:hover {
        border-color: var(--royal-3);
        box-shadow: var(--shadow-md);
    }

    .notice-item .notice-date {
        transition: .35s;
    }

    .notice-item:hover .notice-date {
        background: var(--grad-gold);
        color: var(--navy);
    }

    .event-card:hover .event-date-box {
        animation: popIn .5s ease;
    }
    /* ---------- Timeline dot pulse ---------- */
    .tl-item .dot {
        animation: ring-pulse 2.4s ease-out infinite;
    }

    .tl-card {
        transition: .4s;
    }

        .tl-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: var(--royal-3);
        }
    /* ---------- Buttons & pills ---------- */
    .pill {
        transition: all .35s;
    }

        .pill:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-sm);
        }

        .pill.active {
            animation: popIn .4s ease;
        }
    /* ---------- FAB & chatbot animations ---------- */
    .fab-btn {
        animation: float 5s ease-in-out infinite;
    }

        .fab-btn:nth-of-type(2) {
            animation-delay: -1.6s;
        }

        .fab-btn:nth-of-type(3) {
            animation-delay: -3.2s;
        }

    #fabWhatsapp {
        animation: ring-pulse 2.8s infinite;
    }

    .status-dot {
        animation: pulse-soft 1.4s infinite;
    }

    .bot-avatar {
        animation: float 4s ease-in-out infinite;
    }
    /* ---------- CTA band blobs animate ---------- */
    .cta-band::before, .cta-band::after {
        animation: blob 14s ease-in-out infinite;
    }

    .cta-band::after {
        animation-delay: -7s;
    }
    /* ---------- Hero content entrance ---------- */
    .hero-content {
        animation: heroIn 1.1s cubic-bezier(.2,.6,.2,1) both;
    }

    @keyframes heroIn {
        from {
            opacity: 0;
            transform: translateY(36px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }
    /* ---------- Calendar hover ---------- */
    #eventCalendar div:hover {
        transform: scale(1.12);
        transition: .25s;
    }
    /* ---------- Focus visible (a11y) ---------- */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 3px solid rgba(233,184,76,.8);
        outline-offset: 2px;
        border-radius: 6px;
    }
    /* ---------- Reduced motion ---------- */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: .01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: .01ms !important;
            scroll-behavior: auto !important;
        }
    }
    /* ---------- Page transition ---------- */
    body.page-in main {
        animation: pageIn .7s cubic-bezier(.2,.6,.2,1) both;
    }

    @keyframes pageIn {
        from {
            opacity: 0;
            transform: translateY(18px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }
    /* ---------- Improve mobile smoothness ---------- */
    @media (max-width: 768px) {
        .float-chip {
            padding: 9px 12px;
            font-size: 12px;
        }

        .hero-blob {
            filter: blur(50px);
            opacity: .35;
        }
    }
    /* ---------- Page hero animated blobs ---------- */
    .page-hero::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        top: -160px;
        right: -140px;
        z-index: -1;
        border-radius: 50%;
        filter: blur(60px);
        /* Old maroon/pink glow behind the navbar right side (preserved, not deleted):
           background: radial-gradient(circle, rgba(224,82,107,.5), transparent 70%); */
        background: none;
        animation: blob 15s ease-in-out infinite;
        pointer-events: none;
    }

    .page-hero .hero-fade {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: radial-gradient(circle at 80% 10%, rgba(233,184,76,.18), transparent 40%);
    }
    /* ---------- Hero bottom fade ---------- */
    .hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 140px;
        z-index: -1;
        background: linear-gradient(to top, var(--light), transparent);
        pointer-events: none;
    }
    /* ---------- Glass card lift ---------- */
    .glass-card {
        transition: transform .4s, box-shadow .4s;
    }

        .glass-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
        }
    /* ---------- Heritage finishing touches ---------- */
    .navbar-main .brand-logo {
        filter: drop-shadow(0 4px 10px rgba(214,155,47,.35));
    }

    .btn-navy {
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(233,184,76,.35);
    }

    .stat-card {
        border-top: 3px solid rgba(233,184,76,.3);
    }

        .stat-card:hover {
            border-top-color: var(--gold-2);
        }

    /* Old maroon/pink glow override (preserved, not deleted):
       background: radial-gradient(circle, rgba(224,82,107,.45), transparent 70%); */
    .page-hero::after {
        background: none;
    }

    .card-premium .card-icon {
        background: rgba(168,43,74,.12);
    }

    .badge-premium {
        background: var(--grad-gold);
        color: var(--navy);
    }
    /* ============================================================
   PREMIUM POLISH LAYER (v3)
   ============================================================ */
    /* ---------- Typography refinement ---------- */
    h1, h2, h3, h4, h5, h6 {
        letter-spacing: -.015em;
    }

    .section-title {
        letter-spacing: -.02em;
    }

    .hero h1 {
        letter-spacing: -.03em;
    }

        .hero h1 .gold {
            background: linear-gradient(110deg, #E9B84C 0%, #F6DFA8 28%, #E9B84C 55%, #D69B2F 100%);
            background-size: 220% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: gradientShift 7s linear infinite;
        }

    .section-head {
        margin-bottom: 54px;
    }

    .section-sub {
        line-height: 1.8;
    }

    .eyebrow {
        letter-spacing: 2.8px;
    }
    /* ---------- Hero particles ---------- */
    .hero-particles {
        position: absolute;
        inset: 0;
        overflow: hidden;
        z-index: -1;
        pointer-events: none;
    }

        .hero-particles .hero-particle {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(233,184,76,.95), transparent 70%);
            filter: blur(1px);
            animation: particleRise linear infinite;
            will-change: transform;
        }

    @keyframes particleRise {
        0% {
            transform: translateY(0) translateX(0);
            opacity: 0;
        }

        12% {
            opacity: var(--po, .5);
        }

        88% {
            opacity: var(--po, .5);
        }

        100% {
            transform: translateY(-105vh) translateX(34px);
            opacity: 0;
        }
    }
    /* ---------- Floating hero emblems ---------- */
    .hero-float-ic {
        position: absolute;
        z-index: 1;
        color: rgba(233,184,76,.38);
        pointer-events: none;
        animation: float 9s ease-in-out infinite;
        filter: drop-shadow(0 0 16px rgba(233,184,76,.3));
    }

        .hero-float-ic.fi1 {
            top: 24%;
            left: 5%;
            font-size: 34px;
            animation-duration: 11s;
        }

        .hero-float-ic.fi2 {
            top: 58%;
            right: 11%;
            font-size: 30px;
            animation-duration: 9s;
            animation-delay: -3s;
        }

        .hero-float-ic.fi3 {
            bottom: 16%;
            left: 44%;
            font-size: 22px;
            animation-duration: 13s;
            animation-delay: -6s;
        }

    @media (max-width: 991.98px) {
        .hero-float-ic {
            display: none;
        }
    }
    /* ---------- 3D tilt cards ---------- */
    .tilt {
        transform-style: preserve-3d;
        will-change: transform;
    }

    .card-premium.tilt, .stat-card.tilt {
        transition: transform .18s cubic-bezier(.2,.6,.2,1), box-shadow .4s, border-color .4s;
    }

    @media (hover: hover) and (pointer: fine) {
        .card-premium.tilt:hover, .stat-card.tilt:hover {
            box-shadow: var(--shadow-md);
        }
    }
    /* ---------- Magnetic buttons ---------- */
    .magnetic {
        transition: transform .3s cubic-bezier(.2,.6,.2,1), box-shadow .35s, background .35s, color .35s;
    }
    /* ---------- Button arrow slide ---------- */
    .btn-navy i, .btn-ghost i, .btn-premium i, .btn-outline-premium i {
        display: inline-block;
        transition: transform .3s;
    }

    .btn-navy:hover i, .btn-ghost:hover i, .btn-premium:hover i, .btn-outline-premium:hover i {
        transform: translateX(4px);
    }
    /* ---------- Section separator shimmer ---------- */
    .section-alt {
        position: relative;
    }

        .section-alt::before {
            content: "";
            position: absolute;
            top: 0;
            left: 12%;
            right: 12%;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(233,184,76,.55), transparent);
            background-size: 200% 100%;
            opacity: .75;
            pointer-events: none;
            animation: gradientShift 8s linear infinite;
        }
    /* ---------- Image parallax (scroll-driven) ---------- */
    .img-card img, .img-frame img {
        transform: translateY(var(--py, 0px));
        transition: transform .5s cubic-bezier(.2,.6,.2,1);
    }

    .img-card:hover img {
        transform: translateY(var(--py, 0px)) scale(1.12);
    }
    /* ---------- Stat card glow ---------- */
    .stat-card:hover {
        border-top-color: var(--gold-2);
        box-shadow: 0 18px 44px rgba(214,155,47,.28);
    }
    /* ---------- Reduced-motion guards for new layers ---------- */
    @media (prefers-reduced-motion: reduce) {
        .hero-particles, .hero-float-ic {
            display: none !important;
        }
    }

    @media (max-width: 991.98px) {
        .navbar-main .container {
            flex-wrap: nowrap;
        }

        .navbar-main .navbar-brand {
            flex: 1 1 auto;
            min-width: 0;
        }

        .navbar-main .brand-text {
            min-width: 0;
            overflow: hidden;
        }

            .navbar-main .brand-text b {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                display: block;
                max-width: 100%;
            }

        .navbar-main .nav-actions {
            flex: 0 0 auto;
        }
    }

    @media (max-width: 767.98px) {
        .navbar-main .navbar-brand {
            align-items: flex-start;
            padding: 12px 0;
        }

        .navbar-main .brand-text b {
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
            font-size: 13.5px;
            line-height: 1.35;
        }
    }

    @media (max-width: 767.98px) {
        .topbar .container {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            justify-content: flex-start !important;
            gap: 8px !important;
        }

        .topbar-left {
            width: 100%;
            display: flex !important;
            align-items: center !important;
        }

        .topbar-right {
            width: 100%;
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 8px 16px !important;
            margin-left: 0 !important;
        }

        .topbar .socials {
            display: none !important;
        }
    }
    /* Academic Excellence statistic cards */
    #results .glass-card {
        background: #4A0E1E;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: none;
    }
        /* Main numbers */
        #results .glass-card .fs-1 {
            color: #ffffff !important;
        }
        /* Labels */
        #results .glass-card small {
            color: rgba(255, 255, 255, 0.75) !important;
        }
    /* ============ Academic Excellence eyebrow ============ */
    #results .eyebrow {
        position: absolute;
        top: -40px;
        left: 20px;
        background: rgba(255, 255, 255, 0.88);
        /* Old: color: var(--royal-2); */
        color: var(--navy-ink); /* existing blue shade */
        border: 2px dashed var(--royal-2);
        border-radius: 10px;
        padding: 10px 18px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        z-index: 5;
    }
    /* Mission & Vision paragraph text */
    .col-lg-7.reveal-right p.mb-3 {
        color: #3b3030 !important;
    }
    /* HERO TEXT - FORCE VISIBLE */

    .hero {
        position: relative;
    }

    .hero-visible-text {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        z-index: 100;
        pointer-events: none;
        transform: translateY(80px);
    }

    .hero-welcome {
        display: block;
        color: #ffffff;
        font-size: clamp(12px, 1.2vw, 17px);
        font-weight: 500;
        letter-spacing: 1px;
        margin-bottom: 8px;
        text-shadow: 0 3px 12px rgba(0,0,0,0.85);
    }

    .hero-school-title {
        display: block;
        color: #fff8e7;
        font-family: 'Cloister Black', 'Old English Text MT', serif;
        font-size: clamp(40px, 5vw, 70px);
        font-weight: 400;
        line-height: 1.05;
        text-align: center;
        text-shadow: 0 4px 18px rgba(0,0,0,0.9);
    }

    .hero-subtitle {
        display: block;
        color: #ffffff;
        font-size: clamp(12px, 1.2vw, 17px);
        margin-top: 8px;
        text-shadow: 0 3px 12px rgba(0,0,0,0.85);
    }
    /* ============ NOTICE BOARD (homepage) - overlay on painted board ============ */
    .nf-notice {
        position: relative;
        background: #ffffff !important;
        padding: 40px 0 65px;
        overflow: hidden;
    }

        .nf-notice .nf-notice-wrap {
            position: relative;
            max-width: 1140px;
            margin: 0 auto;
        }

        .nf-notice .nf-notice-stage {
            position: relative;
            width: 100%;
            margin: 0 auto;
        }

        .nf-notice .nf-notice-children {
            width: 150% !important;
            max-width: 150% !important;
            height: auto !important;
            display: block;
            object-fit: contain !important;
            object-position: center !important;
            margin-left: -25.5%;
        }
        /* Content sits ON the painted board - no card behind it. */
        .nf-notice .nf-notice-board {
            position: absolute;
            z-index: 5;
            left: 30%;
            top: 38.2%;
            width: 39.75%;
            height: 38.3%;
            margin: 0;
            padding: 18px 20px 14px;
            background: transparent !important;
            border: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            display: flex;
            flex-direction: column;
            overflow: visible !important;
        }

        .nf-notice .nf-notice-title {
            position: relative !important;
            margin: 0 !important;
            padding: 0 !important;
            top: -85px !important;
            text-align: center !important;
            color: #082B63 !important;
            font-family: Georgia, "Times New Roman", serif !important;
            font-size: clamp(22px, 2vw, 30px) !important;
            font-weight: 700 !important;
            letter-spacing: .08em !important;
            line-height: 1.05 !important;
            text-transform: uppercase !important;
        }

        .nf-notice .nf-notice-rule {
            top: 0 !important;
            margin: 8px auto 0 !important;
            width: 260px !important;
            height: 20px !important;
            border: 0 !important;
            background: url("../img/heading-line.svg") no-repeat center / contain !important;
        }
        .nf-notice #EventList {
            display: flex !important;
            flex-wrap: nowrap !important;
            gap: 38px !important;
            width: 100% !important;
            max-width: 100% !important;
            margin-top: 6px !important;
            overflow-x: hidden !important;
            overflow-y: hidden !important;
            scroll-behavior: smooth !important;
        }

            .nf-notice #EventList .notice-item {
                position: relative !important;
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: nowrap !important;
                align-items: center !important;
                flex: 0 0 calc((100% - 38px) / 2) !important;
                width: calc((100% - 38px) / 2) !important;
                min-width: calc((100% - 38px) / 2) !important;
                height: 130px !important;
                min-height: 130px !important;
                margin: 0 !important;
                padding: 12px 16px !important;
                gap: 16px !important;
                background: #082B63 !important;
                border: none !important;
                border-radius: 18px !important;
                box-shadow: 0 6px 16px rgba(0,0,0,.20) !important;
                color: #ffffff !important;
                overflow: hidden !important;
            }

                .nf-notice #EventList .notice-item .notice-date {
                    flex: 0 0 105px !important;
                    width: 105px !important;
                    min-width: 105px !important;
                    height: 105px !important;
                    margin: 0 !important;
                    padding: 8px !important;
                    display: flex !important;
                    flex-direction: column !important;
                    align-items: center !important;
                    justify-content: center !important;
                    background: linear-gradient( 180deg, #F04418 0%, #B52D16 100% ) !important;
                    border-radius: 14px !important;
                    color: #ffffff !important;
                }

                    .nf-notice #EventList .notice-item .notice-date b {
                        display: block !important;
                        color: #ffffff !important;
                        font-size: 40px !important;
                        line-height: 1 !important;
                        font-family: Georgia, "Times New Roman", serif !important;
                        font-weight: 700 !important;
                    }

                    .nf-notice #EventList .notice-item .notice-date small {
                        display: block !important;
                        margin-top: 6px !important;
                        color: #ffffff !important;
                        font-size: 14px !important;
                        letter-spacing: 1px !important;
                    }
            /* NEW badge - injected client-side, positioned so it never grows the card. */
            .nf-notice #EventList .nf-notice-new {
                position: absolute;
                top: 6px;
                right: 8px;
                z-index: 2;
                display: inline-block;
                padding: 1px 6px;
                border-radius: 20px;
                background: #E23A2E;
                color: #ffffff;
                font-size: 7px;
                font-weight: 800;
                letter-spacing: .8px;
                line-height: 1.5;
                text-transform: uppercase;
                box-shadow: 0 2px 5px rgba(0,0,0,.3);
            }
            /* Keep the card copy clear of the badge. */
            .nf-notice #EventList .notice-item > div:not(.notice-date) {
                flex: 1 1 auto !important;
                min-width: 0 !important;
                padding: 0 !important;
            }

            .nf-notice #EventList .notice-item .notice-tag {
                display: inline-block !important;
                padding: 4px 9px !important;
                background: #F04418 !important;
                color: #ffffff !important;
                border-radius: 5px !important;
                font-size: 12px !important;
                font-weight: 700 !important;
            }

            .nf-notice #EventList .notice-item h6 {
                margin: 7px 0 4px !important;
                padding: 0 !important;
                color: #FFF4DD !important;
                font-family: Georgia, "Times New Roman", serif !important;
                font-size: 21px !important;
                font-weight: 400 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }

            .nf-notice #EventList .notice-item .text-muted {
                margin: 0 !important;
                color: rgba(255,255,255,.85) !important;
                font-size: 14px !important;
                font-style: italic !important;
            }
            /* CMS event thumbnail is hidden in this board UI only - the data is untouched. */
            .nf-notice #EventList .notice-item img,
            .nf-notice #EventList .notice-item > div:last-child,
            .nf-notice #EventList .notice-item > .flex-shrink-0:not(.notice-date) {
                display: none !important;
            }

        .nf-notice .nf-notice-foot {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 10px !important;
            margin-top: 14px !important;
            padding: 0 !important;
            border-top: 0 !important;
            flex: 0 0 auto !important;
        }

        .nf-notice .nf-notice-arrow {
            flex: 0 0 32px !important;
            width: 32px !important;
            height: 32px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
            color: #ffffff !important;
            background: #082B63 !important;
            border: 0 !important;
            border-radius: 50% !important;
            font-size: 11px !important;
        }

        .nf-notice .nf-notice-viewall {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 7px !important;
            padding: 9px 18px !important;
            border-radius: 20px !important;
            background: #A91F2D !important;
            color: #ffffff !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            letter-spacing: .06em !important;
            text-decoration: none !important;
            text-transform: uppercase;
            white-space: nowrap;
        }
    /* Below 992px the painted board is too small: image stays whole and uncropped,
   cards move into a normal responsive panel underneath it. */
    @media (max-width: 991.98px) {
        .nf-notice {
            padding: 30px 0 45px;
        }
            .nf-notice .nf-notice-board {
                position: absolute !important;
                z-index: 5 !important;
                left: 29.98% !important;
                top: 38.19% !important;
                width: 39.75% !important;
                height: 38.32% !important;
                margin: 0 !important;
                padding: 16px 18px 12px !important;
                background: transparent !important;
                border: 0 !important;
                border-radius: 0 !important;
                box-shadow: none !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
            }
            .nf-notice #EventList {
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: nowrap !important;
                gap: 38px !important;
                width: 100% !important;
                max-width: 100% !important;
                margin-top: 6px !important;
                overflow-x: hidden !important;
                overflow-y: hidden !important;
                scroll-behavior: smooth !important;
            }
                .nf-notice #EventList .notice-item {
                    position: relative !important;
                    display: flex !important;
                    flex-direction: row !important;
                    flex-wrap: nowrap !important;
                    align-items: center !important;
                    flex: 0 0 calc((100% - 38px) / 2) !important;
                    width: calc((100% - 38px) / 2) !important;
                    min-width: calc((100% - 38px) / 2) !important;
                    height: 130px !important;
                    min-height: 130px !important;
                    margin: 0 !important;
                    padding: 12px 16px !important;
                    gap: 16px !important;
                    background: #082B63 !important;
                    border: none !important;
                    border-radius: 18px !important;
                    box-shadow: 0 6px 16px rgba(0,0,0,.20) !important;
                    color: #ffffff !important;
                    overflow: hidden !important;
                }

            .nf-notice #EventList .notice-item h6 {
                font-size: 15px !important;
            }

            .nf-notice #EventList .notice-item .text-muted,
            .nf-notice #EventList .notice-item p {
                font-size: 11px !important;
            }
    }

    @media (max-width: 575.98px) {
        .nf-notice #EventList {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            gap: 38px !important;
            width: 100% !important;
            max-width: 100% !important;
            overflow-x: hidden !important;
            overflow-y: hidden !important;
            scroll-behavior: smooth !important;
            margin-top: 6px !important;
        }
    }
/* ============================================================
   NOTICE BOARD v3 (merged) - wide blue cards, cream board ke andar
   Sirf presentation. Backend / EventList untouched.
   Ye block style.css ke bilkul END me rakho.
   ============================================================ */

/* ---- Board position variables (yahin se adjust karo) ---- */
.nf-notice {
    --nf-left: -3%; /* cream board ka left edge */
    --nf-width: 106%; /* cream board ki width */
    --nf-top: 27%; /* cream board ka top edge (cards upar chahiye to kam karo) */
    --nf-height: 58%; /* cream board ki height */
}

    /* ---- Board: painted cream box ke exact upar ---- */
    .nf-notice .nf-notice-board {
        left: var(--nf-left) !important;
        width: var(--nf-width) !important;
        top: var(--nf-top) !important;
        height: var(--nf-height) !important;
        padding: 14px 64px 16px !important; /* side padding = cards border ke andar rahenge */
        overflow: visible !important;
        justify-content: flex-start !important;
    }

    /* ---- Title + line: purane -85px / -80px offset hata diye ---- */
    .nf-notice .nf-notice-title {
        top: 0 !important;
        margin: 0 !important;
    }

    .nf-notice .nf-notice-rule {
        top: 0 !important;
        margin: 8px auto 0 !important;
        width: 40% !important;
    }

    /* ---- Cards ki row: horizontal scroll area ---- */
    .nf-notice #EventList {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        flex: 0 0 auto !important; /* shrink nahi hogi, isliye cut nahi hogi */
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-top: 10px !important;
        padding-top: 24px !important; /* NEW badge ke liye jagah */
        padding-bottom: 6px !important;
        overflow-x: auto !important; /* horizontal scroll */
        overflow-y: hidden !important;
        scroll-behavior: smooth !important;
        scroll-snap-type: x mandatory; /* card snap hoke ruke */
        scrollbar-width: none; /* scrollbar chhupao (Firefox) */
    }

        .nf-notice #EventList::-webkit-scrollbar {
            display: none;
        }
        /* Chrome/Edge */

        /* ---- Blue rectangle card: 2 card per view ---- */
        .nf-notice #EventList .notice-item {
            position: relative !important;
            flex: 0 0 calc((100% - 24px) / 2) !important;
            flex-shrink: 0 !important;
            width: calc((100% - 24px) / 2) !important;
            min-width: calc((100% - 24px) / 2) !important;
            height: 130px !important;
            min-height: 130px !important;
            padding: 12px 20px 12px 14px !important;
            gap: 22px !important;
            background: linear-gradient(135deg, #4A0E1E 0%, #8E1F3C 100%) !important;
            border-radius: 26px !important;
            box-shadow: 0 6px 16px rgba(0,0,0,.20) !important;
            overflow: visible !important; /* NEW badge bahar nikal sake */
            scroll-snap-align: start;
            transform: none !important; /* hover pe translateX hata diya */
        }

            /* ---- Date box: upar bada din, neeche dark patti me month ---- */
            .nf-notice #EventList .notice-item .notice-date {
                flex: 0 0 120px !important;
                width: 120px !important;
                min-width: 120px !important;
                height: 106px !important;
                padding: 0 !important;
                overflow: hidden !important;
                border-radius: 16px !important;
                justify-content: stretch !important;
                background: linear-gradient(180deg, #2C5AA0 0%, #14376E 100%) !important;
            }

                .nf-notice #EventList .notice-item .notice-date b {
                    flex: 1 1 auto;
                    display: flex !important;
                    align-items: center;
                    justify-content: center;
                    font-size: 44px !important;
                }

                .nf-notice #EventList .notice-item .notice-date small {
                    margin: 0 !important;
                    padding: 6px 0 !important;
                    width: 100%;
                    text-align: center;
                    background: rgba(0,0,0,.22); /* neeche ki dark patti */
                    font-size: 15px !important;
                    letter-spacing: .5px !important;
                    text-transform: none !important;
                }

            /* ---- Title (uppercase serif, ek line) ---- */
            .nf-notice #EventList .notice-item h6 {
                font-size: 22px !important;
                text-transform: uppercase !important;
                letter-spacing: .3px;
            }

            .nf-notice #EventList .notice-item .text-muted {
                font-size: 15px !important;
            }

            /* ---- Event/Notice tag chhota ---- */
            .nf-notice #EventList .notice-item .notice-tag {
                position: static !important;
                font-size: 10px !important;
                padding: 2px 8px !important;
            }

        /* ---- NEW badge: card ke upar, neeche pointer ke saath ---- */
        .nf-notice #EventList .nf-notice-new {
            top: -14px !important;
            right: auto !important;
            left: 118px !important;
            padding: 4px 12px !important;
            border-radius: 8px !important;
            font-size: 11px !important;
            line-height: 1.2 !important;
        }

            .nf-notice #EventList .nf-notice-new::after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: -6px;
                transform: translateX(-50%);
                border: 6px solid transparent;
                border-top-color: #E23A2E;
                border-bottom: 0;
            }

    /* ---- Prev / View All / Next ---- */
    .nf-notice .nf-notice-foot {
        margin-top: 20px !important;
    }

/* ---- Tablet / Mobile: 1 card per view ---- */
@media (max-width: 991.98px) {
    .nf-notice .nf-notice-board {
        left: var(--nf-left) !important;
        width: var(--nf-width) !important;
        top: var(--nf-top) !important;
        height: var(--nf-height) !important;
        padding: 6px 22px 8px !important;
        overflow: visible !important;
    }

    .nf-notice .nf-notice-title {
        font-size: 14px !important;
    }

    .nf-notice .nf-notice-rule {
        margin: 4px auto 0 !important;
    }

    .nf-notice #EventList {
        flex: 0 0 auto !important;
        gap: 16px !important;
        padding-top: 14px !important;
        margin-top: 4px !important;
    }

        .nf-notice #EventList .notice-item {
            flex: 0 0 100% !important;
            width: 100% !important;
            min-width: 100% !important;
            height: 84px !important;
            min-height: 84px !important;
            padding: 8px 12px !important;
            gap: 12px !important;
            border-radius: 18px !important;
        }

            .nf-notice #EventList .notice-item .notice-date {
                flex: 0 0 74px !important;
                width: 74px !important;
                min-width: 74px !important;
                height: 66px !important;
                border-radius: 12px !important;
            }

                .nf-notice #EventList .notice-item .notice-date b {
                    font-size: 26px !important;
                }

                .nf-notice #EventList .notice-item .notice-date small {
                    font-size: 11px !important;
                    padding: 3px 0 !important;
                }

            .nf-notice #EventList .notice-item h6 {
                font-size: 14px !important;
            }

            .nf-notice #EventList .notice-item .text-muted {
                font-size: 11px !important;
            }

        .nf-notice #EventList .nf-notice-new {
            left: 80px !important;
            font-size: 8px !important;
            padding: 2px 8px !important;
        }

    .nf-notice .nf-notice-foot {
        margin-top: 8px !important;
    }

    .nf-notice .nf-notice-arrow {
        flex: 0 0 26px !important;
        width: 26px !important;
        height: 26px !important;
    }

    .nf-notice .nf-notice-viewall {
        padding: 6px 12px !important;
        font-size: 9px !important;
    }
}

/* Hero ornament override for specific page */
.page-hero .section-head.no-hero-ornament::after {
  content: none !important;
  display: none !important;
}
