/* ==========================================================
   Bhawana Educational Academy - Main Stylesheet
   ========================================================== */


@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --primary: #00923f;         /* green - main brand */
    --primary-dark: #006b2e;
    --secondary: #183883;       /* blue */
    --secondary-dark: #0f2459;  /* deep navy - dark bands */
    --accent: #fffb00;          /* yellow - small highlights on dark bg only */
    --gold: #C08A2E;
    --gold-lt: #DDB876;
    --cream: #fbf8f1;           /* warm light background */
    --text: #000;
    --light: #f6f3ea;
    --white: #ffffff;
    --font-main: 'Jost', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    overflow-x: clip;
    /* clip (not hidden) so the sticky header keeps working */
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1300px !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
}

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

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

/* ---------- Buttons ---------- */
.btn-brand,
.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-brand {
    background: linear-gradient(135deg, var(--gold) 0%, #a8761f 100%);
    color: var(--white);
    border: 2px solid var(--gold);
    box-shadow: 0 6px 18px rgba(192, 138, 46, 0.3);
}

.btn-brand:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 146, 63, 0.3);
}

.btn-brand i {
    transition: var(--transition);
}

.btn-brand:hover i {
    transform: translateX(4px);
}

.btn-outline-brand {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline-brand:hover {
    background: var(--secondary);
    color: var(--white);
}

/* ---------- Top strip & topbar ---------- */
.top-strip {
    height: 5px;
    background: linear-gradient(90deg,
            var(--primary) 0 25%,
            var(--secondary) 25% 50%,
            var(--gold) 50% 75%,
            var(--accent) 75% 100%);
}

.topbar {
    background: var(--secondary-dark);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.tb-left,
.tb-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tb-item {
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255);
}

.tb-item i {
    color: var(--gold-lt);
    font-size: 14px;
}

a.tb-item:hover {
    color: var(--white);
}

.tb-social {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 13px;
}

.tb-social:hover {
    background: var(--gold);
    color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(251, 248, 241, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(192, 138, 46, 0.2);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.hd-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
    transition: var(--transition);
}

.site-header.scrolled .hd-inner {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* Brand */
.hd-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hd-brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: var(--transition);
}

.site-header.scrolled .hd-brand img {
    width: 52px;
    height: 52px;
}

.hd-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.hd-brand-name {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
    color: var(--secondary);
}

.hd-brand-name span {
    display: block;
    margin-top: 3px;
    font-family: var(--font-main);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--primary);
}

.hd-brand-tag {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(192, 138, 46, 0.35);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
}

/* Desktop nav */
.hd-nav {
    align-items: center;
    gap: 4px;
}

.hd-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: none;
    border: 0;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text);
    transition: var(--transition);
}

.hd-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hd-link:hover,
.hd-link.active,
.hd-drop:hover>.hd-link,
.hd-drop:focus-within>.hd-link {
    color: var(--primary);
}

.hd-link:hover::after,
.hd-link.active::after,
.hd-drop:hover>.hd-link::after,
.hd-drop:focus-within>.hd-link::after {
    transform: scaleX(1);
}

.hd-link .fa-angle-down {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.hd-drop:hover>.hd-link .fa-angle-down,
.hd-drop:focus-within>.hd-link .fa-angle-down {
    transform: rotate(180deg);
}

/* Dropdown */
.hd-drop {
    position: relative;
}

.hd-drop-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    padding: 10px;
    background: var(--white);
    border-radius: 12px;
    border-top: 3px solid var(--gold);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}

.hd-drop:hover .hd-drop-menu,
.hd-drop:focus-within .hd-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hd-drop-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
}

.hd-drop-menu a i {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 146, 63, 0.08);
    color: var(--primary);
    font-size: 14px;
    transition: var(--transition);
}

.hd-drop-menu a:hover,
.hd-drop-menu a.active {
    background: rgba(0, 146, 63, 0.07);
    color: var(--primary-dark);
    padding-left: 16px;
}

.hd-drop-menu a:hover i,
.hd-drop-menu a.active i {
    background: var(--primary);
    color: var(--white);
}

/* CTA & burger */
.hd-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hd-burger {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 146, 63, 0.1);
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
}

.hd-burger:hover {
    background: var(--primary);
    color: var(--white);
}

/* Mobile nav (Bootstrap offcanvas) */
.mobile-nav {
    width: 340px !important;
    max-width: 88vw;
    border-left: 0 !important;
}

.mobile-nav .offcanvas-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(192, 138, 46, 0.25);
}

.mobile-nav .hd-brand img {
    width: 48px;
    height: 48px;
}

.mobile-nav .hd-brand-name {
    font-size: 24px;
}

.mobile-nav .hd-brand-name span {
    font-size: 9.5px;
    letter-spacing: 1.8px;
}

.mob-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 146, 63, 0.1);
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
}

.mob-close:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-nav .offcanvas-body {
    padding: 12px 20px 24px;
}

.mob-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mob-menu>li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mob-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    background: none;
    border: 0;
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
}

.mob-link:hover,
.mob-link.active {
    color: var(--primary);
}

.mob-link .fa-angle-down {
    transition: transform 0.3s ease;
}

.mob-link:not(.collapsed) .fa-angle-down {
    transform: rotate(180deg);
    color: var(--gold);
}

.mob-sub {
    padding: 0 0 12px 8px;
}

.mob-sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
}

.mob-sub a i {
    width: 18px;
    text-align: center;
    color: var(--primary);
}

.mob-sub a:hover,
.mob-sub a.active {
    background: rgba(0, 146, 63, 0.07);
    color: var(--primary-dark);
}

.mob-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.mob-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    border-radius: 12px;
    background: var(--cream);
    border: 1px solid rgba(192, 138, 46, 0.2);
    font-size: 13px;
    color: #555;
}

.mob-contact a,
.mob-contact span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
}

.mob-contact i {
    width: 16px;
    margin-top: 2px;
    text-align: center;
    color: var(--gold);
}

/* Header responsive */
@media (max-width: 1399.98px) {
    .hd-link {
        padding: 10px 10px;
        font-size: 15.5px;
    }

    .hd-link::after {
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .hd-brand img {
        width: 50px;
        height: 50px;
    }

    .hd-brand-name {
        font-size: 24px;
    }

    .hd-brand-name span {
        font-size: 9.5px;
        letter-spacing: 1.8px;
    }

    .hd-brand-tag {
        display: none;
    }

    .hd-burger {
        width: 42px;
        height: 42px;
    }
}

/* ---------- Homepage sections ---------- */

/* Hero slider (Flickity) */
.hero-slider {
    position: relative;
    background: var(--secondary-dark);
}

.hero-carousel {
    outline: none;
}

.hero-cell {
    width: 100%;
}

.hero-cell img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 800;
    object-fit: cover;
}

/* Prev / next arrows */
.hero-carousel .flickity-prev-next-button {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: var(--transition);
}

.hero-slider:hover .flickity-prev-next-button {
    opacity: 1;
}

.hero-carousel .flickity-prev-next-button.previous {
    left: 28px;
}

.hero-carousel .flickity-prev-next-button.next {
    right: 28px;
}

.hero-carousel .flickity-prev-next-button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.hero-carousel .flickity-prev-next-button:focus {
    box-shadow: 0 0 0 3px rgba(255, 251, 0, 0.5);
}

.hero-carousel .flickity-button-icon {
    fill: var(--white);
    width: 40%;
    height: 40%;
    left: 30%;
    top: 30%;
}

/* Page dots */
.hero-carousel .flickity-page-dots {
    bottom: 22px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-carousel .flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 10px;
    background: var(--white);
    opacity: 0.5;
    transition: var(--transition);
}

.hero-carousel .flickity-page-dots .dot.is-selected {
    width: 32px;
    background: var(--accent);
    opacity: 1;
}

@media (max-width: 767.98px) {
    /* Matches the phone banner size asked for in admin (962 x 1635) so nothing is cropped */
    .hero-cell img {
        aspect-ratio: 962 / 1635;
    }

    .hero-carousel .flickity-prev-next-button {
        display: none;
    }

    .hero-carousel .flickity-page-dots {
        bottom: 16px;
    }
}

/* ---------- Shared section bits ---------- */
.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.sec-eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
}

.sec-title {
    margin-bottom: 22px;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--secondary);
}

.sec-title em {
    font-style: italic;
    font-weight: 600;
    color: var(--primary);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- About ---------- */
.about-sec {
    position: relative;
    padding: 110px 0;
    background-color: var(--cream);
    background-image: radial-gradient(rgba(192, 138, 46, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
    overflow: hidden;
}

.about-watermark {
    position: absolute;
    top: 30px;
    right: -20px;
    font-family: var(--font-heading);
    font-size: 180px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(24, 56, 131, 0.08);
    pointer-events: none;
    user-select: none;
}

/* Image collage */
.about-media {
    position: relative;
    padding: 30px 0 60px 30px;
}

.about-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 55%;
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    border-top-left-radius: 200px;
}

.about-img-main {
    position: relative;
    width: 68%;
    border-radius: 240px 240px 18px 18px;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.18);
}

.about-img-main img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.about-media:hover .about-img-main img {
    transform: scale(1.06);
}

.about-img-sm {
    position: absolute;
    border: 7px solid var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 36, 89, 0.2);
}

.about-img-sm img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.about-img-top {
    top: 0;
    right: 0;
    width: 38%;
    transform: rotate(4deg);
    animation: aboutFloat 6s ease-in-out infinite;
}

.about-img-top img {
    aspect-ratio: 1 / 1;
}

.about-img-bottom {
    bottom: 0;
    right: 4%;
    width: 44%;
    transform: rotate(-3deg);
    animation: aboutFloat 7s ease-in-out infinite reverse;
}

.about-img-bottom img {
    aspect-ratio: 17 / 12;
}

@keyframes aboutFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
}

/* Rotating badge */
.about-badge {
    position: absolute;
    top: 50%;
    left: calc(30px + 68% - 70px);
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary-dark);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.9), 0 18px 40px rgba(15, 36, 89, 0.35);
    transform: translateY(-50%);
    z-index: 2;
}

.about-badge-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: aboutSpin 18s linear infinite;
}

.about-badge-ring text {
    font-family: var(--font-main);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    fill: var(--gold-lt);
}

.about-badge img {
    position: relative;
    width: 62px;
    height: 62px;
    object-fit: contain;
}

@keyframes aboutSpin {
    to { transform: rotate(360deg); }
}

/* Since card */
.about-since {
    position: absolute;
    left: 0;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    padding: 18px 26px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 18px 40px rgba(0, 107, 46, 0.35);
    z-index: 2;
}

.about-since-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
}

.about-since-year {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}

/* Content */
.about-content {
    position: relative;
    transition-delay: 0.15s;
}

.about-lead {
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.about-lead strong {
    font-weight: 600;
    color: var(--secondary);
}

.about-quote {
    position: relative;
    margin: 0 0 28px;
    padding: 20px 24px 20px 70px;
    border-left: 3px solid var(--gold);
    border-radius: 0 14px 14px 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15, 36, 89, 0.06);
}

.about-quote i {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 28px;
    color: var(--gold-lt);
}

.about-quote p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 28px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary);
}

.about-quote span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-bottom: 26px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: #333;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 146, 63, 0.1);
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
}

