/* ============================================================
   VillTek Demo School — Custom Design System
   Palette: primary blue + gold/orange accents
   ============================================================ */

:root {
    --primary: #003EA6;
    --secondary: #FE8B0E;
    --dark-blue: #083B97;
    --sky-blue: #2972B1;
    --gold: #FFB000;
    --white: #FFFFFF;
    --light-bg: #F5F8FF;
    --ink: #1b2a4a;
    --muted: #5a6b8c;
    --grad-gold: linear-gradient(135deg, #FFB000 0%, #FE8B0E 100%);
    --grad-blue: linear-gradient(135deg, #003EA6 0%, #083B97 55%, #2972B1 100%);
    --radius: 18px;
    --shadow-sm: 0 6px 18px rgba(8, 59, 151, .08);
    --shadow-md: 0 14px 34px rgba(8, 59, 151, .14);
    --shadow-lg: 0 22px 55px rgba(8, 59, 151, .20);
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--ink); }
a { text-decoration: none; }
img { max-width: 100%; }

::selection { background: var(--gold); color: var(--dark-blue); }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--sky-blue); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-brand {
    background: var(--grad-gold);
    color: #3a2200 !important;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: .72rem 1.9rem;
    box-shadow: 0 8px 20px rgba(254, 139, 14, .35);
    transition: transform .3s, box-shadow .3s;
}
.btn-brand:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(254, 139, 14, .5); color: #3a2200; }

.btn-outline-brand {
    border: 2px solid var(--gold);
    color: var(--gold) !important;
    font-weight: 600;
    border-radius: 50px;
    padding: .68rem 1.8rem;
    background: transparent;
    transition: all .3s;
}
.btn-outline-brand:hover { background: var(--gold); color: var(--dark-blue) !important; transform: translateY(-3px); }

.btn-blue {
    background: var(--grad-blue);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: .72rem 1.9rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 62, 166, .3);
    transition: transform .3s, box-shadow .3s;
}
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 62, 166, .45); color: #fff; }

/* ============================================================
   TOP HEADER BAR
   ============================================================ */
.topbar {
    background: var(--dark-blue);
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    position: relative;
    z-index: 50;
}
.topbar a { color: rgba(255, 255, 255, .85); transition: color .25s; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.4rem; }
.topbar .tb-item i { color: var(--gold); }
.topbar .tb-badge {
    background: rgba(255, 176, 0, .16);
    border: 1px solid rgba(255, 176, 0, .4);
    color: var(--gold);
    border-radius: 50px;
    padding: .12rem .7rem;
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: .4px;
}
.topbar .tb-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    margin-left: .35rem; font-size: .75rem;
}
.topbar .tb-social a:hover { background: var(--secondary); color: #fff; }

/* ============================================================
   MAIN NAVBAR (sticky)
   ============================================================ */
.main-navbar {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    transition: box-shadow .3s, padding .3s;
    z-index: 1020;
}
.main-navbar.scrolled { box-shadow: 0 8px 30px rgba(8, 59, 151, .15); }

.nav-logo-img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 12px rgba(254, 139, 14, .3);
    background: #fff;
}
.nav-school-name {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary) !important;
    line-height: 1.1;
}
.nav-school-tag { font-size: .68rem; letter-spacing: 1.6px; color: var(--secondary); font-weight: 600; text-transform: uppercase; }

.main-navbar { border-bottom: 1px solid rgba(8, 59, 151, .07); }
.main-navbar::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--secondary) 50%, var(--gold) 70%, transparent 100%);
}
.nav-school-name em { font-style: normal; color: var(--secondary); }

.main-navbar .nav-link {
    color: var(--ink) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: .45rem .95rem !important;
    border-radius: 50px;
    transition: all .25s;
}
.main-navbar .nav-link:hover {
    background: rgba(254, 139, 14, .13);
    color: var(--secondary) !important;
}
.main-navbar .nav-link.active {
    background: var(--grad-gold);
    color: #3a2200 !important;
    box-shadow: 0 5px 14px rgba(254, 139, 14, .35);
}

.main-navbar .dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: .6rem;
    border-top: 3px solid var(--gold);
}
.main-navbar .dropdown-item {
    border-radius: 9px;
    font-size: .9rem;
    font-weight: 500;
    padding: .55rem 1rem;
    transition: all .25s;
}
.main-navbar .dropdown-item:hover { background: var(--light-bg); color: var(--primary); padding-left: 1.25rem; }

