/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --ktti-navy: #0354ac;
    --ktti-navy-dark: #0786db;
    --ktti-gold: #e80bf0;
    --ktti-gold-dark: #fc2ba5;
    --ktti-light: #f8fafc;
    --ktti-white: #ffffff;
    --ktti-gray: #64748b;
    --ktti-gray-light: #e2e8f0;
    --ktti-text: #1e293b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --transition: 0.25s ease;
}

/* ============================================================
   GLOBAL RESET
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* ✅ 'visible' keeps <html> as the scroll container.
       `clip` and `hidden` both break page scrolling, which in turn
       breaks `position: sticky` on any descendant. */
    overflow-x: visible;
    overflow-y: visible;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;
    background: var(--ktti-light);
    color: var(--ktti-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    /* ⚠️ Do NOT set overflow-x here — it breaks sticky children */
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================
   TOPBAR — Utility Bar + Sticky Navbar + Search + Drawers
   ------------------------------------------------------------
   Sticky fix: `.kb-topbar` uses `display: contents` so it does
   not create a bounding box around the navbar. This makes
   `.kb-navbar` behave as a direct child of <body>, giving
   `position: sticky` a full-height parent to stick against.
   ============================================================ */
.kb-topbar,
.kb-topbar * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.kb-topbar {
    --kb-navy: #009921;
    --kb-navy-dark: #1ba000;
    --kb-gold: #ec07ce;
    --kb-gold-dark: #f001c8;
    --kb-white: #ffffff;
    --kb-gray: #64748b;
    --kb-gray-light: #e2e8f0;
    --kb-text: #1e293b;
    font-family: 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;

    /* ⭐ THE STICKY FIX ⭐
       `display: contents` removes the wrapper from layout, so
       the utility bar and navbar become direct children of
       <body> for layout purposes. This gives `position: sticky`
       a parent tall enough to stick against. */
    display: contents;
}

/* ---------- Remove default outlines (accessibility-safe) ---------- */
.kb-topbar a,
.kb-topbar button,
.kb-topbar input,
.kb-topbar *:focus,
.kb-topbar *:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
}

.kb-topbar a:focus-visible,
.kb-topbar button:focus-visible,
.kb-topbar input:focus-visible {
    outline: 2px solid var(--kb-gold) !important;
    outline-offset: 2px;
}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.kb-utility {
    background: var(--kb-navy);
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.kb-utility-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.55rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.kb-campus {
    color: var(--kb-white);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    transition: color 0.2s ease;
}

.kb-campus:hover { color: var(--kb-gold); }

.kb-utility-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
    position: relative;
}

.kb-utility-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
}

.kb-utility-links a {
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.kb-utility-links a:hover { color: var(--kb-gold); }

/* ============================================================
   SOCIAL ICONS (utility bar)
   ============================================================ */
.kb-socials {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.kb-socials a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 0.88rem;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.kb-socials a:hover {
    color: var(--kb-gold);
    background: rgba(236, 7, 206, 0.12);
    transform: translateY(-2px);
}

.kb-socials a[aria-label="Facebook"]:hover  { color: #1877f2; background: rgba(24, 119, 242, 0.12); }
.kb-socials a[aria-label="Twitter"]:hover   { color: #ffffff; background: rgba(255, 255, 255, 0.12); }
.kb-socials a[aria-label="Instagram"]:hover { color: #e4405f; background: rgba(228, 64, 95, 0.12); }
.kb-socials a[aria-label="LinkedIn"]:hover  { color: #0a66c2; background: rgba(10, 102, 194, 0.12); }
.kb-socials a[aria-label="YouTube"]:hover   { color: #ff0000; background: rgba(255, 0, 0, 0.12); }
.kb-socials a[aria-label="Whatsapp"]:hover  { color: #0ae627; background: rgba(10, 230, 39, 0.12); }

/* ============================================================
   SEARCH BUTTON
   ============================================================ */
.kb-search-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.kb-search-btn:hover {
    color: var(--kb-gold);
    background: rgba(236, 7, 206, 0.15);
    border-color: rgba(236, 7, 206, 0.4);
    transform: translateY(-1px);
}

.kb-search-btn.kb-active {
    color: var(--kb-navy);
    background: var(--kb-gold);
    border-color: var(--kb-gold);
    transform: rotate(90deg);
}

/* ============================================================
   MOBILE UTILITY-OPENER BUTTON
   ============================================================ */
.kb-utility-mobile-btn {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--kb-white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.kb-utility-mobile-btn:hover {
    background: var(--kb-gold);
    color: var(--kb-navy);
}

/* ============================================================
   SEARCH PANEL (floating, JS-positioned)
   ============================================================ */
.kb-search-panel {
    position: fixed;
    z-index: 5003;
    width: 520px;
    max-width: calc(100vw - 2rem);
    background: var(--kb-white);
    border: 1px solid var(--kb-gray-light);
    border-top: 3px solid var(--kb-gold);
    box-shadow: 0 12px 40px rgba(11, 43, 78, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    top: 0;
    left: 0;
}

.kb-search-panel.kb-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.kb-search-inner { padding: 0.85rem; }

.kb-search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid var(--kb-gray-light);
    border-radius: 50px;
    padding: 0.3rem 0.3rem 0.3rem 1.15rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.kb-search-form:focus-within {
    border-color: var(--kb-gold);
    background: var(--kb-white);
    box-shadow: 0 0 0 3px rgba(236, 7, 206, 0.15);
}

.kb-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--kb-navy);
    font-size: 0.95rem;
    font-family: inherit;
    padding: 0.55rem 0;
    min-width: 0;
}

.kb-search-form input::placeholder { color: #94a3b8; font-size: 0.9rem; }

.kb-search-form button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--kb-gold);
    color: var(--kb-navy);
    border: none;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.kb-search-form button:hover {
    background: var(--kb-gold-dark);
    transform: scale(1.05);
}

.kb-search-close {
    background: rgba(11, 43, 78, 0.08) !important;
    color: var(--kb-navy) !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 0.78rem !important;
}

.kb-search-close:hover {
    background: #ef4444 !important;
    color: white !important;
    transform: scale(1.05);
}

/* ============================================================
   STICKY MAIN NAVBAR
   ============================================================ */
.kb-navbar {
    background: var(--kb-white);
    border-bottom: 1px solid var(--kb-gray-light);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5001;
}

.kb-navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

/* ============================================================
   LOGO
   ============================================================ */
.kb-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0.25rem 0.4rem 0.25rem 0;
    border-radius: 14px;
    transition: transform 0.25s ease;
}

.kb-logo:hover { transform: translateY(-1px); }

.kb-logo-img {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow:
        0 4px 12px rgba(11, 43, 78, 0.08),
        0 1px 3px rgba(11, 43, 78, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kb-logo-img::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.kb-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    display: block;
    transition: transform 0.3s ease;
}

.kb-logo:hover .kb-logo-img {
    border-color: var(--kb-gold);
    box-shadow:
        0 8px 24px rgba(236, 7, 206, 0.25),
        0 2px 6px rgba(11, 43, 78, 0.08);
    transform: scale(1.03);
}

.kb-logo:hover .kb-logo-img::before { opacity: 1; }
.kb-logo:hover .kb-logo-img img      { transform: scale(1.04); }

/* ============================================================
   NAV LIST
   ============================================================ */
.kb-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.kb-nav-list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kb-nav-list li { position: relative; }

.kb-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.95rem;
    color: var(--kb-text);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    transition: color 0.2s ease, background 0.2s ease;
}

.kb-nav-link:hover,
.kb-nav-link.kb-active {
    color: var(--kb-navy);
    background: rgba(16, 65, 117, 0.05);
}

.kb-chevron {
    font-size: 0.62rem;
    transition: transform 0.25s ease;
}

/* ============================================================
   DROPDOWNS (desktop hover + click)
   ============================================================ */
.kb-dropdown {
    position: absolute;
    top: 100%;                /* flush with the parent — no gap */
    left: 0;
    min-width: 240px;
    background: var(--kb-white);
    border: 1px solid var(--kb-gray-light);
    border-top: 3px solid var(--kb-gold);
    z-index: 5002;
    display: none;

    /* Invisible bridge that fills the visual gap so hover is not lost */
    padding-top: 6px;
    background-clip: padding-box;
}
@media (hover: hover) and (pointer: fine) {
    .kb-nav-list li[data-dropdown]:hover > .kb-dropdown { display: block; }
    .kb-nav-list li[data-dropdown]:hover > .kb-nav-link .kb-chevron {
        transform: rotate(180deg);
    }
}

.kb-nav-list li.kb-open > .kb-dropdown { display: block; }

.kb-nav-list li.kb-open > .kb-nav-link .kb-chevron {
    transform: rotate(180deg);
}

.kb-dropdown-header {
    padding: 0.75rem 1.25rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--kb-gold-dark);
    border-bottom: 1px solid var(--kb-gray-light);
}

.kb-dropdown-list { list-style: none; margin: 0; padding: 0; }

.kb-dropdown-list a {
    display: block;
    padding: 0.7rem 1.25rem;
    color: var(--kb-text);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.kb-dropdown-list a:hover {
    background: rgba(236, 7, 206, 0.08);
    color: var(--kb-navy);
    border-left-color: var(--kb-gold);
    padding-left: 1.5rem;
}

/* ============================================================
   APPLY NOW (desktop)
   ============================================================ */
.kb-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    margin-left: 1rem;
    background: var(--kb-gold);
    color: var(--kb-navy);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid var(--kb-gold);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.kb-apply:hover {
    background: var(--kb-navy);
    color: var(--kb-gold);
    border-color: var(--kb-gold);
}

.kb-apply-mobile { display: none; }

/* ============================================================
   HAMBURGER
   ============================================================ */
.kb-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    background: var(--kb-navy);
    border: none;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
}

.kb-hamburger span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--kb-white);
}

/* ============================================================
   BACKDROP (shared)
   ============================================================ */
.kb-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 29, 53, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 5000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.kb-backdrop.kb-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ============================================================
   DRAWER CLOSE BUTTONS (shared base)
   ============================================================ */
.kb-drawer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--kb-white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 50%;
}

/* ============================================================
   MAIN NAV DRAWER (right) — base (mobile only)
   ============================================================ */
.kb-nav.kb-open { right: 0; }

/* ============================================================
   UTILITY DRAWER (left) — HIDDEN ON DESKTOP
   ============================================================ */
@media (min-width: 1025px) {
    .kb-utility-drawer,
    .kb-utility-drawer-inner,
    .kb-drawer-close-utility {
        display: none !important;
    }
}

/* Off-screen + invisible by default on mobile/tablet */
@media (max-width: 1024px) {
    .kb-utility-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        max-width: 88vw;
        height: 100vh;
        background: var(--kb-navy);
        color: #e2e8f0;
        z-index: 5003;
        overflow-y: auto;
        padding: 4.5rem 1.5rem 2rem;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);

        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            transform 0.35s ease,
            opacity 0.25s ease,
            visibility 0.35s ease;
    }

    .kb-utility-drawer.kb-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .kb-drawer-close-utility {
        display: inline-flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        color: var(--kb-white);
        border: none;
        cursor: pointer;
        font-size: 1rem;
        border-radius: 50%;
    }
}

/* Utility drawer inner content */
.kb-utility-drawer-inner {
    display: flex;
    flex-direction: column;
}

.kb-utility-drawer-heading {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--kb-gold);
    padding: 1rem 0 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.kb-utility-drawer-heading:first-child { padding-top: 0; }

.kb-utility-drawer-links { list-style: none; margin: 0; padding: 0; }

.kb-utility-drawer-links a {
    display: block;
    padding: 0.7rem 0;
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kb-utility-drawer-links a:hover { color: var(--kb-gold); }

/* Drawer social icons */
.kb-socials-drawer {
    padding-left: 0;
    border-left: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
}

.kb-socials-drawer a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kb-utility-drawer-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
    margin-top: 0.5rem;
}

.kb-utility-drawer-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--kb-white);
    font-size: 0.9rem;
    font-family: inherit;
    padding: 0.5rem 0;
    min-width: 0;
}

.kb-utility-drawer-search input::placeholder { color: #94a3b8; }

.kb-utility-drawer-search button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--kb-gold);
    color: var(--kb-navy);
    border: none;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* ============================================================
   FIX: social icons inside the utility drawer must stay visible
   ============================================================ */
@media (max-width: 1024px) {
    .kb-utility-drawer .kb-socials,
    .kb-utility-drawer .kb-socials-drawer {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
        padding-left: 0;
        border-left: none;
        padding-bottom: 0.5rem;
    }

    .kb-utility-drawer .kb-socials a,
    .kb-utility-drawer .kb-socials-drawer a {
        display: inline-flex !important;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: #cbd5e1;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .kb-utility-drawer .kb-socials a:hover,
    .kb-utility-drawer .kb-socials-drawer a:hover {
        color: var(--kb-gold);
        background: rgba(236, 7, 206, 0.15);
        border-color: rgba(236, 7, 206, 0.4);
        transform: translateY(-2px);
    }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1100px)
   ============================================================ */
@media (max-width: 1100px) {
    .kb-nav-link { padding: 0.6rem 0.7rem; font-size: 0.85rem; }
    .kb-apply { padding: 0.65rem 1.2rem; font-size: 0.78rem; margin-left: 0.5rem; }
    .kb-logo-img { width: 52px; height: 52px; }
}

/* ============================================================
   RESPONSIVE — TABLET / MOBILE (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    /* Hide desktop-only utility items */
    .kb-utility-links,
    .kb-utility-right > .kb-socials { display: none; }

    .kb-utility-mobile-btn { display: inline-flex; }
    .kb-campus { font-size: 0.78rem; }
    .kb-hamburger { display: flex; }
    .kb-apply { display: none; }

    /* MAIN NAV DRAWER (right) */
    .kb-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 340px;
        max-width: 88vw;
        height: 100vh;
        background: var(--kb-navy);
        padding: 4.5rem 1.5rem 2rem;
        z-index: 5002;
        overflow-y: auto;
        display: block;
        margin-left: 0;
        transition: right 0.35s ease;
    }

    .kb-nav.kb-open { right: 0; }
    .kb-drawer-close { display: inline-flex; }

    .kb-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .kb-nav-list li { position: static; }

    .kb-nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem 0.75rem;
        color: #e2e8f0;
        font-size: 0.98rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        background: transparent;
    }

    .kb-nav-link:hover,
    .kb-nav-link.kb-active {
        background: rgba(236, 7, 206, 0.12);
        color: var(--kb-gold);
    }

    .kb-dropdown {
        position: static;
        min-width: 0;
        background: rgba(0, 0, 0, 0.18);
        border: none;
        border-top: none;
        display: none;
    }

    .kb-nav-list li.kb-open > .kb-dropdown { display: block; }

    .kb-dropdown-header {
        padding: 0.6rem 1.25rem 0.4rem;
        color: var(--kb-gold);
        font-size: 0.62rem;
        border-bottom: none;
    }

    .kb-dropdown-list a {
        color: #cbd5e1;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-left: none;
    }

    .kb-dropdown-list a:hover {
        background: rgba(236, 7, 206, 0.12);
        color: var(--kb-gold);
        padding-left: 1.75rem;
    }

    .kb-apply-mobile {
        display: block;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .kb-apply-mobile a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 1rem;
        background: var(--kb-gold);
        color: var(--kb-navy);
        font-weight: 700;
        font-size: 0.92rem;
        text-transform: uppercase;
        text-decoration: none;
    }
}

