:root {
    --bg: #f0f4fa;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-alt: #e8eef8;
    --text: #1e293b;
    --heading: #0c2d4f;
    --heading-secondary: #164a7c;
    --body: #475569;
    --muted: #64748b;
    --primary: #164a7c;
    --primary-light: #2563ab;
    --primary-deep: #0a2540;
    --secondary: #c9a227;
    --secondary-light: #e8c547;
    --accent: #b91c3c;
    --accent-soft: #dc3545;
    --border: rgba(22, 74, 124, 0.1);
    --border-strong: rgba(22, 74, 124, 0.18);
    --shadow: 0 24px 64px rgba(10, 37, 64, 0.11);
    --shadow-soft: 0 12px 32px rgba(10, 37, 64, 0.07);
    --shadow-glow: 0 8px 32px rgba(201, 162, 39, 0.22);
    --glass: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(255, 255, 255, 0.65);
    --gradient-brand: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 55%, var(--primary-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1180px;
    --font-body: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-display: 'Fraunces', 'Outfit', serif;
    --space-section: clamp(3.75rem, 6.5vw, 5.5rem);
    --space-heading: clamp(2rem, 4vw, 3rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
}

::selection {
    background: rgba(22, 74, 124, 0.2);
    color: var(--heading);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: var(--body);
    line-height: 1.75;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(201, 162, 39, 0.07), transparent 50%),
        radial-gradient(ellipse 70% 45% at 100% 100%, rgba(22, 74, 124, 0.06), transparent 50%),
        linear-gradient(180deg, #fafcff 0%, var(--bg) 40%, #eef2f8 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1,
h2 {
    color: var(--primary-deep);
    font-weight: 800;
}

p {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--body);
}

p + p,
.content-stack p + p,
.split-layout p + p {
    margin-top: 1rem;
}

ul,
ol {
    color: var(--body);
}

strong {
    color: var(--heading-secondary);
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    display: block;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.1);
    border-color: rgba(22, 74, 124, 0.06);
}

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--gradient-brand);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.77rem;
}

.topbar-inner,
.topbar-items,
.college-header-inner,
.navbar,
.hero-actions,
.cta-actions,
.socials {
    display: flex;
    align-items: center;
}

.topbar-inner {
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.topbar-items {
    gap: 1.25rem;
    flex-wrap: wrap;
}

.topbar i {
    margin-right: 0.45rem;
    color: var(--secondary-light);
}

.college-header {
    background:
        radial-gradient(ellipse 60% 80% at 5% 50%, rgba(201, 162, 39, 0.1), transparent 50%),
        radial-gradient(ellipse 50% 70% at 95% 50%, rgba(22, 74, 124, 0.06), transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #f5f9ff 50%, #fffdf5 100%);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-deep), var(--secondary), var(--accent)) 1;
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
}

.college-header-inner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(calc(100% - 2rem), var(--container));
    max-width: var(--container);
    margin: 0 auto;
    padding: 0.55rem 0;
    min-height: calc(clamp(3.85rem, 5.5vw, 5.5rem) + 0.85rem);
}

.college-header-text {
    text-align: center;
    width: 70%;
    max-width: 70%;
    padding: 0;
}

.college-header .college-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.15vw, 1.95rem);
    font-weight: 800;
    font-variation-settings: 'SOFT' 50, 'WONK' 0;
    line-height: 1.12;
    letter-spacing: clamp(0.05em, 0.55vw, 0.14em);
    text-transform: uppercase;
    color: var(--primary-deep);
    text-shadow: none;
    white-space: nowrap;
    width: 100%;
}

.college-header .college-tagline {
    margin: 0.3rem 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(0.68rem, 1.05vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--muted);
    line-height: 1.35;
    width: 100%;
    margin-inline: auto;
    text-shadow: none;
}

.college-header-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    flex-shrink: 0;
    width: clamp(3.85rem, 5.5vw, 5.5rem);
    height: clamp(3.85rem, 5.5vw, 5.5rem);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.14);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.college-header-logo:hover {
    transform: translateY(-50%) scale(1.03);
    box-shadow: 0 12px 28px rgba(27, 79, 138, 0.24);
}

.college-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.college-header-title-link {
    display: block;
    color: inherit;
}

.college-header-title-link:hover .college-name {
    color: var(--primary-light);
}

.college-header .college-name .name-accent {
    color: var(--accent);
}

@media (min-width: 761px) and (max-width: 1024px) {
    .college-header .college-name {
        font-size: clamp(0.95rem, 1.85vw, 1.55rem);
        letter-spacing: clamp(0.04em, 0.4vw, 0.1em);
    }
}

.navbar-wrap {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid var(--primary-deep);
    box-shadow: 0 2px 16px rgba(10, 37, 64, 0.06);
}

.navbar-full {
    width: 100%;
    max-width: 100%;
    padding: 0.3rem clamp(1rem, 2.5vw, 2.5rem);
}

.navbar {
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 3.2rem;
    padding: 0.2rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-mark {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), transparent 45%),
        linear-gradient(135deg, var(--primary), #23906f);
    color: #fff;
    box-shadow: 0 18px 28px rgba(27, 79, 138, 0.22);
    flex-shrink: 0;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.brand-copy strong {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.brand-copy small {
    margin-top: 0.28rem;
    color: var(--muted);
    font-size: 0.84rem;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    flex-wrap: wrap;
    gap: clamp(0.35rem, 1.4vw, 1.15rem);
}

.navbar-wrap .site-nav > a,
.navbar-wrap .dropdown-toggle {
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.76rem, 0.95vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0.62rem clamp(0.55rem, 1.1vw, 0.95rem);
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.navbar-wrap .site-nav > a:hover,
.navbar-wrap .dropdown-toggle:hover {
    color: var(--primary);
    background: rgba(27, 79, 138, 0.08);
}

.navbar-wrap .site-nav > a.active,
.navbar-wrap .dropdown-toggle.active {
    color: #fff;
    background: var(--gradient-brand);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.28);
}

.navbar-wrap .site-nav > a::after,
.navbar-wrap .dropdown-toggle::after {
    display: none;
}

.navbar-wrap .dropdown-menu a {
    color: var(--heading-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
}

.navbar-wrap .dropdown-menu a:hover {
    color: var(--primary-deep);
    background: linear-gradient(90deg, rgba(22, 74, 124, 0.1) 0%, rgba(201, 162, 39, 0.06) 100%);
}

.navbar-wrap .nav-cta {
    min-height: 2.55rem;
    padding: 0.65rem 1.35rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--gradient-gold);
    color: var(--primary-deep);
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.navbar-wrap .nav-cta:hover {
    box-shadow: 0 14px 32px rgba(201, 162, 39, 0.45);
    transform: translateY(-2px);
}

@media (min-width: 1200px) {
    .site-nav {
        gap: 1.25rem;
    }

    .navbar-wrap .site-nav > a,
    .navbar-wrap .dropdown-toggle {
        padding: 0.68rem 1.15rem;
    }
}

.site-nav a {
    position: relative;
    font-weight: 700;
    color: var(--muted);
    transition: color 0.2s ease;
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-link {
    font: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    font-weight: 700;
    color: var(--muted);
    transition: color 0.2s ease;
}

.dropdown-toggle i {
    font-size: 0.7em;
    opacity: 0.7;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.dropdown-toggle::after {
    display: block;
    border: none;
    margin: 0;
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.55rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle.active {
    color: var(--text);
}

.dropdown-toggle:hover::after,
.dropdown-toggle.active::after {
    transform: scaleX(1);
}

.navbar-wrap .dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu {
    --dropdown-ease: cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(201, 162, 39, 0.09), transparent 58%),
        radial-gradient(ellipse at 0% 100%, rgba(22, 74, 124, 0.07), transparent 52%),
        linear-gradient(165deg, #ffffff 0%, #f2f7fc 100%);
    border: 1px solid rgba(22, 74, 124, 0.12);
    box-shadow:
        0 4px 8px rgba(10, 37, 64, 0.05),
        0 20px 48px rgba(10, 37, 64, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.7) inset;
    display: grid;
    gap: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
}

.dropdown-menu::before {
    display: none;
}

@media (min-width: 1101px) {
    .dropdown-menu {
        position: absolute;
        top: calc(100% + 0.65rem);
        left: 50%;
        min-width: 16.5rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-50%) translateY(0.65rem) scale(0.96);
        transform-origin: top center;
        transition:
            opacity 0.28s var(--dropdown-ease),
            transform 0.34s var(--dropdown-ease),
            visibility 0.34s;
        z-index: 120;
    }

    .dropdown-menu::after {
        content: '';
        position: absolute;
        top: -5px;
        left: 50%;
        width: 12px;
        height: 12px;
        margin-left: -6px;
        background: var(--primary-deep);
        border: none;
        transform: rotate(45deg);
        box-shadow: -2px -2px 8px rgba(10, 37, 64, 0.08);
        z-index: 1;
    }

    .dropdown-menu--institutions {
        min-width: min(24rem, 92vw);
    }
}

.dropdown-eyebrow {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: var(--gradient-brand);
    border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
    overflow: hidden;
    z-index: 2;
}

.dropdown-eyebrow i {
    font-size: 0.85rem;
    color: var(--secondary-light);
    opacity: 0.95;
}

.dropdown-eyebrow::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -10px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.dropdown-eyebrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0.85;
}

.dropdown-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 11px;
    font-size: 0.82rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(22, 74, 124, 0.14) 0%, rgba(37, 99, 171, 0.08) 100%);
    color: var(--primary);
    border: 1px solid rgba(22, 74, 124, 0.1);
    transition:
        transform 0.24s var(--dropdown-ease),
        background 0.24s ease,
        color 0.24s ease,
        box-shadow 0.24s ease;
}

.dropdown-item-label {
    flex: 1;
    min-width: 0;
}

.dropdown-menu a:nth-of-type(1) .dropdown-item-icon {
    background: linear-gradient(135deg, rgba(22, 74, 124, 0.16) 0%, rgba(37, 99, 171, 0.1) 100%);
    color: var(--primary);
}

.dropdown-menu a:nth-of-type(2) .dropdown-item-icon {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2) 0%, rgba(232, 197, 71, 0.12) 100%);
    color: #9a7b15;
    border-color: rgba(201, 162, 39, 0.2);
}