.nav-btn {
    border-radius: 50px;
    font-weight: 600;
    font-size: .88rem;
    padding: .5rem 1.4rem !important;
    transition: all .3s;
}
.nav-btn-edit { border: 2px solid var(--sky-blue); color: var(--sky-blue) !important; }
.nav-btn-edit:hover { background: var(--sky-blue); color: #fff !important; transform: translateY(-2px); }
.nav-btn-login { background: var(--grad-gold); color: #3a2200 !important; border: none; box-shadow: 0 6px 16px rgba(254, 139, 14, .35); }
.nav-btn-login:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(254, 139, 14, .5); color: #3a2200 !important; }

.navbar-toggler { border: none; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255, 176, 0, .35); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-blue);
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s ease, transform 6s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1.14); }
.hero-slide::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(4, 24, 66, .88) 15%, rgba(8, 59, 151, .55) 55%, rgba(4, 24, 66, .25) 100%);
}
.hero-inner { position: relative; z-index: 3; color: #fff; }

.hero-kicker {
    display: inline-flex; align-items: center; gap: .6rem;
    background: rgba(255, 176, 0, .15);
    border: 1px solid rgba(255, 176, 0, .55);
    color: var(--gold);
    border-radius: 50px;
    padding: .4rem 1.2rem;
    font-size: .8rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.08;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.hero-title .hl { color: var(--gold); }
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, .9);
    max-width: 620px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-badge {
    border-radius: 50px;
    padding: .42rem 1.05rem;
    font-size: .82rem; font-weight: 600;
    backdrop-filter: blur(4px);
}
.hero-badge.gold { background: var(--gold); color: #3a2200; }
.hero-badge.blue { background: rgba(41, 114, 177, .5); border: 1px solid rgba(255,255,255,.35); color: #fff; }

.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5;
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.1rem;
    transition: all .3s;
}
.hero-arrow:hover { background: var(--grad-gold); border-color: transparent; color: #3a2200; }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }

.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: .55rem; }
.hero-dot { width: 11px; height: 11px; border-radius: 50px; border: none; background: rgba(255,255,255,.4); transition: all .35s; padding: 0; }
.hero-dot.active { width: 34px; background: var(--gold); }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 4; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* hero entrance animation */
.anim-up { opacity: 0; transform: translateY(34px); animation: animUp .9s ease forwards; }
.anim-up.d1 { animation-delay: .15s; } .anim-up.d2 { animation-delay: .35s; }
.anim-up.d3 { animation-delay: .55s; } .anim-up.d4 { animation-delay: .75s; }
@keyframes animUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   TICKER / ANNOUNCEMENT STRIP
   ============================================================ */
.ticker {
    background: var(--grad-gold);
    color: #3a2200;
    font-weight: 600;
    overflow: hidden;
    position: relative;
}
.ticker-label {
    background: var(--dark-blue); color: #fff;
    padding: .65rem 1.4rem;
    font-size: .85rem; letter-spacing: 1px; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: .5rem;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.ticker-track { display: flex; white-space: nowrap; animation: tick 22s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { padding: .65rem 2.2rem; font-size: .92rem; }
.ticker-track i { color: var(--dark-blue); margin-right: .6rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION BASICS
   ============================================================ */
.section { padding: 88px 0; }
.section.alt { background: var(--light-bg); }

.sec-kicker {
    display: inline-flex; align-items: center; gap: .55rem;
    color: var(--secondary);
    font-weight: 700; font-size: .82rem;
    letter-spacing: 2.4px; text-transform: uppercase;
    margin-bottom: .8rem;
}
.sec-kicker::before, .sec-kicker.center::after {
    content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--grad-gold);
}
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--dark-blue); }
.sec-title .hl { color: var(--secondary); }
.sec-sub { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ============================================================
   FX CARD — rotating light beam border + corner circle
   ============================================================ */
@property --beam { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.fx-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.1rem 1.8rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform .4s ease, box-shadow .4s ease;
    overflow: visible;
}
/* rotating light beam around the border — shows on hover */
.fx-card::before {
    content: "";
    position: absolute; inset: -2px;
    border-radius: calc(var(--radius) + 2px);
    padding: 2px;
    background: conic-gradient(from var(--beam),
        transparent 0deg, transparent 290deg,
        var(--gold) 320deg, var(--secondary) 345deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
}
.fx-card:hover::before { opacity: 1; animation: beamSpin 2.4s linear infinite; }
@keyframes beamSpin { to { --beam: 360deg; } }

/* corner circle partially outside the card */
.fx-card::after {
    content: "";
    position: absolute;
    top: -26px; right: -26px;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,
        rgba(255, 176, 0, .45), rgba(254, 139, 14, .16) 60%, rgba(41, 114, 177, .07));
    z-index: -1;
    transition: transform .45s ease;
}
.fx-card:hover::after { transform: scale(1.25); }
.fx-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.fx-icon {
    width: 66px; height: 66px;
    border-radius: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.15rem;
    color: #fff;
    background: var(--grad-blue);
    box-shadow: 0 10px 22px rgba(0, 62, 166, .25);
    transition: transform .4s, background .4s;
}
.fx-card:hover .fx-icon { background: var(--grad-gold); color: #3a2200; transform: rotate(-8deg) scale(1.06); }
.fx-card h5 { font-weight: 700; margin-bottom: .6rem; }
.fx-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
    background: var(--grad-blue);
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: "";
    position: absolute; top: -70px; right: -70px;
    width: 260px; height: 260px; border-radius: 50%;
    background: rgba(255, 176, 0, .15);
}
.stats-band::after {
    content: "";
    position: absolute; bottom: -90px; left: -50px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}
.stat-item { text-align: center; color: #fff; position: relative; z-index: 2; }
.stat-item .stat-ico {
    width: 58px; height: 58px; margin: 0 auto .8rem;
    border-radius: 50%;
    background: rgba(255, 176, 0, .18);
    border: 1px solid rgba(255, 176, 0, .5);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.35rem;
}
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-num .suffix { color: #fff; }
.stat-lbl { font-size: .88rem; color: rgba(255,255,255,.8); letter-spacing: .6px; margin-top: .35rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-img-wrap { position: relative; }
.about-img-main {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative; z-index: 2;
}
.about-img-sub {
    position: absolute; bottom: -34px; right: -18px;
    width: 55%;
    border-radius: var(--radius);
    border: 6px solid #fff;
    box-shadow: var(--shadow-md);
    z-index: 3;
}
.about-exp-badge {
    position: absolute; top: -24px; left: -24px; z-index: 4;
    background: var(--grad-gold);
    color: #3a2200;
    border-radius: 16px;
    padding: .85rem 1.3rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(254, 139, 14, .4);
}
.about-exp-badge b { font-size: 1.7rem; display: block; line-height: 1; }
.about-exp-badge span { font-size: .72rem; font-weight: 600; letter-spacing: .6px; }
.about-img-wrap::before {
    content: "";
    position: absolute; top: -30px; right: -30px;
    width: 130px; height: 130px;
    background: radial-gradient(circle, rgba(41,114,177,.25), transparent 70%);
    border-radius: 50%; z-index: 1;
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .32rem 0; font-weight: 500; }
.check-list li i {
    color: var(--secondary);
    background: rgba(254, 139, 14, .14);
    border-radius: 50%;
    width: 24px; height: 24px; flex: 0 0 24px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .7rem; margin-top: 2px;
}

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vm-card {
    position: relative;
    border-radius: 22px;
    padding: 2.6rem 2.3rem;
    height: 100%;
    color: #fff;
    overflow: hidden;
    transition: transform .4s;
}
.vm-card:hover { transform: translateY(-8px); }
.vm-card.blue { background: var(--grad-blue); }
.vm-card.gold { background: var(--grad-gold); color: #3a2200; }
.vm-card .vm-ico {
    width: 70px; height: 70px; border-radius: 50%;
    background: rgba(255,255,255,.16);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; margin-bottom: 1.3rem;
    border: 1px solid rgba(255,255,255,.3);
}
.vm-card.gold .vm-ico { background: rgba(8,59,151,.12); border-color: rgba(8,59,151,.25); color: var(--dark-blue); }
.vm-card h3 { color: inherit; }
.vm-card p { opacity: .92; font-size: .95rem; }
.vm-card::after {
    content: "";
    position: absolute; bottom: -60px; right: -60px;
    width: 190px; height: 190px; border-radius: 50%;
    background: rgba(255,255,255,.09);
}
.vm-card.gold::after { background: rgba(8,59,151,.1); }
.vm-card::before {
    content: "";
    position: absolute; top: -40px; left: -40px;
    width: 140px; height: 140px; border-radius: 50%;
    border: 22px solid rgba(255,255,255,.07);
}
.vm-card.gold::before { border-color: rgba(8,59,151,.08); }

/* ============================================================
   FEATURES GRID (uses .fx-card)
   ============================================================ */
.feature-num {
    position: absolute; top: 1rem; right: 1.3rem;
    font-size: 2.6rem; font-weight: 800;
    color: rgba(41, 114, 177, .1);
    line-height: 1;
}

/* ============================================================
   CAMPUS / GALLERY
   ============================================================ */
.campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.campus-item {
    position: relative; border-radius: var(--radius);
    overflow: hidden; cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.campus-item.tall { grid-row: span 2; }
.campus-item.wide { grid-column: span 2; }
.campus-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.campus-item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8, 59, 151, .75), transparent 55%);
    opacity: 0; transition: opacity .45s;
}
.campus-item:hover::after { opacity: 1; }
.campus-item:hover img { transform: scale(1.12); }
.campus-cap {
    position: absolute; bottom: 14px; left: 16px; z-index: 2;
    color: #fff; font-weight: 600; font-size: .92rem;
    opacity: 0; transform: translateY(12px); transition: all .45s;
}
.campus-item:hover .campus-cap { opacity: 1; transform: translateY(0); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-track { display: flex; transition: transform .65s ease; }
.testi-slide { flex: 0 0 100%; padding: 1.8rem .5rem .6rem; }
@media (min-width: 576px) { .testi-slide { flex-basis: 50%; } }
@media (min-width: 992px) { .testi-slide { flex-basis: 33.3333%; } }
.testi-card {
    background: #fff;
    border-radius: 22px;
    padding: 2.4rem 1.7rem;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
}
.testi-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; top: -22px; left: 34px;
    width: 52px; height: 52px;
    background: var(--grad-gold);
    color: #3a2200;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 22px rgba(254,139,14,.4);
}
.testi-text { font-size: 1.04rem; color: var(--muted); font-style: italic; }
.testi-stars { color: var(--gold); font-size: .85rem; }
.testi-avatar,
.testi-face {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--grad-blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.15rem;
    border: 3px solid var(--gold);
    object-fit: cover;
    flex: 0 0 56px;
}
.testi-nav { display: flex; gap: .6rem; justify-content: center; }
.testi-dot { width: 10px; height: 10px; border-radius: 50px; border: none; background: rgba(41,114,177,.25); padding: 0; transition: all .35s; }
.testi-dot.active { width: 30px; background: var(--secondary); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background: var(--grad-blue);
    border-radius: 26px;
    padding: 3.4rem 3rem;
    position: relative; overflow: hidden;
    color: #fff;
}
.cta-band::before {
    content: "";
    position: absolute; top: -70px; right: -70px;
    width: 240px; height: 240px; border-radius: 50%;
    background: rgba(255, 176, 0, .22);
}
.cta-band::after {
    content: "";
    position: absolute; bottom: -80px; left: -40px;
    width: 220px; height: 220px; border-radius: 50%;
    border: 30px solid rgba(255, 255, 255, .06);
}
.cta-band h2 { color: #fff; }
.cta-band h2 .hl { color: var(--gold); }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
    background:
        radial-gradient(rgba(255, 255, 255, .10) 1.5px, transparent 1.5px),
        var(--grad-blue);
    background-size: 24px 24px, cover;
    padding: 76px 0 96px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
/* soft gold glow — top right */
.page-banner::before {
    content: "";
    position: absolute; top: -70px; right: -70px;
    width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 176, 0, .30), rgba(255, 176, 0, 0) 70%);
}
/* decorative ring — bottom left */
.page-banner .container::before {
    content: "";
    position: absolute; bottom: 8px; left: -60px;
    width: 190px; height: 190px; border-radius: 50%;
    border: 26px solid rgba(255, 255, 255, .07);
}
/* curved wave edge into the next section */
.page-banner::after {
    content: "";
    position: absolute; left: -5%; right: -5%; bottom: -2px;
    height: 46px;
    background: #fff;
    border-radius: 50% 50% 0 0;
}
.page-banner h1 {
    color: #fff; font-weight: 800;
    position: relative; display: inline-block;
    animation: animUp .8s ease both;
}
/* gold accent bar under the title */
.page-banner h1::after {
    content: "";
    display: block;
    width: 74px; height: 4px;
    border-radius: 4px;
    background: var(--grad-gold);
    margin: .55rem auto 0;
    box-shadow: 0 4px 14px rgba(254, 139, 14, .55);
}
/* glassmorphism breadcrumb pill */
.page-banner .crumb {
    display: inline-flex; align-items: center;
    margin-top: .9rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, .85);
    font-size: .82rem; font-weight: 500;
    padding: .4rem 1.2rem;
    border-radius: 50px;
    animation: animUp .8s .15s ease both;
}
.page-banner .crumb a { color: var(--gold); font-weight: 600; }
.page-banner .crumb a:hover { text-decoration: underline; }
.page-banner .crumb i { color: rgba(255, 176, 0, .8); font-size: .6rem; }

/* ============================================================
   FOOTER (inside DB content — .site-footer)
   ============================================================ */
.site-footer {
    background: #051f52;
    color: rgba(255, 255, 255, .78);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute; top: -80px; right: -80px;
    width: 280px; height: 280px; border-radius: 50%;
    background: rgba(41, 114, 177, .12);
}
.site-footer h5, .site-footer h6 { color: #fff; }
.ft-logo { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; background: #fff; }
.ft-link { color: rgba(255,255,255,.72); display: block; padding: .28rem 0; font-size: .92rem; transition: all .25s; }
.ft-link:hover { color: var(--gold); padding-left: .5rem; }
.ft-link i { color: var(--secondary); font-size: .7rem; margin-right: .5rem; }
.ft-contact { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .85rem; font-size: .9rem; }
.ft-contact i { color: var(--gold); margin-top: 4px; }
.ft-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; margin-right: .5rem;
    transition: all .3s;
}
.ft-social a:hover { background: var(--grad-gold); color: #3a2200; transform: translateY(-3px); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.ft-bottom .reg-chip {
    background: rgba(255,176,0,.14);
    border: 1px solid rgba(255,176,0,.4);
    color: var(--gold);
    border-radius: 50px;
    padding: .2rem .8rem;
    font-size: .75rem; font-weight: 600;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; } .reveal.d4 { transition-delay: .48s; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
    position: fixed; bottom: 26px; right: 26px; z-index: 1050;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--grad-gold); color: #3a2200;
    border: none; font-size: 1.05rem;
    box-shadow: 0 10px 24px rgba(254, 139, 14, .45);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: all .35s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ============================================================
   MISC / RESPONSIVE
   ============================================================ */
.font-lobster { font-family: 'Lobster', cursive; }

.modal-content { border: none; border-radius: 20px; overflow: hidden; }
.login-modal-head { background: var(--grad-blue); }
.login-modal-head .modal-title { color: #fff; font-weight: 700; }
.login-logo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); box-shadow: 0 8px 22px rgba(254,139,14,.35); }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(255,176,0,.2); }

@media (max-width: 991px) {
    .campus-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .section { padding: 64px 0; }
    .hero { min-height: 76vh; }
}
@media (max-width: 576px) {
    .campus-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .campus-item.wide, .campus-item.tall { grid-column: auto; grid-row: auto; }
    .cta-band { padding: 2.4rem 1.6rem; }
    .about-img-sub { position: static; width: 70%; margin-top: 1rem; }
    .topbar .tb-hide-sm { display: none; }
}

/* ============================================================
   WELCOME / ADMISSION MODAL (first load)
   ============================================================ */
.wl-modal { border: 2px solid var(--gold); border-radius: 22px; }
.wl-head {
    background: var(--grad-blue);
    text-align: center;
    padding: 1.7rem 1.5rem 1.3rem;
    position: relative;
    overflow: hidden;
}
.wl-head::before {
    content: "";
    position: absolute; top: -55px; right: -55px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255, 176, 0, .22);
}
.wl-head::after {
    content: "";
    position: absolute; bottom: -70px; left: -40px;
    width: 150px; height: 150px; border-radius: 50%;
    border: 20px solid rgba(255, 255, 255, .06);
}
.wl-head img {
    width: 78px; height: 78px; border-radius: 50%;
    border: 3px solid var(--gold);
    background: #fff; object-fit: cover;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.wl-head h5 { color: #fff; margin: .6rem 0 0; position: relative; z-index: 2; }
.wl-head small { color: var(--gold); letter-spacing: 2px; font-size: .68rem; text-transform: uppercase; position: relative; z-index: 2; }
.wl-close {
    position: absolute; top: 12px; right: 14px; z-index: 6;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
    color: #fff; font-size: .85rem;
    transition: all .25s;
}
.wl-close:hover { background: var(--secondary); transform: rotate(90deg); }
.wl-chip {
    display: inline-block;
    background: rgba(254, 139, 14, .13);
    border: 1px dashed var(--secondary);
    color: var(--secondary);
    font-weight: 700; font-size: .78rem; letter-spacing: 1.8px;
    padding: .35rem 1.25rem; border-radius: 50px;
}
.wl-tags span {
    display: inline-block;
    background: var(--light-bg);
    border: 1px solid rgba(41,114,177,.15);
    color: var(--primary);
    font-size: .73rem; font-weight: 600;
    padding: .3rem .8rem; border-radius: 50px; margin: .18rem;
}
.wl-tags span i { color: var(--secondary); margin-right: .3rem; }

/* ============================================================
   HERO HIGHLIGHTS BOX (right side auto-scroll)
   ============================================================ */
.hero-hl-box {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .24);
    border-top: 3px solid var(--gold);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.3rem 1.3rem 1rem;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .35);
}
.hl-head {
    display: flex; align-items: center; gap: .6rem;
    color: var(--gold); font-weight: 700;
    font-size: .82rem; letter-spacing: 1.8px; text-transform: uppercase;
    margin-bottom: .7rem;
}
.hl-head i { font-size: .95rem; }
.hl-viewport {
    height: 315px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.hl-track { animation: hlScroll 20s linear infinite; }
.hl-viewport:hover .hl-track { animation-play-state: paused; }
@keyframes hlScroll { to { transform: translateY(-50%); } }
.hl-item {
    display: flex; align-items: center; gap: .8rem;
    padding: .68rem .35rem;
    color: #fff;
    border-bottom: 1px dashed rgba(255,255,255,.14);
}
.hl-ico {
    width: 38px; height: 38px; flex: 0 0 38px;
    border-radius: 12px;
    background: rgba(255,176,0,.18);
    border: 1px solid rgba(255,176,0,.5);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
}
.hl-item b { font-size: .88rem; font-weight: 600; display: block; }
.hl-item small { color: rgba(255,255,255,.62); font-size: .73rem; }

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.ach-photo {
    display: block;
    width: calc(100% + 3.6rem);
    margin: -2.1rem -1.8rem 0;
    height: 165px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}
.ach-photo ~ .fx-icon {
    margin-top: -34px;
    border: 4px solid #fff;
    border-radius: 50%;
    position: relative;
}
.ach-badge {
    position: absolute; top: 1.1rem; right: 1.2rem; z-index: 3;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(41,114,177,.2);
    color: var(--primary);
    font-size: .7rem; font-weight: 700;
    padding: .18rem .7rem; border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.ach-icon-trophy { background: var(--grad-gold) !important; color: #3a2200 !important; box-shadow: 0 10px 22px rgba(254,139,14,.35) !important; }

/* ============================================================
   TOPPERS
   ============================================================ */
.topper-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 2.3rem 1.5rem 1.6rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--gold);
    text-align: center;
    transition: transform .4s, box-shadow .4s;
}
.topper-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.topper-rank {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--grad-gold); color: #3a2200;
    font-weight: 800; font-size: .75rem;
    padding: .28rem 1rem; border-radius: 50px;
    box-shadow: 0 6px 16px rgba(254,139,14,.45);
    white-space: nowrap;
}
.topper-avatar,
.topper-photo {
    width: 74px; height: 74px; border-radius: 50%;
    background: var(--grad-blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
    border: 3px solid var(--gold);
    margin: 0 auto .8rem;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(8,59,151,.22);
}
.topper-marks { font-size: 1.45rem; font-weight: 800; color: var(--secondary); line-height: 1.1; }
.topper-class-chip {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary);
    font-size: .7rem; font-weight: 700;
    padding: .2rem .7rem; border-radius: 50px;
}

