﻿:root {
    --red: #c91010;
    --red-dark: #950d0d;
    --blue: #1a45a0;
    --navy: #0a1a4e;
    --gold: #f0c840;
    --cream: #fdf9f4;
    --muted: #5a6070;
    --white: #ffffff;
    --light-blue: #0d5eaf;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway',sans-serif;
    background: var(--cream);
    color: var(--navy);
    overflow-x: hidden;
}

p {
    text-align: justify;
}

/* ── TOPBAR ── */
#topBar {
    background: var(--navy);
    border-bottom: 1px solid rgba(204,17,17,0.4);
    font-size: .79rem;
    color: rgba(255,255,255,.85);
    z-index: 1060;
    position: relative;
    font-family: sans-serif;
    padding: 0px 10px;
}

    #topBar a {
        color: rgba(255,255,255,.85);
        text-decoration: none;
        transition: color .2s;
    }

        #topBar a:hover {
            color: var(--white);
        }

.topbar-sep {
    margin: 0 .6rem;
    opacity: .3;
}

.topbar-badge {
    background: var(--red);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .5px;
    padding: .22rem .7rem;
    border-radius: 2px;
}

/* ── NAVBAR ── */
#mainNav {
    background: #fff !important;
    border-bottom: 0px solid var(--red);
    transition: padding .3s ease;
    z-index: 1050;
    padding: 8px 10px;
}

    #mainNav.scrolled {
        padding-top: .3rem !important;
        padding-bottom: .3rem !important;
        border-bottom: 2px solid var(--red);
    }

.navbar-brand img {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

.navbar-brand .bt h6 {
    font-family: 'bootstrap-icons';
    font-size: 1.5rem;
    color: #0c5cad;
    margin: 0;
    line-height: 1;
    font-weight: bold;
}

.navbar-brand .bt small {
    font-size: .77rem;
    color: rgba(0, 0, 0, .8);
    letter-spacing: .2px;
    font-family: sans-serif;
    font-weight: bold;
}

.navbar-toggler {
    border-color: rgba(255,255,255,.3);
    line-height: inherit;
    padding: 0px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23001f3f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    font-size: 1.5rem;
}

/* nav links */
.navbar-nav .nav-link {
    color: rgba(0,0,0,.8) !important;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 1.55rem .7rem !important;
    transition: color .2s;
    position: relative;
    white-space: nowrap;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.nav-active {
        color: #0c5cad !important;
    }

        .navbar-nav .nav-link.nav-active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: .7rem;
            right: .7rem;
            height: 2px;
            background: var(--red);
            border-radius: 1px;
        }

        .navbar-nav .nav-link:hover .dropdown-toggle::after {
            color: #0c5cad !important;
        }

.navbar-nav .dropdown-toggle::after {
    /*vertical-align: .2em;*/
    border-top-color: rgba(0,0,0,.6);
}

/* dropdowns – desktop hover */
.navbar-nav .dropdown-menu {
    background: var(--navy);
    border: 1px solid rgba(204,17,17,.35);
    border-top: 2px solid var(--red);
    border-radius: 0 0 4px 4px;
    padding: .4rem 0;
    min-width: 210px;
    margin-top: 0 !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.dropdown-sec-label {
    font-size: .59rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    padding: .38rem 1.1rem .18rem;
    font-weight: 700;
    pointer-events: none;
    display: block;
}

.navbar-nav .dropdown-item {
    color: rgba(255,255,255,.72);
    font-size: .77rem;
    font-weight: 500;
    padding: .52rem 1.1rem;
    transition: all .2s;
}

    .navbar-nav .dropdown-item:hover, .navbar-nav .dropdown-item:focus {
        background: rgba(204,17,17,.15);
        color: var(--gold);
    }

.navbar-nav .dropdown-divider {
    border-color: rgba(255,255,255,.07);
    margin: .3rem 0;
}

/* desktop: open on hover */
@media(min-width:992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        animation: ddFadeIn .18s ease;
    }

    .navbar-nav .dropdown-menu {
        margin-top: -1px !important;
    }

    @keyframes ddFadeIn {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* mobile dropdown */
@media(max-width:991px) {
    .navbar-nav .dropdown-menu {
        background: var(--navy);
        border: none;
        border-left: 2px solid var(--red);
        border-radius: 0;
        box-shadow: none;
        margin-left: 1rem !important;
    }

    .navbar-nav .dropdown-item {
        color: rgba(255,255,255,.65);
        font-size: .8rem;
    }

    .navbar-nav {
        padding: .5rem 0;
    }
}
/* Tablets */
@media (max-width: 768px) {
    #topBar {
        display: none !important;
    }

    .navbar-nav .nav-link {
        padding: .7rem .7rem !important;
    }

    .navbar-brand img {
        height: 40px;
        width: 40px;
    }

    .navbar-brand .bt h6 {
        font-size: 1.2rem;
    }

    .navbar-brand .bt small {
        font-size: 0.7rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .navbar-nav .nav-link {
        padding: .7rem .7rem !important;
    }

    .navbar-brand {
        gap: 6px;
    }

        .navbar-brand img {
            height: 32px;
            width: 32px;
        }

        .navbar-brand .bt h6 {
            font-size: 1rem;
        }

        .navbar-brand .bt small {
            font-size: 0.65rem;
        }
}

/* Extra small devices */
@media (max-width: 360px) {
    .navbar-brand .bt h6 {
        font-size: 0.9rem;
    }

    .navbar-brand .bt small {
        display: none; /* Hide subtitle to save space */
    }
}

.nav-cta {
    background: var(--red) !important;
    color: #fff !important;
    border-radius: 2px !important;
    padding: .42rem 1.1rem !important;
    font-weight: 700 !important;
    font-size: .74rem !important;
    letter-spacing: .5px;
    transition: background .3s !important;
}

    .nav-cta:hover {
        background: var(--red-dark) !important;
        color: #fff !important;
    }

/* ── TICKER ── */
.ticker-bar {
    background: var(--red);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.ticker-label {
    background: var(--navy);
    color: var(--gold);
    padding: .48rem 1rem;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    border-right: 2px solid var(--red);
}

.ticker-wrap {
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    gap: 2rem;
    padding: .48rem 0;
    animation: ticker 10s linear infinite;
    white-space: nowrap;
}

    .ticker-track a {
        font-size: .73rem;
        font-weight: 600;
        color: #ddd;
        text-decoration: none;
    }

    .ticker-track span::before {
        content: '\25C6  ';
        font-size: 7px;
        opacity: .7;
        margin-right: 30px;
    }

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}
/* ══════════════════════════════════════
   HERO / PAGE HEADER
══════════════════════════════════════ */
.about-hero {
    background: var(--blue);
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
    border-bottom: 3px solid var(--red);
}

    .about-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(0deg,transparent,transparent 59px,rgba(201,16,16,.04) 60px), repeating-linear-gradient(90deg,transparent,transparent 59px,rgba(26,69,160,.04) 60px);
    }

.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.deco-a {
    width: 500px;
    height: 500px;
    border: 1px solid rgba(143,29,116,.5);
    top: -150px;
    right: -100px;
}

.deco-b {
    width: 320px;
    height: 320px;
    border: 1px solid rgba(240,200,64,.3);
    top: -50px;
    right: 50px;
}

.deco-c {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,rgba(201,16,16,.08) 0%,transparent 70%);
    bottom: -60px;
    left: -60px;
}

.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    padding: .35rem .9rem;
    border-radius: 2px;
    font-size: .67rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 1.5rem;
}

    .hero-breadcrumb a {
        color: var(--gold);
        text-decoration: none;
    }

    .hero-breadcrumb .sep {
        opacity: .4;
    }