.dropdown-menu a:nth-of-type(3) .dropdown-item-icon {
    background: linear-gradient(135deg, rgba(37, 99, 171, 0.16) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: var(--primary-light);
}

.dropdown-menu a:nth-of-type(4) .dropdown-item-icon {
    background: linear-gradient(135deg, rgba(185, 28, 60, 0.12) 0%, rgba(220, 53, 69, 0.08) 100%);
    color: var(--accent);
    border-color: rgba(185, 28, 60, 0.15);
}

.dropdown-menu a:nth-of-type(5) .dropdown-item-icon {
    background: linear-gradient(135deg, rgba(16, 120, 90, 0.14) 0%, rgba(34, 197, 94, 0.08) 100%);
    color: #0f766e;
    border-color: rgba(16, 120, 90, 0.15);
}

.dropdown-menu a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0.3rem 0.5rem;
    padding: 0.7rem 0.85rem;
    border-radius: 13px;
    font-weight: 600;
    color: var(--heading-secondary);
    line-height: 1.35;
    border: 1px solid transparent;
    transition:
        background 0.24s ease,
        color 0.24s ease,
        border-color 0.24s ease,
        transform 0.24s var(--dropdown-ease),
        box-shadow 0.24s ease;
}

.dropdown-menu a:first-of-type {
    margin-top: 0.45rem;
}

.dropdown-menu a:last-of-type {
    margin-bottom: 0.45rem;
}

.dropdown-menu a::before {
    display: none;
}

.dropdown-menu a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.58rem;
    color: var(--secondary);
    opacity: 0;
    transform: translateX(-8px);
    transition:
        opacity 0.24s ease,
        transform 0.24s var(--dropdown-ease);
    flex-shrink: 0;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(22, 74, 124, 0.1) 0%, rgba(201, 162, 39, 0.06) 100%);
    color: var(--primary-deep);
    border-color: rgba(22, 74, 124, 0.1);
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.07);
    transform: translateX(3px);
}

.dropdown-menu a:hover .dropdown-item-icon {
    transform: scale(1.08);
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(22, 74, 124, 0.25);
}

.dropdown-menu a:hover::after {
    opacity: 0.8;
    transform: translateX(0);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 1100px) {
    .has-dropdown:hover .dropdown-menu,
    .has-dropdown.is-open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
}

@media (min-width: 1101px) {
    .has-dropdown:hover .dropdown-menu,
    .has-dropdown.is-open .dropdown-menu {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .has-dropdown.is-open .dropdown-menu a {
        animation: dropdownItemReveal 0.38s var(--dropdown-ease) backwards;
    }

    .has-dropdown.is-open .dropdown-menu a:nth-child(2) { animation-delay: 0.04s; }
    .has-dropdown.is-open .dropdown-menu a:nth-child(3) { animation-delay: 0.08s; }
    .has-dropdown.is-open .dropdown-menu a:nth-child(4) { animation-delay: 0.12s; }
    .has-dropdown.is-open .dropdown-menu a:nth-child(5) { animation-delay: 0.16s; }
    .has-dropdown.is-open .dropdown-menu a:nth-child(6) { animation-delay: 0.2s; }
}

@keyframes dropdownItemReveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.has-dropdown.is-open .dropdown-toggle i,
.has-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
    opacity: 1;
}

@media (min-width: 1101px) {
    .has-dropdown:hover .dropdown-menu a {
        animation: dropdownItemReveal 0.38s var(--dropdown-ease) backwards;
    }

    .has-dropdown:hover .dropdown-menu a:nth-child(2) { animation-delay: 0.04s; }
    .has-dropdown:hover .dropdown-menu a:nth-child(3) { animation-delay: 0.08s; }
    .has-dropdown:hover .dropdown-menu a:nth-child(4) { animation-delay: 0.12s; }
    .has-dropdown:hover .dropdown-menu a:nth-child(5) { animation-delay: 0.16s; }
    .has-dropdown:hover .dropdown-menu a:nth-child(6) { animation-delay: 0.2s; }

    .nav-item.has-dropdown:last-of-type .dropdown-menu {
        left: auto;
        right: 0;
        transform: translateY(0.65rem) scale(0.96);
        transform-origin: top right;
    }

    .nav-item.has-dropdown:last-of-type .dropdown-menu::after {
        left: auto;
        right: 1.75rem;
        margin-left: 0;
    }

    .nav-item.has-dropdown:last-of-type:hover .dropdown-menu,
    .nav-item.has-dropdown:last-of-type.is-open .dropdown-menu {
        transform: translateY(0) scale(1);
    }
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.55rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.nav-cta,
.topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 24px rgba(27, 79, 138, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover,
.topbar-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(27, 79, 138, 0.26);
}

.nav-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 1.2rem;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section,
.page-hero {
    position: relative;
    overflow: hidden;
}

.hero-section::before,
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 0% 0%, rgba(201, 162, 39, 0.14), transparent 50%),
        var(--gradient-brand);
    z-index: -2;
}

.hero-section::after,
.page-hero::after {
    content: '';
    position: absolute;
    right: -10rem;
    top: -8rem;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.13), transparent 62%);
    z-index: -1;
}

.page-hero {
    padding: clamp(4.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 6vw, 4.5rem);
}

.section {
    padding: var(--space-section) 0;
}

.section-alt {
    background:
        linear-gradient(180deg, rgba(232, 238, 248, 0.95) 0%, rgba(240, 244, 250, 0.6) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-dark {
    background:
        radial-gradient(ellipse 50% 80% at 100% 0%, rgba(201, 162, 39, 0.12), transparent 50%),
        var(--gradient-brand);
    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
    gap: 3rem;
    align-items: center;
    min-height: calc(100vh - 8.5rem);
    padding: 4.8rem 0 5.2rem;
}

.hero-copy,
.page-hero .container {
    color: #fff;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split-layout h2,
.cta-box h2,
.hero-card h2,
.principal-copy h2,
.testimonial-card p {
    margin: 0;
    line-height: 1.15;
    font-family: var(--font-heading);
}

.page-hero h1 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 22em;
}

.page-hero > .container {
    display: grid;
    gap: 0.85rem;
}

.page-hero > .container > p,
.page-hero .hero-lead {
    max-width: none;
}

.page-hero__inner--split {
    grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.62fr);
    gap: clamp(2rem, 4vw, 3.25rem);
    align-items: center;
}

.page-hero__inner--split h1 {
    max-width: 16em;
}

.page-hero__inner--split .hero-lead,
.page-hero__inner--split > .page-hero__copy > p {
    max-width: none;
}

.hero-facts {
    display: grid;
    gap: 0.9rem;
    padding: 1.45rem 1.55rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-fact {
    display: grid;
    gap: 0.2rem;
}

.hero-fact strong {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.hero-fact span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.76);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.section-heading h2,
.split-layout h2,
.content-header h2,
.prose-section h2 {
    color: var(--primary-deep);
    font-weight: 800;
}

.cta-box h2 {
    color: #fff;
}

.hero-copy h1 {
    font-size: clamp(2.1rem, 3.5vw, 2.8rem);
    max-width: 18.5ch;
    margin-top: 0.9rem;
}

.hero-copy p,
.page-hero p {
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.06rem;
    line-height: 1.75;
}

.hero-copy p {
    max-width: 60ch;
}

.page-hero > .container > p {
    max-width: none;
}

/* Slightly smaller hero copy to make space for the admissions carousel */
.hero-copy--compact h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    max-width: 17.5ch;
    margin-top: 0.75rem;
}

.hero-copy--compact p {
    margin-top: 1.05rem;
    font-size: 0.98rem;
}

.hero-copy--compact .hero-stats strong {
    font-size: 1.4rem;
}

.hero-copy--compact .hero-stats span {
    font-size: 0.88rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(22, 74, 124, 0.07);
    border: 1px solid rgba(22, 74, 124, 0.1);
}

.section-heading.centered .eyebrow {
    margin-bottom: 0.25rem;
}

.section-heading.centered h2::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 3px;
    margin: 1rem auto 0;
    border-radius: 999px;
    background: var(--gradient-gold);
}

