﻿:root {
    --navy: #102A43;
    --navy-deep: #071A2B;
    --maroon: #7A1F2B;
    --gold: #C9A227;
    --gold-soft: #E4C766;
    --white: #FFFFFF;
    --bg: #F6F8FB;
    --text: #263238;
    --muted: #64748B;
    --border: #E2E8F0;
    --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --max-w: 1240px;
    --radius-s: 4px;
    --radius-m: 10px;
    --shadow-1: 0 1px 3px rgba(7,26,43,0.06), 0 1px 2px rgba(7,26,43,0.08);
    --shadow-2: 0 12px 32px rgba(7,26,43,0.12);
    --dur: 220ms;
    --ease: cubic-bezier(.4,0,.2,1);
    --sf: #FF6F00;
    --sf-lt: #FFF3E0;
    --sf-dk: #E65100;
    --tr: .2s ease;
        --bdr: rgba(255,111,0,.14);
    --bdr2: rgba(255,111,0,.28);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.sbc {
    background: var(--white);
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    overflow: hidden;
    padding:10px;
}

.sbh {
    background: var(--navy-deep);
    color: #fff;
    padding: 1rem 0.25rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    text-transform:capitalize;
    align-items: center;
}
.sbls {
    list-style: none;
    width:100%;
}

    .sbls li {
        border-bottom: 1px solid var(--bdr);
    }

        .sbls li:last-child {
            border-bottom: none
        }

    .sbls a {
        display: flex;
        border-bottom: 1px solid var(--bdr);
        padding: 10px 2px;
        width:100%;
        text-transform:capitalize;
        color: var(--ink2);
        text-decoration: none;
        transition: background var(--tr),color var(--tr)
    }

        .sbls a:hover {
            background: var(--sf-lt);
            color: #002147;
        }
.pgmargin1{
    padding-left:5%;
}
.text-center{
    text-align:center;
   
}
img {
    max-width: 100%;
    display: block;
}

a {
    color:#2563eb;
    text-decoration: none;
}
    a:link {
        color: #2563eb;
        text-decoration: none;
    }
    a:visited {
        color: #2563eb;
        text-decoration: none;
    }
h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--navy-deep);
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
}

p {
    margin: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 84px 0;
}

.section--tight {
    padding: 56px 0;
}

