:root {
    --blue: #245297;
    --dark-blue: #14376d;
    --green: #008f4c;
    --dark-green: #006f3b;
    --gold: #c4ac72;
    --orange: #df8a2d;
    --white: #ffffff;
    --light: #f5f7fb;
    --text: #1f2937;
    --muted: #667085;
    --border: #dfe5ee;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(20, 55, 109, 0.12);
}

/* Top bar */

.top-bar {
    color: var(--white);
    background: linear-gradient(90deg, var(--dark-blue), var(--blue));
}

.top-bar-inner {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.government-title,
.top-contacts,
.top-contacts a {
    display: flex;
    align-items: center;
}

.government-title {
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.government-title i {
    display: flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    background: var(--gold);
    border-radius: 50%;
}

.top-contacts {
    gap: 20px;
}

.top-contacts a {
    gap: 7px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}

.top-contacts a:hover {
    color: #f2d99e;
}

/* Identity */

.identity-section {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.identity-section::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    content: "";
    opacity: 0.08;
    background: linear-gradient(135deg, var(--blue), var(--green));
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
}

.identity-layout {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 145px;
    grid-template-columns: 125px 1fr auto;
    align-items: center;
    gap: 24px;
}

.logo-link {
    display: block;
}

.institute-logo {
    display: block;
    width: 118px;
    height: 118px;
    object-fit: contain;
}

.logo-fallback {
    display: none;
    width: 105px;
    height: 105px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--green));
    border: 5px solid var(--gold);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
}