.about-hero h3 {
    font-family: serif;
    font-size: clamp(2.2rem,5vw,2rem);
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
    margin-bottom: 1rem;
}

.about-hero h1 span {
    color: var(--gold);
}

.about-hero .lead {
    font-family: 'Crimson Pro',serif;
    font-size: 1.15rem;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
    max-width: 520px;
    font-style: italic;
}

.hero-logo-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-ring {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(26,69,160,.25) 0%,rgba(10,26,78,.1) 100%);
    border: 2px solid rgba(201,16,16,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(201,16,16,.12),inset 0 0 40px rgba(26,69,160,.1);
    animation: floatY 4s ease-in-out infinite;
    position: relative;
}

    .hero-logo-ring::before {
        content: '';
        position: absolute;
        inset: 10px;
        border-radius: 50%;
        border: 1px solid rgba(240,200,64,.2);
    }

    .hero-logo-ring img {
        width: 168px;
        height: 168px;
        object-fit: contain;
        filter: drop-shadow(0 8px 20px rgba(0,0,0,.3));
        position: relative;
        z-index: 1;
    }

@keyframes floatY {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}
/* ── HERO ── */
.hero-section {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    /*background: linear-gradient(135deg,var(--navy) 0%,#1a2a6c 50%,#0d1a5e 100%);*/
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.2s ease, transform 6s ease;
}

    .hero-slide.active {
        opacity: 1;
        transform: scale(1.1);
    }

@media (max-width: 480px) {
    .hero-section {
        min-height: 30vh;
    }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    /*background-image: repeating-linear-gradient(0deg,transparent,transparent 59px,rgba(204,17,17,.05) 59px,rgba(204,17,17,.05) 60px), repeating-linear-gradient(90deg,transparent,transparent 59px,rgba(26,69,160,.05) 59px,rgba(26,69,160,.05) 60px);*/
}

.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.deco1 {
    width: 600px;
    height: 600px;
    border: 1px solid rgba(204,17,17,.1);
    top: -150px;
    right: -150px;
    z-index: 1;
}

.deco2 {
    width: 380px;
    height: 380px;
    border: 1px solid rgba(26,69,160,.15);
    top: -30px;
    right: -30px;
    z-index: 1;
}

.deco3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle,rgba(204,17,17,.07) 0%,transparent 70%);
    bottom: 100px;
    left: -70px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 80px;
    padding-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(204,17,17,.15);
    border: 1px solid rgba(204,17,17,.5);
    color: #ffaaaa;
    padding: .32rem .9rem;
    border-radius: 2px;
    font-size: .65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.4rem;
    animation: fadeInDown .7s ease both;
}

.hero-title {
    font-family: 'Cinzel',serif;
    font-size: clamp(2rem,4.5vw,3.8rem);
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp .8s ease .15s both;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

    .hero-title .gold {
        color: var(--gold);
    }

.hero-sub {
    font-size: .95rem;
    color: rgba(255,255,255,.62);
    max-width: 520px;
    line-height: 1.85;
    margin-bottom: 2rem;
    animation: fadeInUp .8s ease .3s both;
}

.hero-actions {
    animation: fadeInUp .8s ease .45s both;
}

.btn-red {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: .72rem 1.7rem;
    font-weight: 700;
    font-size: .83rem;
    letter-spacing: .5px;
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
}

    .btn-red:hover {
        background: var(--red-dark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(204,17,17,.4);
    }

.btn-outline-w {
    border: 1.5px solid rgba(255,255,255,.32);
    color: #fff;
    border-radius: 2px;
    padding: .72rem 1.7rem;
    font-weight: 600;
    font-size: .83rem;
    letter-spacing: .5px;
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
    background: transparent;
}

    .btn-outline-w:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

/* Hero logo ring */
.hero-logo-wrap {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight .9s ease .3s both;
}

.hero-logo-ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(26,69,160,.2) 0%,rgba(10,26,78,.1) 100%);
    border: 2px solid rgba(204,17,17,.28);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(204,17,17,.12),inset 0 0 60px rgba(26,69,160,.1);
    animation: float 4s ease-in-out infinite;
    position: relative;
}

    .hero-logo-ring::before {
        content: '';
        position: absolute;
        inset: 12px;
        border-radius: 50%;
        border: 1px solid rgba(212,160,23,.22);
    }

    .hero-logo-ring img {
        width: 210px;
        height: 210px;
        object-fit: contain;
        filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
        position: relative;
        z-index: 1;
    }

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Slider arrows */
.slider-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all .3s;
}

    .slider-arr:hover {
        background: var(--red);
        border-color: var(--red);
    }

    .slider-arr.prev {
        left: 1.5rem;
    }

    .slider-arr.next {
        right: 1.5rem;
    }

@media(max-width:575px) {
    .slider-arr {
        width: 36px;
        height: 36px;
        font-size: .9rem;
    }

        .slider-arr.prev {
            left: .6rem;
        }

        .slider-arr.next {
            right: .6rem;
        }
}

/* Slider dots */
.slider-dots {
    display: flex;
    gap: .5rem;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.s-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    border: none;
    cursor: pointer;
    transition: all .3s;
    padding: 0;
}

    .s-dot.active {
        background: var(--red);
        width: 24px;
        border-radius: 4px;
    }

/* Slide counter */
.slide-counter {
    position: absolute;
    bottom: 2.1rem;
    right: 2rem;
    z-index: 4;
    font-size: .7rem;
    color: rgba(255,255,255,.4);
    letter-spacing: 2px;
}

/* ── SECTIONS ── */
.sec-tag {
    font-size: .67rem;
    color: var(--red);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: .5rem;
}

    .sec-tag::before {
        content: '';
        width: 22px;
        height: 2px;
        background: var(--red);
        display: block;
    }

.sec-title {
    font-family: 'Cinzel',serif;
    font-size: clamp(1.6rem,3vw,2.5rem);
    font-weight: 700;
    color: var(--light-blue);
    line-height: 1.2;
}

    .sec-title .accent {
        color: var(--red);
    }

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: all .7s cubic-bezier(.22,1,.36,1);
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.d1 {
    transition-delay: .1s;
}

.d2 {
    transition-delay: .2s;
}

.d3 {
    transition-delay: .3s;
}

/* ── NOTICEBOARD ── */
.notice-section {
    background: var(--navy);
    border-top: 0px solid var(--red);
    position: relative;
    overflow: hidden;
    padding: 3rem 1rem;
}

    .notice-section::before {
        content: '';
        position: absolute;
        top: -200px;
        right: -200px;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle,rgba(204,17,17,.07) 0%,transparent 70%);
        pointer-events: none;
    }

.nb-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: .95rem 1.1rem;
    border-left: 3px solid transparent;
    background: rgba(255,255,255,.03);
    cursor: pointer;
    transition: all .3s;
    margin-bottom: 1px;
}

    .nb-item:hover, .nb-item.nb-active {
        background: rgba(204,17,17,.1);
        border-left-color: var(--red);
    }