.section--alt {
    background: var(--white);
}
/* 1. Root search bar container (replaces .gsearch) */
.gsc-control-cse {
    width: 300px !important;
    max-width: 300px !important;
    padding: 15px !important;
    margin-left: 30%;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* 2. Outer search form box */
form.gsc-search-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 300px !important;
    height: 36px !important;
    padding: 2px 4px 2px 8px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

    form.gsc-search-box:focus-within {
        border-color: #2563eb !important;
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
    }

/* 3. Reset internal table structures to flex */
table.gsc-search-box,
table.gsc-search-box tbody,
table.gsc-search-box tr {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Input container & text box */
td.gsc-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.gsc-input-box {
    border: none !important;
    background: transparent !important;
    height: auto !important;
    width: 200px !important;
    margin: 0 !important;
}

    input.gsc-input,
    .gsc-input-box input.gsc-input {
        height: 28px !important;
        width: 200px !important;
        font-size: 13px !important;
        line-height: 28px !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        color: #1f2937 !important;
    }

/* 5. Button container at the far right */
td.gsc-search-button {
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin-left: auto !important;
}

button.gsc-search-button,
button.gsc-search-button-v2 {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #2563eb !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease !important;
}

    button.gsc-search-button:hover,
    button.gsc-search-button-v2:hover {
        background: #1d4ed8 !important;
    }

    button.gsc-search-button svg,
    button.gsc-search-button-v2 svg {
        width: 13px !important;
        height: 13px !important;
        fill: #ffffff !important;
        vertical-align: middle !important;
    }

/* 6. Hide clear button to prevent breaking the 200px layout */
.gsst_a,
td.gsc-clear-button {
    display: none !important;
}

/* 7. Suggestions dropdown & z-index overlay fix */
.gssb_c {
    z-index: 2147483647 !important;
}

table.gssb_c {
    border-radius: 8px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e5e7eb !important;
    background-color: #ffffff !important;
    margin-top: 6px !important;
    overflow: hidden !important;
}

.gssb_m {
    background-color: #ffffff !important;
    color: #1f2937 !important;
    font-size: 13px !important;
}

.gssb_a td {
    padding: 8px 12px !important;
    cursor: pointer !important;
}

.gssb_a:hover td,
.gssb_e td {
    background-color: #f1f5f9 !important;
    color: #2563eb !important;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--maroon);
    font-weight: 600;
    margin-bottom: 10px;
}

    .eyebrow::before {
        content: "";
        width: 22px;
        height: 2px;
        background: var(--gold);
        display: inline-block;
    }

.section-head {
    max-width: 940px;
    margin-bottom: 44px;
}

    .section-head h2 {
        font-size: clamp(1.7rem, 2.4vw, 2.35rem);
    }

    .section-head p {
        color: var(--muted);
        margin-top: 14px;
        font-size: 1.02rem;
    }

    .section-head.center {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

.rule-gold {
    width: 64px;
    height: 3px;
    background: var(--gold);
    border: 0;
    margin: 18px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-s);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

    .btn:active {
        transform: translateY(1px);
    }

.btn-primary {
    background: var(--maroon);
    color: var(--white);
}

    .btn-primary:hover {
        background: #611722;
    }

.btn-gold {
    background: var(--gold);
    color: #fff;
}
.btn-gold a:link{
    background: var(--gold);
    color: #fff;
}
    .btn-gold:hover {
        background: var(--gold-soft);
    }

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}

    .btn-outline:hover {
        border-color: var(--white);
        background: rgba(255,255,255,0.08);
    }

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

    .btn-outline-dark:hover {
        background: var(--navy);
        color: var(--white);
    }

.btn-link {
    color: var(--maroon);
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    padding: 4px 0;
    border-radius: 0;
}

    .btn-link:hover {
        border-bottom-color: var(--maroon);
    }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-1);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-2);
    }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    background: var(--navy-deep);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-s);
    z-index: 1000;
    transition: top var(--dur) var(--ease);
    font-weight: 600;
}

    .skip-link:focus {
        top: 16px;
    }

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* ============================================================
   1. TOP INFO BAR
   ============================================================ */
.topbar {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
}

    .topbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding-top: 9px;
        padding-bottom: 9px;
        flex-wrap: wrap;
    }

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-mid {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--gold-soft);
    font-weight: 500;
}

.topbar a {
    transition: color var(--dur) var(--ease);
    color:#fff;
}

    .topbar a:hover {
        color: var(--gold-soft);
    }

.topbar-right a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ============================================================
   2. MAIN HEADER
   ============================================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 500;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    flex-shrink: 0;
    background: radial-gradient(circle at 35% 30%, var(--navy) 0%, var(--navy-deep) 70%);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brand-mark svg {
        width: 28px;
        height: 28px;
    }

.brand-text {
    min-width: 0;
}

    .brand-text .college-name {
        font-family: var(--serif);
        font-weight: 700;
        font-size: 1.58rem;
        color: var(--navy-deep);
        line-height: 1.25;
    }

    .brand-text .faculty-line {
        font-size: 0.82rem;
        color: var(--maroon);
        font-weight: 600;
        margin-top: 1px;
    }

    .brand-text .tag-line {
        font-size: 0.72rem;
        color: var(--muted);
        margin-top: 2px;
    }

.header-actions {
    display: flex;

    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    background: var(--white);
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

    .icon-btn:hover {
        border-color: var(--navy);
        background: var(--bg);
    }

    .icon-btn svg {
        width: 19px;
        height: 19px;
        color: var(--navy);
    }

.header-actions .btn {
    padding: 11px 20px;
    font-size: 0.88rem;
}

/* ============================================================
   3. NAVIGATION
   ============================================================ */
.main-nav {
    background: var(--navy-deep);
}

    .main-nav .container {
        display: flex;
    }

.nav-list {
    display: flex;
}

    .nav-list > li {
        position: relative;
    }

        .nav-list > li > a, .nav-toggle-label {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 15px 17px;
            color: rgba(255,255,255,0.92);
            font-size: 0.83rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            white-space: nowrap;
            border-bottom: 3px solid transparent;
            transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
        }

            .nav-list > li > a:hover, .nav-list > li.open > a {
                background: rgba(255,255,255,0.06);
                border-bottom-color: var(--gold);
            }

.caret {
    width: 9px;
    height: 9px;
    margin-top: -2px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-2);
    border-radius: 0 0 var(--radius-s) var(--radius-s);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
    z-index: 400;
}

