:root {
    --navy: #071f4d;
    --ink: #161a2d;
    --muted: #667085;
    --pink: #e72a8a;
    --coral: #ff6232;
    --gold: #f5ae18;
    --green: #15ad75;
    --soft: #f6f8fc;
    --line: #e7ebf3;
    --white: #fff;
    --shadow: 0 24px 70px rgba(15, 23, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    min-height: 38px;
    padding: 7px clamp(16px, 4vw, 58px);
    font-size: .82rem;
    font-weight: 800;
    color: var(--navy);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar a::before, .topbar-right span::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--pink);
}

.social-mini { display: flex; gap: 8px; }
.social-mini a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--coral));
}
.social-mini svg { width: 15px; height: 15px; fill: currentColor; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px clamp(16px, 4vw, 58px);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 270px;
}

.brand img { width: 74px; height: 74px; object-fit: contain; }
.brand strong {
    display: block;
    color: var(--navy);
    font-size: 1.2rem;
    line-height: 1;
    text-transform: uppercase;
}
.brand small { color: var(--gold); font-size: .72rem; font-weight: 900; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #241a3d;
    font-weight: 900;
}

.main-nav a { position: relative; padding: 10px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--pink); }
.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--pink);
}

.nav-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 0;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.nav-cta, .btn.primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--pink), var(--coral));
    box-shadow: 0 15px 30px rgba(231, 42, 138, .25);
}

.btn.secondary {
    color: var(--navy);
    background: #fff;
    border: 1px solid var(--line);
}

.btn.light {
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .35);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 900;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 690px;
    display: grid;
    align-items: center;
    padding: clamp(80px, 10vw, 135px) clamp(16px, 5vw, 76px);
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 22, 55, .94) 0%, rgba(11, 22, 55, .78) 45%, rgba(11, 22, 55, .16) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: flex;
    width: 500%;
    animation: heroSlide 30s infinite;
}

.hero-bg img { width: 20%; height: 100%; object-fit: cover; }

