@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Merriweather:wght@700;800&display=swap');

:root {
    --bg: #f5f8fc;
    --surface: #ffffff;
    --ink: #0f172a;
    --muted: #475569;
    --line: #dbe5ef;
    --brand-900: #0a5b3b;
    --brand-700: #0d8a59;
    --accent: #b82d3b;
    --gold: #d7ad5a;
    --radius: 16px;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 16px 38px rgba(15, 23, 42, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: clamp(15px, 0.2vw + 14px, 16px); }
body {
    font-family: 'Inter', sans-serif;
    color: var(--muted);
    background: var(--bg);
    line-height: 1.72;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    color: var(--brand-900);
    line-height: 1.2;
}
a { text-decoration: none; transition: 0.25s ease; }
ul { list-style: none; }
p, li { overflow-wrap: anywhere; }

.container { width: min(1320px, 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(70px, 8vw, 98px) 0; }
.text-center { text-align: center; }
.desktop-only { display: inline-flex; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 24px;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(184, 45, 59, 0.3);
}
.btn-primary:hover { background: #982332; transform: translateY(-2px); }
.btn-ghost {
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
}
.btn-ghost:hover { background: #fff; color: var(--brand-900); }

.top-bar {
    background: linear-gradient(90deg, var(--brand-900), #083924);
    color: rgba(255,255,255,0.92);
    padding: 10px 0;
    font-size: 0.86rem;
}
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.contact-list span { display: inline-flex; align-items: center; gap: 7px; margin-right: 18px; }
.contact-list i { color: var(--gold); }
.auth-links a {
    color: #fff;
    background: rgba(255,255,255,0.14);
    padding: 6px 12px;
    border-radius: 8px;
    margin-left: 8px;
    font-weight: 600;
}
.auth-links a.student {
    background: var(--gold);
    color: #1f2937;
}

header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.93);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(148,163,184,0.24);
}
.navbar {
    min-height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-symbol { color: var(--brand-900); font-size: 1.95rem; }
.logo-text h1 { margin: 0; font-size: 1.32rem; }
.logo-text p {
    margin: 0;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.7px;
    font-weight: 700;
    font-size: 0.62rem;
}
.nav-menu { display: flex; gap: 22px; }
.nav-menu a {
    color: var(--ink);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.25s ease;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.hamburger {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--brand-900);
    border-radius: 2px;
    transition: 0.25s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.hero {
    min-height: 64vh;
    position: relative;
    background:
        radial-gradient(circle at 12% 18%, rgba(13, 138, 89, 0.25), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(184, 45, 59, 0.18), transparent 35%),
        linear-gradient(135deg, #081f14, #0d3e28);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(3, 18, 11, 0.72), rgba(6, 30, 19, 0.45));
}
.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 64vh;
    display: grid;
    align-content: center;
    max-width: 920px;
}
.hero-inner h2 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin-bottom: 12px;
}
.hero-inner p {
    color: rgba(255,255,255,0.94);
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.eyebrow {
    display: inline-block;
    color: #f4dfae;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 14px;
}
.eyebrow-dark {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.highlights { padding-top: 36px; }
.high-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.high-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}
.high-card i { color: var(--brand-900); font-size: 1.3rem; margin-bottom: 8px; }
.high-card h3 { font-size: 1rem; margin-bottom: 6px; }

.section-heading { max-width: 840px; margin: 0 auto 32px; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 8px 0; }

.table-wrap {
    overflow: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}
thead th {
    background: #f3f8ff;
    color: var(--ink);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    text-align: left;
}
th, td {
    padding: 14px 16px;
    border-bottom: 1px solid #e8eef6;
}
tbody tr:last-child td { border-bottom: none; }
.note {
    margin-top: 12px;
    font-size: 0.88rem;
    color: #64748b;
}

.surface { background: linear-gradient(180deg, #f8fbff, #edf4fb); }
.blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}
.block h3 {
    font-size: 1.04rem;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.block i { color: var(--brand-900); }
.block li {
    border: 1px solid #e8eef6;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: #fbfdff;
}

.timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 940px;
    margin: 0 auto;
}
.timeline-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: start;
}
.bullet {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf7ef;
    color: var(--brand-900);
    font-weight: 800;
}
.timeline-item h3 { font-size: 1rem; margin-bottom: 6px; }

.faq { background: linear-gradient(180deg, #f8fbff, #eef5fc); }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}
.faq-item h3 { font-size: 1rem; margin-bottom: 7px; }

.cta {
    background:
        linear-gradient(rgba(184, 45, 59, 0.88), rgba(184, 45, 59, 0.93)),
        url('https://source.unsplash.com/1600x680/?finance,university') center/cover no-repeat;
}
.cta-inner { max-width: 900px; }
.cta-inner h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4.5vw, 2.9rem);
    margin-bottom: 8px;
}
.cta-inner p {
    color: rgba(255,255,255,0.95);
    max-width: 72ch;
    margin: 0 auto 18px;
}

footer {
    background: #0f172a;
    color: #c3cfde;
    padding-top: 64px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(148,163,184,0.23);
}
.footer-grid h3,
.footer-grid h4 { color: #fff; margin-bottom: 8px; }
.footer-grid a { color: #c3cfde; }
.footer-grid a:hover { color: #f6dda8; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid i { color: var(--gold); margin-right: 8px; }
.footer-bottom {
    text-align: center;
    padding: 18px 0;
    color: #8ea0bb;
    font-size: 0.88rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@media (max-width: 1200px) {
    .nav-menu { gap: 14px; }
    .nav-menu a { font-size: 0.74rem; }
}

@media (max-width: 980px) {
    .high-grid { grid-template-columns: repeat(2, 1fr); }
    .blocks { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .desktop-only { display: none; }
}

@media (max-width: 768px) {
    .contact-list { display: grid; gap: 5px; text-align: center; }
    .contact-list span { margin-right: 0; justify-content: center; }
    .auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .auth-links a { margin-left: 0; }
    .nav-actions .btn-primary { display: none; }
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 86px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 86px);
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: 0.3s ease;
        z-index: 998;
    }
    .nav-menu.active { left: 0; }
    .hero-actions .btn { width: 100%; }
    .timeline-item { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