.about-feature:hover .about-feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(-8deg);
}

.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.about-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(192, 138, 46, 0.35);
    background: rgba(221, 184, 118, 0.15);
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
}

.about-chip i {
    color: var(--gold);
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
}

.about-actions .btn-brand {
    padding: 14px 30px;
    font-size: 15px;
}

.about-call {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
}

.about-call small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
}

.about-call-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    font-size: 18px;
}

.about-call-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    animation: aboutPulse 2s ease-out infinite;
}

.about-call:hover {
    color: var(--primary);
}

@keyframes aboutPulse {
    from { transform: scale(1); opacity: 0.7; }
    to { transform: scale(1.6); opacity: 0; }
}

/* About responsive */
@media (max-width: 1199.98px) {
    .sec-title {
        font-size: 46px;
    }
}

@media (max-width: 991.98px) {
    .about-sec {
        padding: 80px 0;
    }

    .about-media {
        max-width: 560px;
        margin: 0 auto;
    }

    .about-watermark {
        font-size: 120px;
    }
}

@media (max-width: 575.98px) {
    .about-sec {
        padding: 60px 0;
    }

    .sec-title {
        font-size: 38px;
    }

    .about-media {
        padding: 20px 0 50px 16px;
    }

    .about-badge {
        left: calc(16px + 68% - 50px);
        width: 100px;
        height: 100px;
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9), 0 12px 30px rgba(15, 36, 89, 0.35);
    }

    .about-badge img {
        width: 42px;
        height: 42px;
    }

    .about-since {
        padding: 12px 18px;
        bottom: 10px;
    }

    .about-since-year {
        font-size: 34px;
    }

    .about-img-main {
        border-width: 5px;
    }

    .about-img-sm {
        border-width: 5px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-quote p {
        font-size: 24px;
    }

    .about-watermark {
        font-size: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-img-top,
    .about-img-bottom,
    .about-badge-ring,
    .about-call-icon::after {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Leadership ---------- */
.lead-sec {
    position: relative;
    overflow: hidden;
}

/* Full-bleed column backgrounds: shadow paints the colour out to the
   viewport edge, clip-path keeps it on the outer side only */
.lead-left,
.lead-right {
    position: relative;
    display: flex;
}

.lead-left {
    /* horizontal so the colour matches the full-bleed shadow at the left edge */
    background: linear-gradient(90deg, var(--primary-dark) 0%, #007d37 100%);
    box-shadow: 0 0 0 100vmax var(--primary-dark);
    clip-path: inset(0 0 0 -100vmax);
}

.lead-right {
    background-color: var(--secondary-dark);
    background-image: radial-gradient(rgba(221, 184, 118, 0.12) 1px, transparent 1px);
    background-size: 20px 20px;
    box-shadow: 0 0 0 100vmax var(--secondary-dark);
    clip-path: inset(0 -100vmax 0 0);
}

.lead-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 80px 0;
}

.lead-left .lead-inner {
    padding-right: 50px;
}

.lead-right .lead-inner {
    padding-left: 50px;
    transition-delay: 0.15s;
}

/* Decorative rings behind the principal */
.lead-left::before,
.lead-left::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.lead-left::before {
    width: 420px;
    height: 420px;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
}

.lead-left::after {
    width: 560px;
    height: 560px;
    left: -130px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.lead-title {
    margin-bottom: 40px;
    font-size: 54px;
    font-weight: 700;
    color: var(--white);
}

/* Principal */
.lead-principal {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-bottom: 40px;
}

.lead-photo {
    position: relative;
    width: 230px;
    height: 230px;
    flex-shrink: 0;
}

.lead-photo img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.lead-photo-ring {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    border-right-color: var(--gold-lt);
    animation: aboutSpin 8s linear infinite;
}

.lead-role {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
}

.lead-name {
    margin-bottom: 14px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
}

.lead-text {
    position: relative;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.lead-text i {
    margin-right: 6px;
    color: var(--gold-lt);
}

/* Links */
.lead-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
}

.lead-link i {
    transition: var(--transition);
}

.lead-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.lead-link:hover i {
    transform: translateX(5px);
}

.lead-right .lead-link {
    align-self: flex-end;
}

/* Right head */
.lead-right-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.lead-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-lt);
}

.lead-eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gold-lt);
}

.lead-arrows {
    display: flex;
    gap: 10px;
}

.lead-arrow {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.lead-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
}

/* Team carousel */
.team-carousel {
    margin-bottom: 40px;
    outline: none;
}

.team-carousel .flickity-viewport {
    overflow: hidden;
    border-radius: 14px;
}

.team-card {
    width: calc(50% - 10px);
    margin-right: 20px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    display: block;
    width: 100%;
    aspect-ratio: 20 / 23;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.07);
}

.team-body {
    position: relative;
    padding: 18px 20px;
}

.team-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transition: width 0.5s ease;
}

.team-card:hover .team-body::before {
    width: 100%;
}

.team-body h4 {
    margin-bottom: 2px;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}

.team-body span {
    font-size: 14px;
    color: #666;
}

/* Leadership responsive */
@media (max-width: 991.98px) {
    .lead-left,
    .lead-right {
        clip-path: inset(0 -100vmax);
    }

    .lead-left .lead-inner,
    .lead-right .lead-inner {
        padding: 70px 0;
    }

    .lead-right .lead-link {
        align-self: flex-start;
    }
}

@media (max-width: 575.98px) {
    .lead-title {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .lead-principal {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .lead-photo {
        width: 180px;
        height: 180px;
        margin-left: 14px;
    }

    .lead-name {
        font-size: 34px;
    }

    .lead-left::before {
        width: 300px;
        height: 300px;
        top: 260px;
    }

    .lead-left::after {
        width: 400px;
        height: 400px;
        top: 260px;
    }

    .team-card {
        width: 78%;
        margin-right: 16px;
    }

    .lead-arrow {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lead-photo-ring {
        animation: none;
    }
}

/* ---------- Why choose us ---------- */
.sec-eyebrow-center::after {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-lt), var(--gold));
}

.why-sec {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(circle at 8% 15%, rgba(0, 146, 63, 0.06) 0, transparent 30%),
        radial-gradient(circle at 92% 85%, rgba(192, 138, 46, 0.08) 0, transparent 30%),
        var(--white);
    overflow: hidden;
}

.why-head {
    text-align: center;
    margin-bottom: 44px;
}

/* Tab bar */
.why-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 8px;
    border-radius: 20px;
    background: var(--cream);
    border: 1px solid rgba(192, 138, 46, 0.2);
    box-shadow: 0 15px 40px rgba(15, 36, 89, 0.06);
}

.why-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    color: #555;
    transition: var(--transition);
}

.why-tab i {
    font-size: 17px;
    color: var(--primary);
    transition: var(--transition);
}

.why-tab-no {
    position: absolute;
    top: 6px;
    right: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: rgba(192, 138, 46, 0.6);
}

.why-tab:hover {
    background: rgba(0, 146, 63, 0.07);
    color: var(--primary-dark);
}

.why-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 107, 46, 0.3);
}

.why-tab.active i,
.why-tab.active .why-tab-no {
    color: var(--accent);
}

/* Panel media */
.why-media {
    position: relative;
    padding: 0 0 30px 30px;
}

.why-media::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 75%;
    border-radius: 24px;
    border: 2px solid var(--gold-lt);
}

.why-media::after {
    content: '';
    position: absolute;
    top: -24px;
    right: -24px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--primary) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.35;
    z-index: 0;
}

.why-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 32 / 26;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.18);
}

.why-badge {
    position: absolute;
    right: -20px;
    bottom: 60px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px 14px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(15, 36, 89, 0.18);
    font-size: 13px;
    color: #666;
}

.why-badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--secondary);
}

.why-badge-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold) 0%, #a8761f 100%);
    color: var(--white);
    font-size: 20px;
}

/* Panel content */
.why-content {
    position: relative;
}

.why-bg-no {
    position: absolute;
    top: -70px;
    right: 0;
    font-family: var(--font-heading);
    font-size: 200px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(0, 146, 63, 0.12);
    pointer-events: none;
    user-select: none;
}

.why-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(0, 146, 63, 0.1);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.why-content h3 {
    position: relative;
    margin-bottom: 18px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
}

.why-content p {
    position: relative;
    margin-bottom: 24px;
    font-size: 16.5px;
    line-height: 1.8;
    color: #444;
}

.why-content p strong {
    font-weight: 600;
    color: var(--secondary);
}

.why-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
}

.why-list li i {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
}

.why-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--gold-lt);
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
}

.why-link i {
    transition: var(--transition);
}

.why-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.why-link:hover i {
    transform: translateX(5px);
}

/* Panel enter animation */
.why-panels .tab-pane.show .why-media {
    animation: whyFromLeft 0.7s ease both;
}

.why-panels .tab-pane.show .why-content > * {
    animation: whyFromBottom 0.6s ease both;
}

.why-panels .tab-pane.show .why-content > :nth-child(2) { animation-delay: 0.05s; }
.why-panels .tab-pane.show .why-content > :nth-child(3) { animation-delay: 0.12s; }
.why-panels .tab-pane.show .why-content > :nth-child(4) { animation-delay: 0.19s; }
.why-panels .tab-pane.show .why-content > :nth-child(5) { animation-delay: 0.26s; }
.why-panels .tab-pane.show .why-content > :nth-child(6) { animation-delay: 0.33s; }

@keyframes whyFromLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: none; }
}

@keyframes whyFromBottom {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: none; }
}

/* Why responsive */
@media (max-width: 991.98px) {
    .why-sec {
        padding: 80px 0;
    }

    /* Tab bar scrolls sideways */
    .why-tabs {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-bottom: 44px;
    }

    .why-tabs::-webkit-scrollbar {
        display: none;
    }

    .why-tab {
        flex: 0 0 auto;
        padding: 14px 26px 14px 18px;
        scroll-snap-align: start;
    }

    .why-media {
        max-width: 620px;
        margin: 0 auto;
    }

    .why-badge {
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .why-sec {
        padding: 60px 0;
    }

    .why-media {
        padding: 0 0 20px 20px;
    }

    .why-media::after {
        top: -14px;
        right: -8px;
        width: 80px;
        height: 80px;
    }

    .why-badge {
        right: 8px;
        bottom: 36px;
        padding: 10px 16px 10px 10px;
        font-size: 12px;
    }

    .why-badge strong {
        font-size: 17px;
    }

    .why-badge-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .why-bg-no {
        top: -50px;
        font-size: 130px;
    }

    .why-content h3 {
        font-size: 32px;
    }

    .why-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-panels .tab-pane.show .why-media,
    .why-panels .tab-pane.show .why-content > * {
        animation: none;
    }
}

/* ---------- Extracurricular programme ---------- */
.prog-sec {
    position: relative;
    padding: 110px 0;
    background-color: var(--cream);
    background-image: radial-gradient(rgba(192, 138, 46, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
}

.prog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 44px;
}

.prog-head .sec-title {
    margin-bottom: 0;
}

.prog-view-all {
    padding: 12px 28px;
    font-size: 15px;
}

.prog-view-all i {
    transition: var(--transition);
}

.prog-view-all:hover i {
    transform: translateX(4px);
}

/* Bento grid: 4 columns, wide cards zig-zag */
.prog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.prog-wide {
    grid-column: span 2;
}

.prog-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(15, 36, 89, 0.12);
    isolation: isolate;
}

.prog-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 1s ease;
}