.nb-date-box {
    background: rgba(204,17,17,.12);
    border: 1px solid rgba(204,17,17,.25);
    padding: .2rem .2rem;
    border-radius: 2px;
    text-align: center;
    width: 100px;
    height: 70px;
    overflow: hidden;
    flex-shrink: 0;
}

    .nb-date-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nb-date-box .dd {
        font-family: 'Cinzel',serif;
        font-size: 1.2rem;
        color: var(--gold);
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .nb-date-box .mm {
        font-size: .58rem;
        color: rgba(255,255,255,.42);
        letter-spacing: 1px;
        text-transform: uppercase;
        display: block;
        margin-top: 2px;
    }

.nb-body h6 {
    font-size: .83rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .18rem;
    line-height: 1.4;
}

.nb-body p {
    font-size: .71rem;
    color: rgba(255,255,255,.4);
    line-height: 1.5;
    margin: 0;
}

.nb-badge {
    font-size: .56rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    padding: .18rem .45rem;
    border-radius: 2px;
    white-space: nowrap;
    align-self: flex-start;
    flex-shrink: 0;
}

    .nb-badge.event {
        background: rgba(26,69,160,.3);
        color: #82b0ff;
    }

    .nb-badge.exam {
        background: rgba(204,17,17,.25);
        color: #ff9090;
    }

    .nb-badge.holiday {
        background: rgba(40,160,80,.25);
        color: #80e0a0;
    }

    .nb-badge.notice {
        background: rgba(212,160,23,.2);
        color: var(--gold);
    }

.scroll-panel {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(204,17,17,.2);
    border-radius: 3px;
    overflow: hidden;
}

.scroll-head {
    background: var(--red);
    padding: .7rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .scroll-head h6 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #fff;
        margin: 0;
    }

    .scroll-head small {
        font-size: .63rem;
        color: rgba(255,255,255,.6);
    }

.scroll-area {
    height: 310px;
    overflow: hidden;
    padding: 10px;
}

.scroll-inner {
    animation: scrlup 10s linear infinite;
}

    .scroll-inner:hover {
        animation-play-state: paused;
    }

@keyframes scrlup {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.scroll-row {
    padding: .82rem 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
    cursor: pointer;
    transition: background .2s;
}

    .scroll-row:hover {
        background: rgba(204,17,17,.08);
    }

    .scroll-row .sr-date {
        font-size: .63rem;
        color: var(--blue);
        font-weight: 700;
        margin-bottom: .18rem;
    }

    .scroll-row .sr-title {
        font-size: .95rem;
        color: #000;
        line-height: 1.4;
        text-decoration: none;
        font-weight: bold;
    }

    .scroll-row .sr-cat {
        font-size: .62rem;
        color: rgba(255,255,255,.28);
        margin-top: .12rem;
    }

        .scroll-row .sr-cat a {
            font-size: 12px;
            padding: 3px 10px;
            margin-top: 3px;
            background: var(--gold);
            color: var(--navy);
            text-decoration: none;
            border-radius: 50px;
        }

.view-all {
    display: block;
    text-align: center;
    padding: .62rem;
    font-size: .72rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    border-top: 1px solid rgba(0, 0, 0, .06);
    transition: background .2s;
}

    .view-all:hover {
        background: rgba(204,17,17,.1);
        color: var(--red);
    }

/* ── ABOUT ── */
.about-section {
    background: #fff;
    padding: 3rem 1rem;
}

.pillar-card {
    padding: 1rem;
    border: 1px solid rgba(10,26,78,.08);
    border-radius: 3px;
    background: var(--cream);
    transition: all .3s;
    height: 100%;
}

    .pillar-card:hover {
        border-color: var(--red);
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(204,17,17,.1);
    }

    .pillar-card .p-icon {
        font-size: 1.3rem;
        margin-bottom: .35rem;
    }

    .pillar-card h6 {
        font-size: .8rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: .18rem;
    }

    .pillar-card p {
        font-size: .7rem;
        color: var(--muted);
        line-height: 1.5;
        margin: 0;
    }
/* Image stack — desktop only */
.img-stack {
    position: relative;
    height: 380px;
}

.img-main {
    position: absolute;
    right: 0;
    top: 0;
    width: 95%;
    height: 335px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(10,26,78,.18);
}

    .img-main img, .img-mini img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.img-mini {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46%;
    height: 160px;
    border-radius: 3px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 14px 38px rgba(10,26,78,.2);
}

.founded-badge {
    position: absolute;
    right: -20px;
    bottom: 28px;
    background: var(--navy);
    color: #fff;
    padding: .9rem 1.3rem;
    border-radius: 20px;
    text-align: center;
    border-top: 3px solid var(--red);
}

    .founded-badge .yr {
        font-family: 'Cinzel',serif;
        font-size: 1.7rem;
        color: var(--gold);
        font-weight: 700;
    }

    .founded-badge small {
        font-size: .6rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: rgba(255,255,255,.42);
    }

/* ── PRINCIPAL ── */
.principal-section {
    background: var(--cream);
    padding: 3rem 1rem;
}

.principal-card {
    background: #fff;
    border-radius: 3px;
    overflow: visible;
    box-shadow: 0 14px 46px rgba(10,26,78,.12);
    position: relative;
}

    .principal-card img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        object-position: top;
        border-radius: 3px 3px 0 0;
    }

.principal-caption {
    background: var(--navy);
    padding: 1.1rem;
    border-top: 3px solid var(--red);
    border-radius: 0 0 3px 3px;
    text-align: center
}

    .principal-caption h5 {
        font-family: 'Cinzel',serif;
        font-size: .95rem;
        color: #fff;
        margin-bottom: .18rem;
        text-align: center;
        text-transform: uppercase
    }

    .principal-caption small {
        font-size: .64rem;
        color: rgba(255,255,255,.46);
        letter-spacing: 1px;
        text-transform: capitalize;
        text-align: center;
    }

.principal-seal {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 68px;
    height: 68px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(204,17,17,.38);
    text-align: center;
    z-index: 2;
}

    .principal-seal .seal-icon {
        font-size: 1.2rem;
        line-height: 1;
    }

    .principal-seal .seal-text {
        font-size: .46rem;
        font-weight: 700;
        color: #fff;
        letter-spacing: .5px;
        margin-top: 2px;
    }

.pm-quote {
    border-left: 3px solid var(--red);
    padding: .75rem 1.1rem;
    background: rgba(204,17,17,.04);
    border-radius: 0 3px 3px 0;
    margin: 1.1rem 0;
}

    .pm-quote p {
        font-style: italic;
        font-size: .9rem;
        color: var(--navy);
        font-weight: 500;
        margin: 0;
        line-height: 1.7;
    }

.pm-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(10,26,78,.06);
    padding: .3rem .8rem;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--navy);
    margin: .18rem;
}

    .pm-pill::before {
        content: '\2713';
        color: var(--red);
    }
/* ══════════════════════════════════════
   ACHIEVEMENTS / ACCOLADES STRIP
══════════════════════════════════════ */
.achievements-section {
    background: var(--navy);
    border-top: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
    position: relative;
    overflow: hidden;
}

    .achievements-section::before {
        content: '';
        position: absolute;
        top: -200px;
        right: -200px;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle,rgba(201,16,16,.07) 0%,transparent 70%);
        pointer-events: none;
    }

.ach-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: rgba(255,255,255,.07);
    border-radius: 4px;
    overflow: hidden;
}

