.dash-calendar {
    bottom: 195px;
    left: 300px;
    width: 260px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    overflow: hidden;
    font-family: system-ui, sans-serif;
}

.dash-calendar-header {
    background: linear-gradient(135deg, #1e63b6, #2b7de9);
    color: #fff;
    padding: 14px 16px;
}

.dash-calendar-title {
    font-weight: 600;
    display: block;
}

.dash-calendar-sub {
    font-size: 13px;
    opacity: .9;
}

.dash-calendar-weekdays,
.dash-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 10px 12px;
}

.dash-calendar-weekdays span {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.dash-calendar-days span {
    font-size: 13px;
    padding: 6px 0;
    border-radius: 8px;
    cursor: default;
}

.dash-calendar-days .dim {
    color: #cbd5e1;
}

.dash-calendar-days .today {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}

.dash-calendar-days .event {
    background: #eef2ff;
    color: #4338ca;
    font-weight: 600;
}

.dash-calendar-legend {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px 14px;
    font-size: 12px;
    color: #6b7280;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.event-dot {
    background: #6366f1;
}

.today-dot {
    background: #2563eb;
}


/* ═══════════════════════════════════════════
   RESET & ROOT
═══════════════════════════════════════════ */
*,
*::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;
}

/* ─── DARK THEME ─── */
html.dark {
    --blue: #3b82f6;
    --blue-mid: #60a5fa;
    --blue-light: #93c5fd;
    --blue-pale: rgba(59, 130, 246, 0.12);
    --green: #22c55e;
    --green-mid: #4ade80;
    --green-pale: rgba(34, 197, 94, 0.1);
    --purple: #a78bfa;
    --purple-mid: #c4b5fd;
    --purple-pale: rgba(167, 139, 250, 0.1);
    --gold: #fbbf24;
    --red: #f87171;
    --red-pale: rgba(248, 113, 113, 0.1);
    --white: #1e2330;
    --off: #252b3b;
    --border: #2e3650;
    --page-bg: #131929;
    --ink: #f0f4ff;
    --ink2: #b8c5d9;
    --muted: #7080a0;
    --navy: #0e1629;
    --navy-mid: #141f45;
}

/* Dark: navbar */
html.dark .navbar {
    background: rgba(19, 25, 41, 0.94);
    border-bottom-color: rgba(46, 54, 80, 0.9);
}

html.dark .nav-logo-text {
    color: var(--ink);
}

html.dark .nav-link {
    color: var(--ink2);
}

html.dark .nav-link:hover {
    background: var(--blue-pale);
    color: var(--blue);
}

html.dark .nav-link.active {
    background: var(--blue-pale);
    color: var(--blue);
}

html.dark .nav-btn-ghost {
    color: var(--ink2);
    border-color: var(--border);
}

html.dark .nav-btn-ghost:hover {
    background: var(--blue-pale);
    color: var(--blue);
    border-color: var(--blue);
}

html.dark .nav-bell {
    background: var(--off);
    border-color: var(--border);
}

html.dark .nav-bell svg {
    color: var(--ink2);
}

html.dark .nav-dropdown {
    background: #1b2236;
    border-color: var(--border);
}

html.dark .dd-item:hover {
    background: var(--blue-pale);
}

html.dark .dd-icon {
    background: var(--off);
    border-color: var(--border);
}

html.dark .dd-icon svg {
    color: var(--ink2);
}

html.dark .dd-title {
    color: var(--ink);
}

html.dark .dd-desc {
    color: var(--muted);
}

html.dark .dd-footer {
    border-top-color: var(--border);
}

html.dark .dd-footer-text {
    color: var(--muted);
}

html.dark .nav-drawer {
    background: #1b2236;
    border-bottom-color: var(--border);
}

html.dark .drawer-toggle {
    color: var(--ink2);
}

html.dark .drawer-toggle:hover,
.html.dark .drawer-toggle.open {
    background: var(--blue-pale);
    color: var(--blue);
}

html.dark .nav-drawer-divider {
    background: var(--border);
}

html.dark .drawer-sub-item {
    color: var(--ink2);
}

/* Dark: hero */
html.dark .hero-wrap {
    background: #0e1525;
}

html.dark .hero {
    background: linear-gradient(135deg, #1a1f40 0%, #1e2350 30%, #2a1f5a 65%, #3b2070 100%);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

html.dark .hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--purple);
}

html.dark .hero-headline {
    color: #fff;
}

html.dark .hero-sub {
    color: rgba(255, 255, 255, 0.65);
}

html.dark .feat-pill {
    color: rgba(255, 255, 255, 0.75);
}

html.dark .feat-sep {
    color: rgba(167, 139, 250, 0.5);
}

html.dark .btn-ghost-hero {
    color: #fff;
}

html.dark .btn-ghost-hero svg {
    background: rgba(255, 255, 255, 0.12);
}

html.dark .handwritten {
    color: rgba(255, 255, 255, 0.55);
}

html.dark .rating-label {
    color: rgba(255, 255, 255, 0.6);
}

html.dark .rating-label strong {
    color: #fff;
}