/* ============================================================
   RESPONSIVE — TABLET ONLY (601px–1024px)
   ============================================================ */
@media (max-width: 1024px) and (min-width: 601px) {
    .kb-campus { font-size: 0.8rem; }

    .kb-nav { width: 360px; max-width: 70vw; }
    .kb-utility-drawer { width: 340px; max-width: 70vw; }

    .kb-search-panel { width: 420px; max-width: calc(100vw - 3rem); }

    .kb-nav-link { padding: 1.05rem 0.85rem; font-size: 1rem; }
    .kb-dropdown-list a { padding: 0.9rem 1.5rem; font-size: 0.94rem; }
}

/* ============================================================
   RESPONSIVE — SMALL PHONES (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
    .kb-utility-inner { padding: 0.5rem 1rem; }
    .kb-campus { font-size: 0.72rem; }
    .kb-navbar-inner { padding: 0.75rem 1rem; }
    .kb-logo-img { width: 46px; height: 46px; }
    .kb-nav { width: 90vw; padding: 4rem 1.25rem 2rem; }
    .kb-nav-link { font-size: 0.92rem; padding: 0.9rem 0.5rem; }

    .kb-search-panel {
        width: calc(100vw - 2rem);
        max-width: 100%;
    }

    .kb-search-inner { padding: 0.75rem; }
}

/* ============================================================
   RESPONSIVE — VERY SMALL PHONES (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .kb-utility-inner { padding: 0.45rem 0.75rem; gap: 0.5rem; }

    .kb-campus {
        font-size: 0.68rem;
        max-width: 58vw;
    }

    .kb-search-btn { width: 32px; height: 32px; font-size: 0.8rem; }
    .kb-utility-mobile-btn { width: 34px; height: 34px; font-size: 0.9rem; }

    .kb-navbar-inner { padding: 0.65rem 0.75rem; gap: 0.5rem; }
    .kb-logo-img { width: 44px; height: 44px; }

    .kb-nav { width: 100vw; max-width: 100vw; padding: 4rem 1rem 2rem; }
    .kb-utility-drawer { width: 88vw; max-width: 88vw; padding: 4rem 1.25rem 2rem; }

    .kb-apply-mobile a { padding: 0.9rem; font-size: 0.88rem; }
}

/* ============================================================
   RESPONSIVE — TINY PHONES (≤ 360px)
   ============================================================ */
@media (max-width: 360px) {
    .kb-campus { font-size: 0.62rem; max-width: 55vw; }
    .kb-logo-img { width: 40px; height: 40px; }
    .kb-nav-link { font-size: 0.9rem; padding: 0.85rem 0.5rem; }
}

/* ============================================================
   PAGE PANE (breadcrumb bar)
   ============================================================ */
.page-pane {
    background: linear-gradient(135deg, var(--ktti-navy) 0%, var(--ktti-navy-dark) 100%);
    padding: 0.95rem 0.8rem;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--ktti-gold);
}

.page-pane::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 178, 52, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.pane-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.pane-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #cbd5e1;
    min-width: 0;
}

.pane-breadcrumb a {
    color: var(--ktti-gold);
    font-weight: 500;
    transition: color var(--transition);
}

.pane-breadcrumb a:hover { color: var(--ktti-white); }

.crumb-sep { color: #64748b; font-size: 0.85rem; }

.pane-breadcrumb span {
    color: #cbd5e1;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.pane-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ktti-white);
    letter-spacing: 0.5px;
    line-height: 1.25;
    word-wrap: break-word;
}

/* ============================================================
   SHARED — SECTION HEADING
   ============================================================ */
.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ktti-gold-dark);
    background: rgba(249, 178, 52, 0.12);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.section-heading h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ktti-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-heading p {
    font-size: 1rem;
    color: var(--ktti-gray);
    line-height: 1.7;
    overflow-wrap: break-word;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .page-pane {
        padding: 0.9rem 1rem;
    }

    .pane-title {
        font-size: 1.3rem;
    }

    .pane-breadcrumb {
        font-size: 0.8rem;
    }

    .section-heading {
        margin-bottom: 2.5rem;
    }

    .section-heading h2 {
        font-size: 1.9rem;
    }

    .section-heading p {
        font-size: 0.95rem;
    }
}

/* ============================================================
   RESPONSIVE — SMALL TABLET / LARGE PHONE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .page-pane {
        padding: 0.85rem 1rem;
    }

    .pane-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .pane-title {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }

    .pane-breadcrumb {
        font-size: 0.78rem;
        gap: 0.45rem;
    }

    .crumb-sep { font-size: 0.78rem; }

    .section-heading {
        margin-bottom: 2rem;
        padding: 0 1.25rem;
    }

    .section-heading h2 {
        font-size: 1.65rem;
        line-height: 1.25;
    }

    .section-heading p {
        font-size: 0.92rem;
        line-height: 1.65;
    }
}

/* ============================================================
   RESPONSIVE — PHONE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
    .page-pane {
        padding: 0.8rem 0.9rem;
        border-bottom-width: 3px;
    }

    .pane-title {
        font-size: 1.1rem;
    }

    .pane-breadcrumb {
        font-size: 0.74rem;
        gap: 0.4rem;
    }

    .section-heading {
        margin-bottom: 1.75rem;
        padding: 0 1rem;
    }

    .section-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        padding: 0.3rem 0.85rem;
        margin-bottom: 0.85rem;
    }

    .section-heading h2 {
        font-size: 1.45rem;
        line-height: 1.3;
        margin-bottom: 0.85rem;
    }

    .section-heading p {
        font-size: 0.88rem;
        line-height: 1.6;
    }
}

/* ============================================================
   RESPONSIVE — SMALL PHONE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .page-pane {
        padding: 0.75rem 0.85rem;
    }

    .pane-title {
        font-size: 1.02rem;
        letter-spacing: 0.2px;
    }

    .pane-breadcrumb {
        font-size: 0.7rem;
        gap: 0.35rem;
    }

    .crumb-sep { font-size: 0.7rem; }

    .section-heading {
        padding: 0 0.85rem;
    }

    .section-heading h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .section-heading p {
        font-size: 0.85rem;
    }
}

/* ============================================================
   RESPONSIVE — TINY PHONE (≤ 360px)
   ============================================================ */
@media (max-width: 360px) {
    .page-pane {
        padding: 0.7rem 0.75rem;
    }

    .pane-title {
        font-size: 0.95rem;
    }

    .pane-breadcrumb {
        font-size: 0.66rem;
    }

    .section-heading h2 {
        font-size: 1.18rem;
    }

    .section-heading p {
        font-size: 0.82rem;
    }

    .section-eyebrow {
        font-size: 0.6rem;
        letter-spacing: 1.2px;
    }
}


/* ============================================================
   HOME PAGE
   ============================================================ */
.home-page {
    background: var(--ktti-light);
    overflow-x: hidden;
}

/* ---------- SECTION 1: HERO SLIDER ---------- */
.home-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 130px);
    min-height: 520px;
    max-height: 780px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(11, 43, 78, 0.92) 0%,
        rgba(11, 43, 78, 0.72) 40%,
        rgba(11, 43, 78, 0.3) 75%,
        rgba(11, 43, 78, 0.05) 100%);
}

.hero-slide-inner {
    position: absolute;
    top: 50%;
    left: max(4rem, calc(50vw - 640px + 2rem));
    right: 45%;
    transform: translateY(-50%);
    color: var(--ktti-white);
    max-width: 620px;
    z-index: 3;
}

.hero-welcome {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ktti-gold);
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.hero-slide h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-slide h1 span { color: var(--ktti-gold); }

.hero-slide p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: -0.5rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.25rem;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: all var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
}

.hero-btn-primary {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    box-shadow: 0 10px 24px rgba(249, 178, 52, 0.35);
}

.hero-btn-primary:hover {
    background: var(--ktti-gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(249, 178, 52, 0.45);
}

.hero-btn-outline {
    background: transparent;
    color: var(--ktti-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-btn-outline:hover {
    background: var(--ktti-white);
    color: var(--ktti-navy);
    border-color: var(--ktti-white);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(255, 255, 255, 0.2);
}

/* ---------- Hero arrows / dots (currently hidden) ---------- */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: var(--ktti-white);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition);
    z-index: 5;
}

.hero-arrow:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    border-color: var(--ktti-gold);
    transform: translateY(-50%) scale(1.08);
}

.hero-arrow.prev { left: max(1.25rem, calc(50vw - 640px + 1.25rem)); }
.hero-arrow.next { right: max(1.25rem, calc(50vw - 640px + 1.25rem)); }

.hero-dots {
    position: absolute;
    bottom: 2.25rem;
    left: max(4rem, calc(50vw - 640px + 2rem));
    display: flex;
    gap: 0.55rem;
    z-index: 5;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition);
}

.hero-dots .dot:hover { background: rgba(255, 255, 255, 0.75); }

.hero-dots .dot.active {
    background: var(--ktti-gold);
    width: 36px;
    border-radius: 6px;
}

.hero-arrow,
.hero-dots { display: none !important; }

/* ============================================================
   SECTION 2: EXPLAINER — video left, scrolling images right
   ============================================================ */
.home-explainer {
    padding: 2rem 2rem;
    background: var(--ktti-white);
    display: flex;
    align-items: center;
}

.explainer-wrap {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* ---------- Video (left) ---------- */
.explainer-video {
    position: relative;
    overflow: hidden;
    background: var(--ktti-navy-dark);
    box-shadow: 0 20px 50px rgba(11, 43, 78, 0.18);
    aspect-ratio: 16 / 10;
    width: 100%;
    min-height: 0;
}

.explainer-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.explainer-video:hover img { transform: scale(1.04); }

.explainer-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.explainer-iframe:fullscreen,
.explainer-iframe:-webkit-full-screen,
.explainer-iframe:-moz-full-screen,
.explainer-iframe:-ms-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border: 0 !important;
    background: #000 !important;
    z-index: 2147483647 !important;
}

.explainer-video-tag {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(11, 43, 78, 0.1) 0%,
        rgba(11, 43, 78, 0.55) 55%,
        rgba(11, 43, 78, 0.9) 100%);
    pointer-events: none;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ktti-navy);
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    transition: all var(--transition);
    padding-left: 5px;
    z-index: 3;
}

.video-play::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.video-play:hover {
    background: var(--ktti-gold);
    transform: translate(-50%, -50%) scale(1.08);
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem 1.75rem;
    color: var(--ktti-white);
    z-index: 2;
    pointer-events: none;
}

.video-caption h3 {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    color: var(--ktti-white);
}

.video-caption p {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 500px;
}

/* ---------- Scrolling images column (desktop) ---------- */
.explainer-scroll {
    position: relative;
    overflow: hidden;
    background: var(--ktti-navy-dark);
    box-shadow: 0 20px 50px rgba(11, 43, 78, 0.18);
    height: 100%;
    min-height: 0;
}

.explainer-scroll-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
   /* BEFORE: animation: scrollUp 20s linear infinite; */
    animation: scrollUp 20s linear infinite;   /* ⚡ 2× faster */
    will-change: transform;
}