/* Dark gradient for text legibility */
.prog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 36, 89, 0) 30%, rgba(15, 36, 89, 0.92) 100%);
    transition: var(--transition);
}

/* Green wash on hover */
.prog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 107, 46, 0.15) 0%, rgba(0, 107, 46, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.prog-card:hover::after {
    opacity: 1;
}

.prog-no {
    position: absolute;
    top: 18px;
    left: 22px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.prog-no::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    margin-left: 8px;
    vertical-align: middle;
    background: var(--gold-lt);
}

.prog-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-size: 16px;
    transform: rotate(-45deg);
    transition: var(--transition);
}

.prog-card:hover .prog-arrow {
    background: var(--gold);
    border-color: var(--gold);
    transform: rotate(0);
}

.prog-body {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
}

.prog-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--secondary-dark);
    font-size: 17px;
}

.prog-body h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

/* Description slides open on hover */
.prog-body p {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
}

.prog-card:hover .prog-body p {
    max-height: 60px;
    margin-top: 6px;
    opacity: 1;
}

.prog-foot {
    display: none;
    margin-top: 36px;
    text-align: center;
}

/* Programme responsive */
@media (max-width: 991.98px) {
    .prog-sec {
        padding: 80px 0;
    }

    .prog-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    /* Touch screens: always show the description */
    .prog-body p {
        max-height: none;
        margin-top: 6px;
        opacity: 1;
    }
}

@media (max-width: 767.98px) {
    .prog-head {
        display: block;
    }

    .prog-view-all {
        display: none;
    }

    .prog-foot {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .prog-sec {
        padding: 60px 0;
    }

    .prog-grid {
        grid-auto-rows: 200px;
        gap: 12px;
    }

    .prog-card {
        border-radius: 16px;
    }

    .prog-no {
        top: 12px;
        left: 14px;
        font-size: 18px;
    }

    .prog-no::after {
        display: none;
    }

    .prog-arrow {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .prog-body {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .prog-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 6px;
    }

    .prog-body h3 {
        font-size: 21px;
    }

    .prog-body p {
        display: none;
    }
}

/* ---------- News & Events ---------- */
.news-sec {
    position: relative;
    padding: 110px 0;
    background: var(--white);
}

/* Featured card */
.news-feature {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: var(--cream);
    border: 1px solid rgba(192, 138, 46, 0.18);
    transition: var(--transition);
}

.news-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.14);
}

.news-feature-img {
    position: relative;
    overflow: hidden;
}

.news-feature-img img {
    display: block;
    width: 100%;
    aspect-ratio: 10 / 7;
    object-fit: cover;
    transition: transform 1s ease;
}

.news-feature:hover .news-feature-img img {
    transform: scale(1.06);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-date strong {
    font-family: var(--font-heading);
    font-size: 34px;
    line-height: 1;
    color: var(--primary);
}

.news-cat {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary-dark);
}

.news-feature-body {
    padding: 28px 30px 30px;
}

.news-feature-body h3 {
    margin-bottom: 12px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    transition: var(--transition);
}

.news-feature:hover h3 {
    color: var(--primary);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.news-meta i {
    margin-right: 4px;
    color: var(--gold);
}

.news-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--gold-lt);
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
}

.news-more i {
    transition: var(--transition);
}

.news-feature:hover .news-more {
    color: var(--primary);
    border-color: var(--primary);
}

.news-feature:hover .news-more i {
    transform: translateX(5px);
}

/* List cards */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    transition-delay: 0.15s;
}

.news-item {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 16px 70px 16px 16px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(15, 36, 89, 0.08);
    box-shadow: 0 10px 30px rgba(15, 36, 89, 0.05);
    transition: var(--transition);
}

/* Accent bar grows on hover */
.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    width: 4px;
    height: 60%;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--primary), var(--gold));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.news-item:hover {
    border-color: rgba(0, 146, 63, 0.25);
    box-shadow: 0 20px 45px rgba(15, 36, 89, 0.1);
    transform: translateX(6px);
}

.news-item:hover::before {
    transform: scaleY(1);
}

.news-item-img {
    width: 130px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 14px;
}

.news-item-img img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.news-item:hover .news-item-img img {
    transform: scale(1.1);
}

.news-item-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-bottom: 8px;
}

.news-tag {
    padding: 3px 12px;
    border-radius: 50px;
    background: rgba(0, 146, 63, 0.1);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.news-item-date {
    font-size: 13px;
    color: #777;
}

.news-item-date i,
.news-item-loc i {
    margin-right: 4px;
    color: var(--gold);
}

.news-item-body h4 {
    margin-bottom: 6px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    transition: var(--transition);
}

.news-item:hover h4 {
    color: var(--primary);
}

.news-item-loc {
    font-size: 13px;
    color: #777;
}

.news-item-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(15, 36, 89, 0.15);
    color: var(--secondary);
    font-size: 14px;
    transform: translateY(-50%) rotate(-45deg);
    transition: var(--transition);
}

.news-item:hover .news-item-arrow {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-50%) rotate(0);
}

/* News responsive */
@media (max-width: 991.98px) {
    .news-sec {
        padding: 80px 0;
    }
}

@media (max-width: 575.98px) {
    .news-sec {
        padding: 60px 0;
    }

    .news-feature-body {
        padding: 22px 20px 24px;
    }

    .news-feature-body h3 {
        font-size: 28px;
    }

    .news-date strong {
        font-size: 28px;
    }

    .news-item {
        gap: 14px;
        padding: 12px;
    }

    .news-item:hover {
        transform: none;
    }

    .news-item-img {
        width: 90px;
    }

    .news-item-body h4 {
        font-size: 20px;
    }

    .news-item-loc,
    .news-item-arrow {
        display: none;
    }
}

/* ---------- Testimonials ---------- */
.testi-sec {
    position: relative;
    padding: 110px 0 140px;
    background-color: var(--cream);
    background-image: radial-gradient(rgba(192, 138, 46, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
    overflow: hidden;
}

.testi-quote-bg {
    position: absolute;
    top: 40px;
    right: 6%;
    font-size: 260px;
    line-height: 1;
    color: rgba(0, 146, 63, 0.05);
    pointer-events: none;
}

.testi-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 50px;
}

.testi-head .sec-title {
    margin-bottom: 0;
}

.testi-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.testi-tabs {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 50px;
    background: var(--white);
    border: 1px solid rgba(192, 138, 46, 0.2);
    box-shadow: 0 10px 30px rgba(15, 36, 89, 0.06);
}

.testi-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 0;
    border-radius: 50px;
    background: transparent;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: var(--transition);
}

.testi-tab i {
    color: var(--gold);
    transition: var(--transition);
}

.testi-tab:hover {
    color: var(--primary-dark);
}

.testi-tab.active {
    background: var(--secondary-dark);
    color: var(--white);
}

.testi-tab.active i {
    color: var(--accent);
}

.testi-arrow {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(15, 36, 89, 0.15);
    background: var(--white);
    color: var(--secondary);
    font-size: 16px;
    transition: var(--transition);
}

.testi-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Carousel - centred card becomes the dark "spotlight" card */
.testi-carousel {
    outline: none;
}

/* Equal-height cards (Flickity adds .flickity-resize after measuring) */
.testi-carousel.flickity-resize .testi-card {
    min-height: 100%;
}

.testi-card {
    position: relative;
    width: 32%;
    min-height: 300px;
    margin-right: 24px;
    display: flex;
    flex-direction: column;
    padding: 34px 32px 30px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid rgba(15, 36, 89, 0.06);
    box-shadow: 0 15px 40px rgba(15, 36, 89, 0.06);
    opacity: 0.55;
    transform: scale(0.94);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}

.testi-card::before {
    content: '\f10e';
    font-family: 'FontAwesome';
    position: absolute;
    top: 26px;
    right: 30px;
    font-size: 42px;
    line-height: 1;
    color: rgba(192, 138, 46, 0.25);
    transition: var(--transition);
}

.testi-card.is-selected {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(140deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.3);
}

.testi-card.is-selected::before {
    color: var(--gold);
}

.testi-stars {
    margin-bottom: 18px;
    font-size: 15px;
    letter-spacing: 3px;
    color: var(--gold);
}

.testi-card p {
    flex: 1;
    margin-bottom: 26px;
    font-family: var(--font-heading);
    font-size: 23px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.4;
    color: var(--secondary);
    transition: color 0.5s ease;
}

.testi-card.is-selected p {
    color: var(--white);
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(15, 36, 89, 0.08);
    transition: border-color 0.5s ease;
}

.testi-card.is-selected .testi-author {
    border-color: rgba(255, 255, 255, 0.15);
}

.testi-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--gold-lt);
    background: rgba(221, 184, 118, 0.15);
    color: var(--gold);
    font-size: 20px;
}

.testi-author strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    transition: color 0.5s ease;
}

.testi-author small {
    font-size: 13px;
    color: #777;
    transition: color 0.5s ease;
}

.testi-card.is-selected .testi-author strong {
    color: var(--gold-lt);
}

.testi-card.is-selected .testi-author small {
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonials responsive */
@media (max-width: 991.98px) {
    .testi-sec {
        padding: 80px 0 120px;
    }

    .testi-card {
        width: 48%;
    }
}

@media (max-width: 575.98px) {
    .testi-sec {
        padding: 60px 0 110px;
    }

    .testi-controls {
        width: 100%;
        justify-content: space-between;
    }

    .testi-tab {
        padding: 9px 14px;
        font-size: 13px;
    }

    .testi-tab i {
        display: none;
    }

    .testi-arrow {
        width: 42px;
        height: 42px;
    }

    .testi-card {
        width: 86%;
        margin-right: 14px;
        padding: 28px 24px 24px;
    }

    .testi-card p {
        font-size: 21px;
    }
}

/* ---------- Footer ---------- */

/* Admission CTA - card straddles the cream section above and the footer below */
.ft-cta-wrap {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--cream) 50%, #0a1a42 50%);
}

.ft-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 70px;
    border-radius: 28px;
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 60%, #00a648 100%);
    box-shadow: 0 30px 60px rgba(0, 60, 26, 0.35);
    overflow: hidden;
}

.ft-cta-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ft-cta-ring-1 {
    width: 380px;
    height: 380px;
    top: -190px;
    right: 18%;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ft-cta-ring-2 {
    width: 260px;
    height: 260px;
    bottom: -150px;
    left: -60px;
    background: rgba(255, 255, 255, 0.07);
}

.ft-cta-mark {
    position: absolute;
    right: -40px;
    top: 50%;
    width: 260px;
    opacity: 0.07;
    transform: translateY(-50%) rotate(-12deg);
    filter: grayscale(1) brightness(3);
    pointer-events: none;
}

.ft-cta-text {
    position: relative;
    max-width: 640px;
}

.ft-cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.ft-cta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(255, 251, 0, 0.6);
    animation: ctaDot 1.8s ease-out infinite;
}

@keyframes ctaDot {
    to { box-shadow: 0 0 0 10px rgba(255, 251, 0, 0); }
}