html.dark .dash-card {
    background: #1b2236;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

html.dark .dash-search {
    background: #252b3b;
    border-color: var(--border);
}

html.dark .dash-search-text {
    color: var(--muted);
}

html.dark .dash-course-item {
    border-bottom-color: var(--border);
}

html.dark .dash-course-name {
    color: black;
}

html.dark .dash-course-uni {
    color: var(--muted);
}

html.dark .dash-stat-val {
    color: #0d1117;
}

html.dark .dash-stat-label {
    color: var(--muted);
}

html.dark .dash-uni-name {
    color: var(--ink2);
}

html.dark .dash-uni-score {
    color: var(--muted);
}

html.dark .dash-deadline-title {
    color: var(--ink);
}

html.dark .dash-deadline-sub {
    color: var(--muted);
}

html.dark .dash-cd-val {
    color: var(--ink);
    background: #252b3b;
}

html.dark .dash-cd-lbl {
    color: var(--muted);
}

html.dark .dash-scholar-title {
    color: var(--ink);
}

html.dark .dash-scholar-sub {
    color: var(--muted);
}

html.dark .dash-scholar-name {
    color: var(--ink2);
}

html.dark .dash-scholar-amt {
    color: var(--muted);
}

html.dark .dash-calendar {
    background: #1b2236;
}

html.dark .dash-calendar-weekdays span {
    color: var(--muted);
}

html.dark .dash-calendar-days span {
    color: var(--ink2);
}

html.dark .dash-calendar-days .dim {
    color: var(--border);
}

/* Dark: page & content */
html.dark body {
    background: var(--page-bg);
    color: var(--ink);
}

/* Dark: stats strip */
html.dark .stats-strip {
    background: var(--white);
    border-color: var(--border);
}

html.dark .stat-cell {
    border-right-color: var(--border);
}

html.dark .stat-label {
    color: var(--ink2);
}

html.dark .stat-sub {
    color: var(--muted);
}

/* Dark: section headers */
html.dark .section-eyebrow {
    background: var(--blue-pale);
    border-color: rgba(59, 130, 246, 0.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);
}

html.dark .view-all-btn {
    background: var(--white);
    border-color: var(--border);
    color: var(--ink2);
}

html.dark .view-all-btn:hover {
    background: var(--blue-pale);
    border-color: var(--blue);
    color: var(--blue);
}

/* Dark: cat tabs */
html.dark .cat-tabs .tab {
    background: var(--white);
    border-color: var(--border);
    color: var(--muted);
}

html.dark .cat-tabs .tab:hover {
    border-color: var(--blue);
    color: var(--blue);
}

html.dark .cat-tabs .tab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* Dark: cards */
html.dark .card {
    background: var(--white);
    border-color: var(--border);
}

html.dark .card-title {
    color: var(--ink);
}

html.dark .card-desc {
    color: var(--muted);
}

html.dark .card-footer {
    border-top-color: var(--border);
}

html.dark .card-arrow {
    border-color: var(--border);
    color: var(--muted);
}

/* Dark: notice section */
html.dark .notice-section {
    color: var(--ink);
}

html.dark .notice-eyebrow {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

html.dark .nf-btn {
    background: var(--white);
    border-color: var(--border);
    color: var(--muted);
}

html.dark .nf-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

html.dark .nf-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

html.dark .notice-card {
    background: var(--white);
    border-color: var(--border);
}

html.dark .notice-heading {
    color: var(--ink);
}

html.dark .notice-body {
    color: var(--ink2);
}

html.dark .notice-date {
    color: var(--muted);
}

html.dark .notice-card.urgent {
    border-color: rgba(248, 113, 113, 0.2);
}

html.dark .notice-card.update {
    border-color: rgba(59, 130, 246, 0.2);
}

html.dark .notice-card.new {
    border-color: rgba(34, 197, 94, 0.2);
}

html.dark .notice-card.info {
    border-color: rgba(167, 139, 250, 0.2);
}

html.dark .notice-card.urgent .notice-icon {
    background: rgba(248, 113, 113, 0.1);
}

html.dark .notice-card.update .notice-icon {
    background: var(--blue-pale);
}

html.dark .notice-card.new .notice-icon {
    background: var(--green-pale);
}

html.dark .notice-card.info .notice-icon {
    background: var(--purple-pale);
}

html.dark .notice-arrow {
    border-color: var(--border);
    color: var(--muted);
}

html.dark .cd-val {
    background: var(--off);
    color: var(--ink);
}

html.dark .notice-card.urgent .cd-val {
    background: rgba(248, 113, 113, 0.1);
    color: var(--red);
    border-color: rgba(248, 113, 113, 0.2);
}

html.dark .notice-card.update .cd-val {
    background: var(--blue-pale);
    color: var(--blue);
    border-color: rgba(59, 130, 246, 0.2);
}

html.dark .notice-card.new .cd-val {
    background: var(--green-pale);
    color: var(--green);
    border-color: rgba(34, 197, 94, 0.2);
}

html.dark .notice-card.info .cd-val {
    background: var(--purple-pale);
    color: var(--purple);
    border-color: rgba(167, 139, 250, 0.2);
}

/* Dark: how it works */
html.dark .hiw-card {
    background: var(--white);
    border-color: var(--border);
}

html.dark .hiw-title {
    color: var(--ink);
}

html.dark .hiw-desc {
    color: var(--muted);
}

html.dark .hiw-num-wrap {
    background: var(--blue-pale);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--blue);
}

/* Dark: universities */
html.dark .uni-card {
    background: var(--white);
    border-color: var(--border);
}

html.dark .uni-name {
    color: var(--ink);
}

html.dark .uni-city {
    color: var(--muted);
}

html.dark .uni-arr {
    color: var(--muted);
}

html.dark .uni-card:hover {
    background: var(--blue-pale);
    border-color: rgba(59, 130, 246, 0.4);
}

/* Dark: testimonials */
html.dark .testi-card {
    background: var(--white);
    border-color: var(--border);
}

html.dark .testi-card.feat-blue {
    background: linear-gradient(150deg, rgba(59, 130, 246, 0.1), var(--white) 60%);
    border-color: rgba(59, 130, 246, 0.3);
}

html.dark .testi-text {
    color: var(--ink2);
}

html.dark .testi-rule {
    background: var(--border);
}

html.dark .testi-name {
    color: var(--ink);
}

html.dark .testi-role {
    color: var(--muted);
}

html.dark .testi-quote-mark {
    color: var(--blue);
}

/* Dark: FAQ */
html.dark .faq-item {
    background: var(--white);
    border-color: var(--border);
}

html.dark .faq-q {
    color: var(--ink);
}

html.dark .faq-q:hover {
    background: var(--blue-pale);
    color: var(--blue);
}

html.dark .faq-item.open .faq-q {
    background: var(--blue-pale);
    color: var(--blue);
}

html.dark .faq-ico {
    border-color: var(--border);
    color: var(--muted);
}

html.dark .faq-ans {
    color: var(--muted);
}

/* Dark: newsletter */
html.dark .newsletter-card {
    background: linear-gradient(135deg, #1a2040 0%, #1e2350 40%, #211c48 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

html.dark .nl-left h2 {
    color: var(--ink);
}

html.dark .nl-left p {
    color: var(--muted);
}

html.dark .nl-perk {
    color: var(--ink2);
}

html.dark .nl-perk-icon.blue {
    background: var(--blue-pale);
}

html.dark .nl-perk-icon.green {
    background: var(--green-pale);
}

html.dark .nl-perk-icon.purple {
    background: var(--purple-pale);
}

html.dark .nl-input {
    background: #252b3b;
    border-color: var(--border);
    color: var(--ink);
}

html.dark .nl-input::placeholder {
    color: var(--muted);
}

html.dark .nl-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

html.dark .nl-note {
    color: var(--muted);
}

/* Dark: footer */
html.dark .site-footer {
    background: #0a0f1e;
}

/* Dark: popups */
html.dark .side-popup {
    background: #1b2236;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

html.dark .p-info-card {
    background: var(--off);
    border-color: var(--border);
}

html.dark .p-card-name {
    color: var(--ink);
}

html.dark .p-card-sub {
    color: var(--muted);
}

html.dark .p-item {
    color: var(--ink2);
}

html.dark .p-prev,
html.dark .p-next {
    background: var(--off);
    border-color: var(--border);
    color: var(--muted);
}

html.dark .p-dismiss {
    color: var(--muted);
}

html.dark .p-rule {
    background: var(--border);
}

/* Dark: theme toggle */
.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: background 0.2s, border-color 0.2s, transform 0.2s;
    color: var(--ink2);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--blue-pale);
    border-color: rgba(59, 130, 246, 0.35);
    color: var(--blue);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
    transition: opacity 0.25s, transform 0.35s;
}

.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);
}