.scroll-img {
    flex-shrink: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.scroll-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes scrollUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Keyframe for the mobile horizontal scroll — global, not inside @media */
@keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   EXPLAINER RESPONSIVE
   ============================================================ */

/* Large tablet / small desktop (≤1024px) */
@media (max-width: 1024px) {
    .home-explainer {
        padding: 1.75rem 1.5rem;
    }

    .explainer-wrap {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: start;
    }

    .explainer-video {
        aspect-ratio: 16 / 9;
        height: auto;
        max-height: 420px;
    }

    .explainer-video:has(.explainer-video-tag) {
        aspect-ratio: auto;
        height: auto;
    }

    .explainer-video:has(.explainer-video-tag) .explainer-video-tag {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: contain;
        background: #000;
    }

    /* -------- HORIZONTAL SCROLL (tablet / mobile) -------- */
    .explainer-scroll {
        height: 260px;
        width: 100%;
    }

    .explainer-scroll-track {
        flex-direction: row;
         /* BEFORE: animation: scrollLeft 25s linear infinite; */
        animation: scrollLeft 20s linear infinite;   /* ⚡ 2× faster */
        padding: 0.6rem;
        gap: 0.6rem;
        top: auto;
        bottom: 0;
        height: 100%;
        align-items: stretch;
    }

    .scroll-img {
        aspect-ratio: 16 / 10;
        height: 100%;
        width: auto;
        flex-shrink: 0;
    }
}

/* Tablet portrait (≤768px) */
@media (max-width: 768px) {
    .home-explainer {
        padding: 1.5rem 1.25rem;
    }

    .explainer-wrap {
        gap: 1.25rem;
    }

    .explainer-video {
        aspect-ratio: 16 / 9;
        max-height: 360px;
    }

    .explainer-video:has(.explainer-video-tag) .explainer-video-tag {
        max-height: 360px;
    }

    .explainer-scroll {
        height: 220px;
    }

    .video-caption {
        padding: 1.5rem 1.5rem 1.35rem;
    }
    .video-caption h3 { font-size: 1.2rem; }
    .video-caption p { font-size: 0.85rem; }
    .video-play { width: 64px; height: 64px; font-size: 1.15rem; }
}

/* Phones (≤600px) */
@media (max-width: 600px) {
    .home-explainer {
        padding: 1.25rem 1rem;
    }

    .explainer-wrap {
        gap: 1rem;
    }

    .explainer-video {
        aspect-ratio: 4 / 3;
        max-height: 300px;
    }

    .explainer-video:has(.explainer-video-tag) {
        aspect-ratio: auto;
        height: auto;
        max-height: 300px;
        background: #000;
    }

    .explainer-video:has(.explainer-video-tag) .explainer-video-tag {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
        background: #000;
    }

    /* -------- HORIZONTAL SCROLL (mobile) -------- */
    .explainer-scroll {
        height: 180px;
        width: 100%;
    }

    .explainer-scroll-track {
        gap: 0.4rem;
        padding: 0.4rem;
    }

    /* Fixed width per image = guaranteed correct layout */
    .scroll-img {
        width: 240px;
        height: 100%;
        aspect-ratio: auto;
    }

    .scroll-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .video-caption {
        padding: 1.25rem 1.15rem 1.1rem;
    }
    .video-caption h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
    .video-caption p { font-size: 0.8rem; line-height: 1.5; }
    .video-play { width: 56px; height: 56px; font-size: 1rem; }
}

/* Small phones (≤480px) */
@media (max-width: 480px) {
    .home-explainer {
        padding: 1rem 0.85rem;
    }

    .explainer-wrap {
        gap: 0.85rem;
    }

    .explainer-video {
        aspect-ratio: 4 / 3;
        max-height: 260px;
    }

    .explainer-video:has(.explainer-video-tag) {
        aspect-ratio: auto;
        max-height: 260px;
    }

    .explainer-video:has(.explainer-video-tag) .explainer-video-tag {
        max-height: 260px;
    }

    .explainer-scroll {
        height: 160px;
    }

    .scroll-img {
        width: 200px;
    }

    .video-caption {
        padding: 1rem 1rem 0.9rem;
    }
    .video-caption h3 { font-size: 0.95rem; }
    .video-caption p { font-size: 0.75rem; }
    .video-play { width: 48px; height: 48px; font-size: 0.9rem; }
}

/* Tiny phones (≤360px) */
@media (max-width: 360px) {
    .home-explainer {
        padding: 0.85rem 0.75rem;
    }

    .explainer-video {
        max-height: 220px;
    }

    .explainer-video:has(.explainer-video-tag) {
        max-height: 220px;
    }

    .explainer-video:has(.explainer-video-tag) .explainer-video-tag {
        max-height: 220px;
    }

    .explainer-scroll {
        height: 140px;
    }

    .scroll-img {
        width: 160px;
    }

    .video-caption h3 { font-size: 0.88rem; }
    .video-caption p { font-size: 0.7rem; }
}
/* ============================================================
   SECTION 3: MESSAGE FROM THE FOUNDER
   ============================================================ */
.home-founder {
    padding: 2rem 2rem;
    background: var(--ktti-light);
    border-top: 4px solid var(--ktti-gold);
}

.founder-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 3.5rem;
    align-items: center;
}

.founder-image {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--ktti-gray-light);
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.founder-image:hover img { transform: scale(1.04); }

.founder-message { display: flex; flex-direction: column; }

.founder-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ktti-gold-dark);
    margin-bottom: 1rem;
}

.founder-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ktti-navy);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.founder-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.founder-signature {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--ktti-gold);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-width: 320px;
}

.founder-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ktti-navy);
    letter-spacing: 0.3px;
}

.founder-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ktti-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   HOME RESPONSIVE — hero + founder
   ============================================================ */
@media (max-width: 1366px) {
    .hero-slide-inner { left: 3rem; }
    .hero-dots { left: 3rem; }
    .hero-arrow.prev { left: 1.25rem; }
    .hero-arrow.next { right: 1.25rem; }
}

@media (max-width: 1024px) {
    .home-hero {
        height: 62vh;
        min-height: 480px;
    }
    .hero-slide h1 { font-size: 2.4rem; }
    .hero-slide p { font-size: 0.95rem; }
    .hero-slide-inner { right: 40%; }

    .home-founder {
        padding: 1.75rem 1.5rem;
    }
    .founder-wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .founder-image {
        aspect-ratio: 16 / 10;
        max-width: 640px;
        margin: 0 auto;
        width: 100%;
    }
    .founder-title { font-size: 1.65rem; }
}

@media (max-width: 768px) {
    .home-hero {
        height: auto;
        min-height: 520px;
        max-height: none;
    }
    .hero-slide-inner {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        padding: 4rem 1.5rem 5rem;
    }
    .hero-slide-overlay {
        background: linear-gradient(180deg,
            rgba(11, 43, 78, 0.6) 0%,
            rgba(11, 43, 78, 0.85) 55%,
            rgba(11, 43, 78, 0.98) 100%);
    }
    .hero-slide h1 { font-size: 1.75rem; }
    .hero-slide p { font-size: 0.9rem; }
    .hero-welcome { font-size: 0.85rem; }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .hero-btn { width: 100%; }
    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }
    .hero-arrow.prev { left: 0.75rem; }
    .hero-arrow.next { right: 0.75rem; }
    .hero-dots {
        bottom: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .home-founder {
        padding: 1.5rem 1.25rem;
    }
    .founder-wrap { gap: 2rem; }
    .founder-image { aspect-ratio: 4 / 3; }
    .founder-title { font-size: 1.4rem; }
    .founder-text { font-size: 0.95rem; line-height: 1.75; }
    .founder-name { font-size: 1rem; }
    .founder-role { font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .hero-slide h1 { font-size: 1.5rem; }
    .hero-slide p { font-size: 0.85rem; }
    .hero-slide-inner { padding: 3.5rem 1.25rem 4.5rem; }

    .hero-dots .dot { width: 9px; height: 9px; }
    .hero-dots .dot.active { width: 28px; }

    .home-founder {
        padding: 1.25rem 1rem;
    }
    .founder-title { font-size: 1.2rem; }
    .founder-text { font-size: 0.9rem; }
    .founder-signature { max-width: 100%; }
}

/* ============================================================
   SECTION 4: FEATURED NEWS
   ============================================================ */
.home-featured-news {
    padding: 2rem 2rem;
    background: var(--ktti-light);
    border-top: 4px solid var(--ktti-gold);
}

.home-featured-news .section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    background: var(--ktti-white);
    border: 1px solid var(--ktti-gray-light);
    overflow: hidden;
    transition: all var(--transition);
    max-width: 1280px;
    margin: 0 auto 3rem;
}

.featured-news-card:hover {
    box-shadow: 0 16px 48px rgba(199, 201, 204, 0.14);
    transform: translateY(-1px);
    border-color: rgba(236, 7, 206, 0.25);
}

.featured-news-image {
    overflow: hidden;
    min-height: 380px;
    background: var(--ktti-navy);
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.featured-news-card:hover .featured-news-image img {
    transform: scale(1.01);
}

.featured-news-body {
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.featured-news-meta .news-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ktti-navy);
    background: var(--ktti-gold);
    padding: 0.3rem 0.85rem;
    border-radius: 4px;
    margin: 0;
}

.featured-news-meta .news-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ktti-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.featured-news-body h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ktti-navy);
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.featured-news-body p {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.featured-news-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: var(--ktti-navy);
    color: var(--ktti-white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--ktti-navy);
    transition: all var(--transition);
}

.btn-primary-outline:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    border-color: var(--ktti-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 7, 206, 0.3);
}

.btn-primary-outline i {
    font-size: 0.72rem;
    transition: transform var(--transition);
}

.btn-primary-outline:hover i {
    transform: translateX(4px);
}

.featured-news-explore {
    text-align: center;
    padding: 2.5rem 1.5rem 0;
    border-top: 1px solid var(--ktti-gray-light);
    max-width: 1280px;
    margin: 0 auto;
}

.featured-news-explore p {
    font-size: 0.98rem;
    color: var(--ktti-gray);
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.featured-news-explore .btn-flat {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.featured-news-explore .btn-flat i {
    font-size: 0.72rem;
    transition: transform var(--transition);
}

.featured-news-explore .btn-flat:hover i {
    transform: translateX(4px);
}

/* ============================================================
   FEATURED NEWS — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .home-featured-news {
        padding: 1.75rem 1.5rem;
    }

    .featured-news-card {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
        margin-bottom: 2.5rem;
    }

    .featured-news-image {
        min-height: 0;
        max-height: 300px;
        height: 300px;
        aspect-ratio: auto;
    }

    .featured-news-body {
        padding: 2rem 1.75rem;
    }

    .featured-news-body h3 {
        font-size: 1.5rem;
    }

    .featured-news-body p {
        font-size: 0.94rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 900px) {
    .home-featured-news {
        padding: 1.5rem 1.5rem;
    }

    .featured-news-card {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2.25rem;
    }

    .featured-news-image {
        min-height: 0;
        max-height: 280px;
        height: 280px;
        width: 100%;
        aspect-ratio: auto;
    }

    .featured-news-body {
        padding: 2rem 1.75rem 2.25rem;
    }

    .featured-news-body h3 {
        font-size: 1.45rem;
        line-height: 1.3;
    }

    .featured-news-body p {
        font-size: 0.94rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .featured-news-actions { flex-wrap: wrap; }
    .featured-news-explore { padding-top: 2rem; }
}

@media (max-width: 600px) {
    .home-featured-news {
        padding: 1.25rem 1rem;
    }

    .featured-news-card {
        max-width: 100%;
        border-left: none;
        border-right: none;
        margin-left: 0;
        margin-right: 0;
    }

    .featured-news-image {
        min-height: 0;
        max-height: 220px;
        height: 220px;
        aspect-ratio: auto;
    }

    .featured-news-body {
        padding: 1.75rem 1.25rem 1.85rem;
    }

    .featured-news-meta {
        gap: 0.65rem;
        margin-bottom: 0.85rem;
    }

    .featured-news-meta .news-category {
        font-size: 0.68rem;
        padding: 0.28rem 0.75rem;
    }

    .featured-news-meta .news-date {
        font-size: 0.76rem;
    }

    .featured-news-body h3 {
        font-size: 1.22rem;
        line-height: 1.3;
        margin-bottom: 0.85rem;
    }

    .featured-news-body p {
        font-size: 0.9rem;
        line-height: 1.65;
        margin-bottom: 1.35rem;
    }

    .featured-news-actions {
        flex-direction: column;
        gap: 0.65rem;
    }

    .btn-primary-outline {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.82rem;
    }

    .featured-news-explore {
        padding: 1.75rem 0 0;
    }

    .featured-news-explore p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .featured-news-explore .btn-flat {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .home-featured-news {
        padding: 1rem 0.85rem;
    }

    .featured-news-image {
        min-height: 0;
        max-height: 190px;
        height: 190px;
        aspect-ratio: auto;
    }

    .featured-news-body {
        padding: 1.5rem 1.1rem 1.6rem;
    }

    .featured-news-body h3 {
        font-size: 1.1rem;
        line-height: 1.35;
    }

    .featured-news-body p {
        font-size: 0.86rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .featured-news-meta .news-category {
        font-size: 0.62rem;
        letter-spacing: 1px;
        padding: 0.25rem 0.65rem;
    }

    .featured-news-meta .news-date {
        font-size: 0.72rem;
    }

    .btn-primary-outline {
        padding: 0.85rem 1.25rem;
        font-size: 0.78rem;
        letter-spacing: 0.3px;
    }

    .btn-primary-outline i {
        font-size: 0.66rem;
    }

    .featured-news-explore p {
        font-size: 0.85rem;
    }

    .featured-news-explore .btn-flat {
        padding: 0.85rem 1.25rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .home-featured-news {
        padding: 0.85rem 0.75rem;
    }

    .featured-news-image {
        min-height: 0;
        max-height: 160px;
        height: 160px;
        aspect-ratio: auto;
    }

    .featured-news-body {
        padding: 1.35rem 1rem 1.45rem;
    }

    .featured-news-body h3 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .featured-news-body p {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .featured-news-actions { gap: 0.5rem; }

    .btn-primary-outline,
    .featured-news-explore .btn-flat {
        padding: 0.8rem 1rem;
        font-size: 0.75rem;
    }

    .featured-news-explore p { font-size: 0.8rem; }
}
/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-page {
    background: var(--ktti-light);
    min-height: 60vh;
}

.search-results-section {
    padding: 3rem 0;
}

.search-results-header {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: var(--ktti-gray);
}

.search-results-header strong {
    color: var(--ktti-navy);
    font-weight: 700;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.search-result-item {
    display: block;
    padding: 1.5rem 1.75rem;
    background: var(--ktti-white);
    border: 1px solid var(--ktti-gray-light);
    border-left: 4px solid var(--ktti-gold);
    transition: all 0.25s ease;
}

.search-result-item:hover {
    border-left-color: var(--ktti-navy);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(11, 43, 78, 0.08);
}

.search-result-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ktti-navy);
    margin-bottom: 0.5rem;
}

.search-result-item p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.search-result-url {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ktti-gold-dark);
    letter-spacing: 0.3px;
}

.search-empty {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-empty h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin-bottom: 1rem;
}

.search-empty p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.search-empty a {
    color: var(--ktti-gold-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--ktti-gold);
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page {
    background: var(--ktti-light);
    overflow-x: hidden;
}

/* ---------- SECTION 2: SHOWCASE SLIDER ---------- */
.about-showcase {
    padding: 2.5rem 0;
    background: var(--ktti-white);
}

.showcase-wrapper { position: relative; }

.showcase-slide { display: none; }

.showcase-slide.active {
    display: block;
    animation: fadeSlideIn 0.6s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.showcase-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ktti-navy);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.showcase-text p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.showcase-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    box-shadow: 0 20px 50px rgba(11, 43, 78, 0.18);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.showcase-image:hover img { transform: scale(1.05); }

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 43, 78, 0.9) 100%);
    padding: 2.5rem 1.75rem 1.5rem;
    color: var(--ktti-white);
}

.image-caption i {
    color: var(--ktti-gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.image-caption p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    font-style: italic;
}

.showcase-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.showcase-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ktti-gray-light);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.showcase-dots .dot.active {
    background: var(--ktti-gold);
    width: 36px;
    border-radius: 6px;
}