@media(max-width:767px) {
    .ach-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:400px) {
    .ach-grid {
        grid-template-columns: 1fr;
    }
}

.ach-item {
    background: rgba(255,255,255,.03);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: background .3s;
}

    .ach-item:hover {
        background: rgba(201,16,16,.1);
    }

.ach-icon {
    font-size: 2rem;
    margin-bottom: .8rem;
}

.ach-num {
    font-family: 'Cinzel',serif;
    font-size: 2.2rem;
    color: var(--gold);
    font-weight: 700;
    display: block;
    line-height: 1;
}

.ach-label {
    font-size: .68rem;
    color: rgba(255,255,255,.45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: .3rem;
    display: block;
}

.ach-section {
    background: var(--white);
    padding: 3rem 1rem;
}

/* ── Slider shell ── */
.ach-slider-wrap {
    position: relative;
}

.ach-slider-outer {
    position: relative;
}

/* Arrow buttons */
.ach-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(10,26,78,.28);
    transition: all .25s;
}

    .ach-arr:hover {
        background: var(--red);
        transform: translateY(-50%) scale(1.08);
    }

    .ach-arr:disabled {
        opacity: .35;
        cursor: default;
    }

        .ach-arr:disabled:hover {
            background: var(--navy);
            transform: translateY(-50%);
        }

.ach-prev {
    left: -22px;
}

.ach-next {
    right: -22px;
}

@media (max-width: 575px) {
    .ach-prev {
        left: -14px;
    }

    .ach-next {
        right: -14px;
    }

    .ach-arr {
        width: 36px;
        height: 36px;
        font-size: .9rem;
    }
}

/* Viewport */
.ach-viewport {
    overflow: hidden;
    border-radius: 6px;
    margin: 0 32px;
    padding: 6px 2px 12px;
}

@media (max-width: 575px) {
    .ach-viewport {
        margin: 0 20px;
    }
}

/* Track */
.ach-track {
    display: flex;
    gap: 20px;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
    will-change: transform;
}

/* Slide */
.ach-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
}

@media (max-width: 991px) {
    .ach-slide {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 575px) {
    .ach-slide {
        flex: 0 0 100%;
    }
}

/* ── Achievement card ── */
.ach-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(10,26,78,.08);
    transition: transform .35s ease, box-shadow .35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .ach-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 16px 40px rgba(10,26,78,.14);
    }

    /* Coloured top accent bar per category */
    .ach-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--red);
    }

    .ach-card.cat-academic::before {
        background: var(--blue);
    }

    .ach-card.cat-sports::before {
        background: #e67e00;
    }

    .ach-card.cat-culture::before {
        background: #7b1fa2;
    }

    .ach-card.cat-community::before {
        background: #1a7a40;
    }

/* Card image */
.ach-card-img {
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

    .ach-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

.ach-card:hover .ach-card-img img {
    transform: scale(1.06);
}

/* Year badge on image */
.ach-year-badge {
    position: absolute;
    bottom: .7rem;
    right: .7rem;
    background: rgba(10,26,78,.85);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 3px;
    letter-spacing: .5px;
    backdrop-filter: blur(4px);
}

/* Category badge on image */
.ach-cat-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: .22rem .65rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

    .ach-cat-badge.cat-academic {
        background: var(--blue);
    }

    .ach-cat-badge.cat-sports {
        background: #e67e00;
    }

    .ach-cat-badge.cat-culture {
        background: #7b1fa2;
    }

    .ach-cat-badge.cat-community {
        background: #1a7a40;
    }

    .ach-cat-badge.cat-general {
        background: var(--red);
    }

/* Card body */
.ach-card-body {
    padding: 1.3rem 1.3rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .ach-card-body h5 {
        font-family: 'Cinzel', serif;
        font-size: .92rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: .4rem;
        line-height: 1.3;
    }

    .ach-card-body p {
        font-size: .78rem;
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: .75rem;
        flex: 1;
    }

.ach-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(10,26,78,.07);
    padding-top: .6rem;
    font-size: .68rem;
    color: var(--red);
    font-weight: 600;
    gap: .5rem;
}

    .ach-meta .ach-award {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .ach-meta .ach-by {
        font-weight: 500;
        color: var(--muted);
        text-align: right;
        font-size: .65rem;
    }

/* Gold/silver/bronze rank pip */
.rank-pip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: .6rem;
    font-weight: 700;
    color: var(--navy);
    flex-shrink: 0;
}

    .rank-pip.gold {
        background: var(--gold);
    }

    .rank-pip.silver {
        background: #b0bec5;
    }

    .rank-pip.award {
        background: var(--red);
        color: #fff;
    }

@media (max-width: 575px) {
    .ach-banner-badge {
        margin-left: 0;
    }
}

/* ── Dots & progress ── */
.ach-dots {
    display: flex;
    justify-content: center;
    gap: .45rem;
    margin-top: 1.2rem;
}

.ach-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10,26,78,.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}

    .ach-dot.active {
        background: var(--red);
        width: 24px;
        border-radius: 4px;
    }
/*Mission, Vision and Values*/
.mvv-section {
    background: var(--cream);
    padding: 3rem 1rem;
}

.mvv-card {
    background: #fff;
    border-radius: 4px;
    padding: 2rem 1.6rem;
    border-top: 3px solid var(--red);
    height: 100%;
    box-shadow: 0 4px 20px rgba(10,26,78,.06);
    transition: all .35s;
}

    .mvv-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 36px rgba(10,26,78,.12);
    }

    .mvv-card.vision {
        border-top-color: var(--blue);
    }

    .mvv-card.values {
        border-top-color: var(--gold-dk);
    }

.mvv-icon {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}

.mvv-card .mvv-icon {
    background: rgba(201,16,16,.08);
}

.mvv-card.vision .mvv-icon {
    background: rgba(26,69,160,.08);
}

.mvv-card.values .mvv-icon {
    background: rgba(200,150,30,.08);
}

.mvv-card h4 {
    font-family: 'Cinzel',serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .7rem;
}

.mvv-card p {
    font-family: 'Crimson Pro',serif;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: .8rem 0 0;
}

    .values-list li {
        display: flex;
        align-items: center;
        gap: .6rem;
        font-size: .82rem;
        font-weight: 600;
        color: var(--navy);
        padding: .4rem 0;
        border-bottom: 1px solid rgba(10,26,78,.05);
    }

        .values-list li:last-child {
            border-bottom: none;
        }

        .values-list li::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--gold-dk);
            flex-shrink: 0;
        }
/* ── WHY US ── */
.why-section {
    background: var(--navy);
    border-top: 3px solid var(--red);
    position: relative;
    overflow: hidden;
    padding: 3rem 1rem;
}

    .why-section::before {
        content: '';
        position: absolute;
        top: -200px;
        left: -200px;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle,rgba(204,17,17,.07) 0%,transparent 70%);
        pointer-events: none;
    }

.feat-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(204,17,17,.15);
    border-radius: 3px;
    padding: 1.5rem 1.5rem;
    transition: all .4s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .feat-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(-135deg,rgba(13,95,175,.4) 0%,transparent 60%);
        opacity: 0;
        transition: opacity .4s;
    }

    .feat-card:hover {
        border-color: rgba(204,17,17,.45);
        transform: translateY(-5px);
    }

        .feat-card:hover .feat-icon {
            transform: scale(1.2);
            transition: .4s ease-in-out;
        }

        .feat-card:hover::before {
            opacity: 1;
        }