@keyframes heroSlide {
    0%, 15% { transform: translateX(0); }
    20%, 35% { transform: translateX(-20%); }
    40%, 55% { transform: translateX(-40%); }
    60%, 75% { transform: translateX(-60%); }
    80%, 95% { transform: translateX(-80%); }
    100% { transform: translateX(0); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem;
    font-weight: 900;
}

h1 {
    margin: 0;
    font-size: clamp(2.8rem, 6.4vw, 6.4rem);
    line-height: .98;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1.05;
    letter-spacing: 0;
}

h3 { color: var(--navy); margin-bottom: 8px; }
.lead {
    max-width: 720px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.notice-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    padding: 13px clamp(16px, 5vw, 76px);
    background: var(--navy);
    color: #fff;
}
.notice-strip strong { color: var(--gold); }
.notice-marquee {
    display: flex;
    gap: 42px;
    white-space: nowrap;
    animation: marquee 24s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: clamp(58px, 8vw, 100px) clamp(16px, 5vw, 76px); }
.section-head { max-width: 800px; margin-bottom: 30px; }
.text-link {
    display: inline-flex;
    margin-top: 20px;
    color: var(--pink);
    font-weight: 900;
}

.page-hero {
    padding: clamp(78px, 10vw, 125px) clamp(16px, 5vw, 76px);
    background:
        linear-gradient(90deg, rgba(7, 31, 77, .94), rgba(7, 31, 77, .78)),
        url("../uploads/480442632_1146881163571828_5318970271767031084_n.jpg") center/cover;
    color: #fff;
}
.page-hero h1 { max-width: 980px; }
.page-hero p:not(.eyebrow) { max-width: 760px; font-size: 1.14rem; }
.page-hero h1, .page-hero h2 { color: #fff; }

.intro-grid, .split, .director-preview, .director-detail, .admission-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

.value-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.value-panel article {
    min-height: 150px;
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.value-panel strong { display: block; color: var(--pink); font-size: 1.5rem; }
.value-panel span, .rich-copy p, .facility-grid p, .award-grid span, .program-grid p, .fee-notes p { color: var(--muted); }

.rich-copy { font-size: 1.03rem; }
.rich-copy.narrow { max-width: 980px; margin: auto; }

.founder-card, .director-photo img {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.founder-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.founder-card figcaption { padding: 18px; }
.founder-card strong { display: block; color: var(--navy); font-size: 1.2rem; }

.director-preview, .director-detail {
    background: linear-gradient(180deg, #fff, #f7f9ff);
}
.director-photo img { width: 100%; aspect-ratio: 1.05 / 1; object-fit: cover; }
blockquote {
    margin: 24px 0 0;
    padding: 20px;
    border-left: 5px solid var(--gold);
    background: #fff;
    color: var(--navy);
    font-weight: 900;
}

.feature-band, .fees-highlight { background: var(--soft); }

/* ============================================
   FACILITY GRID & CARDS — FIXED VERSION
   ============================================ */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Reset old facility-grid article styles so card styles take over */
.facility-grid article,
.facility-grid a.facility-card {
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

/* The card itself — works for both <article> and <a> */
.facility-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 28px rgba(10, 27, 61, 0.09);
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
}

a.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(10, 27, 61, 0.15);
}

/* Image container — fixed height so all cards are uniform */
.facility-card-img {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #eef2f9;
    flex-shrink: 0;
}

.facility-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

a.facility-card:hover .facility-card-img img {
    transform: scale(1.06);
}

/* Placeholder shown when image file not found */
.facility-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff4cf, var(--gold));
}

.facility-icon-big {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: 0;
}

/* Card body */
.facility-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.facility-card-body h3 {
    margin: 4px 0 2px;
    font-size: 1.08rem;
    color: var(--navy);
    line-height: 1.3;
}

.facility-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* Badge — the two-letter code */
.facility-badge {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--navy);
    background: linear-gradient(135deg, #fff1c4, var(--gold));
    font-weight: 900;
    font-size: 0.82rem;
    flex-shrink: 0;
}

/* ============================================ */

.award-grid, .program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.award-grid article, .program-grid article, .fee-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
}
.award-grid strong { display: block; color: var(--navy); font-size: 1.08rem; margin-bottom: 6px; }

.fees-highlight {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(400px, 1.25fr);
    gap: 34px;
    align-items: start;
}
.fee-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.fee-groups.compact { grid-template-columns: 1fr; }
.fee-card h3 { margin-top: 0; font-size: 1.35rem; }
.fee-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}
.fee-row small { display: block; color: var(--muted); font-size: .86rem; }
.fee-row strong { color: var(--green); white-space: nowrap; font-size: 1.16rem; }
.fees-document { background: #fff; }
.fee-doc-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 24px;
    margin-bottom: 22px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), #51205e);
}
.fee-doc-head h2 { color: #fff; margin: 0 0 6px; }
.fee-doc-head p { margin: 0; color: rgba(255, 255, 255, .78); }
.fee-doc-head strong { padding: 10px 14px; border-radius: 999px; background: var(--gold); color: #151515; }
.fee-notes { margin-top: 22px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }

.gallery-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 32%);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
}
.gallery-slider figure, .gallery-page-grid figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--navy);
    scroll-snap-align: start;
}
.gallery-slider img { width: 100%; height: 390px; object-fit: cover; }
.gallery-slider img, .gallery-page-grid img { cursor: zoom-in; }
.gallery-slider figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 42px 16px 14px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(transparent, rgba(0, 0, 0, .76));
}
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.gallery-page-grid img { width: 100%; height: 340px; object-fit: cover; }
.gallery-page-grid figcaption { padding: 16px; color: #fff; }
.gallery-page-grid span { display: block; color: rgba(255, 255, 255, .75); }

.contact-list { display: grid; gap: 10px; margin-top: 24px; }
.contact-list a, .contact-list span {
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    background: #fff;
    font-weight: 900;
}
.admission-form {
    display: grid;
    gap: 14px;
    padding: clamp(22px, 4vw, 36px);
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}
.admission-form label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-weight: 900;
}
input, select, textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d7deea;
    border-radius: 8px;
    font: inherit;
    background: #fff;
}
.form-success {
    margin: 0;
    padding: 12px;
    border-radius: 8px;
    color: #05603a;
    background: #e4f8ee;
    font-weight: 900;
}