/* ---------- SECTION 3: STATS ---------- */
.about-stats {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, var(--ktti-navy) 0%, var(--ktti-navy-dark) 100%);
    color: var(--ktti-white);
    position: relative;
    overflow: hidden;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ktti-gold), var(--ktti-gold-dark), var(--ktti-gold));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stat-card {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.stat-card:hover {
    background: rgba(249, 178, 52, 0.08);
    border-color: rgba(249, 178, 52, 0.35);
    transform: translateY(-3px);
}

.stat-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 0.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ktti-gold), var(--ktti-gold-dark));
    color: var(--ktti-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ktti-white);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-title {
    font-size: 0.72rem;
    color: #cbd5e1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   SECTION 4: VISION / MISSION / VALUES / MOTTO
   White cards → Navy on hover
   ============================================================ */
.about-vmv {
    padding: 4rem 0 3rem;
    background: var(--ktti-light);
}

.vmv-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* Card — white default, navy on hover */
.vmv-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
    background-color: var(--ktti-white);
    border: 1px solid var(--ktti-gray-light);
    border-top: 4px solid var(--ktti-gold);
   
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

.vmv-card:hover {
    background-color: var(--ktti-navy);
    border-color: var(--ktti-navy);
    border-top-color: var(--ktti-gold);
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(11, 43, 78, 0.28);
}

/* No background image — the card uses solid colors instead */
.vmv-vision,
.vmv-mission,
.vmv-values,
.vmv-motto {
    background-image: none;
}

/* Overlay not needed for solid-color design */
.vmv-overlay {
    display: none;
}

/* Content */
.vmv-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-align: left;
}

/* Icon badge — gold throughout */
.vmv-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ktti-gold), var(--ktti-gold-dark));
    color: var(--ktti-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.vmv-card:hover .vmv-icon {
    transform: scale(1.08) rotate(-4deg);
}

/* Title — navy default, white on hover */
.vmv-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin: 0 0 0.85rem;
    padding: 0 0 0.6rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    border-bottom: 2px solid var(--ktti-gold);
    display: inline-block;
    transition: color 0.3s ease;
}

.vmv-card:hover h3 {
    color: var(--ktti-white);
}

/* Body — gray default, white on hover */
.vmv-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    flex: 1;
    overflow-wrap: break-word;
    transition: color 0.3s ease;
}

.vmv-card:hover p {
    color: var(--ktti-white);
}

/* Core values — bullet list */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.values-list li {
    position: relative;
    font-size: 0.86rem;
    font-weight: 500;
    color: #64748b;
    padding-left: 1.25rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.values-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--ktti-gold);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.vmv-card:hover .values-list li {
    color: var(--ktti-white);
}

.vmv-card:hover .values-list li::before {
    background: var(--ktti-gold);
}

/* Motto — plain italic text */
.vmv-motto-text {
    font-size: 1rem !important;
    font-style: italic;
    font-weight: 500;
    color: #64748b !important;
    line-height: 1.6 !important;
    padding: 0;
    margin: 0.5rem 0 0 !important;
    border: none !important;
    transition: color 0.3s ease;
}

.vmv-card:hover .vmv-motto-text {
    color: var(--ktti-white) !important;
}

/* ---------- SECTION 5: HISTORY ---------- */
.about-history {
    padding: 1.5rem 0 3rem;
    background: var(--ktti-white);
}

.history-nav {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    padding: 0.5rem;
}

.history-year-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.85rem 1.5rem;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all var(--transition);
    min-width: 105px;
    font-family: inherit;
    border-radius: 10px;
}

.history-year-btn:focus,
.history-year-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.history-year-btn:hover { background: rgba(11, 43, 78, 0.05); }

.history-year-btn.active {
    background: var(--ktti-navy);
    box-shadow: 0 8px 20px rgba(11, 43, 78, 0.2);
}

.year-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ktti-navy);
    transition: color var(--transition);
}

.year-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ktti-gray);
    transition: color var(--transition);
}

.history-year-btn.active .year-num { color: var(--ktti-gold); }
.history-year-btn.active .year-label { color: #cbd5e1; }

.history-list {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.history-entry {
    margin-bottom: 1.25rem;
    scroll-margin-top: 160px;
}

.history-entry:last-child { margin-bottom: 0; }

.history-card {
    background: var(--ktti-light);
    padding: 1.75rem 2rem;
    border: 1px solid var(--ktti-gray-light);
    border-left: 4px solid var(--ktti-gold);
    transition: all var(--transition);
}

.history-entry:hover .history-card {
    
    transform: translateX(4px);
}

.history-card .timeline-year {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--ktti-navy);
    background: var(--ktti-gold);
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.history-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ktti-navy);
    margin-bottom: 0.6rem;
}

.history-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
}

/* ---------- SECTION 6: LEADERSHIP ---------- */
.about-leadership {
    padding: 5rem 0;
    background: var(--ktti-light);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.leader-card {
    background: var(--ktti-white);
    overflow: hidden;
    border: 1px solid var(--ktti-gray-light);
    box-shadow: 0 8px 28px rgba(11, 43, 78, 0.06);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(11, 43, 78, 0.12);
    border-color: rgba(249, 178, 52, 0.4);
}

.leader-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--ktti-navy);
    border-bottom: 4px solid var(--ktti-gold);
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.leader-card:hover .leader-photo img { transform: scale(1.06); }

.leader-body {
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.leader-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ktti-navy);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.leader-role {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ktti-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.9rem;
}

.leader-bio {
    font-size: 0.87rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
    transition: color var(--transition);
}

.leader-card.expanded .leader-bio { color: #334155; }

.leader-readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ktti-navy);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 0.9rem;
    transition: all var(--transition);
    align-self: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leader-readmore:hover {
    color: var(--ktti-gold-dark);
    gap: 0.6rem;
}

.leader-readmore i {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.leader-social {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ktti-gray-light);
    margin-top: auto;
}

.leader-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ktti-light);
    color: var(--ktti-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all var(--transition);
    border: 1px solid var(--ktti-gray-light);
}

.leader-social a:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    transform: translateY(-3px);
    border-color: var(--ktti-gold);
}

/* ---------- SECTION 7: WHY CHOOSE ---------- */
.about-why {
    padding: 5rem 0;
    position: relative;
    background-image: url('images/why-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.why-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(11, 43, 78, 0.94) 0%,
        rgba(7, 29, 53, 0.96) 100%);
}

.about-why .section-container { position: relative; z-index: 2; }

.why-heading h2 { color: var(--ktti-white); }
.why-heading p { color: #cbd5e1; }
.why-eyebrow {
    color: var(--ktti-gold);
    background: rgba(249, 178, 52, 0.15);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    transition: all var(--transition);
    text-align: center;
}

.why-card:hover {
    background: rgba(249, 178, 52, 0.12);
    border-color: rgba(249, 178, 52, 0.4);
    transform: translateY(-5px);
}

.why-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.9rem;
    border-radius: 12px;
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: transform var(--transition);
}

.why-card:hover .why-icon { transform: scale(1.1) rotate(-4deg); }

.why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ktti-white);
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.65;
}

/* ============================================================
   ABOUT — RESPONSIVE
   ============================================================ */

/* Large tablet (≤1024px) — VMV: 2 columns */
@media (max-width: 1024px) {
    .section-container { padding: 0 1.5rem; }

    .showcase-grid { gap: 2.5rem; }
    .showcase-text h2 { font-size: 1.7rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-value { font-size: 1.35rem; }
    .stat-title { font-size: 0.65rem; }

    /* VMV — 2 columns */
    .vmv-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .vmv-card { min-height: 300px; }

    .vmv-content { padding: 1.6rem 1.35rem; }

    .vmv-card h3 { font-size: 1.05rem; }

    .vmv-card p { font-size: 0.85rem; }

    .leadership-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait (≤768px) */
@media (max-width: 768px) {
    .page-pane { padding: 1.75rem 1.25rem; }
    .pane-container { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .pane-title { font-size: 1.25rem; }

    .about-showcase,
    .about-vmv,
    .about-history,
    .about-leadership,
    .about-why {
        padding: 3rem 0;
    }

    .about-vmv { padding: 2.5rem 0 1.5rem; }
    .about-history { padding: 1rem 0 2.5rem; }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-text h2 { font-size: 1.5rem; }
    .section-heading h2 { font-size: 1.65rem; }

    /* VMV — still 2 cols but tighter */
    .vmv-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .vmv-card { min-height: 280px; }

    .vmv-content { padding: 1.4rem 1.15rem; }

    .vmv-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        margin-bottom: 0.85rem;
    }

    .vmv-card h3 {
        font-size: 0.98rem;
        margin-bottom: 0.7rem;
    }

    .vmv-card p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .values-list {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .values-list li { font-size: 0.8rem; }

    .history-nav { gap: 0.4rem; margin-bottom: 2rem; }
    .history-year-btn { min-width: 82px; padding: 0.7rem 1rem; }
    .year-num { font-size: 0.95rem; }
    .year-label { font-size: 0.6rem; }
    .history-card { padding: 1.35rem 1.25rem; }
    .history-card h4 { font-size: 1.15rem; }
    .history-card p { font-size: 0.9rem; }

    .why-grid { grid-template-columns: 1fr; }
}

/* Large phones (≤600px) — VMV: 1 column, leadership: 1 column */
@media (max-width: 600px) {
    .about-leadership { padding: 3.5rem 0; }
    .leadership-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .leader-body { padding: 1.5rem 1.25rem 1.25rem; }
    .leader-body h4 { font-size: 1.05rem; }

    /* VMV — single column */
    .vmv-grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .vmv-card { min-height: 0; }

    .vmv-content { padding: 1.5rem 1.25rem; }

    .vmv-card h3 { font-size: 1.05rem; }

    .vmv-card p { font-size: 0.88rem; }

    .values-list { grid-template-columns: 1fr 1fr; }
}

/* Small phones (≤480px) */
@media (max-width: 480px) {
    .section-container { padding: 0 1.25rem; }

    .stats-grid { gap: 0.75rem; }
    .stat-card { padding: 1rem 0.5rem; }
    .stat-value { font-size: 1.25rem; }
    .stat-title { font-size: 0.6rem; }

    .history-nav { gap: 0.5rem; }
    .history-year-btn { min-width: 75px; padding: 0.6rem 0.75rem; }
    .year-num { font-size: 0.9rem; }
    .year-label { font-size: 0.6rem; }

    .history-year-btn { min-width: 68px; padding: 0.55rem 0.75rem; }
    .year-num { font-size: 0.85rem; }
    .year-label { font-size: 0.55rem; }
    .history-card { padding: 1.25rem 1.15rem; }
    .history-card h4 { font-size: 1.05rem; }

    /* VMV — very tight */
    .vmv-content { padding: 1.35rem 1.1rem; }

    .vmv-card h3 { font-size: 0.98rem; }

    .vmv-card p { font-size: 0.84rem; }

    .values-list { grid-template-columns: 1fr; }
}

/* Tiny phones (≤360px) */
@media (max-width: 360px) {
    .vmv-content { padding: 1.2rem 1rem; }

    .vmv-card h3 { font-size: 0.92rem; }

    .vmv-card p { font-size: 0.8rem; }

    .vmv-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .values-list li { font-size: 0.76rem; }
}

/* ============================================================
   ACADEMICS PAGE
   ============================================================ */
.academics-page {
    background: var(--ktti-light);
    overflow-x: hidden;
}

/* ---------- SUB-NAV ---------- */
.academics-subnav {
    position: sticky;
    top: 0;
    z-index: 800;
    background: var(--ktti-white);
    border-bottom: 1px solid var(--ktti-gray-light);
    box-shadow: 0 4px 12px rgba(11, 43, 78, 0.04);
}

.subnav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 1.1rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ktti-gray);
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.subnav-link i { font-size: 0.85rem; }

.subnav-link:hover {
    color: var(--ktti-navy);
    border-bottom-color: rgba(249, 178, 52, 0.5);
}

.subnav-link.active {
    color: var(--ktti-navy);
    border-bottom-color: var(--ktti-gold);
}

/* ---------- SECTION: ACADEMIC OVERVIEW ---------- */
.academics-overview {
    background: var(--ktti-white);
    scroll-margin-top: 120px;
    margin-bottom: 2rem;
}

.overview-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 420px;
    overflow: hidden;
    background: var(--ktti-navy-dark);
}

.overview-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.overview-hero:hover img { transform: scale(1.06); }

.overview-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(11, 43, 78, 0.15) 0%,
        rgba(11, 43, 78, 0.35) 60%,
        rgba(11, 43, 78, 0.75) 100%);
    pointer-events: none;
}

.overview-hero-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.75rem;
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    text-align: center;
    min-width: 140px;
    border: 3px solid var(--ktti-white);
}

.badge-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.35rem;
    line-height: 1.2;
}

.overview-caption {
    background: var(--ktti-white);
    padding: 3.5rem 2rem 3rem;
    position: relative;
}

.overview-caption-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.overview-caption-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ktti-gray-light);
    max-width: 900px;
    margin: 0 auto;
}

.caption-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
}

.meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ktti-gold-dark);
}

.meta-value {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ktti-navy);
    line-height: 1.4;
}

/* ============================================================
   SECTION: PROGRAMMES
   Two categories, no icons, images only
   ============================================================ */
.academics-programmes {
    padding: 3rem 0;
    background: var(--ktti-light);
    scroll-margin-top: 120px;
}

/* Filter buttons */
.programme-filters {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    background: var(--ktti-white);
    border: 1.5px solid var(--ktti-gray-light);
    color: var(--ktti-text);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--ktti-gold);
    color: var(--ktti-navy);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--ktti-navy);
    border-color: var(--ktti-navy);
    color: var(--ktti-white);
    box-shadow: 0 8px 20px rgba(11, 43, 78, 0.2);
}

/* Programme categories */
.programme-category {
    margin-bottom: 3rem;
}

.programme-category:last-child {
    margin-bottom: 0;
}

.programme-category-title {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ktti-navy);
    padding: 0.4rem 0 0.4rem 0.9rem;
    border-left: 4px solid var(--ktti-gold);
    margin-bottom: 1.75rem;
    letter-spacing: 0.2px;
}

/* Programme grid */
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.programme-card {
    background: var(--ktti-white);
    overflow: hidden;
    border: 1px solid var(--ktti-gray-light);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.programme-card:hover {
    transform: translateY(-8px);
    
    border-color: rgba(236, 7, 206, 0.35);
}

.programme-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ktti-navy), var(--ktti-navy-dark));
}

.programme-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.programme-card:hover .programme-media img { transform: scale(1.08); }

.programme-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ktti-navy);
    background: var(--ktti-gold);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    z-index: 2;
}

.programme-body {
    padding: 1.6rem 1.6rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.programme-body h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.programme-body > p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.1rem;
    flex: 1;
}

/* Programme meta list */
.programme-meta {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--ktti-gray-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.programme-meta li {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.4;
}

.programme-meta .meta-key {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ktti-gold-dark);
    min-width: 82px;
    flex-shrink: 0;
}

/* Programme CTA link */
.programme-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ktti-navy);
    padding: 0.75rem 1.1rem;
    background: var(--ktti-light);
    border-radius: 12px;
    transition: all var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    margin-top: auto;
}