/* achievement detail rows (achievements page) */
.card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.ach-row { padding: 0 !important; overflow: hidden; }
.ach-row::after { display: none; }
.ach-side-img {
    width: 100%; height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}
.ach-row-body { padding: 1.6rem 1.8rem; }
.ach-year {
    display: inline-block;
    background: var(--grad-gold); color: #3a2200;
    font-weight: 700; font-size: .72rem;
    padding: .22rem .8rem; border-radius: 50px;
    box-shadow: 0 4px 12px rgba(254,139,14,.4);
}
.ach-cat {
    display: inline-block;
    background: var(--light-bg); color: var(--primary);
    font-size: .7rem; font-weight: 600;
    padding: .2rem .7rem; border-radius: 50px;
    border: 1px solid rgba(41,114,177,.15);
}
.ach-students { font-size: .8rem; color: var(--muted); }
.ach-students i { color: var(--secondary); margin-right: .35rem; }

/* group sub-heading (toppers page) */
.group-title {
    color: var(--dark-blue); font-weight: 800;
    display: inline-flex; align-items: center; gap: .7rem;
    margin-bottom: 0;
}
.group-title::before { content: ""; width: 9px; height: 30px; border-radius: 5px; background: var(--grad-gold); }

/* ============================================================
   MEGA BUTTON (extra highlighted)
   ============================================================ */