/* Default (Light Mode) */
.logo-img {
    content: url('../img/logo-light.png');
}

/* Dark Mode */
html.dark .logo-img {
    content: url('../img/logo-dark.png');
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--page-bg);
    color: var(--ink);
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid rgba(228, 231, 240, 0.8);
    z-index: 9000;
    display: flex;
    align-items: center;
    padding: 0 5%;
    gap: 0;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 36px;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(15, 76, 129, 0.3);
}

.nav-logo-icon svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.nav-logo-text {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.nav-logo-text span {
    color: var(--blue-mid);
}

/* Desktop nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink2);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--blue-pale);
    color: var(--blue);
}

.nav-link.active {
    color: var(--blue);
    background: var(--blue-pale);
}

.nav-link svg {
    width: 13px;
    height: 13px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.nav-link:hover svg {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown arrow */
.nav-chevron {
    width: 12px !important;
    height: 12px !important;
    transition: transform 0.22s !important;
    opacity: 0.55 !important;
}

.nav-has-drop:hover .nav-chevron,
.nav-has-drop.open .nav-chevron {
    transform: rotate(180deg) !important;
    opacity: 1 !important;
}

/* ── DROPDOWN WRAPPER ── */
.nav-has-drop {
    position: relative;
}

.nav-has-drop>.nav-link {
    user-select: none;
}

/* ── DROPDOWN PANEL ── */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.13), 0 4px 16px rgba(0, 0, 0, 0.07);
    padding: 10px;
    min-width: 560px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
    z-index: 9100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.nav-dropdown.wide {
    min-width: 640px;
    grid-template-columns: 1fr 1fr 1fr;
}

.nav-dropdown.narrow {
    min-width: 340px;
    grid-template-columns: 1fr;
}

.nav-has-drop:hover .nav-dropdown,
.nav-has-drop.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown header row */
.dd-section-label {
    grid-column: 1/-1;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 10px 4px;
}

/* Each dropdown item */
.dd-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 11px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.16s;
    position: relative;
}

.dd-item:hover {
    background: var(--blue-pale);
}

.dd-item:hover .dd-icon {
    background: var(--blue);
    border-color: var(--blue);
}

.dd-item:hover .dd-icon svg {
    color: #fff;
}

.dd-item:hover .dd-title {
    color: var(--blue);
}

.dd-item.green-hover:hover {
    background: var(--green-pale);
}

.dd-item.green-hover:hover .dd-icon {
    background: var(--green);
    border-color: var(--green);
}

.dd-item.green-hover:hover .dd-title {
    color: var(--green);
}

.dd-item.purple-hover:hover {
    background: var(--purple-pale);
}

.dd-item.purple-hover:hover .dd-icon {
    background: var(--purple);
    border-color: var(--purple);
}

.dd-item.purple-hover:hover .dd-title {
    color: var(--purple);
}

.dd-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    background: var(--off);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.16s, border-color 0.16s;
}

.dd-icon svg {
    width: 15px;
    height: 15px;
    color: var(--ink2);
    transition: color 0.16s;
}

.dd-text {
    flex: 1;
    min-width: 0;
}

.dd-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 2px;
    transition: color 0.16s;
}

.dd-desc {
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.4;
}

/* Badge on dd item */
.dd-badge {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 100px;
    flex-shrink: 0;
    margin-top: 2px;
    align-self: flex-start;
}