.nav-list > li:hover .dropdown,
.nav-list > li:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 0.88rem;
    border-left: 3px solid transparent;
    transition: border-color var(--dur), background var(--dur), color var(--dur);
}

    .dropdown a:hover {
        border-left-color: var(--maroon);
        background: var(--bg);
        color: var(--maroon);
    }

.mobile-only {
    display: none;
}

/* ============================================================
   4. HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient(115deg, rgba(7,26,43,0.92) 10%, rgba(16,42,67,0.78) 50%, rgba(7,26,43,0.6) 100%), linear-gradient(135deg, #16334f 0%, #0b2036 60%, #071A2B 100%);
    overflow: hidden;
    color: var(--white);
}

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0.14;
        background-image: repeating-linear-gradient(90deg, rgba(201,162,39,0.5) 0 1px, transparent 1px 120px), repeating-linear-gradient(0deg, rgba(201,162,39,0.35) 0 1px, transparent 1px 120px);
    }

.hero-motif {
    position: absolute;
    right: -60px;
    bottom: -40px;
    width: 460px;
    height: 460px;
    opacity: 0.10;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.2;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 90px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(201,162,39,0.14);
    border: 1px solid rgba(201,162,39,0.5);
    color: var(--gold-soft);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 26px;
}

    .hero-badge .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gold-soft);
    }

.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    line-height: 1.15;
}

.hero p.lede {
    color: rgba(255,255,255,0.82);
    font-size: 1.12rem;
    margin-top: 22px;
    max-width: 560px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 36px;
    flex-wrap: wrap;
}

    .hero-ctas .btn {
        padding: 15px 30px;
    }
.topbg {
    position: relative;
 height: 320px;
    display: flex;
    align-items: center;
    background: linear-gradient(115deg, rgba(7,26,43,0.92) 10%, rgba(16,42,67,0.78) 50%, rgba(7,26,43,0.6) 100%), linear-gradient(135deg, #16334f 0%, #0b2036 60%, #071A2B 100%);
    overflow: hidden;
    color: var(--white);
}
/* ============================================================
   5. ANNOUNCEMENTS TICKER
   ============================================================ */
.announce {
    background: var(--navy);
    color: var(--white);
}

    .announce .container {
        display: flex;
        align-items: center;
        gap: 28px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

.announce-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--gold-soft);
    flex-shrink: 0;
    white-space: nowrap;
}

    .announce-label svg {
        width: 18px;
        height: 18px;
    }

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 26px;
}