.site-footer {
    padding: 26px clamp(16px, 5vw, 76px) 18px;
    color: #fff;
    background: linear-gradient(135deg, #330536, #5d176c 52%, #2d083e);
}
.footer-cta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}
.footer-cta a {
    text-align: center;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--coral));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr .8fr 1fr;
    gap: 34px;
}
.footer-grid img { width: 120px; padding: 7px; background: #fff; border-radius: 8px; }
.footer-grid h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.footer-grid h3 { color: var(--gold); text-transform: uppercase; font-size: .88rem; letter-spacing: .08em; }
.footer-grid p { color: rgba(255, 255, 255, .82); }
.footer-grid a, .footer-grid span { display: block; margin: 9px 0; color: rgba(255, 255, 255, .92); }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}
.footer-socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-contact {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .76);
    font-size: .9rem;
}

.ai-fab {
    position: fixed;
    right: 22px;
    bottom: 20px;
    z-index: 65;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--coral));
    box-shadow: 0 18px 42px rgba(231, 42, 138, .36);
    font-weight: 900;
    font-size: 1rem;
    cursor: button;
}
.chat-box {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 66;
    width: min(410px, calc(100vw - 28px));
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    display: none;
}
.chat-box.open { display: block; }
.chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    color: #fff;
    background: linear-gradient(135deg, #a11678, #861268);
}
.chat-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    font-weight: 900;
}
.chat-head span { display: block; font-size: .84rem; }
.chat-close {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    cursor: pointer;
}
.chat-body {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #fff7fb;
}
.chat-name, .chat-phone { background: #fff; }
.chat-bubble, .chat-body label, .chat-compose {
    padding: 14px;
    border: 1px solid #f4cfe2;
    border-radius: 14px;
    background: #fff;
}
.chat-body label {
    display: grid;
    gap: 10px;
    color: #25153b;
    font-weight: 900;
}
.chat-compose {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}
.chat-send, .chat-new {
    border: 0;
    border-radius: 12px;
    padding: 11px 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--coral));
    font-weight: 900;
    text-align: center;
}
.chat-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.chat-actions a {
    padding: 14px;
    border-radius: 12px;
    color: #fff;
    background: var(--green);
}
.chat-actions a + a { background: var(--coral); }
.chat-actions span { display: block; }
.chat-reply {
    margin: 0;
    min-height: 24px;
    color: var(--green);
    font-weight: 900;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(3, 10, 28, .88);
    cursor: zoom-out;
}
.lightbox img {
    max-width: min(1100px, 96vw);
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.lightbox button {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-weight: 900;
}

.cookie-banner {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 90;
    width: min(440px, calc(100vw - 36px));
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}
.cookie-banner p { margin: 0 0 12px; color: var(--muted); }
.cookie-banner div { display: flex; gap: 10px; }
.cookie-banner button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--coral));
    font-weight: 900;
}
.cookie-banner button + button {
    color: var(--navy);
    background: var(--soft);
}

@media (max-width: 1020px) {
    .topbar { display: none; }
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 105px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .intro-grid, .split, .director-preview, .director-detail, .admission-contact, .fees-highlight, .footer-grid {
        grid-template-columns: 1fr;
    }
    .facility-grid, .award-grid, .program-grid, .gallery-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .site-header { padding: 10px 14px; }
    .brand { min-width: 0; }
    .brand img { width: 56px; height: 56px; }
    .brand strong { font-size: .94rem; }
    .brand small { font-size: .62rem; }
    .hero { min-height: 650px; }
    .value-panel, .facility-grid, .award-grid, .program-grid, .fee-groups, .gallery-page-grid, .footer-cta, .chat-actions {
        grid-template-columns: 1fr;
    }
    .gallery-slider { grid-auto-columns: minmax(250px, 86%); }
    .gallery-slider img, .gallery-page-grid img { height: 310px; }
    .fee-doc-head, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .chat-box { right: 14px; bottom: 84px; }
    .facility-card-img { height: 175px; }
}

/* ============================================
   KVN PREMIUM THEME
   ============================================ */
:root {
    --navy: #06265c;
    --ink: #14213d;
    --pink: #0d61aa;
    --coral: #f5ae18;
    --gold: #f5ae18;
    --green: #0f9f6e;
    --soft: #f4f7fb;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.topbar {
    min-height: 34px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: .78rem;
}

.topbar a::before, .topbar-right span::before {
    background: var(--gold);
}