.dd-badge.new {
    background: var(--blue-pale);
    color: var(--blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.dd-badge.hot {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.dd-badge.urgent {
    background: var(--red-pale);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.dd-badge.open {
    background: var(--green-pale);
    color: var(--green);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

/* Divider inside dropdown */
.dd-divider {
    grid-column: 1/-1;
    height: 1px;
    background: var(--border);
    margin: 4px 2px;
}

/* Dropdown footer CTA */
.dd-footer {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 4px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}

.dd-footer-text {
    font-size: 11.5px;
    color: var(--muted);
}

.dd-footer-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: gap 0.18s;
}

.dd-footer-link:hover {
    gap: 8px;
}

.dd-footer-link svg {
    width: 11px;
    height: 11px;
}

/* Nav right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-btn-ghost {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink2);
    background: none;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.nav-btn-ghost:hover {
    border-color: var(--blue-light);
    color: var(--blue);
    background: var(--blue-pale);
}

.nav-btn-primary {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    background: var(--blue);
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(15, 76, 129, 0.28);
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.nav-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 76, 129, 0.38);
    background: #0d3f6e;
}

/* Notification bell */
.nav-bell {
    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;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}

.nav-bell:hover {
    background: var(--blue-pale);
    border-color: rgba(59, 130, 246, 0.3);
}

.nav-bell svg {
    width: 16px;
    height: 16px;
    color: var(--ink2);
}

.nav-bell-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    border: 1.5px solid #fff;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 10px;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink2);
    transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    z-index: 8999;
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.nav-drawer.open {
    transform: translateY(0);
}

.nav-drawer .nav-link {
    padding: 11px 14px;
    width: 100%;
}

.nav-drawer-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}

.nav-drawer-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-drawer-btns .nav-btn-ghost,
.nav-drawer-btns .nav-btn-primary {
    width: 100%;
    text-align: center;
    padding: 12px;
}

/* Scroll shadow */
.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ═══════════════════════════════════════════
   PAGE WRAPPER
═══════════════════════════════════════════ */
.page {
    padding-top: var(--nav-h);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero-wrap {
    background: #f0ece8;
    padding: 36px 5% 48px;
}

.hero {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    background: linear-gradient(135deg, #e8eaff 0%, #d4d8ff 30%, #c4b5fd 65%, #a78bfa 100%);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    padding: 60px 56px 60px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 40px 100px rgba(109, 40, 217, 0.2), 0 8px 32px rgba(0, 0, 0, 0.08);
    min-height: 520px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: 200px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    pointer-events: none;
}

/* Hero left */
.hero-left {
    flex: 0 0 auto;
    width: 420px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    padding: 5px 14px 5px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 22px;
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-headline {
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.hero-headline em {
    font-style: italic;
    color: var(--blue);
    font-weight: 700;
}

.hero-headline .accent {
    color: var(--purple);
}

.hero-sub {
    font-size: 15px;
    font-weight: 400;
    color: var(--ink2);
    line-height: 1.68;
    margin-bottom: 22px;
    max-width: 380px;
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.feat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink2);
}

.feat-pill svg {
    width: 15px;
    height: 15px;
    color: var(--purple-mid);
}

.feat-sep {
    color: #c4b5fd;
    font-size: 16px;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background: var(--blue);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    padding: 14px 30px;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(15, 76, 129, 0.38);
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-primary-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.12), transparent);
    border-radius: inherit;
    pointer-events: none;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(15, 76, 129, 0.48);
    background: #0d3f6e;
}

.btn-ghost-hero {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    transition: gap 0.2s;
}

.btn-ghost-hero:hover {
    gap: 12px;
}

.btn-ghost-hero svg {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    padding: 7px;
    color: var(--purple);
}

.handwritten {
    font-size: 12px;
    font-style: italic;
    color: var(--ink2);
    opacity: 0.7;
    display: block;
    margin-top: 5px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.stars-hero {
    display: flex;
    gap: 3px;
}

.star-h {
    font-size: 17px;
    color: var(--gold);
}

.rating-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink2);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rating-label strong {
    color: var(--ink);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero right — mockup */
.hero-right {
    flex: 1;
    position: relative;
    z-index: 2;
    height: 430px;
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.dash-card {
    position: absolute;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.13), 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.dash-main {
    top: 18px;
    left: 0;
    width: 280px;
    padding: 0;
    animation: floatA 6s ease-in-out infinite alternate;
}

@keyframes floatA {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-8px)
    }
}

.dash-main-header {
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    padding: 13px 15px 11px;
}

.dash-main-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.dash-logo-small {
    font-size: 11.5px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.dash-logo-small span {
    color: #93c5fd;
}

.dash-live {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 8.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.dash-live-dot {
    width: 5px;
    height: 5px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 1.4s ease infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.2
    }
}

.dash-main-title {
    font-size: 10.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.dash-main-body {
    padding: 13px 15px 15px;
}

.dash-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 12px;
}

.dash-stat {
    background: #f7f8fc;
    border-radius: 9px;
    padding: 9px 10px;
    border: 1px solid #e8eaf0;
}

.dash-stat-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2px;
}

.dash-stat-label {
    font-size: 9px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-search {
    background: #f0f2f8;
    border-radius: 9px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
}

.dash-search svg {
    width: 12px;
    height: 12px;
    color: #9ca3af;
    flex-shrink: 0;
}

.dash-search-text {
    font-size: 11px;
    color: #9ca3af;
}

.dash-search-cursor {
    width: 1px;
    height: 11px;
    background: var(--blue-light);
    animation: blink 1s ease infinite;
}

.dash-course-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-course-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 9px;
    border-radius: 8px;
    border: 1px solid #e8eaf0;
    background: #fafbff;
}

.dash-course-left {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dash-course-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dash-course-name {
    font-size: 10.5px;
    font-weight: 600;
    color: black;
}

.dash-course-uni {
    font-size: 9px;
    color: #9ca3af;
}

.dash-course-badge {
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 100px;
}

.dash-match {
    top: 0;
    right: -8px;
    width: 190px;
    padding: 13px 14px;
    animation: floatB 7s ease-in-out infinite alternate;
}

@keyframes floatB {
    from {
        transform: translateY(0) rotate(1deg)
    }

    to {
        transform: translateY(-12px) rotate(1deg)
    }
}

.dash-match-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dash-match-title svg {
    width: 11px;
    height: 11px;
    color: var(--purple-mid);
}

.dash-uni-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f1f5;
}

.dash-uni-row:last-child {
    border-bottom: none;
}

.dash-uni-rank {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8.5px;
    font-weight: 800;
    flex-shrink: 0;
    color: #fff;
}

.r1 {
    background: #f59e0b
}

.r2 {
    background: #9ca3af
}

.r3 {
    background: #b45309
}

.r4 {
    background: var(--blue)
}

.dash-uni-name {
    flex: 1;
    font-size: 9.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}

.dash-uni-score {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--green-mid);
}

.dash-deadline {
    bottom: 75px;
    left: 350px;
    width: 230px;
    padding: 12px 14px;
    animation: floatC 8s ease-in-out infinite alternate;
}

@keyframes floatC {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-10px)
    }
}

.dash-deadline-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.dash-deadline-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-deadline-icon svg {
    width: 13px;
    height: 13px;
    color: #ef4444;
}

.dash-deadline-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink);
}

.dash-deadline-sub {
    font-size: 9px;
    color: #9ca3af;
}

.dash-cd-mini {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.dash-cd-unit {
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 6px;
    padding: 5px 6px;
    text-align: center;
    min-width: 36px;
}

.dash-cd-val {
    font-size: 13px;
    font-weight: 800;
    color: #dc2626;
    line-height: 1;
}

.dash-cd-lbl {
    font-size: 7.5px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.dash-cd-sep {
    font-size: 13px;
    font-weight: 700;
    color: #fca5a5;
    align-self: flex-start;
    padding-top: 5px;
}

.dash-scholar {
    bottom: 18px;
    right: 0;
    width: 168px;
    padding: 12px 13px;
    animation: floatD 9s ease-in-out infinite alternate;
}

@keyframes floatD {
    from {
        transform: translateY(0) rotate(-1deg)
    }

    to {
        transform: translateY(-14px) rotate(-1deg)
    }
}

.dash-scholar-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
}

.dash-scholar-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--green-pale);
    border: 1px solid rgba(22, 163, 74, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-scholar-icon svg {
    width: 12px;
    height: 12px;
    color: var(--green-mid);
}

.dash-scholar-title {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ink);
}

.dash-scholar-sub {
    font-size: 8.5px;
    color: #9ca3af;
}

.dash-scholar-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dash-scholar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9.5px;
}

.dash-scholar-name {
    color: var(--ink2);
    font-weight: 500;
}