.ticker-track {
    position: absolute;
    inset: 0;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    inset: 0;
    opacity: 0;
    font-size: 0.92rem;
    transform: translateY(10px);
    transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

    .ticker-item.active {
        opacity: 1;
        transform: translateY(0);
    }

    .ticker-item .date {
        color: var(--gold-soft);
        font-weight: 600;
        flex-shrink: 0;
    }

    .ticker-item .cat {
        background: rgba(255,255,255,0.12);
        padding: 2px 9px;
        border-radius: 999px;
        font-size: 0.72rem;
        font-weight: 600;
        flex-shrink: 0;
    }

.announce .view-all {
    flex-shrink: 0;
}

/* ============================================================
   6. STATS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    overflow: hidden;
}

.stat {
    background: var(--white);
    padding: 40px 24px;
    text-align: center;
}

    .stat .num {
        font-family: var(--serif);
        font-size: clamp(2rem,3.6vw,2.7rem);
        font-weight: 700;
        color: var(--maroon);
    }

    .stat .label {
        color: var(--muted);
        font-size: 0.9rem;
        margin-top: 6px;
    }

/* ============================================================
   7. ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.about-img {
    position: relative;
}

    .about-img img {
        border-radius: var(--radius-m);
        box-shadow: var(--shadow-2);
        width: 100%;
        aspect-ratio: 4/5;
        object-fit: cover;
        background: #dfe6ee;
    }

    .about-img .frame {
        position: absolute;
        inset: 18px -18px -18px 18px;
        border: 2px solid var(--gold);
        border-radius: var(--radius-m);
        z-index: -1;
    }

.about-copy p {
    color: var(--text);
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 28px;
}

.mini-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    background: var(--bg);
}

    .mini-card svg {
        width: 26px;
        height: 26px;
        color: var(--maroon);
        margin-bottom: 10px;
    }

    .mini-card h4 {
        font-size: 0.98rem;
    }

    .mini-card p {
        color: var(--muted);
        font-size: 0.85rem;
        margin-top: 6px;
    }

/* ============================================================
   8. VISION / MISSION
   ============================================================ */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.vm-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

    .vm-card.navy {
        background: var(--navy-deep);
        color: rgba(255,255,255,0.9);
    }

    .vm-card.maroon {
        background: var(--maroon);
        color: rgba(255,255,255,0.92);
    }

    .vm-card svg {
        width: 34px;
        height: 34px;
        color: var(--gold-soft);
        margin-bottom: 18px;
    }

    .vm-card h3 {
        color: var(--white);
        font-size: 1.3rem;
        letter-spacing: 0.03em;
    }

    .vm-card p {
        margin-top: 16px;
        font-size: 1.02rem;
        line-height: 1.7;
    }

/* ============================================================
   9. COURSES
   ============================================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

.course-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.course-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .course-icon svg {
        width: 26px;
        height: 26px;
        color: var(--maroon);
    }

.course-card h3 {
    font-size: 1.15rem;
}

.course-card .duration {
    color: var(--muted);
    font-size: 0.86rem;
}

.course-card p.desc {
    color: var(--text);
    font-size: 0.92rem;
}

.course-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.badge-note {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--muted);
    border: 1px dashed var(--border);
    padding: 10px 18px;
    border-radius: 999px;
}

/* ============================================================
   10. FEATURES (why choose)
   ============================================================ */
.feature-card {
    padding: 28px;
}

    .feature-card svg {
        width: 30px;
        height: 30px;
        color: var(--maroon);
        margin-bottom: 16px;
    }

    .feature-card h4 {
        font-size: 1.02rem;
    }

    .feature-card p {
        color: var(--muted);
        font-size: 0.88rem;
        margin-top: 8px;
    }

/* ============================================================
   11. PRINCIPAL
   ============================================================ */
.principal-grid {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 52px;
    align-items: center;
}

.principal-img {
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: var(--shadow-2);
    aspect-ratio: 3/4;
    background: #dfe6ee;
}

blockquote.msg {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--navy-deep);
    line-height: 1.7;
    font-style: italic;
}

.principal-name {
    margin-top: 22px;
    font-weight: 700;
    color: var(--navy-deep);
}

.principal-role {
    color: var(--maroon);
    font-size: 0.88rem;
    font-weight: 600;
}

/* ============================================================
   12. FACULTY
   ============================================================ */
.faculty-card {
    overflow: hidden;
    text-align: left;
}

.faculty-photo {
    aspect-ratio: 1/1;
    background: #dfe6ee;
    overflow: hidden;
}

    .faculty-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 400ms var(--ease);
    }

.faculty-card:hover .faculty-photo img {
    transform: scale(1.06);
}

.faculty-body {
    padding: 20px;
}

    .faculty-body h4 {
        font-size: 1.02rem;
    }

    .faculty-body .role {
        color: var(--maroon);
        font-size: 0.82rem;
        font-weight: 600;
        margin-top: 3px;
    }

    .faculty-body .spec {
        color: var(--muted);
        font-size: 0.82rem;
        margin-top: 8px;
    }

    .faculty-body .qual {
        color: var(--muted);
        font-size: 0.8rem;
        margin-top: 3px;
    }

    .faculty-body .btn-link {
        margin-top: 14px;
        display: inline-block;
        font-size: 0.85rem;
    }

.center-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================================
   13. INFRASTRUCTURE GALLERY
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 170px;
    gap: 14px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-m);
    overflow: hidden;
    cursor: pointer;
    background: #dfe6ee;
}

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 2;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 400ms var(--ease);
    }

    .gallery-item:hover img {
        transform: scale(1.08);
    }

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(7,26,43,0.85), transparent);
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 600;
}

.gallery-item button.gallery-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 0;
    padding: 0;
}

/* Lightbox modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7,26,43,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 40px;
}

    .lightbox.open {
        display: flex;
    }

    .lightbox img {
        max-width: 900px;
        max-height: 80vh;
        border-radius: var(--radius-m);
    }

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
}

/* ============================================================
   14. LIBRARY
   ============================================================ */