.department-label {
    margin: 0 0 5px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.identity-text h1 {
    margin: 0;
    color: var(--dark-blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 39px);
    font-weight: 800;
    line-height: 1.08;
    text-transform: uppercase;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.contact-row span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.contact-row i {
    color: var(--orange);
}

.motto {
    display: inline-block;
    margin: 10px 0 0;
    padding: 5px 14px;
    color: var(--dark-blue);
    background: rgba(196, 172, 114, 0.2);
    border-left: 4px solid var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.identity-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-btn {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    color: var(--dark-blue);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
    box-shadow: 0 6px 16px rgba(20, 55, 109, 0.1);
    font-size: 13px;
    font-weight: 800;
}

.portal-btn i {
    color: var(--blue);
    font-size: 25px;
}

.portal-btn span {
    display: flex;
    flex-direction: column;
}

.portal-btn small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
}

.portal-btn:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
}

.apply-btn {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0, 143, 76, 0.25);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.apply-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */

.main-navigation {
    background: linear-gradient(90deg, var(--dark-blue), var(--blue));
    border-bottom: 4px solid var(--green);
}

.nav-container {
    position: relative;
}

.navigation-menu {
    display: flex;
    align-items: stretch;
}

.nav-link,
.dropdown-toggle {
    display: flex;
    min-height: 59px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    color: rgba(255, 255, 255, 0.96);
    background: transparent;
    border: 0;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.nav-link:hover,
.dropdown-toggle:hover,
.dropdown.open .dropdown-toggle,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
    box-shadow: inset 0 -4px 0 var(--gold);
}

.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    display: block;
    width: 330px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 22px 50px rgba(20, 55, 109, 0.22);
    transform: translateY(10px);
    transition: 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-title {
    padding: 8px 10px 11px;
    color: var(--blue);
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px;
    color: var(--text);
    border-radius: 8px;
}

.dropdown-menu a:hover {
    color: var(--blue);
    background: #f1f5fb;
    transform: translateX(3px);
}

.dropdown-menu > a > i {
    display: flex;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background: rgba(36, 82, 151, 0.1);
    border-radius: 8px;
    font-size: 17px;
}

.dropdown-menu a:nth-child(odd) > i {
    color: var(--green);
    background: rgba(0, 143, 76, 0.1);
}

.dropdown-menu a span {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: 800;
}

.dropdown-menu small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.mobile-title,
.menu-toggle,
.mobile-apply {
    display: none;
}

/* Notice */

.notice-bar {
    background: #f8f3e7;
    border-bottom: 1px solid #e7dbc0;
}

.notice-inner {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 16px;
}

.notice-inner strong {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    color: var(--white);
    background: var(--orange);
    font-size: 12px;
    text-transform: uppercase;
}

.notice-inner span {
    flex: 1;
    color: #515b6b;
    font-size: 13px;
    font-weight: 600;
}

.notice-inner a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

/* Mobile */

@media (max-width: 1080px) {
    .identity-layout {
        grid-template-columns: 105px 1fr;
    }

    .institute-logo {
        width: 100px;
        height: 100px;
    }

    .identity-actions {
        display: none;
    }

    .nav-link,
    .dropdown-toggle {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .government-title {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .identity-layout {
        min-height: 110px;
        grid-template-columns: 85px 1fr;
        gap: 15px;
    }

    .institute-logo,
    .logo-fallback {
        width: 80px;
        height: 80px;
    }

    .identity-text h1 {
        font-size: 23px;
    }

    .contact-row {
        display: none;
    }

    .nav-container {
        display: flex;
        min-height: 58px;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-title {
        display: block;
        color: var(--white);
        font-size: 22px;
        font-weight: 900;
        letter-spacing: 2px;
    }

    .menu-toggle {
        display: flex;
        width: 43px;
        height: 43px;
        align-items: center;
        justify-content: center;
        color: var(--white);
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        font-size: 24px;
    }

    .navigation-menu {
        position: absolute;
        top: 58px;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: 10px;
        background: var(--dark-blue);
        border-top: 4px solid var(--green);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

    .navigation-menu.show {
        display: block;
    }

    .nav-link,
    .dropdown-toggle {
        display: flex;
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding: 0 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-link:first-child {
        justify-content: flex-start;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        padding: 6px;
        visibility: visible;
        opacity: 1;
        background: rgba(0, 0, 0, 0.14);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none;
    }

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

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-title {
        color: var(--gold);
        border-color: rgba(255, 255, 255, 0.12);
    }

    .dropdown-menu a {
        color: var(--white);
    }

    .dropdown-menu a:hover {
        color: var(--white);
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu small {
        color: rgba(255, 255, 255, 0.67);
    }

    .dropdown-menu > a > i {
        color: var(--white);
        background: rgba(255, 255, 255, 0.12);
    }

    .mobile-apply {
        display: flex;
        min-height: 47px;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        color: var(--dark-blue);
        background: var(--gold);
        border-radius: 8px;
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 24px, 1240px);
    }

    .top-contacts a {
        font-size: 10px;
    }

    .top-contacts a:last-child {
        display: none;
    }

    .identity-layout {
        min-height: 94px;
        grid-template-columns: 68px 1fr;
        gap: 12px;
    }

    .institute-logo,
    .logo-fallback {
        width: 64px;
        height: 64px;
    }

    .department-label {
        font-size: 9px;
    }

    .identity-text h1 {
        font-size: 17px;
    }

    .motto {
        margin-top: 7px;
        padding: 4px 8px;
        font-size: 8px;
    }

    .notice-inner {
        gap: 9px;
    }

    .notice-inner strong {
        min-height: 34px;
        padding: 0 9px;
        font-size: 10px;
    }

    .notice-inner span {
        font-size: 11px;
    }

    .notice-inner a {
        display: none;
    }
}

/* =========================================================
   PROFESSIONAL HOME HERO SLIDER
   ========================================================= */

.hero-slider {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #ffffff;
    background: #14376d;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 1.1s ease,
        visibility 1.1s ease;
}

.hero-slide.active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.07);
    transition: transform 8s ease;
}

.hero-slide.active .hero-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 32, 73, 0.96) 0%,
            rgba(20, 55, 109, 0.88) 38%,
            rgba(20, 55, 109, 0.48) 68%,
            rgba(0, 143, 76, 0.15) 100%
        );
}

.hero-overlay::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(
            0deg,
            rgba(3, 18, 44, 0.5) 0%,
            transparent 45%
        );
}