.dash-scholar-amt {
    color: var(--green-mid);
    font-weight: 700;
}

.dash-avatar {
    position: absolute;
    bottom: 125px;
    right: -18px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, #ddd6fe, #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    animation: floatB 5s ease-in-out infinite alternate;
    z-index: 5;
}

.dash-avatar2 {
    position: absolute;
    top: 75px;
    right: 175px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    background: linear-gradient(145deg, #bfdbfe, #60a5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    animation: floatA 7s ease-in-out infinite alternate;
    z-index: 5;
}

/* ═══════════════════════════════════════════
   MAIN CONTENT WRAPPER
═══════════════════════════════════════════ */
.content-wrap {
    max-width: none;
    margin: 0 auto;
    padding: 52px 5% 80px;
}

/* ═══════════════════════════════════════════
   SECTION HEADER (shared)
═══════════════════════════════════════════ */
.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, 0.25);
    border-radius: 100px;
    padding: 4px 12px 4px 9px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.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: 0.35
    }
}

.section-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.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;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 9px 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.view-all-btn:hover {
    border-color: var(--blue-light);
    color: var(--blue);
    background: var(--blue-pale);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12);
}

.view-all-btn svg {
    width: 13px;
    height: 13px;
}

/* ═══════════════════════════════════════════
   CAT TABS
═══════════════════════════════════════════ */
.cat-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.tab {
    padding: 6px 15px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
}

.tab:hover {
    border-color: var(--blue-light);
    color: var(--blue);
}

.tab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
}

/* ═══════════════════════════════════════════
   CARDS GRID
═══════════════════════════════════════════ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    border: 1.5px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
    animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.card:nth-child(1) {
    animation-delay: .05s
}

.card:nth-child(2) {
    animation-delay: .10s
}

.card:nth-child(3) {
    animation-delay: .15s
}

.card:nth-child(4) {
    animation-delay: .20s
}

.card:nth-child(5) {
    animation-delay: .25s
}

.card:nth-child(6) {
    animation-delay: .30s
}

.card:nth-child(7) {
    animation-delay: .35s
}

.card:nth-child(8) {
    animation-delay: .40s
}

.card.blue:hover {
    border-color: rgba(15, 76, 129, 0.3);
}

.card.green:hover {
    border-color: rgba(21, 128, 61, 0.3);
}

.card.purple:hover {
    border-color: rgba(109, 40, 217, 0.3);
}

.card-thumb {
    position: relative;
    height: 150px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    overflow: hidden;
}

.card-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 80%, rgba(59, 130, 246, 0.18) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 20% 20%, rgba(124, 58, 237, 0.12) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 1;
}

.thumb-illustration {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-illustration svg {
    width: 82px;
    height: 82px;
    opacity: 0.85;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.thumb-watermark {
    position: absolute;
    bottom: 7px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.2);
}

.thumb-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 4;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .thumb-stripe {
    transform: scaleX(1);
}

.card.blue .thumb-stripe {
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.card.green .thumb-stripe {
    background: linear-gradient(90deg, var(--green), var(--green-mid));
}

.card.purple .thumb-stripe {
    background: linear-gradient(90deg, var(--purple), var(--purple-mid));
}

.card-body {
    padding: 14px 15px 16px;
}

.card-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.card.blue .card-category {
    color: var(--blue-mid);
}

.card.green .card-category {
    color: var(--green-mid);
}

.card.purple .card-category {
    color: var(--purple-mid);
}

.card-category svg {
    width: 11px;
    height: 11px;
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 9px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.stars-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 11px;
    line-height: 1;
}

.star.full {
    color: var(--gold)
}

.star.empty {
    color: #d1d5db
}

.rating-val {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink2);
}

.rating-cnt {
    font-size: 10.5px;
    color: var(--muted);
}

.card-desc {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.card-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 100px;
}

.card.blue .card-tag {
    background: var(--blue-pale);
    color: var(--blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.card.green .card-tag {
    background: var(--green-pale);
    color: var(--green);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.card.purple .card-tag {
    background: var(--purple-pale);
    color: var(--purple);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.card-arrow {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    color: var(--muted);
    transition: all 0.2s;
    flex-shrink: 0;
}

.card:hover .card-arrow {
    border-color: transparent;
    color: #fff;
}

.card.blue:hover .card-arrow {
    background: var(--blue);
}

.card.green:hover .card-arrow {
    background: var(--green);
}

.card.purple:hover .card-arrow {
    background: var(--purple);
}

.card-arrow svg {
    width: 11px;
    height: 11px;
}

/* ═══════════════════════════════════════════
   NOTICE SECTION
═══════════════════════════════════════════ */
.notice-section {
    margin-top: 60px;
}

.notice-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff7ed;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 100px;
    padding: 4px 12px 4px 9px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #d97706;
    margin-bottom: 10px;
}

.notice-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
    animation: pulse 2s ease infinite;
}

.notice-filter {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nf-btn {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
}

.nf-btn:hover {
    border-color: var(--blue-light);
    color: var(--blue);
}

.nf-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 3px 10px rgba(15, 76, 129, 0.22);
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.notice-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.notice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.notice-card:nth-child(1) {
    animation-delay: .05s
}

.notice-card:nth-child(2) {
    animation-delay: .12s
}

.notice-card:nth-child(3) {
    animation-delay: .18s
}

.notice-card:nth-child(4) {
    animation-delay: .24s
}

.notice-card:nth-child(5) {
    animation-delay: .30s
}

.notice-card.urgent {
    border-color: rgba(239, 68, 68, 0.2);
}

.notice-card.urgent::before {
    background: #ef4444;
}

.notice-card.urgent:hover {
    border-color: rgba(239, 68, 68, 0.35);
}

.notice-card.update {
    border-color: rgba(59, 130, 246, 0.2);
}

.notice-card.update::before {
    background: var(--blue-mid);
}

.notice-card.update:hover {
    border-color: rgba(59, 130, 246, 0.35);
}

.notice-card.new {
    border-color: rgba(22, 163, 74, 0.2);
}

.notice-card.new::before {
    background: var(--green-mid);
}

.notice-card.new:hover {
    border-color: rgba(22, 163, 74, 0.35);
}

.notice-card.info {
    border-color: rgba(109, 40, 217, 0.2);
}

.notice-card.info::before {
    background: var(--purple-mid);
}

.notice-card.info:hover {
    border-color: rgba(109, 40, 217, 0.35);
}

.notice-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-card.urgent .notice-icon {
    background: #fef2f2;
}

.notice-card.urgent .notice-icon svg {
    color: #ef4444;
}

.notice-card.update .notice-icon {
    background: var(--blue-pale);
}

.notice-card.update .notice-icon svg {
    color: var(--blue-mid);
}

.notice-card.new .notice-icon {
    background: var(--green-pale);
}

.notice-card.new .notice-icon svg {
    color: var(--green-mid);
}

.notice-card.info .notice-icon {
    background: var(--purple-pale);
}

.notice-card.info .notice-icon svg {
    color: var(--purple-mid);
}

.notice-icon svg {
    width: 19px;
    height: 19px;
}

.notice-content {
    flex: 1;
    min-width: 0;
}

.notice-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.notice-type-badge {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 100px;
}

.notice-card.urgent .notice-type-badge {
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
}

.notice-card.update .notice-type-badge {
    background: var(--blue-pale);
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: var(--blue-mid);
}

.notice-card.new .notice-type-badge {
    background: var(--green-pale);
    border: 1px solid rgba(22, 163, 74, 0.22);
    color: var(--green-mid);
}

.notice-card.info .notice-type-badge {
    background: var(--purple-pale);
    border: 1px solid rgba(109, 40, 217, 0.22);
    color: var(--purple-mid);
}

.notice-date {
    font-size: 11px;
    color: var(--muted);
}

.notice-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.3;
}