.ft-cta h2 {
    margin-bottom: 10px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
}

.ft-cta h2 em {
    font-weight: 600;
    color: var(--accent);
}

.ft-cta p {
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
}

.ft-cta-actions {
    position: relative;
    display: flex;
    flex-shrink: 0;
    gap: 14px;
}

.ft-cta-actions a {
    padding: 15px 30px;
    font-size: 15px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
    white-space: nowrap;
    color: var(--white);
    transition: var(--transition);
}

.btn-ghost:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-dark);
}

/* Footer body */
.site-footer {
    position: relative;
    padding-top: 90px;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 146, 63, 0.14) 0, transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(192, 138, 46, 0.1) 0, transparent 35%),
        #0a1a42;
    color: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.ft-main {
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
}

.ft-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.ft-brand img {
    width: 70px;
    height: 70px;
    padding: 4px;
    border-radius: 50%;
    background: var(--white);
    object-fit: contain;
}

.ft-brand strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.ft-brand small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--gold-lt);
}

.ft-about {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.8;
}

.ft-motto {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    font-weight: 600;
    color: var(--white);
}

.ft-motto i {
    margin-right: 6px;
    font-size: 16px;
    color: var(--gold);
}

.ft-social {
    display: flex;
    gap: 10px;
}

.ft-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 16px;
}

.ft-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.ft-title {
    position: relative;
    margin-bottom: 26px;
    padding-bottom: 14px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.ft-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
}

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

.ft-links li + li {
    margin-top: 12px;
}

.ft-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
}

/* Small gold arrow slides in on hover */
.ft-links a::before {
    content: '\f105';
    font-family: 'FontAwesome';
    width: 0;
    overflow: hidden;
    color: var(--gold-lt);
    opacity: 0;
    transition: var(--transition);
}

.ft-links a:hover {
    color: var(--white);
}

.ft-links a:hover::before {
    width: 14px;
    opacity: 1;
}

.ft-contact {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.ft-contact li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ft-contact li + li {
    margin-top: 16px;
}

.ft-contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 146, 63, 0.2);
    color: #4fd98b;
    font-size: 17px;
}

.ft-contact small {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-lt);
}

.ft-contact li span:last-child {
    font-size: 15px;
    color: var(--white);
    word-break: break-word;
}

.ft-contact a {
    color: var(--white);
}

.ft-contact a:hover {
    color: var(--gold-lt);
}

.ft-map {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ft-map iframe {
    display: block;
    width: 100%;
    height: 150px;
    border: 0;
    filter: grayscale(1) invert(0.9) contrast(0.85);
    transition: filter 0.5s ease;
}

.ft-map:hover iframe {
    filter: none;
}

/* Giant outlined name */
.ft-watermark {
    display: block;
    margin-bottom: -0.22em;
    font-family: var(--font-heading);
    font-size: clamp(80px, 17vw, 260px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(221, 184, 118, 0.18);
    user-select: none;
    pointer-events: none;
}

.ft-bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.ft-bottom p {
    margin: 0;
}

.ft-bottom-links {
    display: flex;
    gap: 24px;
}

.ft-bottom-links a {
    color: rgba(255, 255, 255, 0.72);
}

.ft-bottom-links a:hover {
    color: var(--gold-lt);
}

/* Back to top with scroll-progress ring */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1020;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-size: 22px;
    box-shadow: 0 10px 25px rgba(15, 36, 89, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: var(--primary);
    color: var(--white);
}

.to-top svg {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.to-top circle {
    fill: none;
    stroke: rgba(0, 146, 63, 0.15);
    stroke-width: 3;
}

.to-top circle.to-top-progress {
    stroke: var(--gold);
    stroke-linecap: round;
    stroke-dasharray: 138.2;
    stroke-dashoffset: 138.2;
}

/* Footer responsive */
@media (max-width: 1199.98px) {
    .ft-cta {
        padding: 50px;
    }

    .ft-cta h2 {
        font-size: 40px;
    }
}

@media (max-width: 991.98px) {
    .ft-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .site-footer {
        padding-top: 70px;
    }
}

@media (max-width: 575.98px) {
    .ft-cta {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .ft-cta h2 {
        font-size: 32px;
    }

    .ft-cta p {
        font-size: 15px;
    }

    .ft-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .ft-cta-mark {
        width: 180px;
        top: 30%;
    }

    .ft-bottom {
        flex-direction: column;
        text-align: center;
    }

    .to-top {
        right: 16px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ft-cta-dot {
        animation: none;
    }
}
/* ---------- Infrastructure page ---------- */
.infra-sec {
    padding: 80px 0 140px;
    background: var(--cream);
}

/* Sidebar */
.infra-side {
    position: sticky;
    top: 110px;
}

.infra-menu {
    border-radius: 16px;
    background: var(--secondary-dark);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.2);
    overflow: hidden;
}

.infra-menu-title {
    margin: 0;
    padding: 18px 22px;
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    background: var(--secondary);
}

.infra-nav {
    display: flex;
    flex-direction: column;
}

.infra-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    transition: var(--transition);
}

.infra-link i {
    width: 16px;
    text-align: center;
    color: var(--gold-lt);
    transition: var(--transition);
}

.infra-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    padding-left: 28px;
}

.infra-link.active {
    color: var(--white);
    background: var(--gold);
    border-top-color: var(--gold);
    padding-left: 22px;
}

.infra-link.active i {
    color: var(--white);
}

/* Notice card */
.infra-notice {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(192, 138, 46, 0.25);
    border-radius: 16px;
    background: var(--white);
}

.infra-notice h3 {
    margin-bottom: 10px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-dark);
}

.infra-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.infra-notice a {
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}

.infra-notice a:hover {
    color: var(--primary);
}

/* Content */
.infra-hero {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.infra-hero img {
    display: block;
    width: 100%;
    /* aspect-ratio: 16 / 7; */
    object-fit: cover;
}

.infra-text {
    margin-top: 28px;
}

.infra-text p {
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.pg-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 26px;
}

.pg-thumb {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pg-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom icon on hover */
.pg-thumb::after {
    content: '\f00e';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'FontAwesome';
    font-size: 22px;
    color: var(--white);
    background: rgba(0, 107, 46, 0.45);
    opacity: 0;
    transition: var(--transition);
}

.pg-thumb:hover img {
    transform: scale(1.08);
}

.pg-thumb:hover::after {
    opacity: 1;
}

/* Gallery lightbox - shared with news details */
.pg-lightbox .modal-content {
    position: relative;
    border: 0;
    background: transparent;
}

.pg-lightbox #lbImage {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    margin: 0 auto;
    border-radius: 12px;
}

.lb-close,
.lb-nav {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: rgba(0, 0, 0, 0.55);
    transition: var(--transition);
}

.lb-close {
    top: -18px;
    right: -18px;
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.lb-nav {
    top: 50%;
    width: 46px;
    height: 46px;
    font-size: 28px;
    transform: translateY(-50%);
}

.lb-prev {
    left: 12px;
}

.lb-next {
    right: 12px;
}

.lb-close:hover,
.lb-nav:hover {
    background: var(--gold);
}

/* Infrastructure responsive */
@media (max-width: 991.98px) {
    .infra-sec {
        padding: 50px 0 110px;
    }

    .infra-side {
        position: static;
    }

    /* Menu becomes a 2-column grid above the content */
    .infra-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-side .infra-notice {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .infra-link {
        padding: 11px 14px;
        font-size: 13px;
        gap: 8px;
    }

    .infra-link:hover {
        padding-left: 14px;
    }

    .infra-hero img {
        aspect-ratio: 4 / 3;
    }

    .pg-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .lb-close {
        top: -50px;
        right: 4px;
    }
}

/* ---------- News list page ---------- */
.nw-sec {
    padding: 80px 0 140px;
    background: var(--cream);
}

.nw-head {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
}

.nw-head .sec-eyebrow::after {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-lt), var(--gold));
}

.nw-head p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.nw-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(15, 36, 89, 0.08);
    box-shadow: 0 10px 30px rgba(15, 36, 89, 0.05);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}

.nw-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 146, 63, 0.25);
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.14);
}

.nw-card-img {
    position: relative;
    overflow: hidden;
}

.nw-card-img img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 1s ease;
}

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

.nw-card-img .news-date {
    padding: 8px 12px;
}

.nw-card-img .news-date strong {
    font-size: 28px;
}

.nw-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 26px;
}

.nw-card-body h3 {
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--secondary-dark);
    transition: var(--transition);
}

.nw-card-body p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.nw-card-body .news-more {
    align-self: flex-start;
    margin-top: auto;
}

.nw-card:hover h3,
.nw-card:hover .news-more {
    color: var(--primary);
}

.nw-card:hover .news-more {
    border-color: var(--primary);
}

.nw-card:hover .news-more i {
    transform: translateX(5px);
}

.nw-card-body .news-item-date i,
.nd-article .news-item-date i {
    margin-right: 4px;
    color: var(--gold);
}

/* Pagination */
.nw-pager {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.nw-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(15, 36, 89, 0.15);
    background: var(--white);
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.nw-page:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.nw-page.active {
    border-color: var(--secondary);
    background: var(--secondary);
    color: var(--white);
}

.nw-page.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ---------- News details page ---------- */
.nd-sec {
    padding: 70px 0 140px;
    background: var(--cream);
}

.nd-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.nd-back i {
    color: var(--gold);
}

.nd-back:hover {
    gap: 12px;
    color: var(--gold);
}

.nd-title {
    margin: 4px 0 24px;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.08;
    color: var(--secondary);
}

.nd-hero {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.nd-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.nd-body {
    margin-top: 30px;
}

.nd-body p {
    margin-bottom: 16px;
    font-size: 16.5px;
    line-height: 1.85;
    color: #333;
}

.nd-body blockquote {
    margin: 28px 0;
    padding: 22px 28px;
    border-left: 4px solid var(--gold);
    border-radius: 0 14px 14px 0;
    background: var(--white);
    font-family: var(--font-heading);
    font-size: 26px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
}

/* Share */
.nd-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    padding: 20px 0;
    border-top: 1px solid rgba(192, 138, 46, 0.25);
    border-bottom: 1px solid rgba(192, 138, 46, 0.25);
}

.nd-share span {
    margin-right: 6px;
    font-weight: 600;
    color: var(--secondary-dark);
}

.nd-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 36, 89, 0.15);
    border-radius: 50%;
    background: var(--white);
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.nd-share-btn:hover,
.nd-share-btn.copied {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
}

/* Prev / next */
.nd-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.nd-pager-link {
    display: block;
    padding: 18px 22px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 14px;
    background: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.nd-pager-next {
    text-align: right;
}

.nd-pager-link span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.nd-pager-link strong {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.2;
    color: var(--secondary-dark);
    transition: var(--transition);
}

.nd-pager-link:hover {
    border-color: rgba(0, 146, 63, 0.25);
    box-shadow: 0 16px 36px rgba(15, 36, 89, 0.1);
}

.nd-pager-link:hover strong {
    color: var(--primary);
}

/* Sidebar */
.nd-side {
    position: sticky;
    top: 110px;
}

.nd-recent {
    border-radius: 16px;
    background: var(--secondary-dark);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.2);
    overflow: hidden;
}

.nd-recent-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    transition: var(--transition);
}