.hero-overlay-green {
    background:
        linear-gradient(
            90deg,
            rgba(5, 50, 43, 0.96) 0%,
            rgba(0, 111, 59, 0.84) 42%,
            rgba(0, 111, 59, 0.36) 72%,
            rgba(20, 55, 109, 0.12) 100%
        );
}

.hero-overlay-blue {
    background:
        linear-gradient(
            90deg,
            rgba(10, 34, 77, 0.97) 0%,
            rgba(36, 82, 151, 0.85) 43%,
            rgba(36, 82, 151, 0.37) 72%,
            transparent 100%
        );
}

.hero-content-wrap {
    position: relative;
    z-index: 4;
    display: flex;
    min-height: 650px;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 95px;
}

.hero-content {
    width: min(780px, 74%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 7px 16px 7px 8px;
    color: #14376d;
    background: #d0b873;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-eyebrow-icon {
    display: inline-flex;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #14376d;
    border-radius: 50%;
}

.hero-content h2 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(47px, 5.3vw, 82px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -1.8px;
    text-shadow: 0 5px 24px rgba(0, 0, 0, 0.32);
}

.hero-content h2 span {
    display: block;
    margin-top: 8px;
    color: #f0d98f;
}

.hero-content p {
    max-width: 690px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.72;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.hero-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 21px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

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

.hero-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #00934d, #00723d);
    box-shadow: 0 10px 28px rgba(0, 143, 76, 0.34);
}

.hero-btn-primary:hover {
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 143, 76, 0.45);
}

.hero-btn-secondary {
    color: #14376d;
    background: #d0b873;
    box-shadow: 0 10px 28px rgba(208, 184, 115, 0.28);
}

.hero-btn-secondary:hover {
    color: #14376d;
    background: #e1cb8e;
}

.hero-btn-outline {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.64);
    backdrop-filter: blur(8px);
}

.hero-btn-outline:hover {
    color: #14376d;
    background: #ffffff;
    border-color: #ffffff;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px;
}

.hero-trust-row > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

.hero-trust-row i {
    color: #d0b873;
    font-size: 27px;
}

.hero-trust-row span {
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.74);
    font-size: 11px;
}