.programme-link i {
    font-size: 0.72rem;
    transition: transform var(--transition);
}

.programme-link:hover {
    background: var(--ktti-navy);
    color: var(--ktti-white);
    border-color: var(--ktti-navy);
}

.programme-link:hover i {
    transform: translateX(4px);
    color: var(--ktti-gold);
}

/* ============================================================
   SECTION: SHORT COURSES
   No images, no icons
   ============================================================ */
.academics-short {
    padding: 3rem 0;
    background: var(--ktti-white);
    scroll-margin-top: 120px;
}

.short-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.short-card {
    background: var(--ktti-light);
    padding: 2rem 1.75rem;
    border: 1px solid var(--ktti-gray-light);
    border-top: 4px solid var(--ktti-gold);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.short-card:hover {
    background: var(--ktti-white);
    transform: translateY(-6px);
    
    border-color: rgba(236, 7, 206, 0.35);
    border-top-color: var(--ktti-gold);
}

.short-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.short-card > p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.short-meta-list {
    list-style: none;
    padding: 1rem 0 0;
    margin: 0 0 1.25rem;
    border-top: 1px solid var(--ktti-gray-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.short-meta-list li {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.4;
}

.short-meta-list .meta-key {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ktti-gold-dark);
    min-width: 72px;
    flex-shrink: 0;
}

.short-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ktti-navy);
    padding: 0.75rem 1.1rem;
    background: var(--ktti-white);
    border-radius: 12px;
    transition: all var(--transition);
    border: 1px solid var(--ktti-gray-light);
    text-decoration: none;
    margin-top: auto;
}

.short-link i {
    font-size: 0.72rem;
    transition: transform var(--transition);
}

.short-link:hover {
    background: var(--ktti-navy);
    color: var(--ktti-white);
    border-color: var(--ktti-navy);
}

.short-link:hover i {
    transform: translateX(4px);
    color: var(--ktti-gold);
}

/* ============================================================
   ACADEMICS RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .overview-hero { height: 340px; }
    .overview-hero-badge { top: 1.5rem; right: 1.5rem; padding: 1rem 1.35rem; }
    .badge-value { font-size: 1.65rem; }
    .badge-text { font-size: 0.62rem; }

    .overview-caption { padding: 3rem 1.75rem 2.5rem; }
    .overview-caption-meta { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

    .programmes-grid { grid-template-columns: repeat(2, 1fr); }
    .short-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .academics-overview,
    .academics-programmes,
    .academics-short { padding: 2.5rem 0; }

    .subnav-container {
        padding: 0 1rem;
        gap: 0.25rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .subnav-container::-webkit-scrollbar { display: none; }

    .subnav-link {
        padding: 0.9rem 1rem;
        font-size: 0.82rem;
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .subnav-link i { font-size: 0.75rem; }

    .overview-hero { height: 260px; }

    .overview-hero-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.85rem 1.1rem;
        min-width: 110px;
    }

    .badge-value { font-size: 1.35rem; }
    .badge-text { font-size: 0.58rem; letter-spacing: 0.5px; }

    .overview-caption { padding: 2.5rem 1.25rem 2rem; }

    .overview-caption-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .meta-value { font-size: 0.85rem; }
    .meta-label { font-size: 0.65rem; }

    .programme-filters { gap: 0.4rem; margin-bottom: 2rem; }
    .filter-btn { padding: 0.55rem 1.1rem; font-size: 0.82rem; }

    .programme-category-title { font-size: 1.05rem; margin-bottom: 1.35rem; }

    .programmes-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .short-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .programme-body { padding: 1.35rem 1.35rem 1.5rem; }
    .programme-body h3 { font-size: 1rem; }

    .short-card { padding: 1.6rem 1.35rem; }
    .short-card h3 { font-size: 1rem; }
}

@media (max-width: 480px) {
    .overview-hero { height: 200px; }

    .overview-hero-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.65rem 0.9rem;
        min-width: 90px;
        border-width: 2px;
    }

    .badge-value { font-size: 1.15rem; }
    .badge-text { font-size: 0.5rem; }

    .overview-caption { padding: 2rem 1rem 1.75rem; }
    .overview-caption-meta { grid-template-columns: 1fr 1fr; }

    .subnav-link {
        padding: 0.75rem 0.75rem;
        font-size: 0.75rem;
    }

    .filter-btn {
        padding: 0.5rem 0.95rem;
        font-size: 0.76rem;
    }

    .programme-tag { font-size: 0.62rem; padding: 0.3rem 0.7rem; }
    .programme-card h3 { font-size: 0.98rem; }
    .short-card h3 { font-size: 0.95rem; }
}

/* Programmes — empty state */
.programmes-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--ktti-gray);
    background: var(--ktti-white);
    border: 2px dashed var(--ktti-gray-light);
    border-radius: 12px;
    max-width: 480px;
    margin: 2rem auto;
}

.programmes-empty p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   PROGRAMME / SHORT COURSE — Full detail page
   ============================================================ */

.programme-single {
    padding: 3rem 2rem 4rem;
    background: var(--ktti-white);
    scroll-margin-top: 100px;
}

.programme-single .section-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
}

/* ---------- Back link ---------- */
.programme-single-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ktti-navy);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.75rem;
    transition: all var(--transition);
}

.programme-single-back i {
    font-size: 0.72rem;
    transition: transform var(--transition);
}

.programme-single-back:hover {
    color: var(--ktti-gold-dark);
}

.programme-single-back:hover i {
    transform: translateX(-4px);
}

/* ---------- Header ---------- */
.programme-single-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--ktti-gray-light);
}

.programme-single-header.no-image {
    grid-template-columns: 1fr;
    gap: 0;
}

.programme-single-hero {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 12px 32px rgba(11, 43, 78, 0.12);
    background: var(--ktti-navy);
}

.programme-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.programme-single-titleblock {
    display: flex;
    flex-direction: column;
}

.programme-single-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--ktti-navy);
    background: var(--ktti-gold);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.programme-single-titleblock h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ktti-navy);
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin-bottom: 1rem;
}

.programme-single-brief {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Quick meta row */
.programme-single-quickmeta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ktti-gray-light);
}

.quickmeta-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.quickmeta-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ktti-gold-dark);
}

.quickmeta-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ktti-navy);
    line-height: 1.3;
}

/* ---------- Content grid ---------- */
.programme-single-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
    align-items: start;
}

.programme-single-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.programme-single-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

/* ---------- Content blocks ---------- */
.single-block {
    background: var(--ktti-white);
    border: 1px solid var(--ktti-gray-light);
    border-radius: 12px;
    padding: 1.75rem 1.75rem 1.6rem;
}

.single-block-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--ktti-gold);
    display: inline-block;
    letter-spacing: 0.2px;
}

.single-block-content p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.single-block-content p:last-child {
    margin-bottom: 0;
}

.single-block-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.single-block-list li {
    position: relative;
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.6;
    padding-left: 1.5rem;
}

.single-block-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    background: var(--ktti-gold);
    border-radius: 50%;
}

/* ---------- Fee structure block ---------- */
.single-fees {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid var(--ktti-gray-light);
    border-top: 4px solid var(--ktti-gold);
}

.single-empty {
    font-size: 0.9rem;
    color: var(--ktti-gray);
    font-style: italic;
    line-height: 1.6;
    padding: 1rem 0;
    margin: 0;
}

/* ---------- Fee PDF card (button) ---------- */
.fee-pdf-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.35rem;
    background: linear-gradient(135deg, rgba(11, 43, 78, 0.04) 0%, rgba(249, 178, 52, 0.08) 100%);
    border: 1px solid var(--ktti-gray-light);
    border-radius: 12px;
}

.fee-pdf-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ktti-gold), var(--ktti-gold-dark));
    color: var(--ktti-navy);
    font-size: 1.3rem;
    box-shadow: 0 6px 16px rgba(236, 7, 206, 0.25);
}

.fee-pdf-card-body {
    flex: 1;
    min-width: 0;
}

.fee-pdf-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.fee-pdf-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.fee-pdf-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    background: var(--ktti-navy);
    color: #fff;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border: 2px solid var(--ktti-navy);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
}

.fee-pdf-open-btn:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    border-color: var(--ktti-gold);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(236, 7, 206, 0.25);
}

.fee-pdf-open-btn i {
    font-size: 0.8rem;
}

/* ---------- CTA button ---------- */
.single-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.single-cta .btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.75rem;
    background: var(--ktti-navy);
    color: var(--ktti-white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--ktti-navy);
    border-radius: 10px;
    transition: all var(--transition);
}

.single-cta .btn-primary-outline i {
    font-size: 0.72rem;
    transition: transform var(--transition);
}

.single-cta .btn-primary-outline:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    border-color: var(--ktti-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 7, 206, 0.3);
}

.single-cta .btn-primary-outline:hover i {
    transform: translateX(4px);
}

/* ---------- 404 page ---------- */
.single-not-found {
    padding: 6rem 2rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-not-found .section-container {
    max-width: 520px;
}

.single-not-found h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin-bottom: 1rem;
}

.single-not-found p {
    font-size: 1rem;
    color: var(--ktti-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.single-not-found .btn-flat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================================
   FEE PDF MODAL — full-screen viewer
   ============================================================ */
.fee-pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.fee-pdf-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fee-pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 29, 53, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.fee-pdf-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease;
    z-index: 1;
}

.fee-pdf-modal.is-open .fee-pdf-modal-dialog {
    transform: translateY(0) scale(1);
}

/* Header */
.fee-pdf-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--ktti-navy);
    color: #fff;
    flex-shrink: 0;
}

.fee-pdf-modal-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fee-pdf-modal-title i {
    color: var(--ktti-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.fee-pdf-modal-close {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.fee-pdf-modal-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

/* Body */
.fee-pdf-modal-body {
    flex: 1;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.fee-pdf-modal-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

/* Footer */
.fee-pdf-modal-foot {
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid var(--ktti-gray-light);
    flex-shrink: 0;
    text-align: center;
}

.fee-pdf-viewonly-note {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.fee-pdf-viewonly-note i {
    color: var(--ktti-gold-dark);
    font-size: 0.72rem;
}

/* ============================================================
   PROGRAMME SINGLE — RESPONSIVE
   ============================================================ */

/* Large tablet */
@media (max-width: 1024px) {
    .programme-single {
        padding: 2.5rem 1.5rem 3.5rem;
    }

    .programme-single-header {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2rem;
    }

    .programme-single-hero {
        aspect-ratio: 16 / 9;
        max-height: 360px;
    }

    .programme-single-titleblock h1 {
        font-size: 1.7rem;
    }

    .programme-single-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .programme-single-side {
        position: static;
        top: auto;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .programme-single {
        padding: 2rem 1.25rem 3rem;
    }

    .programme-single-hero {
        aspect-ratio: 16 / 10;
    }

    .programme-single-titleblock h1 {
        font-size: 1.5rem;
    }

    .programme-single-brief {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .programme-single-quickmeta {
        gap: 1.25rem;
        padding-top: 1.25rem;
    }

    .single-block {
        padding: 1.5rem 1.35rem 1.35rem;
    }

    .single-block-title {
        font-size: 1rem;
    }

    .single-block-content p,
    .single-block-list li {
        font-size: 0.92rem;
    }

    /* Fee modal */
    .fee-pdf-modal {
        padding: 0;
    }

    .fee-pdf-modal-dialog {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .fee-pdf-modal-head {
        padding: 0.85rem 1rem;
    }

    .fee-pdf-modal-title {
        font-size: 0.82rem;
    }

    .fee-pdf-modal-close {
        width: 34px;
        height: 34px;
    }

    .fee-pdf-modal-foot {
        padding: 0.65rem 1rem;
    }

    .fee-pdf-viewonly-note {
        font-size: 0.72rem;
    }
}

/* Phones */
@media (max-width: 600px) {
    .programme-single {
        padding: 1.75rem 1rem 2.5rem;
    }

    .programme-single-header {
        margin-bottom: 2rem;
        padding-bottom: 1.75rem;
    }

    .programme-single-titleblock h1 {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .programme-single-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.85rem;
    }

    .programme-single-brief {
        font-size: 0.9rem;
    }

    .programme-single-quickmeta {
        flex-direction: column;
        gap: 1rem;
    }

    .quickmeta-item {
        flex-direction: row;
        align-items: baseline;
        gap: 0.5rem;
    }

    .quickmeta-label {
        min-width: 110px;
    }

    .single-block {
        padding: 1.35rem 1.15rem 1.2rem;
    }

    .single-block-title {
        font-size: 0.96rem;
    }

    .single-block-content p,
    .single-block-list li {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .single-cta .btn-primary-outline {
        width: 100%;
        padding: 0.9rem 1.35rem;
        font-size: 0.82rem;
    }

    /* Fee card tightens */
    .fee-pdf-card {
        padding: 1.1rem 1.1rem 1.2rem;
    }

    .fee-pdf-card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .fee-pdf-card-title {
        font-size: 0.92rem;
    }

    .fee-pdf-card-desc {
        font-size: 0.8rem;
    }

    .fee-pdf-open-btn {
        font-size: 0.78rem;
        padding: 0.65rem 1.15rem;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .programme-single-titleblock h1 {
        font-size: 1.2rem;
    }

    .single-block-content p,
    .single-block-list li {
        font-size: 0.85rem;
    }

    .quickmeta-label {
        min-width: 90px;
        font-size: 0.62rem;
    }

    .quickmeta-value {
        font-size: 0.88rem;
    }

    .fee-pdf-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .fee-pdf-modal-title {
        font-size: 0.75rem;
    }
}

/* ============================================================
   ADMISSIONS PAGE
   ============================================================ */
.admissions-page {
    background: var(--ktti-light);
    overflow-x: hidden;
    /* Prevent the parent's overflow-x:hidden from stealing
       horizontal scroll from inner scrollable tracks */
    overscroll-behavior-x: contain;
}

/* ============================================================
   SECTION 1 & 2: BREADCRUMB & STICKY SUB-NAV
   ============================================================ */
.admissions-subnav {
    position: sticky;
    top: 0;
    z-index: 800;
    background: var(--ktti-white);
    border-bottom: 1px solid var(--ktti-gray-light);
    box-shadow: 0 4px 12px rgba(11, 43, 78, 0.04);
}

.admissions-subnav .subnav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.admissions-subnav .subnav-link {
    display: inline-block;
    padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1rem, 3vw, 1.6rem);
    font-size: clamp(0.8rem, 1.4vw, 0.92rem);
    font-weight: 600;
    color: var(--ktti-gray);
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.admissions-subnav .subnav-link:hover {
    color: var(--ktti-navy);
    border-bottom-color: rgba(249, 178, 52, 0.5);
}

.admissions-subnav .subnav-link.active {
    color: var(--ktti-navy);
    border-bottom-color: var(--ktti-gold);
}

/* ============================================================
   SECTION 3: ADMISSION OVERVIEW (CAROUSEL)
   ============================================================ */
.admissions-overview {
    padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(0.75rem, 2vw, 1rem);
    background: var(--ktti-white);
    scroll-margin-top: 120px;
    margin-bottom: 0;
}

/* FLUID HEIGHT — grows with viewport, capped */
.admissions-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: clamp(280px, 45vw, 520px);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 43, 78, 0.15);
    margin-top: 1rem;
    margin-bottom: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.carousel-slide.active img { transform: scale(1); }

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(11, 43, 78, 0.92) 0%,
        rgba(11, 43, 78, 0.7) 40%,
        rgba(11, 43, 78, 0.2) 75%,
        transparent 100%);
}

/* NEW WRAPPER — aligns caption to a container */
.carousel-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 clamp(1.25rem, 5vw, 4rem);
    pointer-events: none;
}

.carousel-caption {
    position: relative;
    z-index: 2;
    color: var(--ktti-white);
    max-width: min(560px, 55%);
    pointer-events: auto;
}

.caption-tag {
    display: inline-block;
    font-size: clamp(0.62rem, 1.1vw, 0.72rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ktti-gold);
    border-bottom: 2px solid var(--ktti-gold);
    padding-bottom: 4px;
    margin-bottom: clamp(0.6rem, 1.5vw, 1rem);
}

.carousel-caption h3 {
    font-size: clamp(1.15rem, 3.4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: clamp(0.5rem, 1.2vw, 0.85rem);
    color: var(--ktti-white);
}

.carousel-caption p {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 520px;
    margin: 0;
}

.carousel-arrow { display: none !important; }

.carousel-dots {
    position: absolute;
    bottom: clamp(1rem, 2.5vw, 1.75rem);
    left: clamp(1.25rem, 5vw, 4rem);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition);
}

.carousel-dots .dot:hover { background: rgba(255, 255, 255, 0.7); }

.carousel-dots .dot.active {
    background: var(--ktti-gold);
    width: 36px;
    border-radius: 6px;
}

/* ============================================================
   SECTION 4: HOW TO APPLY
   ============================================================ */
.admissions-apply {
    padding: clamp(1.5rem, 3vw, 2rem) 0;
    background: var(--ktti-light);
    scroll-margin-top: 120px;
}

.apply-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
}

.apply-step {
    position: relative;
    background: var(--ktti-white);
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.2rem, 2.5vw, 1.75rem);
    border: 1px solid var(--ktti-gray-light);
    border-top: 4px solid var(--ktti-gold);
    transition: all var(--transition);
}

.apply-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(11, 43, 78, 0.1);
    border-color: rgba(249, 178, 52, 0.4);
}

.step-number {
    display: block;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    color: rgba(11, 43, 78, 0.12);
    line-height: 1;
    margin-bottom: 0.85rem;
    letter-spacing: -2px;
}

.apply-step h3 {
    font-size: clamp(0.98rem, 1.6vw, 1.08rem);
    font-weight: 700;
    color: var(--ktti-navy);
    margin-bottom: 0.6rem;
}

.apply-step p {
    font-size: clamp(0.82rem, 1.2vw, 0.86rem);
    color: #64748b;
    line-height: 1.65;
}

.apply-details {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.apply-requirements {
    background: var(--ktti-white);
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.15rem, 2.5vw, 1.85rem);
    border: 1px solid var(--ktti-gray-light);
    border-left: 4px solid var(--ktti-gold);
}

.apply-requirements h3 {
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    font-weight: 700;
    color: var(--ktti-navy);
    margin-bottom: 1.25rem;
}

.requirements-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.requirements-list li {
    font-size: clamp(0.85rem, 1.2vw, 0.92rem);
    color: #475569;
    line-height: 1.55;
    padding-left: 1.25rem;
    position: relative;
}

.requirements-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--ktti-gold);
    border-radius: 50%;
}

.apply-cta {
    background: linear-gradient(135deg, var(--ktti-navy), var(--ktti-navy-dark));
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.15rem, 2.5vw, 1.85rem);
    color: var(--ktti-white);
}