.social-mini a {
    width: 30px;
    height: 30px;
    color: #fff;
    background: var(--navy);
    border: 2px solid rgba(245, 174, 24, .25);
    box-shadow: 0 6px 18px rgba(6, 38, 92, .15);
}

.social-mini a[aria-label="Instagram"] { background: linear-gradient(135deg, #f9a11b, #e1306c, #7a3fd1); }
.social-mini a[aria-label="YouTube"] { background: #e62117; }
.social-mini a[aria-label="Facebook"] { background: #1877f2; }

.site-header {
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand img {
    width: 66px;
    height: 66px;
}

.brand strong {
    font-size: 1.08rem;
}

.main-nav {
    gap: clamp(12px, 1.6vw, 20px);
    font-size: .95rem;
}

.main-nav a.active, .main-nav a:hover {
    color: var(--navy);
}

.main-nav a.active::after {
    background: var(--gold);
}

.nav-cta, .btn.primary {
    color: var(--navy) !important;
    background: linear-gradient(135deg, #ffd36b, var(--gold));
    box-shadow: 0 12px 28px rgba(245, 174, 24, .28);
}

.hero::after {
    background: linear-gradient(90deg, rgba(6, 38, 92, .95), rgba(6, 38, 92, .80) 48%, rgba(6, 38, 92, .18));
}

.page-hero {
    background:
        linear-gradient(90deg, rgba(6, 38, 92, .94), rgba(6, 38, 92, .74)),
        url("../uploads/480442632_1146881163571828_5318970271767031084_n.jpg") center/cover;
}

.value-panel strong, .text-link {
    color: var(--navy);
}

/* Facility badge gold in premium theme */
.facility-badge {
    color: var(--navy);
    background: linear-gradient(135deg, #ffe29b, var(--gold));
}

/* Facility placeholder gold */
.facility-card-placeholder {
    background: linear-gradient(135deg, #fff4cf, var(--gold));
}

.site-footer {
    background:
        radial-gradient(circle at top left, rgba(245, 174, 24, .20), transparent 32%),
        linear-gradient(135deg, #061d46, #06265c 55%, #03142f);
}

.footer-cta a {
    color: var(--navy);
    background: linear-gradient(135deg, #ffe29b, var(--gold));
}

.footer-grid h3 {
    color: var(--gold);
}

.footer-socials a {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(245, 174, 24, .25);
}

.footer-contact {
    border-color: rgba(245, 174, 24, .24);
    background: rgba(255, 255, 255, .07);
}

.ai-fab {
    width: 52px;
    height: 52px;
    color: var(--navy);
    background: linear-gradient(135deg, #ffe29b, var(--gold));
    box-shadow: 0 14px 34px rgba(6, 38, 92, .26);
}

.chat-box {
    width: min(340px, calc(100vw - 24px));
    bottom: 82px;
    border-radius: 14px;
}

.chat-head {
    padding: 13px 14px;
    background: linear-gradient(135deg, var(--navy), #0d61aa);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.chat-body {
    gap: 9px;
    padding: 12px;
    background: #f8fbff;
    max-height: min(520px, calc(100vh - 118px));
    overflow-y: auto;
}

.chat-bubble, .chat-body label, .chat-compose {
    padding: 11px;
    border-color: #dbe6f5;
    border-radius: 11px;
}

.chat-name, .chat-phone, .chat-service, .chat-input {
    min-height: 40px;
    border-radius: 9px;
    font-size: .94rem;
}

.chat-compose {
    grid-template-columns: 1fr 72px;
}

.chat-send, .chat-new {
    border-radius: 10px;
    color: var(--navy);
    background: linear-gradient(135deg, #ffe29b, var(--gold));
}

.chat-actions a {
    padding: 11px;
    background: var(--green);
}

.chat-actions a + a {
    color: var(--navy);
    background: var(--gold);
}

.chat-reply {
    font-size: .9rem;
}

@media (max-width: 1160px) {
    .main-nav {
        gap: 12px;
        font-size: .88rem;
    }
    .brand {
        min-width: 230px;
    }
}

@media (max-width: 680px) {
    .chat-box {
        width: calc(100vw - 24px);
        right: 12px;
    }
}

.nav-cta {
    min-width: 112px;
    padding-left: 18px;
    padding-right: 18px;
    overflow: visible;
}

.hero-home .hero-bg img {
    object-position: center 30%;
}

.fee-hero {
    background:
        linear-gradient(90deg, rgba(6, 38, 92, .96), rgba(6, 38, 92, .78)),
        url("../uploads/481260256_1149509526642325_8003143504571238418_n.jpg") center 32%/cover;
}

.fees-premium {
    background: #fff;
}

.academic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.academic-pills span {
    padding: 12px 16px;
    border: 1px solid rgba(6, 38, 92, .18);
    border-radius: 999px;
    color: var(--navy);
    background: #fff9e8;
    font-weight: 900;
}

.fee-table-card {
    overflow: hidden;
    border: 2px solid rgba(6, 38, 92, .16);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}

.fee-table-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    color: var(--navy);
    background: linear-gradient(135deg, #fff4cf, var(--gold));
}

.fee-table-title h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.fee-table-title span {
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    background: var(--navy);
    font-weight: 900;
}

.responsive-table {
    overflow-x: auto;
}

.premium-fee-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.premium-fee-table th {
    padding: 18px;
    color: var(--navy);
    background: var(--gold);
    border: 2px solid var(--navy);
    text-align: left;
    font-size: 1.05rem;
}

.premium-fee-table td {
    padding: 18px;
    border: 2px solid rgba(6, 38, 92, .22);
    color: var(--navy);
    font-weight: 900;
}

.premium-fee-table tr:nth-child(even) td {
    background: #f6f9ff;
}

.transport-premium {
    background: var(--soft);
}

.transport-cards, .why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.transport-cards article, .why-grid article, .icon-card-grid article {
    border: 1px solid rgba(6, 38, 92, .14);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(6, 38, 92, .10);
}

.transport-cards article {
    padding: 26px;
}

.transport-cards span, .why-grid span, .icon-card-grid span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--navy);
    background: linear-gradient(135deg, #fff1c4, var(--gold));
    font-weight: 900;
}

.transport-cards strong {
    display: block;
    margin-top: 10px;
    color: var(--navy);
    font-size: 1.55rem;
}

.premium-programs {
    background: #fff;
}

.hostel-section {
    background: #f8fbff;
}

.program-panel {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid rgba(6, 38, 92, .14);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(6, 38, 92, .05), rgba(245, 174, 24, .12)),
        #fff;
    box-shadow: var(--shadow);
}

.highlight-badge {
    display: inline-flex;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--navy);
    background: var(--gold);
    font-weight: 900;
}

.program-note {
    color: var(--muted);
    font-weight: 800;
}

.icon-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.icon-card-grid article {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.icon-card-grid span {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.why-kvn {
    background: #fff;
}

.why-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.why-grid article {
    padding: 18px;
    text-align: center;
}

.why-grid span {
    margin: 0 auto 12px;
}

.why-grid h3 {
    margin: 0;
    font-size: .98rem;
}

.fee-notice-cta {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 22px;
    background: var(--soft);
}

.important-notice, .admission-cta {
    padding: clamp(22px, 4vw, 34px);
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(6, 38, 92, .14);
    box-shadow: 0 16px 38px rgba(6, 38, 92, .08);
}

.important-notice {
    border-left: 6px solid var(--gold);
}

.chat-box {
    width: min(310px, calc(100vw - 24px));
    bottom: 76px;
}

.chat-body {
    max-height: min(430px, calc(100vh - 115px));
    gap: 7px;
    padding: 10px;
}

.chat-bubble {
    display: none;
}

.chat-body label {
    padding: 9px;
}

.chat-name, .chat-phone, .chat-service, .chat-input {
    min-height: 36px;
    padding: 8px 10px;
    font-size: .88rem;
}

.chat-compose {
    grid-template-columns: 1fr 58px;
    padding: 9px;
}

.chat-send {
    padding: 8px 10px;
    font-size: .84rem;
}

.chat-new {
    padding: 9px 12px;
    font-size: .9rem;
}

.chat-actions a {
    padding: 9px;
    font-size: .86rem;
}

@media (max-width: 1020px) {
    .transport-cards, .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .program-panel, .fee-notice-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .fee-table-title {
        flex-direction: column;
        align-items: flex-start;
    }
    .transport-cards, .why-grid, .icon-card-grid {
        grid-template-columns: 1fr;
    }
    .nav-cta {
        width: max-content;
    }
}