.library-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.library-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 26px 0 30px;
}

    .library-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.94rem;
    }

    .library-list svg {
        width: 16px;
        height: 16px;
        color: var(--gold);
        flex-shrink: 0;
    }

.library-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.library-visual {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: var(--radius-m);
    position: relative;
    overflow: hidden;
}

    .library-visual svg {
        position: absolute;
        inset: 0;
        margin: auto;
        width: 45%;
        height: 45%;
        color: rgba(201,162,39,0.5);
    }

/* ============================================================
   15. MOOT COURT TIMELINE
   ============================================================ */
.timeline {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 18px;
}

.timeline-card {
    padding: 22px 18px;
    text-align: center;
}

    .timeline-card .tstep {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--navy-deep);
        color: var(--gold-soft);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--serif);
        font-weight: 700;
        margin: 0 auto 14px;
    }

    .timeline-card h4 {
        font-size: 0.92rem;
    }

/* ============================================================
   16. LEGAL AID
   ============================================================ */
.legal-aid {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

    .legal-aid::before {
        content: "";
        position: absolute;
        top: -100px;
        right: -100px;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(201,162,39,0.14), transparent 70%);
    }

    .legal-aid .section-head h2 {
        color: var(--white);
    }

    .legal-aid .section-head p {
        color: rgba(255,255,255,0.68);
    }

    .legal-aid .eyebrow {
        color: var(--gold-soft);
    }

.la-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-m);
    padding: 26px;
}

    .la-card svg {
        width: 28px;
        height: 28px;
        color: var(--gold-soft);
        margin-bottom: 14px;
    }

    .la-card h4 {
        color: var(--white);
        font-size: 1rem;
    }

    .la-card p {
        color: rgba(255,255,255,0.65);
        font-size: 0.86rem;
        margin-top: 8px;
    }

/* ============================================================
   17. IQAC / NAAC
   ============================================================ */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.compliance-card {
    padding: 24px;
    text-align: center;
}

    .compliance-card svg {
        width: 30px;
        height: 30px;
        color: var(--maroon);
        margin: 0 auto 12px;
    }
    .compliance-card img {
        display: block;
        margin: 0 auto;
        margin-bottom:20px;
        max-width: 100%;
        height: auto;
    }
    .compliance-card h4 {
        font-size: 0.94rem;
    }

    .compliance-card .btn-link {
        margin-top: 12px;
        display: inline-block;
        font-size: 0.84rem;
    }

/* ============================================================
   18. EVENTS / NEWS
   ============================================================ */
.event-card, .news-card {
    overflow: hidden;
}

.event-media {
    aspect-ratio: 16/10;
    background: #dfe6ee;
    position: relative;
    overflow: hidden;
}

    .event-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.event-date-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--white);
    border-radius: var(--radius-s);
    padding: 6px 12px;
    text-align: center;
    box-shadow: var(--shadow-1);
}

    .event-date-badge .d {
        font-family: var(--serif);
        font-weight: 700;
        color: var(--maroon);
        font-size: 1.1rem;
        line-height: 1;
    }

    .event-date-badge .m {
        font-size: 0.65rem;
        color: var(--muted);
        font-weight: 600;
    }

.event-body {
    padding: 20px;
}

.event-cat {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--maroon);
    letter-spacing: 0.03em;
}

.event-body h4 {
    font-size: 1.02rem;
    margin-top: 8px;
}

.event-body p {
    color: var(--muted);
    font-size: 0.86rem;
    margin-top: 8px;
}

.event-body .btn-link {
    margin-top: 14px;
    display: inline-block;
    font-size: 0.85rem;
}

/* ============================================================
   19. NOTICE BOARD
   ============================================================ */
.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.tab-btn {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    transition: all var(--dur) var(--ease);
}

    .tab-btn.active, .tab-btn:hover {
        background: var(--navy-deep);
        color: var(--white);
        border-color: var(--navy-deep);
    }

.notice-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    overflow: hidden;
    background: var(--white);
}

.notice-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}

    .notice-row:last-child {
        border-bottom: none;
    }

    .notice-row .pdf-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        color: var(--maroon);
    }

    .notice-row .notice-main {
        flex: 1;
        min-width: 0;
    }

    .notice-row .notice-title {
        font-weight: 600;
        font-size: 0.94rem;
    }

    .notice-row .notice-date {
        color: var(--muted);
        font-size: 0.8rem;
        margin-top: 3px;
    }

    .notice-row .notice-dl {
        flex-shrink: 0;
    }