.notice-body {
    font-size: 12.5px;
    color: var(--ink2);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 10px;
}

.countdown-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.countdown-label {
    font-size: 10.5px;
    color: var(--muted);
    font-weight: 500;
}

.countdown-blocks {
    display: flex;
    gap: 5px;
}

.cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 34px;
}

.cd-val {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    padding: 4px 5px;
    border-radius: 6px;
    min-width: 34px;
    text-align: center;
}

.notice-card.urgent .cd-val {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.notice-card.update .cd-val {
    background: var(--blue-pale);
    color: var(--blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.notice-card.new .cd-val {
    background: var(--green-pale);
    color: var(--green);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.notice-card.info .cd-val {
    background: var(--purple-pale);
    color: var(--purple);
    border: 1px solid rgba(109, 40, 217, 0.2);
}

.cd-unit {
    font-size: 8.5px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.cd-sep {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    align-self: flex-start;
    padding-top: 5px;
}

.notice-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    flex-shrink: 0;
    margin-top: 4px;
    transition: all 0.2s;
}

.notice-card:hover .notice-arrow {
    border-color: transparent;
    color: #fff;
}

.notice-card.urgent:hover .notice-arrow {
    background: #ef4444;
}

.notice-card.update:hover .notice-arrow {
    background: var(--blue-mid);
}

.notice-card.new:hover .notice-arrow {
    background: var(--green-mid);
}

.notice-card.info:hover .notice-arrow {
    background: var(--purple-mid);
}

.notice-arrow svg {
    width: 11px;
    height: 11px;
}

/* ═══════════════════════════════════════════
   SIDE POPUPS
═══════════════════════════════════════════ */
.side-popup {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 9999;
    width: 310px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.13), 0 4px 16px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: none;
}

.side-popup.slide-in {
    display: block;
    animation: slideIn 0.55s cubic-bezier(0.34, 1.15, 0.64, 1) forwards;
}

.side-popup.slide-out {
    display: block;
    animation: slideOut 0.38s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(360px);
        opacity: 0
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes slideOut {
    to {
        transform: translateX(360px);
        opacity: 0
    }
}

.popup-header {
    padding: 15px 15px 13px;
    position: relative;
    overflow: hidden;
}

.popup-header::before {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
}

.popup-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

#popup1 .popup-header {
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
}

#popup2 .popup-header {
    background: linear-gradient(135deg, var(--green), var(--green-mid));
}

#popup3 .popup-header {
    background: linear-gradient(135deg, var(--purple), var(--purple-mid));
}

.p-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 11px;
}

.p-site-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.p-site-logo {
    width: 27px;
    height: 27px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-site-logo svg {
    width: 13px;
    height: 13px;
    color: #fff;
}

.p-site-label {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
}

.p-site-label span {
    color: rgba(255, 255, 255, .45);
    font-weight: 400;
}

.p-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.p-nav-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.p-nav-dot.active {
    background: rgba(255, 255, 255, .9);
    transform: scale(1.25);
}

.p-nav-dot:hover:not(.active) {
    background: rgba(255, 255, 255, .5);
}

.p-close {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}

.p-close:hover {
    background: rgba(255, 255, 255, .2);
}

.p-close svg {
    width: 9px;
    height: 9px;
    color: rgba(255, 255, 255, .6);
}

.p-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 100px;
    padding: 3px 9px 3px 7px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 9px;
}

.p-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: blink 1.5s ease infinite;
}

.p-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.p-title span {
    color: rgba(255, 255, 255, .65);
}

.popup-body {
    padding: 14px 15px 16px;
}

.p-info-card {
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 11px 13px;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: border-color .2s, background .2s;
}

#popup1 .p-info-card:hover {
    border-color: rgba(15, 76, 129, .2);
    background: var(--blue-pale);
}

#popup2 .p-info-card:hover {
    border-color: rgba(21, 128, 61, .2);
    background: var(--green-pale);
}

#popup3 .p-info-card:hover {
    border-color: rgba(109, 40, 217, .2);
    background: var(--purple-pale);
}

.p-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
}

#popup1 .p-card-icon {
    background: linear-gradient(145deg, var(--blue-mid), var(--blue));
}

#popup2 .p-card-icon {
    background: linear-gradient(145deg, var(--green-mid), var(--green));
}

#popup3 .p-card-icon {
    background: linear-gradient(145deg, var(--purple-mid), var(--purple));
}

.p-card-icon svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.p-card-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}

.p-card-sub {
    font-size: 11px;
    color: var(--muted);
}

.p-badge {
    display: inline-block;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 7px;
    flex-shrink: 0;
    margin-top: 2px;
}

#popup1 .p-badge {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1d4ed8;
}

#popup2 .p-badge {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #15803d;
}

#popup3 .p-badge {
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    color: #6d28d9;
}

.p-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 13px;
}

.p-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink2);
}

.p-check {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#popup1 .p-check {
    background: var(--blue-pale);
    border: 1px solid rgba(15, 76, 129, .18);
}

#popup2 .p-check {
    background: var(--green-pale);
    border: 1px solid rgba(21, 128, 61, .18);
}

#popup3 .p-check {
    background: var(--purple-pale);
    border: 1px solid rgba(109, 40, 217, .18);
}