.page-hero .eyebrow,
.hero-copy .eyebrow,
.cta-box .eyebrow,
.section-dark .eyebrow {
    color: var(--secondary-light);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-actions,
.cta-actions {
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.35rem;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-deep);
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(201, 162, 39, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-outline {
    background: var(--surface);
    color: var(--primary);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
    background: var(--surface-soft);
    color: var(--primary-deep);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-stats article {
    padding: 1.15rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.hero-stats strong {
    display: block;
    color: #fff;
    font-size: 1.55rem;
}

.hero-stats span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

/* Hero carousel (lightweight, no external dependencies) */
.hero-carousel {
    width: 100%;
}

.hero-carousel-slides {
    position: relative;
}

.hero-slide {
    display: none;
}

.hero-slide.is-active {
    display: block;
}

.hero-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.hero-carousel-btn {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(27, 79, 138, 0.06);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-carousel-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    background: rgba(27, 79, 138, 0.1);
}

.hero-carousel-btn:focus-visible {
    outline: 3px solid rgba(225, 177, 76, 0.55);
    outline-offset: 2px;
}

.hero-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex: 1;
}

.hero-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(27, 79, 138, 0.32);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.hero-carousel-dot:hover {
    transform: scale(1.12);
}

.hero-carousel-dot.is-active {
    background: var(--primary);
    border-color: var(--primary);
}

.hero-carousel-dot:focus-visible {
    outline: 3px solid rgba(225, 177, 76, 0.55);
    outline-offset: 2px;
}

.hero-card,
.feature-card,
.campus-card,
.news-card,
.info-card,
.course-detail,
.step-card,
.contact-card,
.enquiry-shell,
.table-wrap,
.principal-shell,
.testimonial-card,
.cta-box,
.metrics-band,
.program-item {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-card {
    width: min(100%, 25rem);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.card-label,
.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.82rem;
    border-radius: 999px;
    background: rgba(22, 74, 124, 0.07);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(22, 74, 124, 0.1);
}

.hero-card p,
.section-heading p,
.split-layout p,
.content-stack p,
.feature-card p,
.program-info p,
.info-card p,
.contact-card p,
.news-content p,
.principal-copy p,
.principal-quote p,
.course-detail p,
.prose-section .content-stack p {
    color: var(--body);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.check-list li {
    position: relative;
    padding-left: 1.85rem;
    margin-top: 0.75rem;
}

.check-list li::before {
    content: '\f058';
    position: absolute;
    left: 0;
    top: 0.08rem;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
}

.check-list.dark li::before {
    color: var(--accent);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: var(--primary);
    font-weight: 800;
}

.metrics-section {
    padding-top: 0;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.metrics-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand);
    padding: 3px;
    box-shadow: 0 24px 56px rgba(10, 37, 64, 0.18);
}

.metrics-band article {
    padding: 1.85rem 1.6rem;
    background: rgba(255, 255, 255, 0.97);
    position: relative;
    transition: background 0.3s ease, transform 0.3s ease;
}

.metrics-band article:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}

.metrics-band article:hover {
    background: #fff;
}

.metrics-band article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.6rem;
    right: 1.6rem;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metrics-band article:hover::before {
    opacity: 1;
}

.metric-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
}

.metrics-band strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.1;
    color: var(--primary-deep);
}

.metrics-band p {
    margin: 0.6rem 0 0;
    color: var(--body);
}

.section-heading {
    max-width: 44rem;
    margin-bottom: var(--space-heading);
}

.section-heading p {
    margin-top: 0.9rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--body);
}

.section-heading h2,
.split-layout h2,
.cta-box h2,
.page-hero h1,
.principal-copy h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.4rem);
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-heading p,
.section-dark .news-content p,
.section-dark .news-content h3 {
    color: #fff;
}

.section-dark .section-heading h2,
.section-dark .eyebrow {
    color: #fff;
}

.feature-grid,
.campus-grid,
.news-grid,
.info-grid,
.steps-grid,
.contact-grid {
    display: grid;
    gap: 1.35rem;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.campus-card,
.news-card,
.info-card,
.step-card,
.contact-card {
    padding: 2rem 1.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.feature-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(10, 37, 64, 0.14);
    border-color: var(--border-strong);
}

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

.feature-card::before {
    content: '';
    position: absolute;
    inset: auto -20% -50% auto;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 74, 124, 0.08), transparent 65%);
    pointer-events: none;
}

.feature-icon,
.feature-icon-wrapper,
.contact-card i {
    width: 3.35rem;
    height: 3.35rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.18rem;
    background: var(--gradient-brand);
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.2);
    flex-shrink: 0;
    position: relative;
}

.feature-icon-wrapper::after,
.feature-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
    pointer-events: none;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    gap: 3rem;
    align-items: start;
}

.split-layout--stacked {
    grid-template-columns: 1fr;
    gap: 1.35rem;
}

.split-layout--stacked > div:first-child h2 {
    max-width: 28em;
}

.split-layout--stacked .content-stack,
.split-layout--stacked > div > p {
    max-width: none;
}

.prose-section {
    width: 100%;
}

.prose-section .section-heading {
    max-width: none;
    margin-bottom: 1.35rem;
}

.prose-section .section-heading h2 {
    max-width: 28em;
}

.prose-section .content-stack {
    max-width: none;
}

.sticky-content {
    position: sticky;
    top: 7rem;
}

.rounded-img {
    width: 100%;
    border-radius: 28px;
}

.shadow-lg {
    box-shadow: var(--shadow);
}


.content-stack,
.courses-stack {
    display: grid;
    gap: 1.15rem;
}

.split-layout .content-stack p,
.split-layout > div > p {
    color: var(--body);
    line-height: 1.75;
}
.program-list {
    gap: 1rem;
    display: grid;
    padding-top: 0;
    align-self: start;
}
.program-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.program-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-card-link:hover .program-item::before {
    transform: scaleY(1);
}

.program-img-sm {
    height: auto;
    min-height: 0;
    width: 96px;
}

.program-img-sm img {
    width: 100%;
    height: 96px;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
}

.program-dept {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--primary);
}

.program-info h3,
.news-content h3,
.info-card h3,
.course-detail h3,
.contact-card h2,
.feature-card h3 {
    margin: 0 0 0.55rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-deep);
}

.feature-card h3 {
    color: var(--primary-deep);
    font-size: 1.2rem;
}

.news-content h3 {
    color: var(--primary-deep);
    font-size: 1.08rem;
}

.contact-card h2 {
    font-size: 1.25rem;
    color: var(--primary-deep);
}

.principal-section {
    background:
        radial-gradient(ellipse 50% 60% at 0% 50%, rgba(201, 162, 39, 0.06), transparent 50%),
        linear-gradient(180deg, #fff 0%, rgba(232, 238, 248, 0.5) 100%);
}

.principal-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 246, 0.96));
    border: 1px solid rgba(27, 79, 138, 0.12);
}

.principal-note {
    display: grid;
    gap: 1rem;
    align-content: center;
}