.feat-icon {
    width: 48px;
    height: 48px;
    background: #d80304;
    border: 1px solid rgba(204,17,17,.25);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--white);
    transition: .4s ease-in-out;
}

.feat-card h5 {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .38rem;
}

.feat-card p {
    font-size: .78rem;
    color: rgba(255,255,255,.46);
    line-height: 1.7;
    margin: 0;
}

/* ── ACADEMICS ── */
.academics-section {
    background: var(--white);
    padding: 3rem 1rem;
}

.grade-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .95rem 1.3rem;
    background: #fff;
    border-radius: 3px;
    border-left: 3px solid var(--red);
    box-shadow: 0 2px 10px rgba(10,26,78,.06);
    transition: all .3s;
    margin-bottom: .85rem;
}

    .grade-card:hover {
        transform: translateX(6px);
        box-shadow: 0 6px 20px rgba(10,26,78,.12);
    }

.grade-num {
    font-family: 'Cinzel',serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red);
    min-width: 52px;
}

.grade-card h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: .5rem;
}

.grade-card p {
    font-size: .95rem;
    line-height: 1.5;
    margin: 0;
}

.curr-box {
    background: var(--navy);
    color: #fff;
    border-radius: 3px;
    padding: 1.8rem;
    border-top: 3px solid var(--red);
}

    .curr-box h4 {
        font-family: 'Cinzel',serif;
        font-size: 1.25rem;
        color: var(--gold);
        margin-bottom: .38rem;
    }

    .curr-box > p {
        font-size: .78rem;
        color: rgba(255,255,255,.48);
        line-height: 1.7;
        margin-bottom: 1.4rem;
    }

.curr-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .curr-list li {
        display: flex;
        align-items: flex-start;
        gap: .55rem;
        font-size: .78rem;
        color: rgba(255,255,255,.76);
        line-height: 1.5;
        padding-bottom: .6rem;
    }

        .curr-list li::before {
            content: '\25B6';
            color: var(--red);
            font-size: .52rem;
            margin-top: 4px;
            flex-shrink: 0;
        }

.hp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: #fff;
    padding: .28rem .85rem;
    border-radius: 2px;
    font-weight: 700;
    font-size: .7rem;
    letter-spacing: .5px;
    margin-bottom: 1.1rem;
}

/* ── GALLERY ── */
.gallery-section {
    background: #fff;
    padding: 3rem 1rem;
}

.gf-btn {
    padding: .35rem .95rem;
    border: 1px solid rgba(10,26,78,.15);
    border-radius: 20px;
    font-size: .73rem;
    font-weight: 600;
    color: var(--muted);
    background: none;
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
}

    .gf-btn.active, .gf-btn:hover {
        background: var(--navy);
        color: #fff;
        border-color: var(--navy);
    }

.gal-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 185px;
    gap: 8px;
}

.gal-item {
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--navy);
}

    .gal-item.tall {
        grid-row: span 2;
    }

    .gal-item.wide {
        grid-column: span 2;
    }

    .gal-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s,opacity .3s;
        display: block;
    }

    .gal-item:hover img {
        transform: scale(1.07);
        opacity: .7;
    }

.gal-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    background: rgba(10,26,78,.4);
}

.gal-item:hover .gal-overlay {
    opacity: 1;
}

.gal-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,rgba(10,26,78,.88) 0%,transparent 100%);
    padding: 1rem .7rem .55rem;
    color: #fff;
    font-size: .71rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform .3s;
}

.gal-item:hover .gal-label {
    transform: translateY(0);
}

@media(max-width:767px) {
    .gal-grid {
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: 150px;
    }

    .gal-item.wide {
        grid-column: span 1;
    }

    .gal-item.tall {
        grid-row: span 1;
    }
}

/* ── LIGHTBOX ── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(5,8,22,.96);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

    .lightbox.open {
        opacity: 1;
        visibility: visible;
    }

.lb-inner {
    position: relative;
    max-width: 860px;
    width: 90%;
    transform: scale(.93);
    transition: transform .3s;
}

.lightbox.open .lb-inner {
    transform: scale(1);
}

.lb-img-wrap {
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,.6);
    max-height: 78vh;
    display: flex;
}

    .lb-img-wrap img {
        width: 100%;
        max-height: 78vh;
        object-fit: contain;
        display: block;
    }

.lb-close {
    position: absolute;
    top: -3rem;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

    .lb-close:hover {
        background: var(--red);
        border-color: var(--red);
    }

.lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
}

    .lb-nav-btn:hover {
        background: var(--red);
        border-color: var(--red);
    }

.lb-prev {
    left: -4rem;
}

.lb-next {
    right: -4rem;
}

.lb-counter {
    position: absolute;
    top: -3rem;
    left: 0;
    color: rgba(255,255,255,.38);
    font-size: .74rem;
}

.lb-caption {
    position: absolute;
    bottom: -2.3rem;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,.52);
    font-size: .78rem;
}

.lb-thumbs {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: .7rem;
    flex-wrap: wrap;
}

.lb-thumb {
    width: 48px;
    height: 34px;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
    flex-shrink: 0;
}

    .lb-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .lb-thumb.active {
        border-color: var(--red);
    }

@media(max-width:767px) {
    .lb-prev, .lb-next {
        display: none;
    }
}

/* ── SCHOOL LIFE ── */
.life-section {
    background: var(--cream);
}

.life-card {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(10,26,78,.07);
    transition: all .35s;
    height: 100%;
}

    .life-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 14px 38px rgba(10,26,78,.13);
    }

.life-card-img {
    height: 175px;
    overflow: hidden;
}

    .life-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s;
    }

.life-card:hover .life-card-img img {
    transform: scale(1.06);
}

.life-card-body {
    padding: 1.25rem;
}

.life-tag {
    display: inline-block;
    background: rgba(204,17,17,.1);
    color: var(--red);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .18rem .5rem;
    border-radius: 2px;
    margin-bottom: .42rem;
}
/* ── SCHOOL LIFE ── */
.life-section {
    background: var(--white);
    padding: 3rem 1rem;
}

.life-card {
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(10,26,78,.07);
    transition: all .35s;
    height: 100%;
}

    .life-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 0px 0px rgba(10,26,78,.13);
    }

.life-card-img {
    height: 175px;
    overflow: hidden;
}

    .life-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s;
    }

.life-card:hover .life-card-img img {
    transform: scale(1.06);
}

.life-card-body {
    padding: 1.25rem;
}

.life-tag {
    display: inline-block;
    background: rgba(204,17,17,.1);
    color: var(--red);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .18rem .5rem;
    border-radius: 2px;
    margin-bottom: .42rem;
}
/* Wrapper */
.act-slider-wrap {
    margin-top: 1rem;
}

/* Category tabs */
.act-tabs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.act-tab {
    padding: .38rem 1.1rem;
    border: 1.5px solid rgba(10,26,78,.15);
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted);
    background: none;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    transition: all .25s;
    white-space: nowrap;
}

    .act-tab:hover {
        border-color: var(--navy);
        color: var(--navy);
    }

    .act-tab.active {
        background: var(--navy);
        border-color: var(--navy);
        color: #fff;
        box-shadow: 0 4px 14px rgba(10,26,78,.18);
    }

/* Outer: contains arrows + viewport */
.act-slider-outer {
    position: relative;
}