.btn-mega {
    font-size: 1rem;
    padding: .95rem 2.7rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    animation: megaPulse 2.2s infinite;
}
@keyframes megaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(254, 139, 14, .55); }
    70%  { box-shadow: 0 0 0 18px rgba(254, 139, 14, 0); }
    100% { box-shadow: 0 0 0 0 rgba(254, 139, 14, 0); }
}

/* ============================================================
   CONTACT STRIP (compact)
   ============================================================ */
.contact-strip {
    background: var(--grad-blue);
    border-radius: 22px;
    padding: 1.7rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-strip::after {
    content: "";
    position: absolute; top: -60px; right: -60px;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255, 176, 0, .15);
}
.cs-item { display: flex; align-items: center; gap: .75rem; font-size: .88rem; position: relative; z-index: 2; }
.cs-ico {
    width: 42px; height: 42px; flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(255,176,0,.16);
    border: 1px solid rgba(255,176,0,.5);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
}
.cs-item small { display: block; color: rgba(255,255,255,.6); font-size: .68rem; letter-spacing: .5px; text-transform: uppercase; }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-btn {
    position: fixed; bottom: 92px; right: 26px; z-index: 1050;
    width: 52px; height: 52px; border-radius: 50%;
    background: #25D366; color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .5);
    transition: transform .3s;
}
.wa-btn:hover { transform: scale(1.1); color: #fff; }
.wa-btn::before {
    content: "";
    position: absolute; inset: 0; border-radius: 50%;
    background: #25D366; opacity: .45;
    animation: waPulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes waPulse { to { transform: scale(1.6); opacity: 0; } }

/* anchored sections shouldn't hide behind sticky navbar */
section[id] { scroll-margin-top: 110px; }

/* ============================================================
   NOTICE BOARD (dynamic/notice.php)
   ============================================================ */
.notice-board {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border-top: 4px solid var(--gold);
}
.nb-head {
    background: var(--grad-blue);
    color: #fff;
    padding: 1.1rem 1.6rem;
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    font-weight: 700; font-size: 1.15rem;
}
.nb-head i { color: var(--gold); }
.nt-viewport {
    height: 400px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
}
.nt-track { animation: hlScroll 30s linear infinite; }
.nt-viewport:hover .nt-track { animation-play-state: paused; }
.nt-item {
    display: flex; gap: .9rem; align-items: flex-start;
    padding: 1rem 1.4rem;
    border-bottom: 1px dashed rgba(8,59,151,.14);
}
.nt-ico {
    width: 42px; height: 42px; flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(255,176,0,.14);
    border: 1px solid rgba(254,139,14,.4);
    color: var(--secondary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; margin-top: 2px;
}
.nt-item p { margin: 0; font-size: .95rem; color: var(--ink); font-weight: 500; }
.nt-more {
    display: inline-flex; align-items: center; gap: .3rem;
    margin-top: .4rem;
    background: var(--grad-gold); color: #3a2200 !important;
    font-size: .72rem; font-weight: 700;
    padding: .22rem .8rem; border-radius: 50px;
}
.nt-empty { text-align: center; padding: 3rem 1.5rem; color: var(--muted); }
.nt-empty i { font-size: 2.6rem; color: rgba(41,114,177,.25); display: block; margin-bottom: .8rem; }

/* ============================================================
   CONTACT PAGE (dynamic/contact.php)
   ============================================================ */
.contact-logo {
    width: 86px; height: 86px; border-radius: 50%;
    object-fit: cover; border: 3px solid var(--gold);
    box-shadow: 0 8px 22px rgba(254,139,14,.3);
    background: #fff;
}
.map-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid #fff;
    height: 100%;
    min-height: 340px;
}
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
.contact-form .form-control {
    border-radius: 12px;
    padding: .7rem 1rem;
    border: 1.5px solid rgba(41,114,177,.18);
    background: var(--light-bg);
    font-size: .92rem;
}
.contact-form .form-control:focus {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 .2rem rgba(255,176,0,.18);
}

/* ============================================================
   FACULTY (dynamic/faculty.php)
   ============================================================ */
.fac-photo {
    width: 112px; height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--gold), 0 10px 22px rgba(8,59,151,.18);
    background: var(--light-bg);
    margin: 0 auto 1rem;
    display: block;
}
.fac-fallback {
    width: 112px; height: 112px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--grad-blue);
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--gold);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700;
}
.fac-name { color: var(--primary); font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.fac-qual { color: var(--muted); font-size: .83rem; margin-bottom: .55rem; min-height: 1.2em; }
.fac-role {
    display: inline-block;
    background: rgba(255,176,0,.14);
    border: 1px solid rgba(254,139,14,.4);
    color: var(--secondary);
    border-radius: 50px;
    padding: .22rem .85rem;
    font-size: .72rem; font-weight: 700;
}
.fac-skel {
    border-radius: var(--radius);
    height: 230px;
    background: linear-gradient(90deg, #eef3fb 25%, #f8faff 50%, #eef3fb 75%);
    background-size: 200% 100%;
    animation: sklShimmer 1.2s infinite;
}
@keyframes sklShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.fac-group-line {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-bottom: 2rem;
}
.fac-group-line::before, .fac-group-line::after {
    content: ""; flex: 1; max-width: 160px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.fac-group-line::after { background: linear-gradient(90deg, var(--gold), transparent); }
.fac-group-line h3 { color: var(--dark-blue); font-weight: 800; margin: 0; white-space: nowrap; }

/* ============================================================
   GALLERY (dynamic/gallery1.php)
   ============================================================ */
.gal-img {
    cursor: pointer;
    transition: transform .4s ease, box-shadow .4s ease;
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: #e9eefb;
}
.gal-img:hover { transform: scale(1.05); box-shadow: var(--shadow-md); }
.gal-skel {
    aspect-ratio: 1;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #eef3fb 25%, #f8faff 50%, #eef3fb 75%);
    background-size: 200% 100%;
    animation: sklShimmer 1.2s infinite;
}
.gal-modal-img { width: 100%; max-height: 78vh; object-fit: contain; }
.gal-thumb {
    height: 66px; width: 74px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    flex: 0 0 auto;
}
.gal-thumb.active { border-color: var(--gold); }
.gal-thumb-wrap {
    display: flex; overflow: hidden;
    position: relative; max-width: 320px; margin: auto;
}
.gal-thumb-inner { display: flex; transition: transform .3s ease; }
.gal-thumb-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.55); color: #fff; border: none; z-index: 10;
    height: 100%; padding: 0 10px;
}
.gal-thumb-arrow.left { left: 0; } .gal-thumb-arrow.right { right: 0; }
.gal-nav-arrow {
    font-size: 2rem; color: #fff; cursor: pointer;
    background: rgba(0,0,0,.35); border-radius: 50%;
    padding: .2rem .75rem; margin: 0 10px;
    transition: background .3s;
}
.gal-nav-arrow:hover { background: var(--secondary); }
.gal-close {
    position: absolute; top: 10px; right: 15px; z-index: 10;
    font-size: 1.9rem; color: #fff; cursor: pointer;
    background: rgba(0,0,0,.45); border-radius: 50%;
    padding: 2px 11px; line-height: 1.3;
}
.gal-close:hover { background: var(--secondary); }

@media (max-width: 991px) {
    .hero-hl-box { margin-top: 2.5rem; }
    .hl-viewport { height: 260px; }
}