.principal-portrait,
.principal-quote,
.principal-signoff {
    padding: 1.4rem;
    border-radius: 24px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.principal-portrait {
    padding: 0.8rem;
    background: linear-gradient(135deg, rgba(27, 79, 138, 0.08), rgba(225, 177, 76, 0.14));
}

.principal-portrait img {
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
}

.principal-shell--portrait {
    grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1.25fr);
    align-items: start;
}

.principal-shell--portrait .principal-portrait img {
    aspect-ratio: 3 / 4;
    max-height: 520px;
}

.principal-quote i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.principal-quote p {
    margin: 0.8rem 0 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--text);
}

.principal-signoff strong,
.author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--heading);
}

.principal-signoff span,
.author span {
    color: var(--muted);
}

.testimonial-section {
    padding-top: 1rem;
}

.testimonial-card {
    padding: 2.2rem;
    background: linear-gradient(135deg, #fffaf0, #ffffff);
    border: 1px solid rgba(225, 177, 76, 0.22);
}

.testimonial-card > i {
    font-size: 1.6rem;
    color: var(--secondary);
}

.testimonial-card p {
    margin: 0.8rem 0 1rem;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    color: var(--text);
}

.campus-grid,
.info-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.mission-vision-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 2.1rem 2rem 2.15rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 100% 0%, rgba(22, 74, 124, 0.06), transparent 42%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 252, 0.94));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
}

.mission-vision-card--vision {
    background:
        radial-gradient(circle at 0% 0%, rgba(201, 162, 39, 0.08), transparent 40%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 238, 0.94));
}

.mission-vision-card--vision::before {
    background: var(--gradient-gold);
}

.mission-vision-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.15rem;
    border-radius: 14px;
    color: #fff;
    font-size: 1.15rem;
    background: var(--gradient-brand);
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.18);
}

.mission-vision-icon--vision {
    background: var(--gradient-gold);
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.22);
}

.mission-vision-card h3 {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-deep);
}

.mission-vision-card p {
    margin: 0;
    color: var(--body);
    line-height: 1.7;
}

.mission-vision-list {
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(27, 79, 138, 0.1);
}

.mission-vision-card--vision .mission-vision-list {
    border-top-color: rgba(201, 162, 39, 0.18);
}

.mission-vision-list li {
    margin-top: 0.65rem;
    line-height: 1.55;
}

/* Departments page */
.metrics-band--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.dept-card {
    --dept-accent: var(--primary);
    --dept-accent-soft: rgba(22, 74, 124, 0.08);
    --dept-accent-glow: rgba(22, 74, 124, 0.14);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 2rem 1.9rem 1.75rem;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0%, var(--dept-accent-soft), transparent 46%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 253, 0.96));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition:
        transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.38s ease,
        border-color 0.38s ease;
}

.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dept-accent), color-mix(in srgb, var(--dept-accent) 55%, white));
    opacity: 0.92;
}

.dept-card::after {
    content: '';
    position: absolute;
    inset: auto -18% -42% auto;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: radial-gradient(circle, var(--dept-accent-glow), transparent 68%);
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.dept-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(10, 37, 64, 0.13);
    border-color: color-mix(in srgb, var(--dept-accent) 22%, transparent);
}

.dept-card:hover::after {
    transform: scale(1.08);
}

.dept-card--nursing {
    --dept-accent: #b91c3c;
    --dept-accent-soft: rgba(185, 28, 60, 0.08);
    --dept-accent-glow: rgba(185, 28, 60, 0.12);
}

.dept-card--iti {
    --dept-accent: #c9a227;
    --dept-accent-soft: rgba(201, 162, 39, 0.1);
    --dept-accent-glow: rgba(201, 162, 39, 0.14);
}

.dept-card--ett {
    --dept-accent: #0d7a6f;
    --dept-accent-soft: rgba(13, 122, 111, 0.08);
    --dept-accent-glow: rgba(13, 122, 111, 0.12);
}

.dept-card--pharmacy {
    --dept-accent: #5b3ea8;
    --dept-accent-soft: rgba(91, 62, 168, 0.08);
    --dept-accent-glow: rgba(91, 62, 168, 0.12);
}

.dept-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.dept-card__index {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: color-mix(in srgb, var(--dept-accent) 18%, var(--surface-alt));
    letter-spacing: -0.04em;
}

.dept-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    font-size: 1.15rem;
    background: linear-gradient(145deg, var(--dept-accent), color-mix(in srgb, var(--dept-accent) 72%, #000));
    box-shadow: 0 14px 28px var(--dept-accent-glow);
    flex-shrink: 0;
}

.dept-card h3 {
    margin: 0.75rem 0 0.35rem;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    color: var(--primary-deep);
}

.dept-card__institute {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dept-accent);
}

.dept-card__desc {
    margin: 0.95rem 0 0;
    color: var(--body);
    line-height: 1.7;
}

.dept-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    padding: 0;
    margin: 1.15rem 0 0;
}

.dept-card__tags li {
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--body);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid color-mix(in srgb, var(--dept-accent) 14%, var(--border));
}

.dept-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 1.35rem;
    color: var(--dept-accent);
    font-weight: 800;
    font-size: 0.92rem;
    transition: gap 0.22s ease, color 0.22s ease;
}

.dept-card__link i {
    font-size: 0.78rem;
    transition: transform 0.22s ease;
}

.dept-card__link:hover {
    color: var(--primary-deep);
    gap: 0.75rem;
}

.dept-card__link:hover i {
    transform: translateX(3px);
}

.dept-support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Admissions page */
.admit-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand);
    padding: 3px;
    box-shadow: 0 24px 56px rgba(10, 37, 64, 0.16);
}

.admit-step {
    --step-accent: var(--primary);
    --step-soft: rgba(22, 74, 124, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.65rem 1.45rem 1.55rem;
    background: rgba(255, 255, 255, 0.98);
    transition: background 0.3s ease, transform 0.3s ease;
}

.admit-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}

.admit-step:hover {
    background: #fff;
    transform: translateY(-2px);
    z-index: 1;
}

.admit-step--1 { --step-accent: #164a7c; --step-soft: rgba(22, 74, 124, 0.1); }
.admit-step--2 { --step-accent: #c9a227; --step-soft: rgba(201, 162, 39, 0.12); }
.admit-step--3 { --step-accent: #0d7a6f; --step-soft: rgba(13, 122, 111, 0.1); }
.admit-step--4 { --step-accent: #b91c3c; --step-soft: rgba(185, 28, 60, 0.1); }

.admit-step__num {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    color: color-mix(in srgb, var(--step-accent) 22%, var(--surface-alt));
    letter-spacing: -0.03em;
}

.admit-step__icon {
    width: 2.85rem;
    height: 2.85rem;
    display: grid;
    place-items: center;
    margin: 0.85rem 0 0.95rem;
    border-radius: 14px;
    color: #fff;
    font-size: 1.05rem;
    background: linear-gradient(145deg, var(--step-accent), color-mix(in srgb, var(--step-accent) 70%, #000));
    box-shadow: 0 10px 22px color-mix(in srgb, var(--step-accent) 28%, transparent);
}

.admit-step h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    color: var(--primary-deep);
}

.admit-step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--body);
}

.admit-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 1.35rem;
    align-items: start;
}

.admit-panel {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.admit-panel--primary::before {
    content: '';
    display: block;
    height: 4px;
    background: var(--gradient-brand);
}

.admit-panel__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.65rem 1.75rem 0;
}

.admit-panel__icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-size: 1.1rem;
    background: var(--gradient-brand);
    box-shadow: 0 12px 24px rgba(10, 37, 64, 0.18);
    flex-shrink: 0;
}

.admit-panel__head h3 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--primary-deep);
}

.admit-panel__body {
    padding: 1.15rem 1.75rem 1.75rem;
}

.admit-panel__body p {
    margin: 0 0 0.9rem;
    line-height: 1.75;
    color: var(--body);
}

.admit-panel__body p:last-child {
    margin-bottom: 0;
}

.admit-highlights {
    display: grid;
    gap: 1rem;
}

.admit-highlight {
    padding: 1.45rem 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 100% 0%, var(--highlight-soft), transparent 50%),
        linear-gradient(165deg, #fff, rgba(248, 250, 253, 0.96));
    box-shadow: var(--shadow-soft);
}

.admit-highlight--docs {
    --highlight-accent: #0d7a6f;
    --highlight-soft: rgba(13, 122, 111, 0.1);
}

.admit-highlight--certs {
    --highlight-accent: #c9a227;
    --highlight-soft: rgba(201, 162, 39, 0.12);
}