.nd-recent-item img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    object-fit: cover;
}

.nd-recent-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.nd-recent-item span i {
    margin-right: 4px;
    color: var(--gold-lt);
}

.nd-recent-item h3 {
    margin: 4px 0 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    transition: var(--transition);
}

.nd-recent-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nd-recent-item:hover h3 {
    color: var(--gold-lt);
}

.nd-recent-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.nd-recent-all:hover {
    gap: 12px;
    color: var(--white);
    background: var(--primary);
}

/* News responsive */
@media (max-width: 991.98px) {
    .nw-sec,
    .nd-sec {
        padding: 50px 0 110px;
    }

    .nd-side {
        position: static;
    }

    .nd-title {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .nw-head {
        margin-bottom: 34px;
    }

    .nd-title {
        font-size: 32px;
    }

    .nd-body blockquote {
        padding: 18px 20px;
        font-size: 22px;
    }

    .nd-pager {
        grid-template-columns: 1fr;
    }
}

/* ---------- Events pages (reuse the news layout) ---------- */

/* Filter buttons - shared with facilitators */
.pg-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -20px 0 40px;
}

.pg-filter-btn {
    padding: 10px 24px;
    border: 1px solid rgba(15, 36, 89, 0.15);
    border-radius: 50px;
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.pg-filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pg-filter-btn.active {
    border-color: var(--secondary);
    background: var(--secondary);
    color: var(--white);
}

.pg-filter-empty {
    margin-top: 30px;
    text-align: center;
    color: #777;
}

/* Status badge */
.ev-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nw-card-img .ev-status {
    position: absolute;
    top: 20px;
    right: 20px;
}

.ev-upcoming {
    background: var(--primary);
    color: var(--white);
}

.ev-past {
    background: var(--secondary-dark);
    color: var(--white);
}

/* Card meta */
.ev-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.ev-meta i {
    width: 14px;
    margin-right: 6px;
    color: var(--gold);
}

/* Details: info strip */
.ev-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.ev-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(192, 138, 46, 0.25);
    border-radius: 14px;
    background: var(--white);
}

.ev-info-item > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0, 146, 63, 0.1);
    font-size: 17px;
    color: var(--primary);
}

.ev-info-item span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.ev-info-item strong {
    font-size: 14.5px;
    line-height: 1.3;
    color: var(--secondary-dark);
}

/* Sidebar date box */
.ev-side-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white) !important;
}

.ev-side-date strong {
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1;
}

/* Events responsive */
@media (max-width: 1199.98px) {
    .ev-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .pg-filter {
        margin-top: -10px;
    }

    .ev-info {
        grid-template-columns: 1fr;
    }
}

/* ---------- Facilitators page (reuses the homepage team card) ---------- */
.fc-card {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 1px solid rgba(15, 36, 89, 0.08);
    box-shadow: 0 10px 30px rgba(15, 36, 89, 0.05);
    transition: var(--transition);
}

.fc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.14);
}

.fc-card .team-body span {
    color: var(--gold);
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .fc-card .team-body {
        padding: 14px;
    }

    .fc-card .team-body h4 {
        font-size: 18px;
    }

    .fc-card .team-body span {
        font-size: 12.5px;
    }
}

/* ---------- Co-curricular activities (reuses the infrastructure layout) ---------- */
.co-title {
    margin: 28px 0 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--secondary);
}

.co-title + .infra-text {
    margin-top: 14px;
}

@media (max-width: 575.98px) {
    .co-title {
        font-size: 32px;
    }
}

/* ---------- Page banner (inner pages) ---------- */
.pg-banner {
    position: relative;
    padding: 70px 0 60px;
    background: linear-gradient(120deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.pg-banner-ring {
    position: absolute;
    top: -170px;
    right: -60px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(221, 184, 118, 0.45);
    border-radius: 50%;
    pointer-events: none;
}

.pg-banner h1 {
    position: relative;
    margin-bottom: 12px;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
}

.pg-banner p {
    position: relative;
    max-width: 480px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

/* ---------- Document tables (academic calendar etc.) ---------- */
.doc-sec {
    padding: 50px 0 140px;
    background: var(--cream);
}

.doc-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--secondary-dark);
}

.doc-head h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--secondary-dark);
}

.doc-head span {
    font-size: 13px;
    color: #777;
}

.doc-table-wrap {
    border: 1px solid rgba(192, 138, 46, 0.25);
    background: var(--white);
    overflow-x: auto;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
}

.doc-table th {
    padding: 16px;
    border-bottom: 1px solid var(--secondary-dark);
    background: var(--light);
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-dark);
    text-align: left;
    white-space: nowrap;
}

.doc-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(192, 138, 46, 0.18);
    vertical-align: middle;
}

.doc-table tbody tr:last-child td {
    border-bottom: 0;
}

.doc-table tbody tr:nth-child(odd) {
    background: #fdfbf6;
}

.doc-table tbody tr:hover {
    background: rgba(0, 146, 63, 0.05);
}

.doc-sr {
    width: 80px;
    font-size: 14px;
    color: var(--gold);
}

.doc-name {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-dark);
}

.doc-link-col {
    width: 1%;
    white-space: nowrap;
}

.doc-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.doc-link:hover {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .pg-banner h1 {
        font-size: 44px;
    }
}

@media (max-width: 575.98px) {
    .pg-banner {
        padding: 50px 0 44px;
    }

    .pg-banner h1 {
        font-size: 36px;
    }

    .pg-banner-ring {
        width: 220px;
        height: 220px;
        top: -110px;
    }

    .doc-sec {
        padding: 36px 0 110px;
    }

    .doc-table th,
    .doc-table td {
        padding: 12px 10px;
    }

    .doc-sr {
        width: 50px;
    }

    .doc-name,
    .doc-link {
        font-size: 13.5px;
    }
}

/* ---------- Notice board ---------- */
.nb-sec {
    padding: 60px 0 140px;
    background: var(--cream);
}

.nb-side {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nb-box {
    padding: 20px 18px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(15, 36, 89, 0.04);
}

.nb-box-title {
    margin-bottom: 14px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-dark);
}

.nb-box-title i {
    margin-right: 4px;
    color: var(--gold);
}

/* Search */
.nb-search {
    position: relative;
}

.nb-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    font-size: 13px;
    color: #777;
    transform: translateY(-50%);
}

.nb-search input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    border: 1px solid rgba(15, 36, 89, 0.15);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.nb-search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(192, 138, 46, 0.15);
}

/* Categories */
.nb-cats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nb-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 13.5px;
    font-weight: 500;
    color: #444;
    text-align: left;
    transition: var(--transition);
}

.nb-cat i {
    width: 14px;
    color: #888;
}

.nb-cat:hover {
    background: var(--light);
}

.nb-cat.active {
    background: rgba(15, 36, 89, 0.07);
    font-weight: 600;
    color: var(--secondary-dark);
}

.nb-cat.active i {
    color: var(--secondary);
}

.nb-count {
    min-width: 20px;
    margin-left: auto;
    padding: 1px 6px;
    border-radius: 50px;
    background: var(--gold);
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
}

/* Hide categories with no notices (JS sets data-empty) */
.nb-cat[data-empty]:not([data-cat="all"]) {
    display: none;
}

/* Quick links */
.nb-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nb-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 2px;
    font-size: 13.5px;
    color: #333;
    text-decoration: none;
    transition: var(--transition);
}

.nb-links a:hover {
    padding-left: 6px;
    color: var(--primary);
}

.nb-ic-green {
    color: var(--primary);
}

.nb-ic-blue {
    color: var(--secondary);
}

.nb-ic-gold {
    color: var(--gold);
}

/* Status bar */
.nb-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(15, 36, 89, 0.05);
    font-size: 13.5px;
    color: #555;
}

.nb-status strong {
    color: var(--secondary-dark);
}

.nb-status .fa-clock-o {
    color: #777;
}

/* Notice items */
.nb-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nb-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 12px;
    background: var(--white);
    transition: var(--transition);
}

.nb-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--primary), var(--gold));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.nb-item[hidden] {
    display: none;
}

.nb-item:hover {
    border-color: rgba(0, 146, 63, 0.2);
    box-shadow: 0 16px 36px rgba(15, 36, 89, 0.08);
}

.nb-item:hover::before {
    transform: scaleY(1);
}

.nb-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--secondary-dark);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.nb-date strong {
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1;
    color: var(--gold-lt);
}

.nb-body {
    flex: 1;
    min-width: 0;
}

.nb-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.nb-tag,
.nb-new {
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nb-tag {
    background: rgba(0, 146, 63, 0.1);
    color: var(--primary-dark);
}

.nb-new {
    background: var(--gold);
    color: var(--white);
}

.nb-body h3 {
    margin-bottom: 4px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-dark);
}

.nb-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}

.nb-doc {
    align-self: center;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(192, 138, 46, 0.4);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.nb-doc:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
}

/* Empty state */
.nb-empty {
    padding: 36px 20px;
    border: 1px dashed rgba(15, 36, 89, 0.15);
    border-radius: 12px;
    background: var(--white);
    text-align: center;
}

.nb-empty i {
    margin-bottom: 12px;
    font-size: 30px;
    color: #c5ccd8;
}

.nb-empty h3 {
    margin-bottom: 6px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.nb-empty p {
    margin: 0;
    font-size: 15px;
    color: #555;
}

/* Notice board responsive */
@media (max-width: 991.98px) {
    .nb-sec {
        padding: 40px 0 110px;
    }

    .nb-side {
        position: static;
    }

    /* Categories become a wrap of chips */
    .nb-cats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .nb-cat {
        width: auto;
        border: 1px solid rgba(15, 36, 89, 0.1);
        border-radius: 50px;
    }
}

@media (max-width: 575.98px) {
    .nb-item {
        flex-wrap: wrap;
        gap: 14px;
    }

    .nb-date {
        width: 58px;
        height: 58px;
    }

    .nb-date strong {
        font-size: 24px;
    }

    .nb-body {
        flex-basis: calc(100% - 72px);
    }

    .nb-body h3 {
        font-size: 19px;
    }

    .nb-doc {
        margin-left: 72px;
        align-self: flex-start;
    }
}

/* Event details from the database */
.ev-info-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Admin editor content */
.nd-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.nd-body span {
    font-family: inherit !important;
    font-size: inherit !important;
}

@media (max-width: 1199.98px) {
    .ev-info-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .ev-info-3 {
        grid-template-columns: 1fr;
    }
}

/* ---------- Photo gallery ---------- */

/* Album cards */
.ga-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: var(--secondary-dark);
    box-shadow: 0 10px 30px rgba(15, 36, 89, 0.08);
    text-decoration: none;
    transition: var(--transition);
}

.ga-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 1s ease;
}

/* Dark fade so the title stays readable */
.ga-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 36, 89, 0) 40%, rgba(15, 36, 89, 0.9) 100%);
    pointer-events: none;
}

.ga-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.18);
}

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

.ga-count {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--white);
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary-dark);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ga-count i {
    margin-right: 4px;
    color: var(--gold);
}

.ga-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 22px 24px;
}

.ga-body h3 {
    margin-bottom: 6px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

.ga-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-lt);
    transition: var(--transition);
}

.ga-card:hover .ga-view {
    gap: 12px;
    color: var(--accent);
}