.apply-cta h3 {
    font-size: clamp(1.15rem, 2vw, 1.3rem);
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.apply-cta > p {
    font-size: clamp(0.85rem, 1.2vw, 0.92rem);
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.apply-cta .btn-primary,
.apply-cta .btn-outline-dark {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 2rem;
    font-weight: 700;
    font-size: clamp(0.82rem, 1.2vw, 0.92rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}

.apply-cta .btn-primary {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    margin-bottom: 0.75rem;
}

.apply-cta .btn-primary:hover {
    background: var(--ktti-gold-dark);
    transform: translateY(-2px);
}

.apply-cta .btn-outline-dark {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--ktti-white);
    cursor: pointer;
}

.apply-cta .btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ktti-gold);
    color: var(--ktti-gold);
}

.apply-note {
    font-size: clamp(0.72rem, 1.1vw, 0.82rem);
    color: #94a3b8;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.apply-note strong { color: var(--ktti-white); }

/* ============================================================
   SECTION 5: TUITION & FEES
   ============================================================ */
.admissions-fees {
    padding: clamp(1.5rem, 3vw, 2rem) 0;
    background: var(--ktti-white);
    scroll-margin-top: 120px;
}

.fee-level-tabs {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    flex-wrap: wrap;
}

.fee-level-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem clamp(1rem, 2.5vw, 1.5rem);
    background: var(--ktti-white);
    border: 2px solid var(--ktti-gray-light);
    border-radius: 50px;
    color: var(--ktti-text);
    font-family: inherit;
    font-size: clamp(0.78rem, 1.3vw, 0.88rem);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.fee-level-btn:hover {
    border-color: var(--ktti-gold);
    color: var(--ktti-navy);
    transform: translateY(-2px);
}

.fee-level-btn.active {
    background: var(--ktti-navy);
    border-color: var(--ktti-navy);
    color: var(--ktti-white);
}

.fee-programmes-wrap {
    margin-bottom: 2rem;
}

.fee-programmes-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.fee-programmes-grid.active {
    display: grid;
}

.fee-programme-card {
    background: var(--ktti-white);
    border: 1px solid var(--ktti-gray-light);
    border-top: 4px solid var(--ktti-gold);
    padding: clamp(1.35rem, 2.5vw, 1.75rem) clamp(1.15rem, 2vw, 1.5rem) clamp(1.2rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    min-width: 0;
}

.fee-programme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(11, 43, 78, 0.1);
    border-color: rgba(249, 178, 52, 0.4);
}

.fee-programme-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ktti-gray-light);
    flex-wrap: wrap;
}

.fee-programme-head h3 {
    font-size: clamp(0.98rem, 1.5vw, 1.05rem);
    font-weight: 800;
    color: var(--ktti-navy);
    line-height: 1.3;
    margin: 0;
    word-break: break-word;
    flex: 1 1 160px;
}

.fee-programme-duration {
    flex-shrink: 0;
    font-size: clamp(0.65rem, 1vw, 0.72rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ktti-navy);
    background: var(--ktti-gold);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    white-space: nowrap;
}

.fee-programme-body {
    flex: 1;
    margin-bottom: 1.25rem;
}

.fee-programme-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(0.78rem, 1.2vw, 0.85rem);
}

.fee-programme-table thead th {
    text-align: left;
    padding: 0.5rem 0.25rem;
    font-size: clamp(0.62rem, 1vw, 0.68rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ktti-gray);
    border-bottom: 1px solid var(--ktti-gray-light);
}

.fee-programme-table tbody td {
    padding: 0.55rem 0.25rem;
    color: #475569;
    border-bottom: 1px dashed #f1f5f9;
}

.fee-programme-table tbody td:last-child { text-align: right; }
.fee-programme-table tbody td strong { color: var(--ktti-navy); }

.fee-programme-table tfoot td {
    padding: 0.75rem 0.25rem 0.5rem;
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    border-top: 2px solid var(--ktti-gold);
    color: var(--ktti-navy);
}

.fee-programme-table tfoot td:last-child { text-align: right; }
.fee-programme-table tfoot strong { font-size: clamp(0.85rem, 1.3vw, 0.95rem); color: var(--ktti-navy); }

.fee-programme-empty {
    font-size: clamp(0.8rem, 1.2vw, 0.85rem);
    color: var(--ktti-gray);
    font-style: italic;
    padding: 1rem 0;
    margin: 0;
    text-align: center;
}

.fee-short-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 2.5vw, 1.5rem) 1rem;
    background: linear-gradient(135deg, rgba(249, 178, 52, 0.08) 0%, rgba(249, 178, 52, 0.02) 100%);
    border: 1px dashed rgba(249, 178, 52, 0.5);
    border-radius: 10px;
    text-align: center;
}

.fee-short-label {
    font-size: clamp(0.65rem, 1vw, 0.72rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ktti-gold-dark);
    margin-bottom: 0.5rem;
}

.fee-short-amount {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: var(--ktti-navy);
    line-height: 1.1;
    word-break: break-word;
}

.fee-programme-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.fee-btn-view,
.fee-btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex: 1;
    width: 100%;
    padding: 0.8rem;
    font-size: clamp(0.72rem, 1.1vw, 0.82rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 8px;
}

.fee-btn-view {
    text-decoration: none;
    background: var(--ktti-navy);
    color: var(--ktti-white);
    border: 2px solid var(--ktti-navy);
    transition: all var(--transition);
    cursor: pointer;
}

.fee-btn-view:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    border-color: var(--ktti-gold);
    transform: translateY(-1px);
}

.fee-btn-disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border: 2px solid #e2e8f0;
    cursor: not-allowed;
}

.fees-note {
    background: rgba(11, 43, 78, 0.04);
    border-left: 4px solid var(--ktti-gold);
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.15rem, 2.5vw, 1.5rem);
}

.fees-note p {
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    color: #475569;
    line-height: 1.7;
}

/* ============================================================
   SECTION 6: FEE PAYMENTS
   ============================================================ */
.admissions-payments {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: var(--ktti-light);
    scroll-margin-top: 120px;
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
    margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.payment-card {
    background: var(--ktti-white);
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.15rem, 2.5vw, 1.75rem);
    border: 1px solid var(--ktti-gray-light);
    border-top: 4px solid var(--ktti-gold);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.payment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(11, 43, 78, 0.12);
    border-color: rgba(249, 178, 52, 0.4);
}

.payment-card h3 {
    font-size: clamp(1.02rem, 1.6vw, 1.15rem);
    font-weight: 700;
    color: var(--ktti-navy);
    margin-bottom: 0.6rem;
}

.payment-card > p {
    font-size: clamp(0.82rem, 1.2vw, 0.88rem);
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.payment-details {
    padding-top: 1.15rem;
    border-top: 1px solid var(--ktti-gray-light);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: auto;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    font-size: clamp(0.78rem, 1.2vw, 0.85rem);
    flex-wrap: wrap;
}

.detail-row span {
    color: var(--ktti-gray);
    font-weight: 500;
    flex-shrink: 0;
}

.detail-row strong {
    color: var(--ktti-navy);
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.payment-process {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

.payment-steps {
    background: var(--ktti-white);
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.15rem, 2.5vw, 1.85rem);
    border: 1px solid var(--ktti-gray-light);
    border-left: 4px solid var(--ktti-gold);
}

.payment-steps h3 {
    font-size: clamp(1.02rem, 1.6vw, 1.15rem);
    font-weight: 700;
    color: var(--ktti-navy);
    margin-bottom: 1.5rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: clamp(0.84rem, 1.2vw, 0.9rem);
    color: #475569;
    line-height: 1.6;
}

.step-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ktti-navy);
    color: var(--ktti-gold);
    font-weight: 800;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-list strong { color: var(--ktti-navy); }

.payment-notice {
    background: linear-gradient(135deg, var(--ktti-navy), var(--ktti-navy-dark));
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.15rem, 2.5vw, 1.85rem);
    color: var(--ktti-white);
    border: 1px solid rgba(249, 178, 52, 0.3);
    border-top: 4px solid var(--ktti-gold);
}

.payment-notice h3 {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    font-weight: 800;
    color: var(--ktti-white);
    margin-bottom: 0.85rem;
}

.payment-notice > p {
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.notice-contact {
    font-size: clamp(0.8rem, 1.2vw, 0.88rem);
    color: #cbd5e1;
    padding: 0.65rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    word-break: break-word;
}

.notice-contact strong { color: var(--ktti-gold); }

/* ============================================================
   FEE STRUCTURE MODAL — fully fluid
   ============================================================ */
.fee-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 3vw, 1.5rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fee-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fee-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 29, 53, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.fee-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: min(90vh, 90dvh);
    background: var(--ktti-white);
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease;
    z-index: 1;
    overflow: hidden;
}

.fee-modal.is-open .fee-modal-dialog {
    transform: translateY(0) scale(1);
}

.fee-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: clamp(0.85rem, 2vw, 1.25rem) clamp(1rem, 2.5vw, 1.5rem);
    background: var(--ktti-navy);
    color: var(--ktti-white);
    border-bottom: 3px solid var(--ktti-gold);
    flex-shrink: 0;
}

.fee-modal-head h3 {
    font-size: clamp(0.92rem, 1.6vw, 1.15rem);
    font-weight: 700;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fee-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--ktti-white);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.fee-modal-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.fee-modal-body {
    flex: 1;
    position: relative;
    background: #525659;
    min-height: 0;
}

.fee-modal-body iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.fee-modal-foot {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
    background: var(--ktti-light);
    border-top: 1px solid var(--ktti-gray-light);
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.fee-modal-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem clamp(1.25rem, 3vw, 2rem);
    background: var(--ktti-navy);
    color: var(--ktti-white);
    font-size: clamp(0.78rem, 1.2vw, 0.88rem);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.fee-modal-download-btn:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 178, 52, 0.3);
}

/* ============================================================
   RESPONSIVE — ADMISSIONS
   ============================================================ */