.admit-highlight__icon {
    width: 2.65rem;
    height: 2.65rem;
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    background: linear-gradient(145deg, var(--highlight-accent), color-mix(in srgb, var(--highlight-accent) 72%, #000));
    box-shadow: 0 10px 20px color-mix(in srgb, var(--highlight-accent) 24%, transparent);
}

.admit-highlight h4 {
    margin: 0 0 0.55rem;
    font-size: 1.02rem;
    color: var(--primary-deep);
}

.admit-highlight p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--body);
}

.admit-selection {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.55fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(1.75rem, 3vw, 2.35rem);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(201, 162, 39, 0.12), transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(240, 246, 252, 0.94));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.admit-selection__copy h2 {
    margin: 0.55rem 0 0.85rem;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    color: var(--primary-deep);
}

.admit-selection__copy p {
    margin: 0 0 0.85rem;
    line-height: 1.75;
    color: var(--body);
}

.admit-selection__copy p:last-child {
    margin-bottom: 0;
}

.admit-selection__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.2);
}

.admit-selection__badge i {
    font-size: 2rem;
    margin-bottom: 0.35rem;
    color: var(--secondary-light);
}

.admit-selection__badge strong {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.2;
}

.admit-selection__badge span {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
}

.admit-doc-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.15rem;
}

.admit-doc-card {
    --doc-accent: var(--primary);
    --doc-soft: rgba(22, 74, 124, 0.08);
    grid-column: span 2;
    padding: 1.55rem 1.4rem;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0%, var(--doc-soft), transparent 48%),
        linear-gradient(165deg, #fff, rgba(248, 250, 253, 0.96));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease;
}

.admit-doc-card:nth-child(1) { --doc-accent: #164a7c; --doc-soft: rgba(22, 74, 124, 0.09); }
.admit-doc-card:nth-child(2) { --doc-accent: #0d7a6f; --doc-soft: rgba(13, 122, 111, 0.09); }
.admit-doc-card:nth-child(3) { --doc-accent: #b91c3c; --doc-soft: rgba(185, 28, 60, 0.09); }
.admit-doc-card:nth-child(4) { --doc-accent: #c9a227; --doc-soft: rgba(201, 162, 39, 0.11); }
.admit-doc-card:nth-child(5) { --doc-accent: #5b3ea8; --doc-soft: rgba(91, 62, 168, 0.09); }

.admit-doc-card--wide {
    grid-column: span 6;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1.15rem;
    align-items: start;
}

.admit-doc-card--wide .admit-doc-card__icon {
    grid-row: span 2;
    margin-bottom: 0;
}

.admit-doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.1);
}

.admit-doc-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    margin-bottom: 0.9rem;
    border-radius: 13px;
    color: #fff;
    font-size: 1rem;
    background: linear-gradient(145deg, var(--doc-accent), color-mix(in srgb, var(--doc-accent) 72%, #000));
    box-shadow: 0 10px 20px color-mix(in srgb, var(--doc-accent) 22%, transparent);
}

.admit-doc-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    color: var(--primary-deep);
}

.admit-doc-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--body);
}

.admit-eligibility-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admit-rule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.admit-rule-card {
    --rule-accent: var(--primary);
    --rule-soft: rgba(22, 74, 124, 0.08);
    padding: 1.55rem 1.4rem;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0%, var(--rule-soft), transparent 48%),
        linear-gradient(165deg, #fff, rgba(248, 250, 253, 0.96));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admit-rule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(10, 37, 64, 0.09);
}

.admit-rule-card--leave { --rule-accent: #164a7c; --rule-soft: rgba(22, 74, 124, 0.09); }
.admit-rule-card--medical { --rule-accent: #0d7a6f; --rule-soft: rgba(13, 122, 111, 0.09); }
.admit-rule-card--exam { --rule-accent: #c9a227; --rule-soft: rgba(201, 162, 39, 0.11); }
.admit-rule-card--migration { --rule-accent: #5b3ea8; --rule-soft: rgba(91, 62, 168, 0.09); }

.admit-rule-card__icon {
    width: 2.65rem;
    height: 2.65rem;
    display: grid;
    place-items: center;
    margin-bottom: 0.9rem;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    background: linear-gradient(145deg, var(--rule-accent), color-mix(in srgb, var(--rule-accent) 72%, #000));
    box-shadow: 0 10px 20px color-mix(in srgb, var(--rule-accent) 22%, transparent);
}

.admit-rule-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    color: var(--primary-deep);
}

.admit-rule-card p {
    margin: 0 0 0.65rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--body);
}

.admit-rule-card p:last-child {
    margin-bottom: 0;
}

.admit-discipline {
    padding: clamp(1.75rem, 3vw, 2.25rem);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 80% 60% at 0% 0%, rgba(185, 28, 60, 0.08), transparent 55%),
        linear-gradient(165deg, #fff, rgba(255, 248, 249, 0.96));
    border: 1px solid rgba(185, 28, 60, 0.12);
    box-shadow: var(--shadow-soft);
}

.admit-discipline__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.admit-discipline__icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-size: 1.15rem;
    background: linear-gradient(145deg, #b91c3c, #8f152f);
    box-shadow: 0 12px 24px rgba(185, 28, 60, 0.22);
    flex-shrink: 0;
}

.admit-discipline__header h2 {
    margin: 0.45rem 0 0;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    color: var(--primary-deep);
}

.admit-discipline__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1.25rem;
}

.admit-discipline__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(185, 28, 60, 0.08);
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--body);
}

.admit-discipline__list li i {
    color: #b91c3c;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.admit-discipline__note {
    margin: 1.25rem 0 0;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: rgba(185, 28, 60, 0.06);
    border-left: 4px solid #b91c3c;
    font-weight: 600;
    color: var(--primary-deep);
    line-height: 1.65;
}

.admit-enquiry-wrap {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 2rem;
    align-items: start;
}

.admit-enquiry-intro h2 {
    margin: 0.55rem 0 0.85rem;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    color: var(--primary-deep);
}

.admit-enquiry-intro p {
    margin: 0;
    line-height: 1.75;
    color: var(--body);
}

.admit-enquiry-contacts {
    list-style: none;
    padding: 0;
    margin: 1.35rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.admit-enquiry-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--body);
    line-height: 1.5;
}

.admit-enquiry-contacts i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.admit-enquiry-form {
    background:
        radial-gradient(circle at 100% 0%, rgba(22, 74, 124, 0.05), transparent 45%),
        var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.news-grid,
.contact-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.campus-card {
    min-height: 14rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.campus-card p {
    color: rgba(255, 255, 255, 0.8);
}

.accent-one {
    background: linear-gradient(160deg, var(--primary), var(--primary-deep));
}

.accent-two {
    background: linear-gradient(160deg, #d96b43, #8e4126);
}

.accent-three {
    background: linear-gradient(160deg, #b08a2c, #665015);
}

.news-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.news-img {
    padding: 0.5rem 0.5rem 0;
    max-height: 170px;
}

.news-img img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.news-content {
    padding: 1.35rem 1.35rem 1.5rem;
}

.news-date {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cta-section {
    padding-top: 6rem;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 2.75rem);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(201, 162, 39, 0.16), transparent 50%),
        var(--gradient-brand);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.04) 100%);
    pointer-events: none;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.88);
}

.course-detail,
.enquiry-shell,
.table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
}

.course-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 1.5rem;
    padding: 1.7rem;
}

.course-meta {
    padding: 1.2rem;
    border-radius: 18px;
    background: var(--surface-alt);
}

.table-wrap {
    overflow-x: auto;
}

.fees-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.fees-table th,
.fees-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.fees-table td {
    color: var(--body);
    line-height: 1.6;
}

.fees-table th {
    background: var(--gradient-brand);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}

.fees-table tr:nth-child(even) td {
    background: rgba(232, 240, 250, 0.5);
}

.enquiry-shell {
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.enquiry-form label {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.enquiry-form span {
    font-size: 0.95rem;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fcfdfc;
    color: var(--text);
    font: inherit;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 74, 124, 0.12);
}

.form-feedback {
    margin: 1rem 0 0;
    min-height: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
}

.contact-card {
    text-align: center;
}

.contact-card i {
    margin-left: auto;
    margin-right: auto;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(201, 162, 39, 0.08), transparent 50%),
        linear-gradient(180deg, var(--primary-deep) 0%, #061a2e 100%);
    color: rgba(255, 255, 255, 0.88);
    padding-top: 4.5rem;
    border-top: 3px solid var(--secondary);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5), transparent);
}

.site-footer p,
.site-footer li {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.site-footer a {
    transition: color 0.2s ease;
}

.site-footer .footer-grid > div:not(.footer-brand) a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}