/* Album page */
.ga-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 18px;
    margin-bottom: 30px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(192, 138, 46, 0.25);
}

.ga-head .sec-title {
    margin: 0;
}

.ga-head-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
}

.ga-photos {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .ga-photos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .ga-body h3 {
        font-size: 24px;
    }

    .ga-head .sec-title {
        font-size: 38px;
    }

    .ga-photos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Mandatory public disclosure ---------- */
.md-block + .md-block {
    margin-top: 44px;
}

.md-label {
    font-size: 15px;
    color: #333;
}

.md-value {
    width: 35%;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-dark);
}

.md-value .doc-link i {
    margin-right: 4px;
}

.md-empty {
    font-weight: 400;
    color: #999;
}

@media (max-width: 575.98px) {
    .md-label,
    .md-value {
        font-size: 13.5px;
    }
}

/* ---------- Contact us ---------- */
.ct-sec {
    padding: 0 0 140px;
    background: var(--cream);
}

/* Quick contact cards overlap the banner */
.ct-cards {
    position: relative;
    z-index: 2;
    margin-top: -40px;
}

.ct-card {
    position: relative;
    height: 100%;
    padding: 30px 28px 28px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.08);
    transition: var(--transition);
}

.ct-card::after {
    content: '';
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ct-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.14);
}

.ct-card:hover::after {
    transform: scaleX(1);
}

.ct-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    font-size: 22px;
    color: var(--gold-lt);
    box-shadow: 0 10px 22px rgba(15, 36, 89, 0.25);
}

.ct-card h2 {
    margin-bottom: 8px;
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary-dark);
}

.ct-card p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    word-break: break-word;
}

.ct-card p a {
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.ct-card p a:hover {
    color: var(--primary);
}

.ct-card p small {
    margin-left: 4px;
    padding: 1px 8px;
    border-radius: 50px;
    background: rgba(192, 138, 46, 0.12);
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
}

.ct-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.ct-card-link:hover {
    gap: 12px;
    color: var(--primary);
}

/* Main row */
.ct-main {
    margin-top: 30px;
}

/* Form card */
.ct-form-card {
    height: 100%;
    padding: 40px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.06);
    scroll-margin-top: 120px;
}

.ct-form-title {
    margin-bottom: 10px;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--secondary);
}

.ct-form-title em {
    font-style: italic;
    color: var(--primary);
}

.ct-form-intro {
    margin-bottom: 26px;
    font-size: 15px;
    color: #555;
}

.ct-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--secondary-dark);
}

.ct-label span,
.ct-submit-row small span {
    color: #c0392b;
}

.ct-field {
    position: relative;
}

.ct-field > i {
    position: absolute;
    top: 50%;
    left: 16px;
    font-size: 14px;
    color: var(--gold);
    transform: translateY(-50%);
    pointer-events: none;
}

.ct-field-area > i {
    top: 18px;
    transform: none;
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    padding: 13px 16px 13px 42px;
    border: 1px solid rgba(15, 36, 89, 0.14);
    border-radius: 12px;
    background: var(--cream);
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

.ct-field textarea {
    resize: vertical;
    min-height: 140px;
}

.ct-field input:focus,
.ct-field textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(192, 138, 46, 0.14);
}

.ct-field.has-error input,
.ct-field.has-error textarea {
    border-color: #c0392b;
    background: #fdf3f2;
}

.ct-error {
    display: block;
    margin-top: 5px;
    font-size: 12.5px;
    color: #c0392b;
}

.ct-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.ct-submit-row small {
    font-size: 13px;
    color: #777;
}

/* Honeypot - hidden from people */
.ct-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Alerts */
.ct-alert {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14.5px;
}

.ct-alert i {
    margin-top: 2px;
    font-size: 20px;
}

.ct-alert-success {
    border: 1px solid rgba(0, 146, 63, 0.25);
    background: rgba(0, 146, 63, 0.08);
    color: var(--primary-dark);
}

.ct-alert-error {
    border: 1px solid rgba(192, 57, 43, 0.25);
    background: #fdf3f2;
    color: #a93226;
}

/* Map */
.ct-map {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.1);
}

.ct-map iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
}

.ct-map-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--secondary-dark);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.ct-map-btn:hover {
    background: var(--gold);
    color: var(--white);
}

/* Info card under the map */
.ct-info {
    margin-top: 20px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    color: var(--white);
}

.ct-info blockquote {
    margin: 0 0 22px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
}

.ct-info blockquote i {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--gold-lt);
}

.ct-info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ct-info-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.ct-info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gold-lt);
    text-decoration: none;
    transition: var(--transition);
}

.ct-info-link:hover {
    gap: 12px;
    color: var(--accent);
}

.ct-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.ct-social a:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
}

/* Contact responsive */
@media (max-width: 991.98px) {
    .ct-sec {
        padding-bottom: 110px;
    }

    .ct-form-card {
        padding: 30px;
    }

    .ct-form-title {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .ct-cards {
        margin-top: -30px;
    }

    .ct-card {
        padding: 24px 22px;
    }

    .ct-form-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .ct-form-title {
        font-size: 34px;
    }

    .ct-map iframe {
        height: 280px;
    }

    .ct-submit-row .btn-brand {
        width: 100%;
        justify-content: center;
    }
}

/* Editor content inside infrastructure / activity tabs */
.infra-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ---------- Video gallery ---------- */
.vg-card {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15, 36, 89, 0.05);
    text-align: left;
    transition: var(--transition);
}

.vg-card:hover,
.vg-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(0, 146, 63, 0.25);
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.14);
    outline: none;
}

.vg-thumb {
    position: relative;
    display: block;
    overflow: hidden;
}

.vg-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 1s ease;
}

/* Navy wash + play button */
.vg-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 36, 89, 0.05), rgba(15, 36, 89, 0.45));
    transition: var(--transition);
}

.vg-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold);
    font-size: 22px;
    color: var(--white);
    box-shadow: 0 0 0 10px rgba(192, 138, 46, 0.25);
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.vg-play i {
    margin-left: 4px;   /* optically centre the triangle */
}

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

.vg-card:hover .vg-play {
    background: var(--primary);
    box-shadow: 0 0 0 14px rgba(0, 146, 63, 0.2);
    transform: translate(-50%, -50%) scale(1.08);
}

.vg-title {
    display: block;
    padding: 18px 22px 22px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-dark);
    transition: var(--transition);
}

.vg-card:hover .vg-title {
    color: var(--primary);
}

/* Player modal */
.vg-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: var(--secondary-dark);
}

.vg-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
}

.vg-modal-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.vg-modal .vg-close {
    position: static;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .vg-play {
        width: 54px;
        height: 54px;
        font-size: 18px;
    }

    .vg-title {
        font-size: 20px;
    }

    .vg-modal-head h2 {
        font-size: 18px;
    }
}

/* ---------- About us page ---------- */
.ab-head {
    max-width: 640px;
    margin: 0 auto 46px;
    text-align: center;
}

.ab-head .sec-eyebrow::after {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-lt), var(--gold));
}

.ab-head .sec-title {
    margin-bottom: 0;
}

.ab-more {
    margin-top: 40px;
    text-align: center;
}

/* Story */
.ab-story {
    padding: 100px 0;
    background: var(--white);
}

.ab-media {
    position: relative;
    padding: 0 60px 70px 0;
}

.ab-media-main {
    display: block;
    width: 100%;
    aspect-ratio: 60 / 37;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(15, 36, 89, 0.15);
}

.ab-media-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38%;
    aspect-ratio: 29 / 37;
    object-fit: cover;
    border: 8px solid var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(15, 36, 89, 0.2);
}

.ab-badge {
    position: absolute;
    left: -14px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    box-shadow: 0 18px 36px rgba(0, 107, 46, 0.35);
}

.ab-badge span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
}

.ab-badge strong {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 1;
}

.ab-lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary-dark);
}

.ab-story-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.ab-checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.ab-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary-dark);
}

.ab-checks i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0, 146, 63, 0.12);
    font-size: 11px;
    color: var(--primary);
}

.ab-quote {
    position: relative;
    margin: 0;
    padding: 20px 24px 20px 64px;
    border-left: 4px solid var(--gold);
    border-radius: 0 16px 16px 0;
    background: var(--cream);
}

.ab-quote i {
    position: absolute;
    top: 22px;
    left: 22px;
    font-size: 24px;
    color: var(--gold);
}

.ab-quote p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 28px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

.ab-quote cite {
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gold);
}

/* Numbers strip */
.ab-stats {
    padding: 50px 0;
    background: linear-gradient(120deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    color: var(--white);
}

.ab-stats strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gold-lt);
}

.ab-stats span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* Mission & vision */
.ab-mv {
    padding: 100px 0;
    background: var(--cream);
}

.ab-mv-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.07);
}

.ab-mv-card img {
    width: 38%;
    flex-shrink: 0;
    object-fit: cover;
}

.ab-mv-body {
    padding: 34px 32px;
}

.ab-mv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    font-size: 22px;
    color: var(--white);
}

.ab-mv-body h3 {
    margin-bottom: 10px;
    font-size: 34px;
    font-weight: 700;
    color: var(--secondary);
}

.ab-mv-lead {
    font-family: var(--font-heading);
    font-size: 21px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
    color: var(--primary-dark);
}

.ab-mv-body p:last-child {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #555;
}

/* Dark (vision) card */
.ab-mv-card-dark {
    border: 0;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.ab-mv-card-dark h3 {
    color: var(--white);
}

.ab-mv-card-dark .ab-mv-lead {
    color: var(--gold-lt);
}

.ab-mv-card-dark .ab-mv-body p:last-child {
    color: rgba(255, 255, 255, 0.78);
}

/* Values */
.ab-values {
    padding: 100px 0;
    background: var(--white);
}

.ab-value {
    position: relative;
    height: 100%;
    padding: 32px 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 20px;
    background: var(--white);
    transition: var(--transition);
}

.ab-value::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ab-value:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px rgba(15, 36, 89, 0.1);
}

.ab-value:hover::before {
    transform: scaleX(1);
}

.ab-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(0, 146, 63, 0.1);
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.ab-value:hover .ab-value-icon {
    background: var(--primary);
    color: var(--white);
}

.ab-value h3 {
    margin-bottom: 8px;
    font-size: 25px;
    font-weight: 700;
    color: var(--secondary-dark);
}

.ab-value p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Leadership */
.ab-leaders {
    padding: 100px 0 40px;
    background: var(--cream);
}

.ab-leader {
    padding: 14px 14px 22px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.07);
    text-align: center;
    transition: var(--transition);
}

.ab-leader:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 36, 89, 0.14);
}

.ab-leader img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 18px;
    object-fit: cover;
    border-radius: 16px;
}

.ab-leader h3 {
    margin-bottom: 2px;
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary);
}

.ab-leader span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
}

/* Campus highlights */
.ab-campus {
    padding: 60px 0 140px;
    background: var(--cream);
}

.ab-campus-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(15, 36, 89, 0.12);
    text-decoration: none;
}

.ab-campus-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 1s ease;
}

.ab-campus-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 36, 89, 0) 45%, rgba(15, 36, 89, 0.88) 100%);
}