#popup1 .p-check svg {
    color: var(--blue);
}

#popup2 .p-check svg {
    color: var(--green);
}

#popup3 .p-check svg {
    color: var(--purple);
}

.p-check svg {
    width: 8px;
    height: 8px;
}

.p-rule {
    height: 1px;
    background: var(--border);
    margin-bottom: 12px;
}

.p-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.p-prev,
.p-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 36px;
    border-radius: 9px;
    border: 1.5px solid var(--border);
    background: var(--off);
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
    color: var(--muted);
}

.p-prev:hover,
.p-next:hover {
    background: var(--white);
    border-color: #ccc;
    color: var(--ink2);
    transform: translateY(-1px);
}

.p-prev svg,
.p-next svg {
    width: 13px;
    height: 13px;
}

.p-cta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    padding: 11px 14px;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: filter .2s, transform .15s;
    position: relative;
    overflow: hidden;
}

.p-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, .1), transparent);
    border-radius: inherit;
    pointer-events: none;
}

.p-cta:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.p-cta:disabled {
    cursor: default;
    filter: none;
}

.p-cta svg {
    width: 13px;
    height: 13px;
}

#popup1 .p-cta {
    background: var(--blue);
    box-shadow: 0 4px 14px rgba(15, 76, 129, .28);
}

#popup2 .p-cta {
    background: var(--green);
    box-shadow: 0 4px 14px rgba(21, 128, 61, .28);
}

#popup3 .p-cta {
    background: var(--purple);
    box-shadow: 0 4px 14px rgba(109, 40, 217, .28);
}

.p-dismiss {
    text-align: center;
    font-size: 10.5px;
    color: var(--muted);
    cursor: pointer;
    transition: color .2s;
}

.p-dismiss:hover {
    color: var(--ink2);
}

.mini-tab {
    position: fixed;
    bottom: 24px;
    right: 0;
    z-index: 9998;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    padding: 10px 13px 10px 11px;
    border-radius: 9px 0 0 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.34, 1.15, .64, 1);
}

.mini-tab.visible {
    transform: translateX(0);
}

.mini-tab svg {
    width: 12px;
    height: 12px;
}

.mini-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 1.5s ease infinite;
}

#miniTab {
    background: var(--blue);
    box-shadow: -3px 3px 14px rgba(15, 76, 129, .35);
}

#miniTab.green {
    background: var(--green);
    box-shadow: -3px 3px 14px rgba(21, 128, 61, .35);
}

#miniTab.purple {
    background: var(--purple);
    box-shadow: -3px 3px 14px rgba(109, 40, 217, .35);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
    background: var(--navy);
    padding: 48px 5% 32px;
}

.footer-inner {
    max-width: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand-name span {
    color: #60a5fa;
}

.footer-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    max-width: 260px;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.footer-link {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    margin-bottom: 9px;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-flag {
    font-size: 14px;
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile accordion */
.drawer-item {
    width: 100%;
}

.drawer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 9px;
    width: 100%;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink2);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s, color 0.18s;
}

.drawer-toggle:hover {
    background: var(--blue-pale);
    color: var(--blue);
}

.drawer-toggle.open {
    background: var(--blue-pale);
    color: var(--blue);
}

.drawer-toggle-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-toggle-left svg {
    width: 14px;
    height: 14px;
}

.drawer-chevron {
    width: 13px;
    height: 13px;
    transition: transform 0.25s;
    color: var(--muted);
    flex-shrink: 0;
}

.drawer-toggle.open .drawer-chevron {
    transform: rotate(180deg);
}

.drawer-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    padding-left: 12px;
}

.drawer-sub.open {
    max-height: 400px;
}

.drawer-sub-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink2);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.16s, color 0.16s;
    border-left: 2px solid transparent;
    margin-bottom: 2px;
}

.drawer-sub-item:hover {
    background: var(--blue-pale);
    color: var(--blue);
    border-left-color: var(--blue-light);
}

.drawer-sub-item svg {
    width: 13px;
    height: 13px;
    color: var(--muted);
    flex-shrink: 0;
}

.drawer-sub-item:hover svg {
    color: var(--blue);
}

.drawer-sub-badge {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1px 5px;
    border-radius: 100px;
    margin-left: auto;
}

@media (max-width: 900px) {

    /* Nav */
    .nav-links,
    .nav-btn-ghost {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .navbar {
        padding: 0 5%;
    }

    /* Hero */
    .hero-wrap {
        padding: 24px 4% 36px;
    }

    .hero {
        flex-direction: column;
        padding: 36px 28px 320px;
        min-height: auto;
        gap: 0;
        align-items: flex-start;
    }

    .hero-left {
        width: 100%;
    }

    .hero-right {
        width: 100%;
        height: 300px;
        position: relative;
        margin-top: 24px;
    }

    .dash-match,
    .dash-scholar,
    .dash-avatar,
    .dash-avatar2 {
        display: none;
    }

    .dash-main {
        width: 100%;
        max-width: 340px;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        animation: none;
    }

    .dash-deadline {
        bottom: auto;
        top: 0;
        left: auto;
        right: 0;
        width: 200px;
        animation: none;
    }

    .content-wrap {
        padding: 36px 4% 60px;
    }

    .side-popup {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 16px;
    }

    .mini-tab {
        bottom: 16px;
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-hd {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .notice-filter {
        margin-top: 4px;
    }

    .notice-card {
        flex-wrap: wrap;
        gap: 12px;
    }

    .notice-icon {
        display: none;
    }

    .notice-card {
        padding: 14px 16px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 540px) {
    .nav-btn-primary {
        display: none;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 28px 20px 260px;
    }

    .hero-headline {
        font-size: 26px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-primary-hero {
        width: 100%;
    }

    .feat-sep {
        display: none;
    }

    .hero-features {
        gap: 8px;
    }

    .dash-main {
        max-width: 100%;
    }

    .dash-deadline {
        display: none;
    }

    .dash-calendar {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .notice-heading {
        font-size: 13.5px;
    }

    .countdown-blocks {
        gap: 3px;
    }

    .cd-val {
        font-size: 12px;
        min-width: 28px;
    }

    .side-popup {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 12px;
    }

    .mini-tab {
        font-size: 0;
        padding: 10px;
    }

    .mini-tab svg,
    .mini-dot {
        display: flex;
    }
}

@media (max-width: 380px) {
    .hero-headline {
        font-size: 23px;
    }

    .nav-btn-primary {
        display: none;
    }
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS BAR
═══════════════════════════════════════════ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--purple-mid));
    z-index: 99999;
    transition: width 0.08s linear;
    border-radius: 0 2px 2px 0;
}

/* ═══════════════════════════════════════════
   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 0.28s, transform 0.28s, background 0.18s;
    box-shadow: 0 6px 22px rgba(15, 76, 129, 0.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;
}

/* ═══════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════ */
.stats-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
    position: relative;
}

.stat-cell:last-child {
    border-right: none;
}

.stat-num {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.04em;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
}

.stat-sub {
    font-size: 11.5px;
    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);
    }
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.hiw-section {
    margin-top: 60px;
}

.hiw-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    /* position: relative; */
}

.hiw-steps-grid::before {
    content: '';
    position: absolute;
    top: 35px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    /* border-top: 1.5px dashed rgba(59, 130, 246, 0.3); */
    pointer-events: none;
}

.hiw-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.hiw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.09);
    border-color: rgba(59, 130, 246, 0.3);
}