.site-footer .footer-grid > div:not(.footer-brand) a:hover {
    color: var(--secondary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 0.8fr 0.8fr minmax(250px, 1.2fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-brand {
    max-width: 26rem;
}

.footer-pill {
    margin-bottom: 1rem;
    background: rgba(201, 162, 39, 0.15);
    color: var(--secondary-light);
    border: 1px solid rgba(201, 162, 39, 0.25);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
}

.site-footer h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.3;
}

.site-footer h4 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    color: var(--secondary-light);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-top: 0.7rem;
}

.socials a {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.socials a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary-deep);
    transform: translateY(-3px);
}

.contact-list i {
    width: 1.1rem;
    color: var(--secondary-light);
    margin-right: 0;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 1.5rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-inner p {
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.footer-credit a {
    color: var(--secondary-light);
    font-weight: 700;
}

.footer-credit a:hover {
    color: #fff;
}

.socials {
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1101px) and (max-width: 1280px) {
    .split-layout:has(.program-list) {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .split-layout:has(.program-list) .sticky-content {
        position: static;
    }
}

@media (max-width: 1100px) and (min-width: 761px) {
    .contact-grid > :last-child:nth-child(3) {
        grid-column: 1 / -1;
        max-width: min(100%, 28rem);
        margin-inline: auto;
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1380px) {
    .site-nav {
        gap: 0.3rem;
        row-gap: 0.4rem;
    }

    .navbar-wrap .site-nav > a,
    .navbar-wrap .dropdown-toggle {
        font-size: 0.7rem;
        padding: 0.52rem 0.55rem;
        letter-spacing: 0.03em;
    }

    .navbar-wrap .nav-cta {
        padding: 0.55rem 1rem;
        font-size: 0.76rem;
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .split-layout,
    .page-hero__inner--split,
    .course-detail,
    .principal-shell,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        gap: 0.65rem;
    }

    .navbar-wrap .site-nav > a,
    .navbar-wrap .dropdown-toggle {
        font-size: 0.95rem;
        letter-spacing: 0.04em;
        padding: 0.55rem 0.75rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .campus-grid,
    .news-grid,
    .info-grid,
    .contact-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-grid--duo,
    .mission-vision-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metrics-band--quad {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dept-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admit-steps,
    .admit-rule-grid,
    .admit-eligibility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admit-step:not(:last-child)::after {
        display: none;
    }

    .admit-panels,
    .admit-enquiry-wrap,
    .admit-selection {
        grid-template-columns: 1fr;
    }

    .admit-doc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admit-doc-card,
    .admit-doc-card--wide {
        grid-column: span 1;
    }

    .admit-doc-card--wide {
        grid-template-columns: 1fr;
    }

    .admit-discipline__list {
        grid-template-columns: 1fr;
    }

    .sticky-content {
        position: static;
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .cta-box,
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 991px) {
    .navbar-wrap .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .navbar-wrap .navbar {
        position: relative;
        min-height: 3rem;
        padding: 0.25rem 0;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.55rem);
        left: 0;
        right: 0;
        display: grid;
        gap: 0.8rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        justify-content: stretch;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav a::after {
        display: none;
    }

    .navbar-wrap .site-nav > a,
    .navbar-wrap .dropdown-toggle {
        color: var(--muted);
        font-size: 0.95rem;
        white-space: normal;
    }

    .navbar-wrap .site-nav > a:hover,
    .navbar-wrap .site-nav > a.active,
    .navbar-wrap .dropdown-toggle:hover,
    .navbar-wrap .dropdown-toggle.active {
        color: var(--text);
    }

    .navbar-wrap .site-nav > a::after,
    .navbar-wrap .dropdown-toggle::after {
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
    }

    .navbar-wrap .dropdown-menu a {
        color: var(--body);
    }

    .navbar-wrap .dropdown-menu a:hover {
        color: var(--primary);
    }

    .nav-item {
        display: block;
        position: static;
        width: 100%;
    }

    .nav-item.has-dropdown {
        display: block;
        position: static;
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.5rem 0;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .navbar-wrap .site-nav .nav-item.has-dropdown .dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0.35rem 0 0.5rem;
        border: 0;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
        transform-origin: top center !important;
        transition: none !important;
        display: none;
        overflow: visible;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: auto;
    }

    .navbar-wrap .site-nav .nav-item.has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .navbar-wrap .site-nav .nav-item.has-dropdown.is-open .dropdown-menu {
        display: grid !important;
        transform: none !important;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(22, 74, 124, 0.1);
    }

    .navbar-wrap .site-nav .nav-item.has-dropdown.is-open .dropdown-menu a {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }

    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none;
    }

    .dropdown-eyebrow {
        padding: 0.65rem 0.85rem;
        font-size: 0.65rem;
        border-radius: 12px 12px 0 0;
    }

    .dropdown-eyebrow::before,
    .dropdown-eyebrow::after {
        display: none;
    }

    .dropdown-menu a {
        margin: 0;
        padding: 0.72rem 0.9rem;
        background: rgba(232, 240, 250, 0.55);
        border: 0;
        border-bottom: 1px solid rgba(22, 74, 124, 0.06);
        border-radius: 0;
    }

    .dropdown-menu a:first-of-type {
        margin-top: 0;
    }

    .dropdown-menu a:last-of-type {
        margin-bottom: 0;
        border-bottom: 0;
    }

    .dropdown-item-icon {
        width: 1.9rem;
        height: 1.9rem;
        font-size: 0.78rem;
    }

    .dropdown-menu a::after {
        display: none;
    }

    .dropdown-menu a:hover {
        transform: none;
        box-shadow: none;
    }

    .dropdown-menu a:hover .dropdown-item-icon {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 760px) {
    .metrics-band article:not(:last-child)::after {
        right: 1.6rem;
        left: 1.6rem;
        top: auto;
        bottom: 0;
        width: auto;
        height: 1px;
    }

    .metrics-band {
        padding: 2px;
    }

    .topbar {
        display: none;
    }

    .college-header-inner {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.75rem 0.9rem;
        padding: 0.55rem 0;
        min-height: 0;
        justify-content: stretch;
    }

    .college-header-logo {
        position: static;
        transform: none;
        width: 3.75rem;
        height: 3.75rem;
        border-width: 2px;
    }

    .college-header-logo:hover {
        transform: scale(1.03);
    }

    .college-header-text {
        text-align: left;
        width: 100%;
        max-width: none;
    }

    .college-header .college-name {
        font-size: clamp(0.82rem, 3.4vw, 1.15rem);
        letter-spacing: 0.02em;
        white-space: normal;
    }

    .college-header .college-tagline {
        font-size: clamp(0.62rem, 2.6vw, 0.76rem);
        margin-top: 0.35rem;
        margin-inline: 0;
    }

    .hero-grid {
        min-height: auto;
        padding: 3.8rem 0 4.4rem;
    }

    .hero-copy h1,
    .page-hero h1,
    .section-heading h2,
    .split-layout h2,
    .cta-box h2,
    .principal-copy h2 {
        font-size: 1.65rem;
    }

    .hero-stats,
    .feature-grid,
    .campus-grid,
    .news-grid,
    .info-grid,
    .contact-grid,
    .steps-grid,
    .metrics-band,
    .metrics-band--quad,
    .dept-grid,
    .dept-support-grid,
    .admit-steps,
    .admit-rule-grid,
    .admit-eligibility-grid,
    .admit-doc-grid,
    .form-grid,
    .program-item {
        grid-template-columns: 1fr;
    }

    .admit-step:not(:last-child)::after {
        right: 1.45rem;
        left: 1.45rem;
        top: auto;
        bottom: 0;
        width: auto;
        height: 1px;
    }

    .admit-panels,
    .admit-enquiry-wrap,
    .admit-selection {
        grid-template-columns: 1fr;
    }

    .admit-doc-card,
    .admit-doc-card--wide {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .admit-discipline__list {
        grid-template-columns: 1fr;
    }

    .info-grid--duo,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .page-hero {
        padding: 4.4rem 0;
    }

    .metrics-section {
        margin-top: -1.5rem;
    }

    .hero-card,
    .feature-card,
    .campus-card,
    .news-card,
    .info-card,
    .dept-card,
    .admit-panel,
    .admit-highlight,
    .admit-selection,
    .admit-doc-card,
    .admit-rule-card,
    .admit-discipline,
    .admit-enquiry-form,
    .course-detail,
    .step-card,
    .contact-card,
    .enquiry-shell,
    .principal-shell,
    .testimonial-card,
    .cta-box,
    .metrics-band,
    .program-item {
        border-radius: 24px;
    }

    .program-img-sm img,
    .news-img img {
        max-height: 130px;
    }

    .news-img {
        max-height: 145px;
    }

    .img-frame--landscape {
        max-height: 180px;
    }
}
/* Removes default link styling */
.program-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 0;
}

/* Styling the Learn More link */
.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    transition: gap 0.3s ease;
}

/* Hover effect: Arrow moves slightly to the right */
.program-card-link:hover .learn-more {
    gap: 12px;
    text-decoration: underline;
}

/* Hero carousel — full image visible, no cropping */
.hero-carousel-bootstrap {
    position: relative;
    background: linear-gradient(180deg, #0a2540 0%, #164a7c 100%);
    border-bottom: none;
}

.hero-carousel-bootstrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(180deg, transparent, rgba(10, 37, 64, 0.35));
    pointer-events: none;
    z-index: 1;
}

.hero-carousel-bootstrap .carousel-indicators {
    z-index: 2;
    margin-bottom: 1.25rem;
}

.hero-carousel-bootstrap .carousel-inner {
    background: transparent;
}

.hero-carousel-bootstrap .carousel-item {
    min-height: 0;
    background: transparent;
}

.carousel-img-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #0d2f52 0%, #164a7c 100%);
}

.carousel-photo {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-photo.is-loaded,
.carousel-photo[complete] {
    opacity: 1;
}

.hero-carousel-bootstrap .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    opacity: 1;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-carousel-bootstrap .carousel-indicators .active {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(232, 197, 71, 0.5);
}

.hero-carousel-bootstrap .carousel-control-prev,
.hero-carousel-bootstrap .carousel-control-next {
    width: 8%;
    opacity: 0.85;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(10, 37, 64, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    padding: 1.35rem;
    background-size: 45%;
    backdrop-filter: blur(8px);
    transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-carousel-bootstrap .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel-bootstrap .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.08);
}


.lab-intro-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.lab-intro-strip article {
    padding: 1.25rem 1.3rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 245, 241, 0.96));
}

.lab-strip-label {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lab-intro-strip strong {
    display: block;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.35;
}

.lab-stack {
    display: grid;
    gap: 1.25rem;
}

.lab-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    gap: 1.75rem;
    align-items: center;
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.lab-card--reverse .lab-visual {
    order: 2;
}

.lab-card--reverse .lab-copy {
    order: 1;
}

.lab-visual {
    min-height: 240px;
}

.lab-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px dashed rgba(27, 79, 138, 0.28);
    background:
        radial-gradient(circle at top right, rgba(225, 177, 76, 0.22), transparent 30%),
        linear-gradient(135deg, rgba(27, 79, 138, 0.08), rgba(232, 240, 250, 0.95));
}

.lab-image-placeholder span {
    display: inline-flex;
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lab-image-placeholder small {
    margin-top: 0.75rem;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.lab-copy {
    grid-column: 1;
    display: grid;
    align-content: start;
    gap: 0.8rem;
    padding-right: 0.5rem;
}

.lab-copy h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    line-height: 1.12;
}

.lab-points {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.lab-points li + li {
    margin-top: 0.55rem;
}

@media (max-width: 768px) {
    .lab-intro-strip {
        grid-template-columns: 1fr;
    }

    .lab-visual,
    .lab-image-placeholder {
        min-height: 200px;
    }

    .lab-carousel-frame {
        min-height: 240px;
    }
}

.lab-carousel-slides {
    position: relative;
}

.lab-carousel-slide {
    display: none;
}

.lab-carousel-slide.is-active {
    display: block;
}

.lab-carousel-frame {
    min-height: 320px;
    height: 100%;
    padding: 1.2rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(135deg, rgba(18, 69, 55, 0.92), rgba(10, 41, 34, 0.96));
}

.lab-carousel-frame::before {
    content: '';
    position: absolute;
    inset: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.lab-carousel-frame span {
    display: inline-flex;
    width: fit-content;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lab-carousel-frame strong {
    margin-top: 0.7rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.15;
}

.lab-carousel-frame small {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.lab-carousel-frame--two,
.lab-carousel-frame--five,
.lab-carousel-frame--eight,
.lab-carousel-frame--twelve,
.lab-carousel-frame--fifteen {
    background:
        radial-gradient(circle at top right, rgba(225, 177, 76, 0.28), transparent 32%),
        linear-gradient(135deg, rgba(26, 90, 73, 0.94), rgba(14, 52, 43, 0.96));
}

.lab-carousel-frame--three,
.lab-carousel-frame--six,
.lab-carousel-frame--nine,
.lab-carousel-frame--thirteen,
.lab-carousel-frame--sixteen {
    background:
        radial-gradient(circle at top right, rgba(237, 137, 80, 0.24), transparent 32%),
        linear-gradient(135deg, rgba(17, 64, 68, 0.94), rgba(10, 34, 40, 0.96));
}

.lab-carousel-frame--four,
.lab-carousel-frame--seven,
.lab-carousel-frame--ten,
.lab-carousel-frame--eleven,
.lab-carousel-frame--fourteen {
    background:
        radial-gradient(circle at top right, rgba(114, 182, 159, 0.28), transparent 32%),
        linear-gradient(135deg, rgba(24, 77, 63, 0.95), rgba(14, 46, 36, 0.97));
}

.lab-carousel-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lab-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    flex: 1;
}

.lab-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(27, 79, 138, 0.32);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.lab-carousel-dot.is-active {
    background: var(--primary);
    border-color: var(--primary);
}

.lab-carousel-dot:hover {
    transform: scale(1.12);
}

.lab-carousel-btn {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(27, 79, 138, 0.06);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lab-carousel-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    background: rgba(27, 79, 138, 0.1);
}

.lab-carousel-btn:focus-visible {
    outline: 3px solid rgba(225, 177, 76, 0.55);
    outline-offset: 2px;
}

.lab-carousel-wrap {
    grid-column: 2;
    justify-self: end;
    width: 100%;
    max-width: 400px;
    display: grid;
    gap: 0.65rem;
}

.lab-carousel-wrap--multi {
    gap: 0.75rem;
}

.lab-carousel {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(27, 79, 138, 0.14);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(135deg, #f0f5f2, #e8f0ea);
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 220px;
}

.lab-carousel .carousel-item {
    min-height: 220px;
}

.lab-carousel .carousel-inner {
    border-radius: 16px;
    height: 100%;
}

.lab-carousel-img-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(27, 79, 138, 0.06), rgba(232, 240, 250, 0.9));
}

.lab-carousel-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 12px;
}

.lab-carousel-arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.lab-carousel-arrow {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.lab-carousel-arrow:hover {
    background: var(--primary-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 79, 138, 0.28);
}

.lab-carousel-arrow:focus-visible {
    outline: 3px solid rgba(225, 177, 76, 0.55);
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .lab-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        align-items: stretch;
        padding: 1.15rem;
    }

    .lab-copy {
        grid-column: 1;
        grid-row: 1;
        padding-right: 0;
    }

    .lab-carousel-wrap {
        grid-column: 1;
        grid-row: 2;
        max-width: none;
        justify-self: stretch;
    }

    .lab-carousel {
        max-width: none;
        width: 100%;
    }

    .lab-carousel,
    .lab-carousel .carousel-item,
    .lab-carousel-image {
        max-width: none;
        width: 100%;
    }

    .lab-carousel-img-frame {
        min-height: 200px;
    }

    .lab-carousel-image {
        max-height: 185px;
    }

    .lab-card--reverse .lab-visual,
    .lab-card--reverse .lab-copy {
        order: unset;
    }
}

@media (max-width: 768px) {
    .lab-carousel-img-frame {
        min-height: 170px;
    }

    .lab-carousel-image {
        max-height: 155px;
    }
}

.gallery-hero {
    min-height: 0;
}

.gallery-hero .container {
    color: #fff;
}

.gallery-intro-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-intro-strip article {
    padding: 1.25rem 1.3rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 245, 241, 0.96));
}

.gallery-strip-label {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-intro-strip strong {
    display: block;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.35;
}

.gallery-heading {
    max-width: 48rem;
}

.gallery-carousel-wrap {
    position: relative;
}

.gallery-carousel {
    overflow: visible;
}

.gallery-carousel .carousel-inner {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-carousel .carousel-item {
    transition: opacity 0.85s ease-in-out;
}

.gallery-carousel .carousel-item:not(.active) .gallery-card {
    pointer-events: none;
}

.gallery-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-carousel-dots {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
}

.gallery-carousel-dot {
    width: 0.62rem;
    height: 0.62rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(27, 79, 138, 0.22);
    opacity: 1;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.gallery-carousel-dot:hover {
    background: rgba(27, 79, 138, 0.42);
    transform: scale(1.08);
}

.gallery-carousel-dot.active {
    width: 1.65rem;
    background: var(--primary);
}

.gallery-carousel-arrow {
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(27, 79, 138, 0.14);
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 0.9rem;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-carousel-arrow:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(27, 79, 138, 0.22);
}

.gallery-carousel-arrow:focus-visible,
.gallery-carousel-dot:focus-visible {
    outline: 3px solid rgba(225, 177, 76, 0.55);
    outline-offset: 2px;
}

.gallery-carousel-wrap--multi .gallery-grid {
    animation: gallery-slide-in 0.7s ease both;
}

.gallery-carousel .carousel-item.active .gallery-grid {
    animation: gallery-slide-in 0.7s ease both;
}

@keyframes gallery-slide-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-carousel .carousel-item,
    .gallery-carousel-wrap--multi .gallery-grid,
    .gallery-carousel .carousel-item.active .gallery-grid {
        animation: none;
        transition: none;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
    grid-auto-flow: dense;
}

.gallery-card {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    grid-column: span 4;
    --gallery-cols: 4;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.45s ease;
}

.gallery-card.reveal {
    opacity: 0;
    transform: translateY(18px);
}

.gallery-card.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--gallery-delay, 0ms);
}

.gallery-card--featured {
    grid-column: span 8;
    --gallery-cols: 8;
}

.gallery-card--wide {
    grid-column: span 8;
    --gallery-cols: 8;
}

.gallery-card--panorama {
    grid-column: span 12;
    --gallery-cols: 12;
}

.gallery-card--collapsed {
    display: none;
}

.gallery-grid.is-expanded .gallery-card--collapsed {
    display: block;
}

.gallery-link {
    position: relative;
    display: block;
    overflow: hidden;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: var(--gallery-cols) / 5;
    max-height: 220px;
    background: linear-gradient(135deg, rgba(27, 79, 138, 0.08), rgba(225, 177, 76, 0.14));
}

.gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
    padding: 0.35rem;
}

.gallery-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(8, 26, 21, 0.62) 100%);
    opacity: 0.72;
    transition: opacity 0.3s ease;
}

.gallery-zoom {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.52rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateY(6px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.gallery-card figcaption {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem 1.1rem;
    flex: 1 1 auto;
}

.gallery-card figcaption span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.gallery-card figcaption strong {
    font-family: 'Outfit', sans-serif;
    line-height: 1.25;
}

.gallery-card:hover,
.gallery-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.gallery-card.reveal.is-visible:hover,
.gallery-card.reveal.is-visible:focus-within {
    transform: translateY(-4px);
}

.gallery-card:hover .gallery-link img,
.gallery-card:focus-within .gallery-link img {
    transform: scale(1.05);
}

.gallery-card:hover .gallery-link::after,
.gallery-card:focus-within .gallery-link::after {
    opacity: 0.88;
}

.gallery-card:hover .gallery-zoom,
.gallery-card:focus-within .gallery-zoom {
    opacity: 1;
    transform: translateY(0);
    background: #fff;
}

.gallery-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

.gallery-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 15rem;
    justify-content: center;
}

.gallery-more-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(27, 79, 138, 0.1);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.gallery-more-btn[aria-expanded="true"] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 16, 0.88);
    backdrop-filter: blur(8px);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    max-height: calc(100vh - 2.5rem);
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 1fr auto;
    gap: 0.75rem 1rem;
    align-items: center;
}

.gallery-lightbox-stage {
    margin: 0;
    grid-column: 2;
    display: grid;
    gap: 0.85rem;
    min-width: 0;
}

.gallery-lightbox-stage img {
    width: 100%;
    max-height: min(72vh, 760px);
    object-fit: contain;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-stage figcaption {
    display: grid;
    gap: 0.3rem;
    color: #fff;
    text-align: center;
}

.gallery-lightbox-stage figcaption span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-lightbox-stage figcaption strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.04);
}

