*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --blue: #0f4c81;
    --blue-mid: #1a6abf;
    --blue-light: #3b82f6;
    --blue-pale: #eff6ff;
    --green: #15803d;
    --green-mid: #16a34a;
    --green-pale: #f0fdf4;
    --purple: #6d28d9;
    --purple-mid: #7c3aed;
    --purple-pale: #f5f3ff;
    --gold: #f59e0b;
    --red: #ef4444;
    --red-pale: #fef2f2;
    --white: #ffffff;
    --off: #f7f8fc;
    --border: #e4e7f0;
    --page-bg: #f0f2f8;
    --ink: #0d1117;
    --ink2: #374151;
    --muted: #6b7280;
    --navy: #0b1437;
    --navy-mid: #0f1e52;
    --nav-h: 68px;
}

html.dark {
    --blue: #3b82f6;
    --blue-mid: #60a5fa;
    --blue-light: #93c5fd;
    --blue-pale: rgba(59, 130, 246, .12);
    --green: #22c55e;
    --green-mid: #4ade80;
    --green-pale: rgba(34, 197, 94, .1);
    --purple: #a78bfa;
    --purple-mid: #c4b5fd;
    --purple-pale: rgba(167, 139, 250, .1);
    --gold: #fbbf24;
    --red: #f87171;
    --red-pale: rgba(248, 113, 113, .1);
    --white: #1e2330;
    --off: #252b3b;
    --border: #2e3650;
    --page-bg: #131929;
    --ink: #f0f4ff;
    --ink2: #b8c5d9;
    --muted: #7080a0;
    --navy: #0e1629;
    --navy-mid: #141f45;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--page-bg);
    color: var(--ink)
}


.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--off);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    color: var(--ink2)
}

.theme-toggle:hover {
    background: var(--blue-pale);
    border-color: rgba(59, 130, 246, .35);
    color: var(--blue);
    transform: rotate(15deg)
}

.theme-toggle svg {
    width: 16px;
    height: 16px
}

.theme-toggle .icon-moon {
    display: none
}

html.dark .theme-toggle .icon-sun {
    display: none
}

html.dark .theme-toggle .icon-moon {
    display: block
}

html.dark .theme-toggle {
    background: var(--off);
    border-color: var(--border);
    color: var(--blue-light)
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px
}

.nav-hamburger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink2)
}

@media(max-width:700px) {

    .nav-btn-ghost,
    .nav-back-link span {
        display: none
    }

    .nav-hamburger {
        display: flex
    }
}

/* SCROLL PROGRESS */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 99999;
    border-radius: 0 2px 2px 0;
    transition: width .08s linear
}

/* BACK TO TOP */
#back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .28s, transform .28s, background .18s;
    box-shadow: 0 6px 22px rgba(15, 76, 129, .38);
    z-index: 8000
}

#back-top svg {
    width: 18px;
    height: 18px
}

#back-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all
}

#back-top:hover {
    background: #0d3f6e
}

/* PAGE */
.page {
    padding-top: var(--nav-h)
}

/* HERO */
.uni-hero {
    padding: 60px 5% 52px;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center
}

.uni-hero-bg {
    position: absolute;
    inset: 0
}

.uni-hero-blob {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none
}

.uni-hero-blob2 {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none
}

.uni-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    width: 100%
}

.uni-hero-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 260px
}

.uni-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 4px
}

.uni-hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80
}

.uni-hero-h1 {
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.08;
    margin-bottom: 10px
}

.uni-hero-tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 20px
}

.uni-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.uni-hero-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 100px;
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .88)
}

.uni-hero-pill svg {
    width: 13px;
    height: 13px
}

.uni-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: 20px 24px;
    flex-shrink: 0;
    min-width: 200px
}

.uni-hero-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.uni-hero-meta-n {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1
}

.uni-hero-meta-l {
    font-size: 10.5px;
    color: rgba(255, 255, 255, .65);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-top: 3px
}

.uni-hero-meta-divider {
    height: 1px;
    background: rgba(255, 255, 255, .15);
    margin: 4px 0
}

.uni-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.btn-hero-primary {
    background: #fff;
    color: var(--blue);
    padding: 12px 24px;
    border-radius: 11px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    transition: transform .15s, box-shadow .15s
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22)
}

.btn-hero-ghost {
    background: transparent;
    color: #fff;
    padding: 12px 24px;
    border-radius: 11px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background .2s, border-color .2s
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .65)
}

/* CONTENT WRAP */
.content-wrap {
    padding: 52px 5% 80px
}

/* STATS STRIP */
.stats-strip {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 52px;
    overflow: hidden
}

html.dark .stats-strip {
    background: var(--white)
}

.stat-cell {
    padding: 26px 18px;
    text-align: center;
    border-right: 1px solid var(--border)
}

.stat-cell:last-child {
    border-right: none
}

.stat-num {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    display: block;
    margin-bottom: 5px
}

.stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink2)
}

.stat-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px
}

@media(max-width:700px) {
    .stats-strip {
        grid-template-columns: repeat(2, 1fr)
    }

    .stat-cell:nth-child(2) {
        border-right: none
    }

    .stat-cell:nth-child(3) {
        border-top: 1px solid var(--border)
    }
}

/* SECTION HEADERS */
.section-hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--blue-pale);
    border: 1px solid rgba(59, 130, 246, .25);
    border-radius: 100px;
    padding: 4px 12px 4px 9px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 10px
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-light);
    animation: pulse 2s ease infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .35
    }
}

.section-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.025em;
    line-height: 1.18
}

.section-title span {
    color: var(--blue-mid)
}

.section-sub {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.6
}

html.dark .section-eyebrow {
    background: var(--blue-pale);
    border-color: rgba(59, 130, 246, .2);
    color: var(--blue-light)
}