.hero-trust-row strong {
    margin-bottom: 2px;
    color: #ffffff;
    font-size: 13px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    display: flex;
    width: 51px;
    height: 51px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(8, 32, 73, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    backdrop-filter: blur(9px);
    font-size: 21px;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hero-arrow:hover {
    background: #00934d;
}

.hero-arrow-prev {
    left: 24px;
}

.hero-arrow-next {
    right: 24px;
}

.hero-controls {
    position: absolute;
    right: 0;
    bottom: 24px;
    left: 0;
    z-index: 8;
}

.hero-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.hero-dot.active {
    width: 36px;
    background: #d0b873;
}

.hero-pause {
    display: inline-flex;
    min-height: 37px;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    color: #ffffff;
    background: rgba(8, 32, 73, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.hero-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    height: 4px;
    background: rgba(255, 255, 255, 0.16);
}

.hero-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #d0b873, #00934d);
}

/* Slide text animations */

.hero-slide .hero-eyebrow,
.hero-slide h2,
.hero-slide p,
.hero-slide .hero-actions,
.hero-slide .hero-trust-row {
    opacity: 0;
    transform: translateY(28px);
}

.hero-slide.active .hero-eyebrow {
    animation: heroReveal 0.65s 0.15s forwards;
}

.hero-slide.active h2 {
    animation: heroReveal 0.75s 0.28s forwards;
}

.hero-slide.active p {
    animation: heroReveal 0.75s 0.42s forwards;
}

.hero-slide.active .hero-actions {
    animation: heroReveal 0.75s 0.56s forwards;
}

.hero-slide.active .hero-trust-row {
    animation: heroReveal 0.75s 0.68s forwards;
}

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

/* Quick access cards */

.hero-quick-access {
    position: relative;
    z-index: 12;
    margin-top: -1px;
    padding: 0 0 36px;
    background: #f5f7fb;
}

.hero-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 42px rgba(20, 55, 109, 0.14);
}

.quick-access-card {
    position: relative;
    display: flex;
    min-height: 112px;
    align-items: center;
    gap: 14px;
    padding: 22px;
    color: #1f2937;
    border-right: 1px solid #e3e8ef;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.quick-access-card:last-child {
    border-right: 0;
}

.quick-access-card:hover {
    color: #14376d;
    background: #f7f9fc;
    transform: translateY(-4px);
}

.quick-access-icon {
    display: flex;
    width: 49px;
    height: 49px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 21px;
}

.quick-green {
    color: #008b49;
    background: rgba(0, 143, 76, 0.11);
}

.quick-orange {
    color: #d87919;
    background: rgba(223, 138, 45, 0.13);
}

.quick-blue {
    color: #245297;
    background: rgba(36, 82, 151, 0.11);
}

.quick-gold {
    color: #8a6b1d;
    background: rgba(196, 172, 114, 0.2);
}

.quick-access-card > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.quick-access-card strong {
    color: #14376d;
    font-size: 15px;
}

.quick-access-card small {
    margin-top: 5px;
    color: #667085;
    font-size: 11px;
    line-height: 1.4;
}

.quick-arrow {
    color: #9aa5b5;
}

/* Hero responsive */

@media (max-width: 1000px) {
    .hero-slider,
    .hero-content-wrap {
        min-height: 600px;
    }

    .hero-content {
        width: 82%;
    }

    .hero-content h2 {
        font-size: clamp(43px, 7vw, 67px);
    }

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

    .quick-access-card:nth-child(2) {
        border-right: 0;
    }

    .quick-access-card:nth-child(-n+2) {
        border-bottom: 1px solid #e3e8ef;
    }
}

@media (max-width: 700px) {
    .hero-slider,
    .hero-content-wrap {
        min-height: 640px;
    }

    .hero-content-wrap {
        align-items: flex-end;
        padding-top: 80px;
        padding-bottom: 88px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-overlay,
    .hero-overlay-blue,
    .hero-overlay-green {
        background:
            linear-gradient(
                0deg,
                rgba(8, 32, 73, 0.98) 0%,
                rgba(8, 32, 73, 0.85) 55%,
                rgba(8, 32, 73, 0.3) 100%
            );
    }

    .hero-content h2 {
        font-size: clamp(40px, 12vw, 57px);
        line-height: 1.02;
        letter-spacing: -1px;
    }

    .hero-content p {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.58;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 23px;
    }

    .hero-btn {
        min-height: 48px;
        padding: 0 12px;
        font-size: 10px;
    }

    .hero-btn-outline {
        grid-column: 1 / -1;
    }

    .hero-trust-row {
        display: none;
    }

    .hero-arrow {
        top: 44%;
        width: 41px;
        height: 41px;
        font-size: 17px;
    }

    .hero-arrow-prev {
        left: 11px;
    }

    .hero-arrow-next {
        right: 11px;
    }

    .hero-pause span {
        display: none;
    }

    .hero-quick-grid {
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .quick-access-card,
    .quick-access-card:nth-child(2) {
        min-height: 93px;
        border-right: 0;
        border-bottom: 1px solid #e3e8ef;
    }

    .quick-access-card:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-image,
    .hero-slide .hero-eyebrow,
    .hero-slide h2,
    .hero-slide p,
    .hero-slide .hero-actions,
    .hero-slide .hero-trust-row {
        animation: none !important;
        transition: none !important;
    }

    .hero-slide.active .hero-eyebrow,
    .hero-slide.active h2,
    .hero-slide.active p,
    .hero-slide.active .hero-actions,
    .hero-slide.active .hero-trust-row {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   CAMPUSES, PRINCIPAL AND LEADERSHIP SECTIONS
   ========================================================= */

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.section-heading h2,
.principal-content h2 {
    margin: 0;
    color: var(--dark-blue);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(35px, 4vw, 53px);
    font-weight: 800;
    line-height: 1.08;
}

.section-heading p {
    margin: 17px auto 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.campuses-section {
    padding: 92px 0;
    background: #f5f7fb;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.campus-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e1e7ef;
    border-radius: 15px;
    box-shadow: 0 14px 38px rgba(20, 55, 109, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campus-card:hover {
    box-shadow: 0 22px 48px rgba(20, 55, 109, 0.17);
    transform: translateY(-8px);
}

.campus-image-wrap {
    position: relative;
    height: 270px;
    overflow: hidden;
}

.campus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.campus-card:hover .campus-image {
    transform: scale(1.08);
}

.campus-badge {
    position: absolute;
    right: 17px;
    bottom: 17px;
    padding: 8px 13px;
    color: #14376d;
    background: #d0b873;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.campus-card-body {
    position: relative;
    padding: 27px;
}

.campus-number {
    position: absolute;
    top: 18px;
    right: 23px;
    color: rgba(20, 55, 109, 0.08);
    font-size: 48px;
    font-weight: 900;
}

.campus-card h3 {
    position: relative;
    margin: 0;
    color: var(--dark-blue);
    font-family: Georgia, serif;
    font-size: 26px;
}

.campus-card p {
    position: relative;
    margin: 14px 0 21px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
}

.campus-card a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.principal-section {
    padding: 100px 0;
    background: #ffffff;
}

.principal-layout {
    display: grid;
    grid-template-columns: 430px 1fr;
    align-items: center;
    gap: 75px;
}

.principal-photo {
    position: relative;
}

.principal-photo-frame {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: #eef2f7;
    border: 10px solid #ffffff;
    border-radius: 15px;
    box-shadow: 0 24px 55px rgba(20, 55, 109, 0.18);
}

.principal-photo-frame::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    border: 3px solid rgba(208, 184, 115, 0.7);
    border-radius: 8px;
    pointer-events: none;
}

.principal-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal-photo-label {
    position: absolute;
    right: -28px;
    bottom: 35px;
    z-index: 3;
    display: flex;
    min-width: 245px;
    flex-direction: column;
    padding: 18px 21px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--dark-blue), var(--blue));
    border-left: 5px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 13px 32px rgba(20, 55, 109, 0.26);
}

.principal-photo-label strong {
    font-size: 15px;
}

.principal-photo-label span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
}

.quote-icon {
    margin-bottom: -18px;
    color: rgba(36, 82, 151, 0.1);
    font-size: 83px;
    line-height: 1;
}

.principal-content p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.86;
}

.principal-signature {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--gold);
}

.principal-signature strong {
    color: var(--dark-blue);
    font-size: 16px;
}

.principal-signature span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.section-button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    padding: 0 19px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(0, 143, 76, 0.22);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.leadership-section {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
}

.board-section {
    background:
        linear-gradient(rgba(20, 55, 109, 0.96), rgba(36, 82, 151, 0.96));
}

.board-section .section-kicker {
    color: #d0b873;
}

.board-section .section-heading h2,
.board-section .section-heading p {
    color: #ffffff;
}

.board-section .section-heading p {
    color: rgba(255, 255, 255, 0.75);
}

.management-section {
    background: #f5f7fb;
}

.leadership-slider {
    position: relative;
}

.leadership-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 12px 4px 28px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.leadership-track::-webkit-scrollbar {
    display: none;
}

.leadership-card {
    min-width: 275px;
    flex: 0 0 275px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 13px;
    box-shadow: 0 15px 36px rgba(8, 32, 73, 0.16);
    transition: transform 0.28s ease;
}

.leadership-card:hover {
    transform: translateY(-7px);
}

.leadership-photo {
    position: relative;
    height: 315px;
    overflow: hidden;
    background: #e9eef5;
}

.leadership-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

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

.leadership-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: rgba(20, 55, 109, 0.35);
    background:
        linear-gradient(135deg, #edf2f8, #dce5f0);
    font-size: 105px;
}

.leadership-card-content {
    position: relative;
    padding: 22px;
    border-top: 4px solid var(--gold);
}

.leadership-position {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.leadership-card h3 {
    margin: 7px 0 0;
    color: var(--dark-blue);
    font-family: Georgia, serif;
    font-size: 20px;
}

.leadership-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.leadership-arrow {
    position: absolute;
    top: 44%;
    z-index: 5;
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    background: #ffffff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(8, 32, 73, 0.2);
    cursor: pointer;
}

.leadership-prev {
    left: -20px;
}

.leadership-next {
    right: -20px;
}

.section-action {
    text-align: center;
}

.reveal-item,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-item {
    transform: translateY(34px);
}

.reveal-left {
    transform: translateX(-45px);
}

.reveal-right {
    transform: translateX(45px);
}

.reveal-item.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

@media (max-width: 1000px) {
    .campus-grid {
        grid-template-columns: 1fr 1fr;
    }

    .campus-card:last-child {
        grid-column: 1 / -1;
    }

    .principal-layout {
        grid-template-columns: 350px 1fr;
        gap: 45px;
    }

    .principal-photo-frame {
        height: 450px;
    }
}

@media (max-width: 760px) {
    .campuses-section,
    .principal-section,
    .leadership-section {
        padding: 68px 0;
    }

    .campus-grid,
    .principal-layout {
        grid-template-columns: 1fr;
    }

    .campus-card:last-child {
        grid-column: auto;
    }

    .principal-photo {
        max-width: 430px;
        margin: 0 auto;
    }

    .principal-photo-label {
        right: 15px;
    }

    .leadership-arrow {
        display: none;
    }

    .leadership-card {
        min-width: 245px;
        flex-basis: 245px;
    }

    .leadership-photo {
        height: 285px;
    }
}

/* =========================================================
   MOBILE PORTAL LINKS
   ========================================================= */

.mobile-portals {
    display: none;
}

@media (max-width: 900px) {
    .mobile-portals {
        display: block;
        margin-top: 12px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 10px;
    }

    .mobile-portals-title {
        margin: 0 0 10px;
        color: var(--gold);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 1.2px;
        text-transform: uppercase;
    }

    .mobile-portal-link {
        display: flex;
        min-height: 58px;
        align-items: center;
        gap: 12px;
        margin-bottom: 8px;
        padding: 10px 12px;
        color: #ffffff;
        border-radius: 8px;
        font-weight: 800;
    }

    .mobile-portal-link:last-child {
        margin-bottom: 0;
    }

    .mobile-portal-link i {
        display: flex;
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        font-size: 18px;
    }

    .mobile-portal-link span {
        display: flex;
        flex-direction: column;
        font-size: 13px;
    }

    .mobile-portal-link small {
        margin-top: 3px;
        color: rgba(255, 255, 255, 0.72);
        font-size: 10px;
        font-weight: 500;
    }

    .mobile-staff {
        background: linear-gradient(135deg, #173665, #2c5393);
    }

    .mobile-student {
        background: linear-gradient(135deg, #245297, #3568b3);
    }

    .mobile-kuccps {
        background: linear-gradient(135deg, #df8a2d, #c66f16);
    }

    .mobile-application {
        background: linear-gradient(135deg, #008f4c, #006f3b);
    }

    .mobile-portal-link:hover {
        color: #ffffff;
        transform: translateY(-1px);
    }
}