/* Tablet: subnav scrolls reliably, apply/payment stack */
@media (max-width: 1024px) {
    .admissions-subnav .subnav-container {
        max-width: 100%;
        padding: 0 0.75rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0.15rem;

        /* Scrollable track with visible affordance */
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(11, 43, 78, 0.25) transparent;

        /* Fade hint on the right edge */
        -webkit-mask-image: linear-gradient(
            to right,
            #000 0,
            #000 calc(100% - 40px),
            transparent 100%
        );
        mask-image: linear-gradient(
            to right,
            #000 0,
            #000 calc(100% - 40px),
            transparent 100%
        );
    }

    .admissions-subnav .subnav-container::-webkit-scrollbar {
        height: 4px;
    }
    .admissions-subnav .subnav-container::-webkit-scrollbar-thumb {
        background: rgba(11, 43, 78, 0.25);
        border-radius: 4px;
    }
    .admissions-subnav .subnav-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .admissions-subnav .subnav-link {
        flex-shrink: 0;
        padding: 0.85rem 0.9rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .apply-details {
        grid-template-columns: 1fr;
    }

    .payment-process {
        grid-template-columns: 1fr;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
    .admissions-overview,
    .admissions-apply,
    .admissions-fees,
    .admissions-payments {
        padding: 2rem 0;
    }

    .admissions-carousel {
        height: clamp(320px, 70vw, 460px);
    }

    .carousel-overlay {
        background: linear-gradient(180deg,
            rgba(11, 43, 78, 0.15) 0%,
            rgba(11, 43, 78, 0.7) 55%,
            rgba(11, 43, 78, 0.95) 100%);
    }

    .carousel-inner {
        align-items: flex-end;
        padding: 1.25rem;
    }

    .carousel-caption {
        max-width: 100%;
        padding-bottom: 2.5rem;
    }

    .carousel-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 1.25rem;
    }

    .apply-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Fee level tabs wrap instead of clipping */
    .fee-level-tabs {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        overflow: visible;
        padding-bottom: 0;
    }

    .fee-level-btn {
        flex: 1 1 calc(50% - 0.5rem);
        max-width: calc(50% - 0.25rem);
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.82rem;
        border-radius: 10px;
    }

    .fee-programmes-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .payments-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Modal full-screen on mobile */
    .fee-modal {
        padding: 0;
    }

    .fee-modal-dialog {
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .fee-modal-download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Phones portrait */
@media (max-width: 600px) {
    /* ... carousel rules unchanged ... */

    /* Stack title + duration badge cleanly — reset flex-basis trap */
    .fee-programme-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;              /* tiny gap only */
        margin-bottom: 0.7rem;
        padding-bottom: 0.55rem;
        flex-wrap: nowrap;         /* prevent wrapping-related spacing */
    }

    .fee-programme-head h3 {
        width: 100%;
        flex: 0 0 auto;            /* ← CRITICAL: kill flex-basis: 160px */
        line-height: 1.25;
        margin: 0;
        font-size: 1rem;
    }

    .fee-programme-duration {
        align-self: flex-start;
        flex: 0 0 auto;            /* ← also reset */
        margin: 0;
        font-size: 0.68rem;
        padding: 0.2rem 0.55rem;
    }
}

/* Very small phones */
@media (max-width: 480px) {
    /* ... other 480 rules unchanged ... */

    .fee-programme-head {
        gap: 0.2rem;
        margin-bottom: 0.6rem;
        padding-bottom: 0.5rem;
    }

    .fee-programme-head h3 {
        font-size: 0.95rem;
        line-height: 1.22;
    }

    .fee-programme-duration {
        font-size: 0.63rem;
        padding: 0.16rem 0.48rem;
    }
}

/* Ultra small phones */
@media (max-width: 360px) {
    .admissions-carousel {
        height: 260px;
    }

    .carousel-caption { padding-bottom: 2rem; }

    .fee-short-amount { font-size: 1.15rem; }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .detail-row strong { text-align: left; }
}

/* ============================================================
   LIBRARY PAGE
   ============================================================ */
.library-page {
    background: var(--ktti-light); overflow-x: hidden;
    
}

.library-access {
    background: linear-gradient(135deg, var(--ktti-navy) 0%, var(--ktti-navy-dark) 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.library-access::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 178, 52, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.library-access::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 178, 52, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.library-access-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.library-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.access-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition);
    color: var(--ktti-white);
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--ktti-navy-dark);
    min-height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.access-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(11, 43, 78, 0.75) 0%,
        rgba(11, 43, 78, 0.88) 55%,
        rgba(7, 29, 53, 0.96) 100%);
    transition: background var(--transition);
    z-index: 1;
}

.access-card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    height: 100%;
    gap: 0.25rem;
}

.access-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.35);
    border-color: rgba(249, 178, 52, 0.4);
}

.access-card:hover .access-card-overlay {
    background: linear-gradient(180deg,
        rgba(11, 43, 78, 0.6) 0%,
        rgba(11, 43, 78, 0.78) 55%,
        rgba(7, 29, 53, 0.92) 100%);
}

.access-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.6s ease;
    z-index: 0;
}

.access-card:hover::before { transform: scale(1.08); }

.access-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ktti-white);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.access-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #e2e8f0;
    margin-bottom: 0.6rem;
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.access-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border: 2px solid var(--ktti-gold);
    color: var(--ktti-gold);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all var(--transition);
    margin-top: 0.5rem;
}

.access-btn i {
    font-size: 0.72rem;
    transition: transform var(--transition);
}

.access-card:hover .access-btn {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 178, 52, 0.4);
}

.access-card:hover .access-btn i { transform: translateX(4px); }

.library-mission {
    background: var(--ktti-navy-dark);
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}

.library-mission::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(249, 178, 52, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(249, 178, 52, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.library-mission-inner {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.mission-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--ktti-gold), var(--ktti-gold-dark));
    border-radius: 4px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.mission-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--ktti-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--ktti-navy-dark), 0 0 0 6px var(--ktti-gold);
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ktti-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.mission-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #cbd5e1;
    font-weight: 400;
    max-width: 100%;
    margin: 0 auto;
}

.library-info {
    padding: 4rem 0;
    background: var(--ktti-light);
}

.library-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: var(--ktti-white);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    border: 1px solid var(--ktti-gray-light);
    border-left: 5px solid var(--ktti-gold);
    box-shadow: 0 8px 24px rgba(11, 43, 78, 0.05);
    transition: all var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(11, 43, 78, 0.1);
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ktti-gold), var(--ktti-gold-dark));
    color: var(--ktti-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin-bottom: 1.25rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--ktti-gray-light);
    font-size: 0.92rem;
}

.info-list li:last-child { border-bottom: none; }

.info-list li span { color: #64748b; font-weight: 500; }
.info-list li strong { color: var(--ktti-navy); font-weight: 700; text-align: right; }

.info-contact li { justify-content: flex-start; gap: 0.85rem; }

.info-contact li i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--ktti-light);
    color: var(--ktti-gold-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 1px solid var(--ktti-gray-light);
}

.info-contact li span { color: var(--ktti-navy); font-weight: 600; }

/* ---------- LIBRARY RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .library-access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .access-card { min-height: 240px; }
}

@media (max-width: 768px) {
    .library-access { padding: 3.5rem 1.25rem; }

    .library-access-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .access-card { min-height: 210px; }
    .access-card-content { padding: 1.35rem 1.15rem 1.15rem; }
    .access-card h3 { font-size: 1.08rem; }
    .access-subtitle { font-size: 0.82rem; margin-bottom: 0.5rem; }
    .access-btn { padding: 0.6rem 1.55rem; font-size: 0.84rem; margin-top: 0.35rem; }

    .library-mission { padding: 3rem 1.25rem; }
    .mission-title { font-size: 1.9rem; }
    .mission-text { font-size: 0.95rem; line-height: 1.75; }

    .library-info { padding: 3rem 0; }
    .library-info-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .info-card { padding: 1.75rem 1.5rem; }
    .info-card h3 { font-size: 1.15rem; }
}

@media (max-width: 480px) {
    .access-card { min-height: 190px; }
    .access-btn { padding: 0.55rem 1.4rem; font-size: 0.8rem; }
    .access-card h3 { font-size: 1rem; }
    .access-subtitle { font-size: 0.78rem; margin-bottom: 0.4rem; }

    .mission-title { font-size: 1.6rem; }
    .info-list li { font-size: 0.86rem; }
}

/* ============================================================
   NEWS & EVENTS PAGE
   ============================================================ */
.news-page {
    background: var(--ktti-white);
    
}

.news-subnav {
    position: sticky;
    top: 0;
    z-index: 800;
    background: var(--ktti-white);
    border-bottom: 1px solid var(--ktti-gray-light);
}

.news-subnav .subnav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.news-subnav .subnav-link {
    display: inline-block;
    padding: 1.1rem 1.6rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ktti-gray);
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.news-subnav .subnav-link:hover {
    color: var(--ktti-navy);
    border-bottom-color: rgba(249, 178, 52, 0.5);
}

.news-subnav .subnav-link.active {
    color: var(--ktti-navy);
    border-bottom-color: var(--ktti-gold);
}

.news-latest {
    padding: 3rem 0;
    background: var(--ktti-white);
    scroll-margin-top: 120px;
}

.news-feature {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    margin-bottom: 3rem;
    background: var(--ktti-light); overflow-x: hidden;
}

.news-feature-image {
    overflow: hidden;
    min-height: 380px;
}

.news-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.news-feature:hover .news-feature-image img { transform: scale(1.04); }

.news-feature-body {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ktti-gray);
    margin-bottom: 0.5rem;
}

.news-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ktti-navy);
    background: var(--ktti-gold);
    padding: 0.3rem 0.85rem;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.news-feature-body h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ktti-navy);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.news-feature-body p {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.news-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ktti-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--ktti-gold);
    padding-bottom: 3px;
    align-self: flex-start;
    transition: all var(--transition);
}

.news-link:hover {
    color: var(--ktti-gold-dark);
    padding-bottom: 5px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--ktti-white);
    border: 1px solid var(--ktti-gray-light);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.news-card:hover { border-color: var(--ktti-navy); }

.news-card-image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img { transform: scale(1.05); }

.news-card-body {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ktti-navy);
    line-height: 1.35;
    margin: 0.75rem 0 0.85rem;
}

.news-card-body p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.news-card-body .news-link { margin-top: auto; }

.news-more { text-align: center; }

.btn-flat {
    display: inline-block;
    padding: 0.95rem 2.25rem;
    background: var(--ktti-navy);
    color: var(--ktti-white);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--ktti-navy);
    transition: all var(--transition);
}

.btn-flat:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    border-color: var(--ktti-gold);
}

.news-upcoming {
    padding: 3rem 0;
    background: var(--ktti-light);
    scroll-margin-top: 120px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--ktti-gray-light);
}

.event-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--ktti-gray-light);
    transition: all var(--transition);
}

.event-item:hover { padding-left: 1rem; }

.event-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 4px solid var(--ktti-gold);
    padding-left: 1.25rem;
}

.event-day {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ktti-navy);
    line-height: 1;
    letter-spacing: -2px;
}

.event-month {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ktti-navy);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.35rem;
}

.event-year {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ktti-gray);
    margin-top: 0.25rem;
    letter-spacing: 1px;
}

.event-type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ktti-gold-dark);
    margin-bottom: 0.5rem;
}

.event-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ktti-navy);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.event-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ktti-gray);
    margin-bottom: 0.75rem;
}

.event-body p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 720px;
}

.event-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ktti-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--ktti-gold);
    padding-bottom: 3px;
    align-self: flex-start;
    transition: all var(--transition);
}

.event-link:hover {
    color: var(--ktti-gold-dark);
    padding-bottom: 5px;
}

.news-past {
    padding: 3rem 0;
    background: var(--ktti-white);
    scroll-margin-top: 120px;
}

.past-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.past-card {
    background: var(--ktti-light);
    border: 1px solid var(--ktti-gray-light);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

.past-card:hover { border-color: var(--ktti-navy); }

.past-card-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.past-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.past-card:hover .past-card-image img { transform: scale(1.05); }

.past-card-body {
    padding: 1.35rem 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.past-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ktti-navy);
    line-height: 1.35;
    margin: 0.5rem 0 0.6rem;
}

.past-card-body p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

/* ---------- NEWS RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .news-feature { grid-template-columns: 1fr; }
    .news-feature-image { min-height: 300px; }
    .news-feature-body { padding: 2.5rem 2rem; }
    .news-feature-body h3 { font-size: 1.5rem; }

    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .past-grid { grid-template-columns: repeat(2, 1fr); }

    .event-item { grid-template-columns: 120px 1fr; gap: 2rem; }
    .event-day { font-size: 2.5rem; }
    .event-month { font-size: 0.95rem; }
}

@media (max-width: 900px) {
    .news-subnav .subnav-container {
        padding: 0 1rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .news-subnav .subnav-container::-webkit-scrollbar { display: none; }

    .news-subnav .subnav-link {
        padding: 0.9rem 1rem;
        font-size: 0.82rem;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .news-latest,
    .news-upcoming,
    .news-past { padding: 2.5rem 0; }

    .news-feature-body { padding: 2rem 1.5rem; }
    .news-feature-body h3 { font-size: 1.25rem; }
    .news-feature-body p { font-size: 0.92rem; }

    .news-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .past-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .event-item {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.75rem 0;
    }

    .event-item:hover { padding-left: 0; }

    .event-date {
        flex-direction: row;
        align-items: baseline;
        gap: 0.75rem;
        padding-left: 1rem;
        border-left-width: 3px;
    }

    .event-day { font-size: 2rem; }
    .event-month { font-size: 0.9rem; letter-spacing: 1px; }
    .event-year { font-size: 0.75rem; }

    .event-body h3 { font-size: 1.15rem; }
}

@media (max-width: 480px) {
    .news-feature-body { padding: 1.75rem 1.25rem; }
    .news-feature-body h3 { font-size: 1.15rem; }

    .news-card-body { padding: 1.5rem 1.25rem; }
    .news-card-body h3 { font-size: 1.05rem; }

    .past-card-body { padding: 1.25rem 1.15rem 1.35rem; }
}

/* ============================================================
   COMING SOON — empty state for news/events sections
   ============================================================ */
.coming-soon {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 3.5rem 2rem;
    background: var(--ktti-white);
    border: 2px dashed var(--ktti-gray-light);
    border-radius: 16px;
    position: relative;
}

.coming-soon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(236, 7, 206, 0.15), rgba(236, 7, 206, 0));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.coming-soon-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ktti-gold), var(--ktti-gold-dark));
    color: var(--ktti-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 12px 28px rgba(236, 7, 206, 0.25);
    animation: csFloat 3s ease-in-out infinite;
}