.ab-campus-body {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

.ab-campus-body i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold);
    font-size: 15px;
}

.ab-campus-card:hover img {
    transform: scale(1.07);
}

/* About responsive */
@media (max-width: 991.98px) {
    .ab-story,
    .ab-mv,
    .ab-values {
        padding: 70px 0;
    }

    .ab-leaders {
        padding-top: 70px;
    }

    .ab-campus {
        padding-bottom: 110px;
    }

    .ab-media {
        max-width: 620px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .ab-media {
        padding: 0 30px 50px 0;
    }

    .ab-badge {
        left: -6px;
        bottom: 16px;
        padding: 10px 16px;
    }

    .ab-badge strong {
        font-size: 30px;
    }

    .ab-checks {
        grid-template-columns: 1fr;
    }

    .ab-quote p {
        font-size: 24px;
    }

    .ab-stats strong {
        font-size: 36px;
    }

    .ab-mv-card {
        flex-direction: column;
    }

    .ab-mv-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .ab-mv-body {
        padding: 26px 22px;
    }

    .ab-mv-body h3 {
        font-size: 28px;
    }
}

/* ---------- Our curriculum page (reuses the about us blocks) ---------- */
.cu-pedagogy {
    max-width: 880px;
    margin: 46px auto 0;
    padding: 30px 34px;
    border-left: 4px solid var(--primary);
    border-radius: 0 20px 20px 0;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.06);
}

.cu-pedagogy p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.cu-pedagogy p:last-child {
    margin: 0;
}

.cu-pedagogy strong {
    color: var(--primary-dark);
}

/* Framework band */
.cu-frame {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(120deg, var(--secondary-dark) 0%, var(--secondary) 100%);
}

.cu-frame .sec-title {
    color: var(--white);
}

.cu-frame .sec-title em {
    color: var(--gold-lt);
}

.cu-step {
    position: relative;
    height: 100%;
    padding: 30px 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.cu-step:hover {
    transform: translateY(-6px);
    border-color: rgba(221, 184, 118, 0.5);
    background: rgba(255, 255, 255, 0.09);
}

/* Arrow to the next step */
.cu-steps > div:not(:last-child) .cu-step::after {
    content: '\f105';
    position: absolute;
    top: 50%;
    right: -19px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    font-family: 'FontAwesome';
    font-size: 15px;
    color: var(--white);
    transform: translateY(-50%);
}

.cu-step-num {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    color: var(--gold-lt);
}

.cu-step h3 {
    margin-bottom: 8px;
    font-size: 27px;
    font-weight: 700;
    color: var(--white);
}

.cu-step p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

/* Subject cards */
.cu-subject {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    padding: 24px 22px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 20px;
    background: var(--white);
    transition: var(--transition);
}

.cu-subject:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 146, 63, 0.25);
    box-shadow: 0 26px 50px rgba(15, 36, 89, 0.1);
}

.cu-subject-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(0, 146, 63, 0.1);
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.cu-subject:hover .cu-subject-icon {
    background: var(--primary);
    color: var(--white);
}

.cu-subject h3 {
    margin-bottom: 2px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--secondary-dark);
}

.cu-subject p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.cu-range {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    background: var(--cream);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gold);
}

/* Language options */
.cu-lang {
    margin-top: 46px;
    padding: 32px;
    border-radius: 24px;
    background: var(--cream);
}

.cu-lang-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.cu-lang-head .ab-mv-icon {
    margin: 0;
}

.cu-lang-head h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

.cu-lang-item {
    height: 100%;
    padding: 18px 22px;
    border-radius: 16px;
    background: var(--white);
}

.cu-lang-item strong {
    display: block;
    font-size: 16px;
    color: var(--secondary-dark);
}

.cu-lang-item span {
    font-size: 14.5px;
    color: #555;
}

/* Assessment */
.cu-assess {
    padding: 100px 0 140px;
    background: var(--cream);
}

.cu-assess-intro {
    max-width: 760px;
    margin: -20px auto 40px;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    color: #444;
}

.cu-term {
    height: 100%;
    padding: 34px 32px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.07);
}

.cu-term-tag {
    display: inline-block;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: var(--secondary);
}

.cu-term ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cu-term li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px dashed rgba(15, 36, 89, 0.15);
    font-size: 15px;
    color: #555;
}

.cu-term li b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(0, 146, 63, 0.1);
    font-size: 14px;
    color: var(--primary-dark);
}

.cu-term li.cu-sa b {
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    color: var(--white);
}

/* Dark (term II) card */
.cu-term-dark {
    border: 0;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.cu-term-dark .cu-term-tag {
    color: var(--white);
}

.cu-term-dark li {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.cu-term-dark li b {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-lt);
}

.cu-mission {
    max-width: 880px;
    margin: 50px auto 0;
    background: var(--white);
}

/* Curriculum responsive */
@media (max-width: 991.98px) {
    .cu-frame,
    .cu-assess {
        padding-top: 70px;
    }

    .cu-frame {
        padding-bottom: 70px;
    }

    .cu-steps > div:nth-child(2) .cu-step::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .cu-steps > div .cu-step::after {
        display: none;
    }

    .cu-pedagogy,
    .cu-lang,
    .cu-term {
        padding: 24px 20px;
    }

    .cu-lang-head h3 {
        font-size: 26px;
    }

    .cu-mission p {
        font-size: 22px;
    }
}

/* ---------- Academics page (reuses the about us blocks) ---------- */
.ac-year {
    padding: 100px 0;
    background: var(--cream);
}

.ac-term {
    height: 100%;
    padding: 34px 32px 20px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.07);
}

.ac-term-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15, 36, 89, 0.1);
}

.ac-term-label {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary);
}

.ac-term-note {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
}

/* Vertical track */
.ac-track {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ac-node {
    position: relative;
    display: flex;
    gap: 20px;
    padding-bottom: 26px;
}

.ac-node:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 44px;
    bottom: 4px;
    left: 21px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, rgba(0, 146, 63, 0.35) 0 6px, transparent 6px 12px);
}

.ac-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 2px solid rgba(0, 146, 63, 0.3);
    border-radius: 50%;
    background: var(--white);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.ac-node:hover .ac-dot {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.ac-node-exam .ac-dot {
    border: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    color: var(--white);
    box-shadow: 0 10px 22px rgba(192, 138, 46, 0.35);
}

.ac-node-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.ac-node-top b {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.ac-exam {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px;
    border-radius: 30px;
    background: rgba(192, 138, 46, 0.12);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.ac-node-body h3 {
    margin-bottom: 4px;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-dark);
}

.ac-node-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #555;
}

/* Dark (term II) card */
.ac-term-2 {
    border: 0;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.ac-term-2 .ac-term-head {
    border-color: rgba(255, 255, 255, 0.15);
}

.ac-term-2 .ac-term-label,
.ac-term-2 .ac-node-body h3 {
    color: var(--white);
}

.ac-term-2 .ac-term-note,
.ac-term-2 .ac-node-top b {
    color: var(--gold-lt);
}

.ac-term-2 .ac-node-body p {
    color: rgba(255, 255, 255, 0.75);
}

.ac-term-2 .ac-node:not(:last-child)::before {
    background: repeating-linear-gradient(to bottom, rgba(221, 184, 118, 0.45) 0 6px, transparent 6px 12px);
}

.ac-term-2 .ac-dot {
    border-color: rgba(255, 255, 255, 0.25);
    background: transparent;
    color: var(--gold-lt);
}

.ac-term-2 .ac-node:hover .ac-dot {
    border-color: var(--gold-lt);
    background: var(--gold-lt);
    color: var(--secondary-dark);
}

.ac-term-2 .ac-node-exam .ac-dot {
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    color: var(--white);
}

.ac-term-2 .ac-exam {
    background: rgba(221, 184, 118, 0.15);
    color: var(--gold-lt);
}

/* Mission & links */
.ac-end {
    padding: 100px 0 140px;
    background: var(--cream);
}

.ac-mission {
    max-width: 880px;
    margin: 0 auto;
    background: var(--white);
}

.ac-links {
    max-width: 920px;
    margin: 40px auto 0;
}

.ac-link {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    padding: 22px 24px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 20px;
    background: var(--white);
}

.ac-link .ab-value-icon {
    margin: 0;
    flex-shrink: 0;
}

.ac-link-text {
    flex: 1;
}

.ac-link-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 25px;
    line-height: 1.1;
    color: var(--secondary-dark);
}

.ac-link-text span {
    font-size: 14px;
    color: #666;
}

.ac-link-arrow {
    font-size: 18px;
    color: var(--gold);
    transition: var(--transition);
}

.ac-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(15, 36, 89, 0.1);
}

.ac-link:hover .ab-value-icon {
    background: var(--primary);
    color: var(--white);
}

.ac-link:hover .ac-link-arrow {
    transform: translateX(5px);
}

/* Academics responsive */
@media (max-width: 991.98px) {
    .ac-year {
        padding: 70px 0;
    }

    .ac-end {
        padding-top: 70px;
    }
}

@media (max-width: 575.98px) {
    .ac-term {
        padding: 26px 20px 12px;
    }

    .ac-term-label {
        font-size: 32px;
    }

    .ac-node {
        gap: 14px;
    }

    .ac-node-body h3 {
        font-size: 21px;
    }

    .ac-link {
        padding: 18px;
    }

    .ac-mission p {
        font-size: 22px;
    }
}

/* ---------- Admission pages (sidebar reuses the infrastructure menu) ---------- */
.adm-card {
    padding: 44px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.07);
}

.adm-card + .adm-card {
    margin-top: 28px;
}

.adm-card .sec-title {
    font-size: 44px;
}

.adm-lead {
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.adm-subtitle {
    margin-bottom: 22px;
    font-size: 30px;
    font-weight: 700;
}

/* Side help card */
.adm-help a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 14px;
}

.adm-help a i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--primary);
    background: rgba(0, 146, 63, 0.1);
}

.adm-help a small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #777;
}

/* Highlight strip */
.adm-highlight {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 20px 24px;
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    background: var(--cream);
}

.adm-highlight > i {
    font-size: 28px;
    color: var(--gold);
}

.adm-highlight p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: #333;
}

.adm-highlight strong {
    color: var(--secondary-dark);
}

.adm-highlight a {
    font-weight: 600;
    color: var(--primary);
}

/* Numbered steps */
.adm-steps {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.adm-steps::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 23px;
    width: 2px;
    background: linear-gradient(var(--gold-lt), rgba(221, 184, 118, 0.15));
}

.adm-steps li {
    position: relative;
    display: flex;
    gap: 22px;
    padding-bottom: 26px;
}

.adm-steps li:last-child {
    padding-bottom: 0;
}

.adm-step-num {
    position: relative;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
    color: var(--white);
    background: var(--secondary);
    box-shadow: 0 0 0 6px var(--white);
}

.adm-steps li:last-child .adm-step-num {
    background: var(--primary);
}

.adm-steps h3 {
    margin: 4px 0 6px;
    font-size: 23px;
    font-weight: 700;
}

.adm-steps p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.adm-steps a {
    font-weight: 600;
    color: var(--primary);
}

/* Document checklist */
.adm-docs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.adm-doc {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 14px;
    background: var(--cream);
    transition: var(--transition);
}