/* ============================================================
   20. RESOURCES
   ============================================================ */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.resource-card {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

    .resource-card svg {
        width: 26px;
        height: 26px;
        color: var(--maroon);
    }

    .resource-card span {
        font-size: 0.88rem;
        font-weight: 600;
    }

/* ============================================================
   21. ALUMNI
   ============================================================ */
.alumni-wrap {
    background: linear-gradient(120deg, var(--maroon), #5c1621);
    border-radius: var(--radius-m);
    padding: 56px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    color: rgba(255,255,255,0.92);
}

    .alumni-wrap h2 {
        color: var(--white);
    }

    .alumni-wrap .eyebrow {
        color: var(--gold-soft);
    }

        .alumni-wrap .eyebrow::before {
            background: var(--gold-soft);
        }

    .alumni-wrap p {
        color: rgba(255,255,255,0.78);
        margin-top: 16px;
    }

.alumni-ctas {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.alumni-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .alumni-points li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.94rem;
    }

    .alumni-points svg {
        width: 18px;
        height: 18px;
        color: var(--gold-soft);
        flex-shrink: 0;
    }

/* ============================================================
   22. TESTIMONIALS
   ============================================================ */
.testi-wrap {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testi-slide {
    display: none;
}

    .testi-slide.active {
        display: block;
        animation: fadeIn 500ms var(--ease);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testi-photo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #dfe6ee;
    border: 3px solid var(--gold);
    overflow: hidden;
}

    .testi-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.testi-quote {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--navy-deep);
    line-height: 1.6;
}

.testi-name {
    margin-top: 20px;
    font-weight: 700;
}

.testi-role {
    color: var(--muted);
    font-size: 0.86rem;
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

    .testi-dots button {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--border);
        border: 0;
    }

        .testi-dots button.active {
            background: var(--maroon);
            width: 22px;
            border-radius: 5px;
            transition: all var(--dur) var(--ease);
        }

/* ============================================================
   23. PHOTO GALLERY (masonry)
   ============================================================ */
.masonry {
    columns: 4 220px;
    column-gap: 14px;
}

    .masonry .m-item {
        break-inside: avoid;
        margin-bottom: 14px;
        border-radius: var(--radius-m);
        overflow: hidden;
        background: #dfe6ee;
    }

        .masonry .m-item img {
            width: 100%;
            display: block;
            transition: transform 400ms var(--ease);
        }

        .masonry .m-item:hover img {
            transform: scale(1.06);
        }

/* ============================================================
   24. VIDEO TOUR
   ============================================================ */
.video-wrap {
    position: relative;
    border-radius: var(--radius-m);
    overflow: hidden;
    aspect-ratio: 16/7;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: rgba(7,26,43,0.35);
    color: var(--white);
    width: 100%;
    border: 0;
}

    .video-play .circle {
        width: 78px;
        height: 78px;
        border-radius: 50%;
        background: rgba(255,255,255,0.14);
        border: 2px solid var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform var(--dur) var(--ease);
    }

    .video-play:hover .circle {
        transform: scale(1.08);
    }

    .video-play svg {
        width: 26px;
        height: 26px;
        margin-left: 4px;
    }

/* ============================================================
   25. IMPORTANT LINKS
   ============================================================ */
.links-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.link-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    background: var(--white);
    font-weight: 600;
    font-size: 0.92rem;
    transition: border-color var(--dur), background var(--dur);
}

    .link-chip:hover {
        border-color: var(--navy);
        background: var(--bg);
    }

    .link-chip svg {
        width: 15px;
        height: 15px;
        color: var(--muted);
    }

/* ============================================================
   26. CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
}

.contact-info dl {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info .row {
    display: flex;
    gap: 14px;
}

.contact-info svg {
    width: 20px;
    height: 20px;
    color: var(--maroon);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info dt {
    font-weight: 700;
    font-size: 0.88rem;
}

.contact-info dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 2px;
}

.map-frame {
    margin-top: 26px;
    aspect-ratio: 16/9;
    border-radius: var(--radius-m);
    background: var(--bg);
    border: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
    padding: 20px;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 34px;
    box-shadow: var(--shadow-1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

    .form-grid .full {
        grid-column: 1 / -1;
    }

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 7px;
}

.field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-s);
    font-family: inherit;
    font-size: 0.94rem;
    transition: border-color var(--dur) var(--ease);
}

    .field input:focus, .field textarea:focus {
        border-color: var(--navy);
    }

.form-note {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--muted);
}

.form-status {
    margin-top: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    display: none;
}

    .form-status.show {
        display: block;
    }

    .form-status.ok {
        color: #1a7a4c;
    }

/* ============================================================
   27. FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.72);
    padding-top: 68px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

    .footer-brand .name {
        color: var(--white);
        font-family: var(--serif);
        font-weight: 700;
        font-size: 1.05rem;
    }

.site-footer p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background var(--dur) var(--ease), border-color var(--dur);
    }

        .footer-social a:hover {
            background: var(--gold);
            border-color: var(--gold);
            color: var(--navy-deep);
        }

    .footer-social svg {
        width: 16px;
        height: 16px;
    }

.footer-col h4 {
    color: var(--white);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    font-family: var(--sans);
    font-weight: 700;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col a {
    font-size: 0.88rem;
    color:#fff;
    transition: color var(--dur) var(--ease);
}

    .footer-col a:hover {
        color: var(--gold-soft);
    }

.footer-col .row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.88rem;
    margin-bottom: 11px;
}

.footer-col svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gold-soft);
}

.footer-bottom {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

    .footer-bottom .legal-links {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer-bottom a:hover {
        color: var(--gold-soft);
    }

/* ============================================================
   28. FLOATING ACTIONS
   ============================================================ */
.fab-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 600;
}

.fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2);
    color: var(--white);
    border: 0;
    transition: transform var(--dur) var(--ease);
}

    .fab:hover {
        transform: translateY(-3px);
    }

    .fab svg {
        width: 22px;
        height: 22px;
    }

    .fab.whatsapp {
        background: #25D366;
    }

    .fab.call {
        background: var(--maroon);
    }

    .fab.email {
        background: var(--navy);
    }

    .fab.top {
        background: var(--gold);
        color: var(--navy-deep);
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
    }

        .fab.top.show {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

/* ============================================================
   29. SEARCH OVERLAY
   ============================================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7,26,43,0.94);
    z-index: 1500;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 24px;
}

    .search-overlay.open {
        display: flex;
    }

.search-box {
    width: 100%;
    max-width: 640px;
}

    .search-box form {
        display: flex;
        align-items: center;
        gap: 12px;
        border-bottom: 2px solid var(--gold);
        padding-bottom: 14px;
    }

    .search-box input {
        flex: 1;
        background: transparent;
        border: 0;
        color: var(--white);
        font-size: 1.4rem;
        font-family: var(--serif);
        outline: none;
    }

        .search-box input::placeholder {
            color: rgba(255,255,255,0.45);
        }

.search-close {
    color: var(--white);
    background: transparent;
    border: 0;
    font-size: 1.6rem;
}

.search-results {
    margin-top: 24px;
}

    .search-results .result-title {
        color: rgba(255,255,255,0.55);
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .search-results ul {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .search-results a {
        display: block;
        padding: 12px 14px;
        border-radius: var(--radius-s);
        color: rgba(255,255,255,0.9);
        transition: background var(--dur);
    }

        .search-results a:hover {
            background: rgba(255,255,255,0.08);
        }

/* ============================================================
   30. REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }

/* ============================================================
   31. MOBILE MENU
   ============================================================ */
.nav-toggle {
    display: none;
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-s);
    border: 1.5px solid var(--border);
    background: var(--white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

    .hamburger span {
        width: 20px;
        height: 2px;
        background: var(--navy-deep);
        display: block;
        transition: all var(--dur) var(--ease);
    }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(3,1fr);
    }

    .resource-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .links-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .timeline {
        grid-template-columns: repeat(3,1fr);
    }

    .compliance-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 992px) {
    .about-grid, .principal-grid, .library-wrap, .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-img {
        max-width: 420px;
        margin: 0 auto;
    }

    .grid-3 {
        grid-template-columns: repeat(2,1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .alumni-wrap {
        grid-template-columns: 1fr;
        padding: 40px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .masonry {
        columns: 3 180px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .main-nav .nav-list {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .topbar-mid {
        display: none;
    }

    .header-actions  {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .grid-3, .grid-4, .resource-grid, .links-grid, .compliance-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .timeline {
        grid-template-columns: repeat(2,1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .hero {
        min-height: 520px;
    }

    .hero-inner {
        padding: 60px 0;
    }

    .masonry {
        columns: 2 160px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: 140px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .grid-3, .grid-4, .resource-grid, .links-grid, .compliance-grid, .timeline, .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .topbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .topbar-right {
        gap: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .alumni-points {
        text-align: left;
    }

    .masonry {
        columns: 2 140px;
    }

    .brand-text .tag-line {
        display: none;
    }

    .fab-stack {
        right: 14px;
        bottom: 14px;
    }

    .fab {
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
.slider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

    .slider .viewport {
        flex: 1 1 0;
        min-width: 0;
        overflow: hidden;
    }

    .slider .track {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        transition: transform .4s ease;
    }

        .slider .track > .slide {
            flex: 0 0 100%;
            width: 100%;
            min-width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            padding: 8px;
        }

    .slider .card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 24px;
        padding: 26px 30px;
        background: #fff;
        border: 1px solid #e6e0d6;
        border-radius: 10px;
        height: 100%;
    }

        .slider .card .av {
            flex: 0 0 130px;
        }

            .slider .card .av img {
                width: 130px;
                height: 130px;
                object-fit: cover;
                border-radius: 50%;
                border: 3px solid #7a1f2b;
                display: block;
            }

        .slider .card > div:last-child {
            flex: 1;
            text-align: left;
        }

        .slider .card b {
            display: block;
            color: #7a1f2b;
            font-size: 17px;
        }

        .slider .card small {
            display: block;
            color: #5c5450;
            font-size: 13.5px;
            margin-top: 2px;
            margin-bottom: 12px;
        }

        .slider .card q {
            display: block;
            font-size: 15.5px;
            line-height: 1.7;
            color: #5c5450;
            font-style: italic;
            margin-bottom: 10px;
        }

.more-link {
    background: none;
    border: none;
    color: #7a1f2b;
    font-weight: 700;
    font-size: 13.5px;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

    .more-link:hover {
        color: #5e1720;
    }

.slider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

    .slider .viewport {
        flex: 1 1 0;
        min-width: 0;
        overflow: hidden;
    }

    .slider .track {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        transition: transform .4s ease;
    }

        /* show 3 cards at a time */
        .slider .track > .slide {
   
            box-sizing: border-box;
            padding: 8px;
        }

/* fewer on smaller screens */
@media (max-width:992px) {
    .slider .track > .slide {
        flex: 0 0 50%;
        width: 50%;
        min-width: 50%;
        max-width: 50%;
    }
}

@media (max-width:600px) {
    .slider .track > .slide {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

.slider .arrow {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: #7a1f2b;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

    .slider .arrow:hover {
        background: #5e1720;
    }

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

    .dots button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: #d8d2c6;
        cursor: pointer;
        padding: 0;
    }

        .dots button.active {
            background: #7a1f2b;
        }

/* popup styling (Bootstrap modal classes already handle the overlay/centering) */
.opinion-modal-content {
    border-radius: 10px;
    border: none;
    padding: 10px;
}

.opinion-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    z-index: 2;
    border: none;
    border-radius: 50%;
    background: #f1ece6;
    color: #5c5450;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

    .opinion-close:hover {
        background: #e6e0d6;
    }

.opinion-modal-body {
    padding: 30px 28px 24px;
    text-align: center;
}

.opinion-av {
    margin-bottom: 16px;
}

    .opinion-av img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 50%;
        border: 3px solid #7a1f2b;
    }

.opinion-modal-body q {
    display: block;
    font-size: 16px;
    line-height: 1.7;
    color: #4a423f;
    font-style: italic;
    margin-bottom: 16px;
    text-align: left;
}

.opinion-modal-body b {
    display: block;
    color: #7a1f2b;
    font-size: 17px;
}

.opinion-modal-body small {
    display: block;
    color: #5c5450;
    font-size: 13.5px;
    margin-top: 2px;
}

@media (max-width:600px) {
    .slider .card {
        flex-direction: column;
        text-align: center;
    }

        .slider .card > div:last-child {
            text-align: center;
        }