.gallery-lightbox-close {
    position: absolute;
    top: -0.25rem;
    right: 0;
}

.gallery-lightbox-counter {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .gallery-intro-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .gallery-card,
    .gallery-card--featured,
    .gallery-card--wide,
    .gallery-card--panorama {
        grid-column: span 3;
        --gallery-cols: 3;
    }
}

@media (max-width: 640px) {
    .gallery-intro-strip,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card,
    .gallery-card--featured,
    .gallery-card--wide,
    .gallery-card--panorama {
        grid-column: auto;
        --gallery-cols: 4;
    }

    .gallery-link {
        aspect-ratio: 16 / 10;
    }

    .gallery-lightbox-dialog {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto auto;
    }

    .gallery-lightbox-stage {
        grid-column: 1;
        grid-row: 2;
    }

    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        grid-row: 3;
        justify-self: center;
    }

    .gallery-lightbox-prev {
        justify-self: start;
    }

    .gallery-lightbox-next {
        justify-self: end;
    }

    .gallery-lightbox-counter {
        grid-row: 4;
    }
}

/* ── Universal image frames (no cropping) ── */
.img-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #eef2f8, #f8fafc);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.img-frame img.is-loaded,
.img-frame img[complete] {
    opacity: 1;
}

.img-frame--landscape {
    aspect-ratio: 16 / 10;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.img-frame--square {
    aspect-ratio: 1;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-img-sm.img-frame--square {
    width: 96px;
    height: 96px;
}

.img-frame--news {
    aspect-ratio: 16 / 9;
    max-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: none;
}

.section-dark .img-frame--news {
    background: rgba(255, 255, 255, 0.04);
}

/* ── Leadership / principal section ── */
.principal-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.leader-tab {
    padding: 0.65rem 1.25rem;
    border: 1px solid rgba(27, 79, 138, 0.15);
    background: var(--surface);
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--muted);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 14px rgba(15, 45, 90, 0.06);
}

.leader-tab:hover {
    color: var(--primary);
    border-color: rgba(27, 79, 138, 0.28);
    transform: translateY(-2px);
}

.leader-tab.active {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.28);
}