html.dark .section-title {
    color: var(--ink)
}

html.dark .section-title span {
    color: var(--blue-mid)
}

html.dark .section-sub {
    color: var(--muted)
}

/* FACULTIES */
.faculty-section {
    margin-bottom: 52px
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px
}

.faculty-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .22s, box-shadow .22s, border-color .22s
}

.faculty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1)
}

html.dark .faculty-card {
    background: var(--white);
    border-color: var(--border)
}

.faculty-thumb {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    position: relative;
    overflow: hidden
}

.faculty-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 24px 24px
}

.faculty-thumb.blue {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid))
}

.faculty-thumb.green {
    background: linear-gradient(135deg, #14532d, #166534)
}

.faculty-thumb.purple {
    background: linear-gradient(135deg, #4c1d95, #5b21b6)
}

.faculty-body {
    padding: 16px 18px 18px
}

.faculty-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.3
}

html.dark .faculty-name {
    color: var(--ink)
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.course-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ink2);
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--off);
    transition: background .18s, color .18s
}

.course-item:hover {
    background: var(--blue-pale);
    color: var(--blue)
}

html.dark .course-item {
    background: var(--off);
    color: var(--ink2)
}

html.dark .course-item:hover {
    background: var(--blue-pale);
    color: var(--blue)
}

.course-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0
}

.course-dot.blue {
    background: var(--blue)
}

.course-dot.green {
    background: var(--green)
}

.course-dot.purple {
    background: var(--purple)
}

/* INFO SECTION */
.info-section {
    margin-bottom: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

@media(max-width:768px) {
    .info-section {
        grid-template-columns: 1fr
    }
}

.info-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    transition: border-color .2s, box-shadow .2s
}

.info-card:hover {
    border-color: rgba(59, 130, 246, .3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .07)
}

html.dark .info-card {
    background: var(--white);
    border-color: var(--border)
}

.info-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px
}

html.dark .info-card-title {
    color: var(--ink)
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--ink2);
    line-height: 1.55
}

html.dark .info-item {
    color: var(--ink2)
}

.info-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--blue-pale);
    border: 1px solid rgba(59, 130, 246, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px
}

.info-check svg {
    width: 10px;
    height: 10px;
    color: var(--blue)
}

html.dark .info-check {
    background: var(--blue-pale)
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
    padding: 10px 12px;
    background: var(--off);
    border-radius: 10px;
    transition: background .18s
}

.highlight-item:hover {
    background: var(--blue-pale)
}

html.dark .highlight-item {
    background: var(--off);
    color: var(--ink2)
}

html.dark .highlight-item:hover {
    background: var(--blue-pale)
}

.highlight-num {
    font-size: 18px;
    flex-shrink: 0
}

/* CTA BANNER */
.cta-banner {
    border-radius: 20px;
    padding: 48px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 52px
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto
}

.cta-banner h2 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 10px
}

.cta-banner h2 em {
    font-style: italic;
    color: #93c5fd
}

.cta-banner p {
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
    margin-bottom: 24px
}

.cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.btn-cta-white {
    background: #fff;
    color: var(--blue);
    padding: 12px 26px;
    border-radius: 11px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .14);
    transition: transform .15s, box-shadow .15s
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2)
}

.btn-cta-out {
    background: transparent;
    color: #fff;
    padding: 12px 26px;
    border-radius: 11px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background .2s, border-color .2s
}

.btn-cta-out:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .65)
}

/* RELATED UNIS */
.related-section {
    margin-bottom: 52px
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px
}

.related-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
    cursor: pointer
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
    border-color: rgba(59, 130, 246, .35);
    background: var(--blue-pale)
}

html.dark .related-card {
    background: var(--white);
    border-color: var(--border)
}

html.dark .related-card:hover {
    background: var(--blue-pale)
}

.related-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .15)
}

.related-logo.blue {
    background: linear-gradient(135deg, var(--blue-mid), var(--blue))
}

.related-logo.green {
    background: linear-gradient(135deg, var(--green-mid), var(--green))
}

.related-logo.purple {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple))
}

.related-logo.amber {
    background: linear-gradient(135deg, #b45309, #d97706)
}

.related-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    flex: 1;
    min-width: 0
}

html.dark .related-name {
    color: var(--ink)
}

.related-arrow {
    color: var(--muted);
    font-size: 12px;
    flex-shrink: 0
}

.related-card:hover .related-arrow {
    color: var(--blue)
}

/* FOOTER */
.site-footer {
    background: var(--navy);
    padding: 52px 5% 32px
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px
}

.footer-brand-name span {
    color: #60a5fa
}

.footer-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    line-height: 1.65;
    max-width: 240px
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 12px
}

.footer-link {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    font-weight: 500;
    margin-bottom: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s
}

.footer-link:hover {
    color: #fff
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, .35)
}

.footer-flag {
    font-size: 14px
}

@media(max-width:768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:540px) {
    .footer-inner {
        grid-template-columns: 1fr
    }
}

html.dark .site-footer {
    background: #0a0f1e
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fadeup {
    animation: fadeUp .55s cubic-bezier(.22, 1, .36, 1) both
}

.d1 {
    animation-delay: .05s
}

.d2 {
    animation-delay: .1s
}

.d3 {
    animation-delay: .15s
}

.d4 {
    animation-delay: .2s
}

/* Page accent */
.accent-text {
    color: #0f4c81
}

.accent-bg {
    background: #0f4c81
}

.accent-pale {
    background: #eff6ff
}

.uni-hero-bg {
    background: linear-gradient(135deg, #0f2a5e 0%, #1a4080 40%, #0d3a7a 100%)
}

#scroll-progress {
    background: linear-gradient(90deg, #0f4c81, #3b82f6)
}