.hiw-num-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.25);
    background: var(--blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--blue);
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
    transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.hiw-card:hover .hiw-num-wrap {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.hiw-emoji {
    font-size: 22px;
    margin-bottom: 10px;
}

.hiw-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.hiw-desc {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.65;
}

@media(max-width:700px) {
    .hiw-steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;

    }

    .hiw-steps-grid::before {
        display: none;
    }
}

/* ═══════════════════════════════════════════
   UNIVERSITIES
═══════════════════════════════════════════ */
.unis-section {
    margin-top: 60px;
}

.unis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.uni-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
    text-decoration: none;
}

.uni-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.35);
    background: var(--blue-pale);
}

.uni-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

.uni-logo.blue {
    background: linear-gradient(135deg, var(--blue-mid), var(--blue));
    color: #fff;
    font-size: 12px;
}

.uni-logo.green {
    background: linear-gradient(135deg, var(--green-mid), var(--green));
    color: #fff;
    font-size: 12px;
}

.uni-logo.purple {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple));
    color: #fff;
    font-size: 12px;
}

.uni-info {
    flex: 1;
    min-width: 0;
}

.uni-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.uni-city {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.uni-arr {
    color: var(--muted);
    font-size: 13px;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.uni-card:hover .uni-arr {
    color: var(--blue);
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testi-section {
    margin-top: 60px;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testi-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.testi-card.feat-blue {
    border-color: rgba(59, 130, 246, 0.28);
    background: linear-gradient(150deg, var(--blue-pale), #fff 60%);
}

.testi-card.feat-blue:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.testi-card.feat-green {
    border-color: rgba(22, 163, 74, 0.22);
}

.testi-card.feat-purple {
    border-color: rgba(109, 40, 217, 0.22);
}

.testi-stars {
    display: flex;
    gap: 3px;
}

.testi-star {
    font-size: 14px;
    color: var(--gold);
}

.testi-quote-mark {
    font-size: 38px;
    line-height: 0.65;
    color: var(--blue-light);
    opacity: 0.35;
    font-family: Georgia, serif;
}

.testi-text {
    font-size: 13px;
    color: var(--ink2);
    line-height: 1.72;
    font-style: italic;
    flex: 1;
}

.testi-rule {
    height: 1px;
    background: var(--border);
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testi-av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.testi-av.blue {
    background: linear-gradient(135deg, var(--blue-mid), var(--blue));
}

.testi-av.green {
    background: linear-gradient(135deg, var(--green-mid), var(--green));
}

.testi-av.purple {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple));
}

.testi-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.testi-role {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

@media(max-width:860px) {
    .testi-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:600px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   MID-PAGE CTA
═══════════════════════════════════════════ */
.mid-cta {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--blue) 0%, #1a5cb0 50%, #1e3a8a 100%);
    border-radius: 24px;
    padding: 56px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mid-cta::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -90px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.mid-cta::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.mid-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
}

.mid-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 18px;
}

.mid-cta-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
}

.mid-cta h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.mid-cta h2 em {
    font-style: italic;
    color: #93c5fd;
}

.mid-cta p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin-bottom: 28px;
}

.mid-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-white {
    background: #fff;
    color: var(--blue);
    padding: 13px 30px;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    padding: 13px 30px;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.65);
}

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-section {
    margin-top: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.faq-item {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.open {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 4px 18px rgba(59, 130, 246, 0.09);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.faq-q:hover {
    background: var(--blue-pale);
    color: var(--blue);
}

.faq-item.open .faq-q {
    background: var(--blue-pale);
    color: var(--blue);
}

.faq-ico {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.3s, background 0.2s, border-color 0.2s, color 0.2s;
}

.faq-item.open .faq-ico {
    transform: rotate(45deg);
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.faq-ans {
    max-height: 0;
    overflow: hidden;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.72;
    padding: 0 18px;
    transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s;
}

.faq-item.open .faq-ans {
    max-height: 220px;
    padding: 0 18px 16px;
}

@media(max-width:700px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════ */
.newsletter-section {
    margin-top: 60px;
}

.newsletter-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #eef2ff 40%, #f5f3ff 100%);
    border: 1.5px solid rgba(59, 130, 246, 0.18);
    border-radius: 24px;
    padding: 52px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.nl-left h2 {
    font-size: clamp(20px, 2.4vw, 27px);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.025em;
    line-height: 1.22;
    margin-bottom: 10px;
}

.nl-left h2 span {
    color: var(--blue-mid);
}

.nl-left p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

.nl-perks {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.nl-perk {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink2);
}

.nl-perk-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.nl-perk-icon.blue {
    background: var(--blue-pale);
}

.nl-perk-icon.green {
    background: var(--green-pale);
}

.nl-perk-icon.purple {
    background: var(--purple-pale);
}

.nl-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nl-row {
    display: flex;
    gap: 10px;
}

.nl-input {
    flex: 1;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    padding: 12px 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.nl-input:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.nl-input::placeholder {
    color: var(--muted);
}

.nl-btn {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 11px;
    padding: 12px 24px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(15, 76, 129, 0.28);
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.nl-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(15, 76, 129, 0.36);
    background: #0d3f6e;
}

.nl-note {
    font-size: 11px;
    color: var(--muted);
}

@media(max-width:860px) {
    .newsletter-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: fix;
    /* keeps image nicely inside */
}

.uni-logo img {
    width: 40px;
    /* adjust size */
    height: 40px;
    object-fit: contain;
}

.portfolio-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
}

.portfolio-link:hover {
    text-decoration: underline;
}