.principal-content {
    max-width: 920px;
    margin: auto;
}

.leader-panel {
    display: none;
    animation: fadeSlideIn 0.45s ease;
}

.leader-panel.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.principal-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--surface);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.principal-left {
    text-align: center;
    flex-shrink: 0;
    width: 72px;
}

.principal-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.6rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(27, 79, 138, 0.12);
    box-shadow: 0 6px 16px rgba(15, 45, 90, 0.1);
    background: var(--surface-alt);
}

.principal-avatar img {
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.principal-avatar--photo {
    width: 120px;
    height: 120px;
}

.principal-avatar--photo img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
}

.principal-left:has(.principal-avatar--photo) {
    width: 120px;
}

.role-badge {
    display: inline-block;
    background: var(--gradient-brand);
    color: #fff;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: normal;
    max-width: 100%;
    line-height: 1.35;
    text-align: center;
}

.principal-left .role-badge {
    display: block;
    margin: 0 auto;
}

.principal-right {
    flex: 1;
    min-width: 0;
}

.principal-right p {
    margin-bottom: 1rem;
    color: var(--body);
    text-align: justify;
    line-height: 1.75;
}

.principal-signoff {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.principal-signoff span {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .principal-box {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 1.25rem;
        gap: 1rem;
    }

    .principal-left {
        width: 72px;
    }

    .principal-right p {
        text-align: left;
    }
}

/* ── Enhanced metrics & CTA polish ── */
.metrics-band {
    backdrop-filter: blur(12px);
}

.metrics-band article {
    transition: background 0.3s ease;
}

.cta-box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cta-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px rgba(10, 37, 64, 0.25);
}

.news-card {
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
}

.program-item {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.program-card-link:hover .program-item {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(15, 45, 90, 0.12);
    border-color: rgba(27, 79, 138, 0.18);
}

/* Subtle page load fade */
main {
    animation: pageFadeIn 0.5s ease;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    main,
    .tab-content,
    .leader-panel,
    .feature-card,
    .news-card,
    .program-item,
    .cta-box {
        animation: none;
        transition: none;
    }

    .feature-card:hover,
    .news-card:hover,
    .program-card-link:hover .program-item,
    .cta-box:hover {
        transform: none;
    }
}