/* Arrow buttons */
.act-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(10,26,78,.3);
    transition: all .25s;
    flex-shrink: 0;
}

    .act-arr:hover {
        background: var(--red);
        transform: translateY(-50%) scale(1.08);
    }

    .act-arr:disabled {
        opacity: .35;
        cursor: default;
    }

        .act-arr:disabled:hover {
            background: var(--navy);
            transform: translateY(-50%);
        }

.act-prev {
    left: -22px;
}

.act-next {
    right: -22px;
}

@media (max-width: 575px) {
    .act-prev {
        left: -14px;
    }

    .act-next {
        right: -14px;
    }

    .act-arr {
        width: 36px;
        height: 36px;
        font-size: .9rem;
    }
}

/* Viewport — clips overflowing cards */
.act-slider-viewport {
    overflow: hidden;
    border-radius: 6px;
    margin: 0 32px;
}

@media (max-width: 575px) {
    .act-slider-viewport {
        margin: 0 20px;
    }
}

/* Track — slides horizontally */
.act-slider-track {
    display: flex;
    gap: 20px;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
    will-change: transform;
    padding: 6px 0 10px; /* allow card shadow to show */
}

/* Individual slide */
.act-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
}

@media (max-width: 991px) {
    .act-slide {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 575px) {
    .act-slide {
        flex: 0 0 calc(100% - 0px);
    }
}

/* Card */
.act-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 5px rgba(10,26,78,.09);
    transition: transform .35s ease, box-shadow .35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .act-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 36px rgba(10,26,78,.14);
    }

/* Image area */
.act-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}

    .act-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

.act-card:hover .act-img img {
    transform: scale(1.06);
}

/* Category badge on image */
.act-cat-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: var(--red);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: .22rem .65rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Card body */
.act-body {
    padding: 1.2rem 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .act-body h5 {
        font-family: 'Cinzel', serif;
        font-size: .95rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: .45rem;
        line-height: 1.3;
    }

    .act-body p {
        font-size: .78rem;
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: .75rem;
        flex: 1;
    }

.act-meta {
    font-size: .68rem;
    color: var(--red);
    font-weight: 600;
    border-top: 1px solid rgba(10,26,78,.07);
    padding-top: .6rem;
    margin-top: auto;
}

/* Dots */
.act-dots {
    display: flex;
    justify-content: center;
    gap: .45rem;
    margin-top: 1.2rem;
}

.act-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10,26,78,.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}

    .act-dot.active {
        background: var(--red);
        width: 24px;
        border-radius: 4px;
    }

/* Progress bar */
.act-progress-wrap {
    height: 3px;
    background: rgba(10,26,78,.08);
    border-radius: 2px;
    margin: .8rem auto 0;
    max-width: 200px;
    overflow: hidden;
}

.act-progress-bar {
    height: 100%;
    background: var(--red);
    border-radius: 2px;
    width: 0%;
    transition: width .45s ease;
}

/* Stat strip */
.act-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: var(--navy);
    border-radius: 6px;
    margin-top: 2.5rem;
    padding: 1.4rem 1rem;
    border-top: 3px solid var(--red);
}

.act-stat-item {
    text-align: center;
    padding: .6rem 1.8rem;
    flex: 1;
    min-width: 130px;
}

.act-stat-num {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1.1;
}

.act-stat-label {
    font-size: .68rem;
    color: rgba(255,255,255,.48);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-top: .2rem;
}

.act-stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.1);
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .act-stat-sep {
        display: none;
    }

    .act-stat-item {
        min-width: 50%;
        padding: .6rem .8rem;
    }
}

/* Slide fade-in on filter */
.act-slide.hidden {
    display: none;
}
/* ── FACILITIES ── */
.facilities-section {
    background: var(--navy);
    padding: 3rem 1rem;
}

.fac-item {
    text-align: center;
    padding: 1.5rem .75rem;
    border: 1px solid rgba(10,26,78,.08);
    border-radius: 3px;
    background: var(--blue);
    transition: all .3s ease;
    height: 100%;
}

    .fac-item:hover {
        background: var(--red);
        border-color: var(--red);
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        color: #fff;
    }

        .fac-item:hover .fi-icon {
            transform: translateY(-5px);
            transition: .4s ease-in-out;
        }

    .fac-item .fi-icon {
        font-size: 1.8rem;
        margin-bottom: .55rem;
        color: var(--gold);
        transition: .4s ease-in-out;
    }

        .fac-item .fi-icon img {
            width: 100%;
            height: auto;
        }

    .fac-item h6 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: .28rem;
    }

    .fac-item p {
        font-size: .9rem;
        color: #ddd;
        line-height: 1.5;
        margin: 0;
        text-align: center;
    }

/* ── ADMISSIONS ── */
.admissions-section {
    background: var(--navy);
    border-top: 3px solid var(--red);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 1rem;
}

    .admissions-section::after {
        content: 'ADMISSIONS';
        position: absolute;
        right: -80px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        font-size: 6rem;
        font-family: 'Cinzel',serif;
        font-weight: 900;
        color: rgba(204,17,17,.04);
        white-space: nowrap;
        letter-spacing: 8px;
        pointer-events: none;
    }

.step-num {
    width: 50px;
    height: 50px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel',serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    transition: all .3s;
}