@keyframes csFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.coming-soon h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.coming-soon p {
    font-size: 0.95rem;
    color: var(--ktti-gray);
    line-height: 1.65;
    max-width: 420px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 600px) {
    .coming-soon {
        padding: 2.5rem 1.5rem;
        margin: 0 0.5rem;
    }

    .coming-soon-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }

    .coming-soon h3 { font-size: 1.15rem; }
    .coming-soon p  { font-size: 0.88rem; }
}

@media (max-width: 400px) {
    .coming-soon {
        padding: 2rem 1.25rem;
    }

    .coming-soon h3 { font-size: 1.05rem; }
    .coming-soon p  { font-size: 0.84rem; }
}

/* ============================================================
   NEWS SINGLE — Full article reader
   ============================================================ */
.news-single-page {
    background: var(--ktti-light);
    overflow-x: hidden;
}

/* ---------- Article wrapper ---------- */
.news-single {
    padding: 3rem 2rem 4rem;
    background: var(--ktti-white);
}

.news-single-inner {
    max-width: 820px;
    margin: 0 auto;
}

/* ---------- Back link ---------- */
.news-single-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ktti-navy);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.75rem;
    transition: all var(--transition);
}

.news-single-back i {
    font-size: 0.75rem;
    transition: transform var(--transition);
}

.news-single-back:hover {
    color: var(--ktti-gold-dark);
}

.news-single-back:hover i {
    transform: translateX(-4px);
}

/* ---------- Meta row ---------- */
.news-single-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ktti-gray-light);
}

.news-single-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.news-single-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ktti-gray);
}

.news-single-date i {
    color: var(--ktti-gold-dark);
    font-size: 0.85rem;
}

/* ---------- Hero image ---------- */
.news-single-hero {
    margin: 0 0 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(11, 43, 78, 0.1);
    aspect-ratio: 16 / 9;
    background: var(--ktti-navy);
}

.news-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Title ---------- */
.news-single-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--ktti-navy);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 1.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ---------- Body ---------- */
.news-single-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
}

.news-single-body p {
    margin-bottom: 1.5rem;
}

.news-single-body p:first-of-type {
    font-size: 1.15rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.75;
}

.news-single-body p:last-child {
    margin-bottom: 0;
}

.news-single-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.news-single-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ktti-navy);
    margin: 1.75rem 0 0.85rem;
    line-height: 1.35;
}

.news-single-body ul,
.news-single-body ol {
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
}

.news-single-body li {
    margin-bottom: 0.6rem;
    line-height: 1.75;
}

.news-single-body a {
    color: var(--ktti-navy);
    text-decoration: underline;
    text-decoration-color: var(--ktti-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.news-single-body a:hover {
    color: var(--ktti-gold-dark);
}

.news-single-body blockquote {
    border-left: 4px solid var(--ktti-gold);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #475569;
    font-size: 1.1rem;
}

.news-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

/* ---------- Share row ---------- */
.news-single-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ktti-gray-light);
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ktti-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.5rem;
}

.news-single-share a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ktti-light);
    color: var(--ktti-navy);
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--ktti-gray-light);
    transition: all var(--transition);
}

.news-single-share a:hover {
    transform: translateY(-3px);
}

.news-single-share .share-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.news-single-share .share-tw:hover { background: #000000; color: #fff; border-color: #000000; }
.news-single-share .share-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.news-single-share .share-em:hover { background: var(--ktti-gold); color: var(--ktti-navy); border-color: var(--ktti-gold); }

/* ============================================================
   RELATED ARTICLES
   ============================================================ */
.news-single-related {
    padding: 4rem 2rem;
    background: var(--ktti-light);
    border-top: 4px solid var(--ktti-gold);
}

.news-single-related .section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.news-single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    background: var(--ktti-white);
    border: 1px solid var(--ktti-gray-light);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(236, 7, 206, 0.25);
    box-shadow: 0 12px 32px rgba(11, 43, 78, 0.08);
}

.related-card-image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--ktti-navy);
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-body {
    padding: 1.25rem 1.35rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-card-body .news-category {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--ktti-navy);
    background: var(--ktti-gold);
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.related-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ktti-navy);
    line-height: 1.35;
    margin-bottom: 0.65rem;
    transition: color var(--transition);
}

.related-card:hover .related-card-body h3 {
    color: var(--ktti-gold-dark);
}

.related-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ktti-gray);
    margin-top: auto;
    padding-top: 0.85rem;
}

.related-date i {
    color: var(--ktti-gold-dark);
    font-size: 0.7rem;
}

/* ============================================================
   404 — Article not found
   ============================================================ */
.news-single-notfound {
    padding: 6rem 2rem;
    background: var(--ktti-white);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notfound-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.notfound-inner > i {
    font-size: 4rem;
    color: var(--ktti-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.notfound-inner h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ktti-navy);
    margin-bottom: 1rem;
}

.notfound-inner p {
    font-size: 1rem;
    color: var(--ktti-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.notfound-inner .btn-flat {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

/* ============================================================
   NEWS SINGLE — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .news-single { padding: 2.5rem 1.5rem 3.5rem; }
    .news-single-title { font-size: 1.9rem; }
    .news-single-body { font-size: 1rem; line-height: 1.8; }
    .news-single-related { padding: 3.5rem 1.5rem; }
    .news-single-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .news-single { padding: 2rem 1.25rem 3rem; }
    .news-single-title { font-size: 1.6rem; line-height: 1.25; }
    .news-single-meta { gap: 0.85rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
    .news-single-hero { margin-bottom: 2rem; aspect-ratio: 16 / 10; }
    .news-single-body { font-size: 0.98rem; line-height: 1.75; }
    .news-single-body p { margin-bottom: 1.25rem; }
    .news-single-body p:first-of-type { font-size: 1.02rem; }
    .news-single-body h2 { font-size: 1.3rem; margin: 1.75rem 0 0.85rem; }
    .news-single-body h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
    .news-single-share { margin-top: 2.25rem; padding-top: 1.5rem; }
    .news-single-related { padding: 3rem 1.25rem; }
    .news-single-related-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 480px) {
    .news-single { padding: 1.75rem 1rem 2.5rem; }
    .news-single-title { font-size: 1.35rem; line-height: 1.3; margin-bottom: 1.25rem; }
    .news-single-back { margin-bottom: 1.25rem; font-size: 0.78rem; }
    .news-single-category { font-size: 0.65rem; padding: 0.3rem 0.75rem; }
    .news-single-date { font-size: 0.8rem; }
    .news-single-hero { border-radius: 10px; margin-bottom: 1.75rem; aspect-ratio: 4 / 3; }
    .news-single-body { font-size: 0.94rem; line-height: 1.7; }
    .news-single-body p:first-of-type { font-size: 0.98rem; }
    .news-single-body h2 { font-size: 1.2rem; }
    .news-single-body h3 { font-size: 1.05rem; }
    .news-single-body blockquote { font-size: 1rem; padding-left: 1rem; }
    .news-single-share { margin-top: 2rem; padding-top: 1.25rem; }
    .share-label { font-size: 0.72rem; }
    .news-single-share a { width: 38px; height: 38px; font-size: 0.82rem; }
    .notfound-inner > i { font-size: 3rem; }
    .notfound-inner h1 { font-size: 1.5rem; }
    .notfound-inner p { font-size: 0.92rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--ktti-navy);
    color: #cbd5e1;
    margin-top: auto;
    border-top: 5px solid var(--ktti-gold);
    position: relative;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    align-items: start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: var(--ktti-white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.3px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--ktti-gold);
    border-radius: 4px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--ktti-gold), var(--ktti-gold-dark));
    color: var(--ktti-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.footer-brand-text h4 {
    color: var(--ktti-white);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

.footer-brand-text h4::after { display: none; }

.footer-brand-text span {
    display: block;
    font-size: 0.62rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-top: 2px;
}

.footer-about-text {
    font-size: 0.87rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.footer-social a {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    transform: translateY(-3px);
}

.footer-links li { margin-bottom: 0.65rem; }

.footer-links li a {
    color: #cbd5e1;
    font-size: 0.88rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li a i {
    font-size: 0.62rem;
    color: var(--ktti-gold);
    transition: transform var(--transition);
}

.footer-links li a:hover {
    color: var(--ktti-gold);
    padding-left: 4px;
}

.footer-links li a:hover i { transform: translateX(3px); }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.87rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--ktti-gold);
    font-size: 0.92rem;
    margin-top: 4px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* ============================================================
   FOOTER EXTRAS (Send Us a Message + Map)
   ============================================================ */
.footer-extras {
    background: rgba(0, 0, 0, 0.12);
    padding: 2.75rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-extras-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* --- Message panel (left side) --- */
.footer-newsletter-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color var(--transition);
}

.footer-newsletter-panel:hover { border-color: rgba(249, 178, 52, 0.35); }

.footer-newsletter-panel h5,
.footer-map-panel h5 {
    color: var(--ktti-white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.2px;
}

.footer-newsletter-panel h5 i,
.footer-map-panel h5 i { color: var(--ktti-gold); }

.footer-newsletter-panel p {
    font-size: 0.87rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* --- Send Message button --- */
.footer-send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.75rem;
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--ktti-gold);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    align-self: flex-start;
    white-space: nowrap;
}

.footer-send-btn i { font-size: 0.85rem; }

.footer-send-btn:hover {
    background: transparent;
    color: var(--ktti-gold);
    border-color: var(--ktti-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.footer-send-btn:active {
    transform: translateY(0);
}

/* --- Map panel --- */
.footer-map-panel {
    display: flex;
    flex-direction: column;
}

.footer-map {
    flex: 1;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   FOOTER BOTTOM
   ============================================================ */
.footer-bottom {
    background: var(--ktti-navy-dark);
    padding: 1.25rem 2rem;
}

.footer-bottom-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links li a {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-bottom-links li a:hover { color: var(--ktti-gold); }

/* ============================================================
   CONTACT MODAL — overlay + dialog
   ============================================================ */
.kb-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 29, 53, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.kb-modal-overlay.kb-modal-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.kb-modal {
    position: relative;
    width: 100%;
    max-width: 580px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 14px;
    border-top: 4px solid var(--ktti-gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: 1.75rem 1.75rem 1.5rem;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s ease;
}

.kb-modal-overlay.kb-modal-open .kb-modal {
    transform: translateY(0) scale(1);
}

.kb-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 43, 78, 0.06);
    color: #1e293b;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.kb-modal-close:hover {
    background: #ef4444;
    color: #ffffff;
    transform: rotate(90deg);
}

.kb-modal-header {
    margin-bottom: 1.25rem;
    padding-right: 2.5rem;
}

.kb-modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ktti-navy);
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.kb-modal-header h3 i {
    color: var(--ktti-gold);
    font-size: 1.05rem;
}

.kb-modal-header p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* ---------- Form ---------- */
.kb-modal-form .kb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.kb-form-group {
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
}

.kb-form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.kb-form-group label span {
    color: #ef4444;
    margin-left: 2px;
}

.kb-form-group input,
.kb-form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kb-form-group input:focus,
.kb-form-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--ktti-gold);
    box-shadow: 0 0 0 3px rgba(249, 178, 52, 0.18);
}

.kb-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.kb-form-note {
    min-height: 1.2rem;
    font-size: 0.85rem;
    margin: 0.25rem 0 0.75rem;
    color: #64748b;
}

.kb-form-note.success { color: #16a34a; font-weight: 600; }
.kb-form-note.error   { color: #dc2626; font-weight: 600; }

/* ---------- Actions ---------- */
.kb-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.kb-btn-cancel,
.kb-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.kb-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.kb-btn-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.kb-btn-submit {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    border-color: var(--ktti-gold);
}

.kb-btn-submit:hover:not(:disabled) {
    background: var(--ktti-navy);
    color: var(--ktti-gold);
    border-color: var(--ktti-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kb-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================================
   CONTACT MODAL — success toast at the top of the dialog
   ============================================================ */
.kb-modal-toast {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: #16a34a;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.35);

    /* Hidden state */
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    z-index: 10;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.kb-modal-toast i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.kb-modal-toast span {
    line-height: 1.3;
}

.kb-modal-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   FOOTER RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }

    .footer-extras-inner { gap: 2rem; }
}

@media (max-width: 900px) {
    .footer-container { padding: 3rem 1.5rem 2.5rem; }
    .footer-extras { padding: 2.25rem 1.5rem; }
    .footer-bottom { padding: 1.1rem 1.5rem; }
}

@media (max-width: 768px) {
    .footer-extras-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-map { min-height: 240px; }
}

@media (max-width: 700px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1.25rem 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 1.25rem;
    }
}

@media (max-width: 560px) {
    /* --- Modal --- */
    .kb-modal {
        padding: 1.4rem 1.2rem 1.2rem;
        border-radius: 12px;
    }

    .kb-modal-header h3 { font-size: 1.05rem; }
    .kb-modal-header p  { font-size: 0.82rem; }

    .kb-modal-form .kb-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .kb-form-actions {
        flex-direction: column-reverse;
    }

    .kb-btn-cancel,
    .kb-btn-submit {
        width: 100%;
        padding: 0.85rem;
    }

    /* --- Success toast --- */
    .kb-modal-toast {
        top: 0.6rem;
        left: 0.6rem;
        right: 0.6rem;
        padding: 0.65rem 0.85rem;
        font-size: 0.82rem;
    }
    .kb-modal-toast i { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .footer-newsletter-panel { padding: 1.35rem 1.25rem; }

    .footer-send-btn {
        width: 100%;
        padding: 0.85rem 1.25rem;
    }

    .footer-map { min-height: 200px; }

    .footer-social a {
        width: 34px;
        height: 34px;
    }

    .footer-col h4 { font-size: 1rem; }
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ktti-navy) 0%, var(--ktti-navy-dark) 100%);
    color: var(--ktti-white);
    border: 2px solid var(--ktti-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 9000;
    box-shadow: 0 12px 28px rgba(11, 43, 78, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    padding: 0;
    font-family: inherit;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
    background: var(--ktti-gold);
    color: var(--ktti-navy);
    border-color: var(--ktti-navy);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 36px rgba(249, 178, 52, 0.35);
}

.scroll-top-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.scroll-top-btn i {
    transition: transform 0.2s ease;
    pointer-events: none;
}

.scroll-top-btn:hover i {
    transform: translateY(-2px);
}

/* Responsive — smaller on phones */
@media (max-width: 600px) {
    .scroll-top-btn {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 46px;
        height: 46px;
        font-size: 0.92rem;
    }
}

@media (max-width: 400px) {
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }
}