.adm-doc:hover {
    border-color: rgba(192, 138, 46, 0.4);
    transform: translateY(-2px);
}

.adm-doc > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    font-size: 18px;
    color: var(--primary);
    background: rgba(0, 146, 63, 0.1);
}

.adm-doc strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--secondary-dark);
}

.adm-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(24, 56, 131, 0.08);
}

.adm-tag.is-original {
    color: var(--primary-dark);
    background: rgba(0, 146, 63, 0.12);
}

/* Downloadable file */
.adm-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(120deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.adm-file::after {
    content: '';
    position: absolute;
    top: -90px;
    right: -60px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(221, 184, 118, 0.45);
    border-radius: 50%;
    pointer-events: none;
}

.adm-file-icon {
    width: 76px;
    height: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    font-size: 38px;
    color: #d93025;
    background: var(--white);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.adm-file-body {
    flex: 1;
    min-width: 0;
}

.adm-file-body h3 {
    margin-bottom: 6px;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.adm-file-body p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.adm-file-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.adm-file .btn-outline-brand {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.adm-file .btn-outline-brand:hover {
    color: var(--secondary-dark);
    border-color: var(--white);
    background: var(--white);
}

/* Small cards (key points / related pages) */
.adm-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.adm-point {
    display: block;
    height: 100%;
    padding: 24px;
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 16px;
    background: var(--cream);
    color: inherit;
    transition: var(--transition);
}

a.adm-point:hover {
    border-color: rgba(192, 138, 46, 0.45);
    background: var(--white);
    box-shadow: 0 14px 30px rgba(15, 36, 89, 0.08);
    transform: translateY(-3px);
}

.adm-point > i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 12px;
    font-size: 20px;
    color: var(--white);
    background: var(--primary);
}

.adm-point h3 {
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 700;
}

.adm-point p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: #555;
}

.adm-point-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gold);
}

/* Principal's statement */
.adm-statement {
    position: relative;
    margin: 36px 0 0;
    padding: 38px 36px 30px;
    border-radius: 20px;
    background: var(--cream);
}

.adm-statement > i {
    position: absolute;
    top: -20px;
    left: 32px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 17px;
    color: var(--white);
    background: var(--gold);
}

.adm-statement p {
    margin-bottom: 14px;
    font-size: 16.5px;
    line-height: 1.85;
    color: #333;
}

.adm-statement cite {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    font-weight: 700;
    color: var(--secondary);
}

/* TC sample */
.adm-tc {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 36px;
    align-items: start;
}

.adm-tc-frame {
    position: relative;
    display: block;
    padding: 14px;
    border-radius: 18px;
    background: var(--cream);
    box-shadow: 0 18px 40px rgba(15, 36, 89, 0.1);
}

.adm-tc-frame img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.adm-tc-frame .adm-tag {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 1;
    color: var(--white);
    background: var(--gold);
}

.adm-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.adm-list li {
    position: relative;
    padding: 9px 0 9px 30px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    border-bottom: 1px dashed rgba(15, 36, 89, 0.12);
}

.adm-list li:last-child {
    border-bottom: 0;
}

.adm-list li::before {
    content: '\f00c';
    position: absolute;
    top: 10px;
    left: 0;
    font-family: 'FontAwesome';
    font-size: 13px;
    color: var(--primary);
}

/* Information photo */
.adm-info-media {
    position: relative;
    height: 100%;
    min-height: 320px;
    border-radius: 20px;
    overflow: hidden;
}

.adm-info-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adm-info-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 14px 20px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.adm-info-badge span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.adm-info-badge strong {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary);
}

/* Bank account card */
.adm-bank {
    position: relative;
    max-width: 560px;
    padding: 30px 32px;
    border-radius: 22px;
    color: var(--white);
    background:
        radial-gradient(circle at 100% 0%, rgba(221, 184, 118, 0.35), transparent 45%),
        linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    box-shadow: 0 24px 50px rgba(15, 36, 89, 0.3);
    overflow: hidden;
}

.adm-bank-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.adm-bank-head span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-lt);
}

.adm-bank-head h3 {
    margin: 4px 0 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
}

.adm-bank-head > i {
    font-size: 34px;
    color: var(--gold-lt);
}

.adm-bank-no {
    margin-bottom: 22px;
}

.adm-bank-no small,
.adm-bank-row small {
    display: block;
    margin-bottom: 4px;
    font-size: 11.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.adm-bank-no strong {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 3px;
}

.adm-bank-rows {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.adm-bank-row strong {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.adm-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 8px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 12px;
    color: var(--white);
    background: transparent;
    vertical-align: middle;
    transition: var(--transition);
}

.adm-copy:hover,
.adm-copy.is-copied {
    border-color: var(--gold);
    background: var(--gold);
}

/* Plain detail table */
.adm-table-wrap {
    border: 1px solid rgba(15, 36, 89, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.adm-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.adm-table th,
.adm-table td {
    padding: 14px 18px;
    font-size: 15px;
    border-bottom: 1px solid rgba(15, 36, 89, 0.08);
}

.adm-table th {
    width: 42%;
    font-weight: 500;
    color: #666;
    background: var(--cream);
}

.adm-table td {
    font-weight: 600;
    color: var(--secondary-dark);
}

.adm-table tr:last-child th,
.adm-table tr:last-child td {
    border-bottom: 0;
}

/* Admission pages responsive */
@media (max-width: 1199.98px) {
    .adm-points {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .adm-tc {
        grid-template-columns: 1fr;
    }

    .adm-tc-frame {
        max-width: 460px;
    }
}

@media (max-width: 767.98px) {
    .adm-card {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .adm-card .sec-title {
        font-size: 36px;
    }

    .adm-docs,
    .adm-points {
        grid-template-columns: 1fr;
    }

    .adm-file {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 26px 22px;
    }

    .adm-bank {
        padding: 26px 22px;
    }

    .adm-bank-no strong {
        font-size: 22px;
        letter-spacing: 1.5px;
    }

    .adm-statement {
        padding: 38px 22px 24px;
    }

    .adm-table th,
    .adm-table td {
        display: block;
        width: 100%;
    }

    .adm-table th {
        padding-bottom: 4px;
        border-bottom: 0;
    }
}

/* ---------- Floating quick-contact bar (phones only, markup in footer.php) ---------- */
.qbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 1030;
    display: flex;
    justify-content: space-around;
    padding: 10px 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 12px 34px rgba(15, 36, 89, 0.22);
}

.qbar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--secondary-dark);
}

.qbar-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    color: var(--white);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.qbar-item:active .qbar-icon {
    transform: scale(0.9);
}

.qbar-fb {
    background: #1877f2;
}

.qbar-wa {
    background: #25d366;
}

.qbar-notice {
    background: linear-gradient(135deg, var(--gold-lt), var(--gold));
}

.qbar-call {
    background: var(--primary);
}

@media (max-width: 767.98px) {

    /* Room for the bar so it never covers the footer */
    body {
        padding-bottom: 96px;
    }

    .to-top {
        right: 16px;
        bottom: calc(100px + env(safe-area-inset-bottom));
        width: 46px;
        height: 46px;
    }
}


/* ===== CBSE affiliation band (home, below slider) ===== */
.aff-band {
    position: relative;
    z-index: 2;
    padding: 40px 0 10px;
    background: var(--cream);
}

.aff-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 36px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(192, 138, 46, 0.22) 0, transparent 45%),
        linear-gradient(120deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 22px 50px rgba(15, 36, 89, 0.25);
    color: var(--white);
    overflow: hidden;
}

.aff-seal {
    position: relative;
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aff-seal i {
    position: absolute;
    inset: 0;
    font-size: 92px;
    line-height: 92px;
    text-align: center;
    color: var(--gold);
}

.aff-seal span {
    position: relative;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--secondary-dark);
}

.aff-text {
    flex: 1 1 auto;
    min-width: 0;
}

.aff-kicker {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-lt);
}

.aff-text h2 {
    margin: 0 0 6px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

.aff-text h2 em {
    font-style: italic;
    color: var(--gold-lt);
}

.aff-text p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.aff-no {
    flex: 0 0 auto;
    padding: 16px 26px;
    border: 1px solid rgba(221, 184, 118, 0.45);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
}

.aff-no small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.aff-no strong {
    display: block;
    margin: 2px 0 6px;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 3px;
    color: var(--gold-lt);
}

.aff-no a {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
}

.aff-no a:hover {
    color: var(--gold-lt);
}

@media (max-width: 991.98px) {
    .aff-band {
        padding-top: 24px;
    }

    .aff-inner {
        gap: 22px;
        padding: 24px;
    }

    .aff-text h2 {
        font-size: 30px;
    }
}

@media (max-width: 767.98px) {
    .aff-inner {
        flex-direction: column;
        text-align: center;
    }

    .aff-seal {
        width: 76px;
        height: 76px;
    }

    .aff-seal i {
        font-size: 76px;
        line-height: 76px;
    }

    .aff-seal span {
        font-size: 13px;
    }

    .aff-no {
        width: 100%;
    }

    .aff-no strong {
        font-size: 38px;
    }
}

/* Footer affiliation line */
.ft-aff {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 14px;
    padding: 6px 14px;
    border: 1px solid rgba(221, 184, 118, 0.4);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gold-lt);
}

.ft-aff i {
    color: var(--gold);
}

/* ===== Floating side dock: call / contact / notice board (tablets & desktops) ===== */
.fdock {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 1025;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-50%);
}

.fdock-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
}

.fdock-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px 0 0 14px;
    font-size: 20px;
    color: var(--white);
    box-shadow: 0 8px 22px rgba(15, 36, 89, 0.25);
    transition: var(--transition);
}

.fdock-call .fdock-icon {
    background: linear-gradient(135deg, #12ad55, var(--primary-dark));
}

.fdock-wa .fdock-icon {
    background: linear-gradient(135deg, #3be07c, #1ebe5a);
    font-size: 24px;
}

.fdock-contact .fdock-icon {
    background: linear-gradient(135deg, #2b4fa8, var(--secondary-dark));
}

.fdock-notice .fdock-icon {
    background: linear-gradient(135deg, var(--gold-lt), var(--gold));
}

.fdock-call .fdock-icon i {
    animation: fdock-ring 2.4s ease-in-out infinite;
}

.fdock-label {
    position: absolute;
    right: 52px;
    top: 50%;
    padding: 9px 16px 9px 18px;
    border-radius: 12px 0 0 12px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(15, 36, 89, 0.18);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    color: var(--secondary-dark);
    opacity: 0;
    visibility: hidden;
    transform: translate(16px, -50%);
    transition: var(--transition);
}

.fdock-label small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

.fdock-item:hover .fdock-icon,
.fdock-item:focus-visible .fdock-icon {
    width: 58px;
}

.fdock-item:hover .fdock-label,
.fdock-item:focus-visible .fdock-label {
    right: 58px;
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

@keyframes fdock-ring {
    0%, 70%, 100% { transform: rotate(0); }
    75% { transform: rotate(-16deg); }
    80% { transform: rotate(14deg); }
    85% { transform: rotate(-10deg); }
    90% { transform: rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .fdock-call .fdock-icon i {
        animation: none;
    }
}

/* Phones get the bottom quick bar instead */
@media (max-width: 767.98px) {
    .fdock {
        display: none;
    }
}