.step-wrap {
    background: none;
    padding: 20px;
}

    .step-wrap h6 {
        color: #fff;
        font-size: .82rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .step-wrap p {
        color: rgba(255,255,255,.38);
        font-size: .72rem;
        line-height: 1.5;
        text-align: center;
        padding: 5px 20px;
    }

    .step-wrap:hover .step-num {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(204,17,17,.18);
    }

    .step-wrap:nth-child(1)
    .step-wrap:nth-child(2),
    .step-wrap:nth-child(3) {
        border-right: 1px solid rgba(26,69,160,0.5);
    }

    .step-wrap:not(:last-child) {
        border-right: 1px solid rgba(26,69,160,0.5);
    }

@media (min-width: 768px) {
    .step-wrap:not(:last-child) {
        border-right: 1px solid rgba(26,69,160,0.5);
    }
}
/* ── CONTACT ── */
.contact-section {
    background: var(--cream);
    padding: 3rem 1rem;
}

.info-row-card {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: .85rem 1rem;
    background: #fff;
    border-radius: 3px;
    border-left: 2px solid var(--red);
    margin-bottom: .7rem;
}

.ir-label {
    font-size: .63rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    margin-bottom: .1rem;
}

.ir-value {
    font-size: .8rem;
    color: var(--navy);
    font-weight: 600;
    margin: 0;
}

.contact-form-box {
    background: #fff;
    border-radius: 3px;
    padding: 1.8rem;
    box-shadow: 0 8px 36px rgba(10,26,78,.08);
}

    .contact-form-box h4 {
        font-family: 'Cinzel',serif;
        font-size: 1.15rem;
        color: var(--navy);
        margin-bottom: 1.2rem;
    }

.form-label {
    font-size: .68rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: .28rem;
}

.form-control, .form-select {
    border: 1px solid rgba(10,26,78,.12);
    border-radius: 2px;
    font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: .84rem;
    color: var(--navy);
    background: var(--cream);
}

    .form-control:focus, .form-select:focus {
        border-color: var(--red);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(204,17,17,.1);
    }

.btn-submit {
    width: 100%;
    padding: .75rem;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'Raleway',sans-serif;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .5px;
    transition: all .3s;
}

    .btn-submit:hover {
        background: var(--red);
    }

/* ── FOOTER ── */
footer {
    background: var(--navy);
    color: rgba(255,255,255,.42);
    padding: 3rem 1rem 1.5rem;
}

.footer-border {
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.footer-brand p {
    font-size: .75rem;
    line-height: 1.8;
    color: rgba(255,255,255,.42);
}

.footer-motto {
    font-family: 'Cinzel',serif;
    color: var(--gold);
    font-style: italic;
    font-size: .8rem;
}

.footer-col h6 {
    font-size: .8rem;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: .9rem;
    font-weight: 700;
}

.footer-col a {
    display: block;
    font-size: .8rem;
    color: rgba(255,255,255,.36);
    text-decoration: none;
    margin-bottom: .45rem;
    transition: color .3s;
}

    .footer-col a:hover {
        color: var(--gold);
    }

.footer-bottom {
    font-size: .68rem;
    color: rgba(255,255,255,.26);
}

    .footer-bottom span {
        color: var(--cream);
    }

/* ── SCROLL TOP ── */
.scroll-top-btn {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    z-index: 9000;
    width: 40px;
    height: 40px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(204,17,17,.45);
    transition: all .3s;
    opacity: 0;
    pointer-events: none;
    font-size: 1rem;
}

    .scroll-top-btn.show {
        opacity: 1;
        pointer-events: auto;
    }

    .scroll-top-btn:hover {
        transform: translateY(-3px);
    }

/* ── KEYFRAMES ── */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── RESPONSIVE ── */
@media(max-width:991px) {
    .hero-logo-ring {
        width: 220px;
        height: 220px;
    }

        .hero-logo-ring img {
            width: 150px;
            height: 150px;
        }

    .img-stack {
        display: block;
    }
}

@media(max-width:575px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .ticker-label {
        padding: .48rem .6rem;
        font-size: .58rem;
    }

    .admissions-section::after {
        display: none;
    }

    .slide-counter {
        display: none;
    }
}
/* ══════════════════════════════════════
   SCHOOL TOPPERS SECTION
══════════════════════════════════════ */
.toppers-section {
    background: #fff;
    padding: 3rem 1rem;
}

/* ── Year selector tabs ── */
.topper-year-tabs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.topper-year-tab {
    padding: .38rem 1.2rem;
    border: 1.5px solid rgba(10,26,78,.15);
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    color: var(--muted);
    background: none;
    cursor: pointer;
    transition: all .25s;
    white-space: nowrap;
    letter-spacing: .5px;
}

    .topper-year-tab:hover {
        border-color: var(--red);
        color: var(--red);
    }

    .topper-year-tab.active {
        background: var(--red);
        border-color: var(--red);
        color: #fff;
        box-shadow: 0 4px 14px rgba(201,16,16,.28);
    }

/* ── Podium strip (top 3 featured) ── */
.podium-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.podium-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 28px rgba(10,26,78,.1);
    text-align: center;
    transition: all .35s;
    overflow: visible;
    position: relative;
    flex: 1;
    max-width: 280px;
}

    .podium-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(10,26,78,.16);
    }

    /* Heights create podium step effect */
    .podium-card.rank-1 {
        padding-top: 1.5rem;
    }

    .podium-card.rank-2, .podium-card.rank-3 {
        padding-top: .5rem;
    }

@media (max-width: 575px) {
    .podium-wrap {
        flex-direction: column;
        align-items: center;
    }

    .podium-card {
        max-width: 100%;
        width: 100%;
    }
}

/* Rank badge floats above avatar */
.podium-rank {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: .82rem;
    font-weight: 900;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    z-index: 3;
}

.podium-card.rank-1 .podium-rank {
    background: #f0c840;
    color: #7a5000;
    font-size: 1rem;
    width: 44px;
    height: 44px;
    top: -22px;
}

.podium-card.rank-2 .podium-rank {
    background: #b0bec5;
    color: #37474f;
}

.podium-card.rank-3 .podium-rank {
    background: #cd8c4a;
    color: #5d3100;
}

/* Avatar ring */
.podium-avatar-wrap {
    position: relative;
    display: inline-block;
    margin: 1.5rem auto .8rem;
}

.podium-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid #fff;
    box-shadow: 0 4px 18px rgba(10,26,78,.15);
    display: block;
}

.podium-card.rank-1 .podium-avatar {
    width: 100px;
    height: 100px;
}

/* Glowing ring for rank-1 */
.podium-card.rank-1 .podium-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #f0c840, #e67e00, #f0c840, #e67e00, #f0c840);
    z-index: -1;
    animation: rotateRing 3s linear infinite;
}

@keyframes rotateRing {
    to {
        transform: rotate(360deg);
    }
}

.podium-body {
    padding: 0 1.2rem 1.4rem;
}

    .podium-body .p-name {
        font-family: 'Cinzel', serif;
        font-size: .92rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: .18rem;
    }

    .podium-body .p-grade {
        font-size: .68rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: .5rem;
    }

.podium-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--navy);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 900;
    padding: .35rem .9rem;
    border-radius: 4px;
    margin-bottom: .6rem;
    letter-spacing: .5px;
}

.podium-card.rank-1 .podium-score {
    background: var(--gold);
    color: var(--navy);
    font-size: 1.3rem;
}

.p-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    justify-content: center;
    margin-top: .5rem;
}

.p-subj-tag {
    font-size: .6rem;
    font-weight: 600;
    padding: .15rem .5rem;
    border-radius: 10px;
    background: rgba(10,26,78,.06);
    color: var(--muted);
    letter-spacing: .3px;
}

.p-quote {
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    font-size: .83rem;
    color: var(--muted);
    line-height: 1.5;
    border-top: 1px solid rgba(10,26,78,.07);
    margin-top: .6rem;
    padding-top: .6rem;
}

/* ── Full toppers slider (all ranks) ── */
.topper-slider-outer {
    position: relative;
    margin-top: 2.5rem;
}

.topper-slider-label {
    font-family: 'Cinzel', serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.2rem;
}

    .topper-slider-label::before {
        content: '';
        width: 22px;
        height: 2px;
        background: var(--red);
        display: block;
    }

/* Arrows */
.tp-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(10,26,78,.25);
    transition: all .25s;
}

    .tp-arr:hover {
        background: var(--red);
        transform: translateY(-50%) scale(1.08);
    }

    .tp-arr:disabled {
        opacity: .35;
        cursor: default;
    }

        .tp-arr:disabled:hover {
            background: var(--navy);
            transform: translateY(-50%);
        }

.tp-prev {
    left: -22px;
}

.tp-next {
    right: -22px;
}

@media (max-width: 575px) {
    .tp-prev {
        left: -14px;
    }

    .tp-next {
        right: -14px;
    }

    .tp-arr {
        width: 34px;
        height: 34px;
        font-size: .85rem;
    }
}

/* Viewport */
.tp-viewport {
    overflow: hidden;
    margin: 0 30px;
    padding: 4px 2px 10px;
}

@media (max-width: 575px) {
    .tp-viewport {
        margin: 0 18px;
    }
}

/* Track */
.tp-track {
    display: flex;
    gap: 16px;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
    will-change: transform;
}

/* Slide */
.tp-slide {
    flex: 0 0 calc(25% - 12px);
    min-width: 0;
}

@media (max-width: 991px) {
    .tp-slide {
        flex: 0 0 calc(33.333% - 11px);
    }
}

@media (max-width: 767px) {
    .tp-slide {
        flex: 0 0 calc(50% - 8px);
    }
}

@media (max-width: 400px) {
    .tp-slide {
        flex: 0 0 100%;
    }
}

/* Topper card */
.tp-card {
    background: var(--cream);
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 3px 14px rgba(10,26,78,.07);
    transition: all .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 3px solid transparent;
}

    .tp-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 32px rgba(10,26,78,.12);
        border-top-color: var(--red);
    }

.tp-card-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid #fff;
    box-shadow: 0 3px 12px rgba(10,26,78,.12);
    margin: 1.1rem auto .6rem;
    display: block;
}

/* Rank number circle */
.tp-rank-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .4rem;
}

.tp-card-body {
    padding: 0 .9rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .tp-card-body .tp-name {
        font-family: 'Cinzel', serif;
        font-size: 1rem;
        font-weight: 700;
        color: var(--red);
        margin-bottom: .35rem;
        line-height: 1.3;
    }

    .tp-card-body .tp-grade {
        font-size: .63rem;
        color: var(--muted);
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        margin-bottom: .45rem;
        line-height: 2.2em;
    }

.tp-score-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: .8rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 3px;
    margin: 0 auto .4rem;
    letter-spacing: .5px;
}

.tp-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    justify-content: center;
    margin-top: auto;
    padding-top: .4rem;
}

.tp-subj {
    font-size: .58rem;
    font-weight: 600;
    padding: .12rem .42rem;
    border-radius: 8px;
    background: var(--light-blue);
    color: var(--white);
}

/* Dots & progress */
.tp-dots {
    display: none;
    justify-content: center;
    gap: .4rem;
    margin-top: 1rem;
}

.tp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(10,26,78,.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}

    .tp-dot.active {
        background: var(--red);
        width: 22px;
        border-radius: 4px;
    }

.tp-progress-wrap {
    height: 3px;
    background: rgba(10,26,78,.07);
    border-radius: 2px;
    margin: .7rem auto 0;
    max-width: 180px;
    overflow: hidden;
    display: none
}

.tp-progress-bar {
    height: 100%;
    background: var(--red);
    border-radius: 2px;
    width: 0%;
    transition: width .45s ease;
}

/* ── Top-topper summary banner ── */
.topper-summary-banner {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2a6c 100%);
    border-radius: 6px;
    padding: 1.6rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    border-bottom: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
}

    .topper-summary-banner::after {
        content: '';
        position: absolute;
        right: -40px;
        top: -40px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(240,200,64,.05);
    }

.tsb-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(240,200,64,.12);
    border: 2px solid rgba(240,200,64,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tsb-text h5 {
    font-family: 'Cinzel', serif;
    font-size: .95rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: .2rem;
}

.tsb-text p {
    font-size: .78rem;
    color: rgba(255,255,255,.52);
    margin: 0;
    line-height: 1.6;
}

.tsb-stats {
    margin-left: auto;
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .tsb-stats {
        margin-left: 0;
    }
}

.tsb-stat {
    text-align: center;
}

    .tsb-stat .tsb-num {
        font-family: 'Cinzel', serif;
        font-size: 1.4rem;
        color: var(--gold);
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .tsb-stat .tsb-lbl {
        font-size: .6rem;
        color: rgba(255,255,255,.4);
        letter-spacing: 1px;
        text-transform: uppercase;
    }
/* ══════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════ */
.faq-section {
    background: var(--cream);
}

/* ── Two-column grid ── */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 767px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Accordion item ── */
.faq-item {
    background: #fff;
    border-radius: 5px;
    border: 1px solid rgba(10,26,78,.08);
    overflow: hidden;
    transition: box-shadow .3s, border-color .3s;
}

    .faq-item.hidden {
        display: none;
    }

    .faq-item:hover {
        border-color: rgba(201,16,16,.2);
    }

    .faq-item.open {
        border-color: var(--red);
        box-shadow: 0 6px 24px rgba(201,16,16,.1);
    }

/* Question row */
.faq-q {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.faq-q-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
    background: rgba(201,16,16,.07);
    color: var(--red);
    transition: background .3s;
}

.faq-item.open .faq-q-icon {
    background: var(--red);
    color: #fff;
}

.faq-q-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    flex: 1;
}

.faq-item.open .faq-q-text {
    color: var(--red);
}

/* Plus / minus toggle */
.faq-toggle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid rgba(10,26,78,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    color: var(--muted);
    flex-shrink: 0;
    transition: all .3s;
}

.faq-item.open .faq-toggle {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: rotate(45deg);
}

/* Answer panel */
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.22,1,.36,1), padding .3s ease;
    padding: 0 1.1rem 0 3.9rem;
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding-bottom: 1.1rem;
}

.faq-a p {
    font-size: .95rem;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.faq-a ul {
    padding-left: 1.1rem;
    margin: .5rem 0 0;
}

    .faq-a ul li {
        font-size: .82rem;
        color: var(--muted);
        line-height: 1.8;
        margin-bottom: .2rem;
    }

.faq-a a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}

    .faq-a a:hover {
        text-decoration: underline;
    }

/* Category label on item */
.faq-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: .14rem .5rem;
    border-radius: 8px;
    margin-bottom: .35rem;
    pointer-events: none;
}

    .faq-cat-pill.admissions {
        background: rgba(201,16,16,.1);
        color: var(--red);
    }

    .faq-cat-pill.academics {
        background: rgba(26,69,160,.1);
        color: var(--blue);
    }

    .faq-cat-pill.fees {
        background: rgba(200,150,30,.12);
        color: var(--gold-dk);
    }

    .faq-cat-pill.facilities {
        background: rgba(26,122,64,.1);
        color: #1a7a40;
    }

    .faq-cat-pill.general {
        background: rgba(10,26,78,.07);
        color: var(--navy);
    }

/* ── Contact-us nudge banner ── */
.faq-cta-nudge {
    background: var(--navy);
    border-radius: 6px;
    padding: 1.6rem 2rem;
    margin-top: 2.2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-left: 4px solid var(--red);
    position: relative;
    overflow: hidden;
}

    .faq-cta-nudge::after {
        content: '?';
        font-family: 'Cinzel', serif;
        font-size: 10rem;
        font-weight: 900;
        position: absolute;
        right: 1.5rem;
        top: -2rem;
        color: rgba(201,16,16,.05);
        line-height: 1;
        pointer-events: none;
    }

.faq-nudge-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(201,16,16,.15);
    border: 2px solid rgba(201,16,16,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.faq-nudge-text h5 {
    font-family: 'Cinzel', serif;
    font-size: .92rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: .2rem;
}

.faq-nudge-text p {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    margin: 0;
}

.faq-nudge-btn {
    margin-left: auto;
    flex-shrink: 0;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: .6rem 1.4rem;
    font-family: 'Raleway', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .5px;
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
}

    .faq-nudge-btn:hover {
        background: var(--red-dk);
        color: #fff;
        transform: translateY(-2px);
    }

@media (max-width: 575px) {
    .faq-nudge-btn {
        margin-left: 0;
    }
}

/* Search highlight */
.faq-highlight {
    background: rgba(240,200,64,.3);
    border-radius: 2px;
}
