/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== Base ===== */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #475569;
    line-height: 1.65;
    background: #f4ede1;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'ss01' on, 'cv11' on;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    color: #0e1b2c;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
}

a { color: #2547f5; text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: #1d38d0; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* Utility: eyebrow label */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #0e1b2c;
    margin-bottom: 18px;
    text-transform: none;
    letter-spacing: 0;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: #0e1b2c;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(244, 237, 225, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(14, 27, 44, 0.08);
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon { width: 42px; height: 42px; object-fit: contain; }

.logo-name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #0e1b2c;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.logo-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
    margin-top: 3px;
    letter-spacing: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* Nav */
.main-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
}

.main-nav a {
    display: block;
    padding: 8px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
    border-radius: 999px;
}

.main-nav a:hover { color: #0e1b2c; }
.main-nav a.active {
    color: #f4ede1;
    background: #0e1b2c;
    font-weight: 500;
}

/* Language toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(14,27,44,0.06);
    border-radius: 999px;
    padding: 3px;
}

.lang-btn {
    display: block;
    padding: 6px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

.lang-btn.active { background: #0e1b2c; color: #f4ede1; }
.lang-btn:hover:not(.active) { color: #0e1b2c; }

/* Mobile toggle */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-btn span { width: 22px; height: 2px; background: #0e1b2c; border-radius: 2px; transition: all 0.2s; }

/* ===== HERO (Homepage) ===== */
.hero {
    background: #f4ede1;
    padding: 100px 0 120px;
    text-align: left;
    position: relative;
    overflow: hidden;
    color: #0e1b2c;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; right: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(37,71,245,0.14) 0%, rgba(37,71,245,0.04) 50%, transparent 72%);
    pointer-events: none;
    filter: blur(8px);
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 36px;
    background: rgba(14,27,44,0.04);
    padding: 8px 16px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
    border: none;
}

.hero-label::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2547f5;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 84px;
    color: #0e1b2c;
    margin-bottom: 32px;
    max-width: 1000px;
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.hero h1 em {
    font-style: normal;
    color: #2547f5;
    font-weight: 600;
}

.hero-text {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    color: #475569;
    max-width: 640px;
    margin: 0 0 44px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== STATS BAND ===== */
.stats-band {
    background: #0e1b2c;
    padding: 0;
    color: #f4ede1;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.stat-item {
    flex: 1;
    text-align: left;
    padding: 56px 32px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(244,237,225,0.12);
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 72px;
    font-weight: 500;
    color: #f4ede1;
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
}

.stat-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(244,237,225,0.55);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

/* ===== BUTTONS ===== */
.btn-fill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    background: #0e1b2c;
    color: #f4ede1;
    transition: all 0.2s;
    text-decoration: none;
    letter-spacing: 0;
    text-transform: none;
    border: none;
    border-radius: 999px;
}
.btn-fill:hover { background: #2547f5; color: #f4ede1; transform: translateY(-1px); }

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #0e1b2c;
    background: transparent;
    border: 1px solid rgba(14,27,44,0.2);
    transition: all 0.2s;
    text-decoration: none;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 999px;
}
.btn-line:hover { border-color: #0e1b2c; background: rgba(14,27,44,0.04); color: #0e1b2c; }

/* When btn-line sits on dark background (hero variant rarely) */
.hero .btn-line { color: #0e1b2c; border-color: rgba(14,27,44,0.2); }
.hero .btn-line:hover { background: rgba(14,27,44,0.06); }

/* CTA band overrides */
.cta-band .btn-fill { background: #2547f5; }
.cta-band .btn-fill:hover { background: #1d38d0; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 999px;
}

.btn-primary { background: #0e1b2c; color: #f4ede1; border-color: #0e1b2c; }
.btn-primary:hover { background: #2547f5; border-color: #2547f5; color: #f4ede1; }

.btn-secondary { background: transparent; color: #0e1b2c; border-color: rgba(14,27,44,0.2); }
.btn-secondary:hover { background: #0e1b2c; color: #f4ede1; border-color: #0e1b2c; }

.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ===== LINK STYLES ===== */
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0e1b2c;
    text-transform: none;
    letter-spacing: 0;
    transition: gap 0.2s, color 0.2s;
}
.link-more::after { content: '\2197'; font-size: 18px; line-height: 0.8; transition: transform 0.2s; }
.link-more:hover { color: #2547f5; }
.link-more:hover::after { transform: translate(2px,-2px); }

/* ===== SECTIONS ===== */
.section { padding: 120px 0; background: #f4ede1; }
.section-alt { background: #fffbf2; }
.section-gray { background: #fffbf2; }

.section > .container > h2,
.section h2:first-child {
    font-size: 52px;
    margin-bottom: 60px;
    font-weight: 600;
    letter-spacing: -0.03em;
    max-width: 880px;
    line-height: 1.05;
}

.section > .container > h2 + p.section-intro,
.section-intro {
    color: #64748b;
    font-size: 17px;
    max-width: 720px;
    margin-top: -44px;
    margin-bottom: 60px;
    line-height: 1.65;
}

/* ===== PAGE HEADER (subpages) ===== */
.page-header {
    background: #f4ede1;
    padding: 100px 0 80px;
    color: #0e1b2c;
    position: relative;
    border-bottom: 1px solid rgba(14,27,44,0.08);
}

.page-header::after { display: none; }

.page-header .container {
    display: flex;
    flex-direction: column;
}

.page-header .breadcrumb {
    order: -1;
    margin-bottom: 24px;
}

.page-header h1 {
    color: #0e1b2c;
    font-size: 72px;
    font-weight: 600;
    letter-spacing: -0.035em;
    max-width: 1000px;
    line-height: 1;
}

.breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.breadcrumb a { color: #2547f5; }
.breadcrumb a:hover { color: #1d38d0; }

/* ===== WELCOME GRID (Homepage) ===== */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 88px;
    align-items: start;
}

.welcome-text h2 {
    font-size: 52px;
    margin-bottom: 36px;
    max-width: 700px;
    line-height: 1.05;
}

.welcome-text p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.7;
}

.welcome-text p:first-of-type {
    font-size: 21px;
    color: #0e1b2c;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.side-card {
    background: #fffbf2;
    border: none;
    padding: 32px;
    margin-bottom: 20px;
    border-radius: 20px;
}

.side-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    margin-bottom: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.side-card.accent {
    background: #0e1b2c;
    border-color: #0e1b2c;
    color: #f4ede1;
}

.side-card.accent h3 { color: #f4ede1; }
.side-card.accent p { color: rgba(244,237,225,0.72); font-family: 'Inter', sans-serif; font-size: 14.5px; }
.side-card.accent a { color: #8ca3ff; border-bottom: none; }
.side-card.accent a:hover { color: #b5c5ff; }

.tuition-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 52px;
    font-weight: 500;
    color: #f4ede1 !important;
    margin: 16px 0 12px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.tuition-note {
    font-size: 14px;
    line-height: 1.6;
}

.feature-list li {
    padding: 10px 0 10px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #334155;
    position: relative;
    border-bottom: 1px solid rgba(14,27,44,0.06);
}

.feature-list li:last-child { border-bottom: none; padding-bottom: 0; }

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #2547f5;
}

/* ===== TWO COLUMN (subpages) ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 88px;
    align-items: start;
}

.col-text h2 {
    font-size: 48px;
    margin-bottom: 28px;
    line-height: 1.05;
}

.col-text h2:not(:first-child) {
    margin-top: 60px;
}

.col-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.col-text p {
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: #475569;
    line-height: 1.7;
}

.key-facts {
    display: flex;
    gap: 48px;
    margin-top: 36px;
    padding: 32px 0;
    border-top: 1px solid rgba(14,27,44,0.08);
    border-bottom: 1px solid rgba(14,27,44,0.08);
}

.fact strong {
    display: block;
    font-size: 52px;
    color: #0e1b2c;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
}

.fact span {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    margin-top: 8px;
    display: block;
}

/* ===== ASIDE BOX (subpages) ===== */
.aside-box {
    background: #fffbf2;
    border: none;
    padding: 32px;
    border-radius: 20px;
}

.section-alt .aside-box,
.section-gray .aside-box { background: #f4ede1; }

.aside-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    margin-bottom: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.highlight-box {
    border: 1px solid #2547f5;
    background: #fffbf2;
    position: relative;
}

.highlight-box::before { display: none; }

.check-list li {
    padding: 12px 0 12px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #334155;
    position: relative;
    border-bottom: 1px solid rgba(14,27,44,0.06);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #2547f5;
}

.info-list li {
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #334155;
    border-bottom: 1px solid rgba(14,27,44,0.06);
}

.info-list li:last-child { border-bottom: none; }
.info-list strong { color: #0e1b2c; font-weight: 600; }

/* ===== CAMPUS CARDS ===== */
.campus-row,
.campus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.campus-grid-three { grid-template-columns: repeat(3, 1fr); }
.campus-grid-four { grid-template-columns: repeat(2, 1fr); }

.campus-item,
.campus-card {
    background: #fffbf2;
    border: none;
    border-radius: 24px;
    padding: 44px 40px;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.campus-item::before,
.campus-card::before {
    content: '';
    position: absolute;
    bottom: -60%;
    right: -30%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(37,71,245,0.06), transparent 70%);
    transition: transform 0.6s ease;
    pointer-events: none;
    opacity: 0;
}

.campus-item:hover::before,
.campus-card:hover::before { opacity: 1; transform: translate(-20px, -40px); }

.campus-item:hover,
.campus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -20px rgba(14,27,44,0.16);
}

.section-alt .campus-item,
.section-alt .campus-card,
.section-gray .campus-card { background: #f4ede1; }

.campus-badge,
.campus-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #2547f5;
    margin-bottom: 14px;
    background: rgba(37,71,245,0.08);
    padding: 6px 12px;
    border-radius: 999px;
}

.campus-item h3,
.campus-card h3 {
    font-size: 30px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.025em;
    position: relative;
    z-index: 1;
}

.campus-item > p,
.campus-card > p {
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    color: #475569;
    margin-bottom: 22px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.campus-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    margin: 28px 0 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
    z-index: 1;
}

/* ===== NEWS ===== */
.news-list { display: flex; flex-direction: column; }

.news-entry {
    display: flex;
    gap: 48px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(14,27,44,0.08);
    align-items: flex-start;
}

.news-entry:first-child { padding-top: 8px; }
.news-entry:last-child { border-bottom: none; }

.news-time {
    flex-shrink: 0;
    width: 160px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    padding-top: 6px;
    text-transform: none;
    letter-spacing: 0;
}

.news-body h3 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.news-body p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.65;
}

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

.news-date {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.news-item h3 { font-size: 24px; margin-bottom: 14px; line-height: 1.25; }
.news-item p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #475569;
    margin-bottom: 14px;
    line-height: 1.65;
}

/* ===== TESTIMONIAL (quote section) ===== */
.quote-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-section::before { display: none; }

.main-quote {
    border: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.main-quote p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    color: #0e1b2c;
    font-style: normal;
    line-height: 1.2;
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.main-quote cite {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
}

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: #fffbf2;
    border: none;
    border-left: none;
    padding: 36px 32px;
    text-align: left;
    border-radius: 20px;
}

.section-alt .testimonial,
.section-gray .testimonial { background: #f4ede1; }

.testimonial p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    color: #0e1b2c;
    font-style: normal;
    margin-bottom: 20px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -0.015em;
}

.testimonial cite {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
}

/* ===== CTA BAND (Homepage) ===== */
.cta-band {
    background: #0e1b2c;
    padding: 120px 0;
    text-align: center;
    color: #f4ede1;
    position: relative;
    overflow: hidden;
}

.cta-band::before { display: none; }

.cta-band::after {
    content: '';
    position: absolute;
    top: -40%; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,71,245,0.18), transparent 60%);
    pointer-events: none;
    filter: blur(60px);
}

.cta-band h2 {
    color: #f4ede1;
    font-size: 64px;
    margin-bottom: 20px;
    letter-spacing: -0.035em;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.cta-band p {
    font-family: 'Inter', sans-serif;
    color: rgba(244,237,225,0.68);
    font-size: 18px;
    margin-bottom: 44px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

/* ===== TABLES ===== */
.level-table, .exam-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    background: #fffbf2;
    border-radius: 16px;
    overflow: hidden;
}

.section-alt .level-table,
.section-alt .exam-table,
.section-gray .level-table,
.section-gray .exam-table { background: #f4ede1; }

.level-table th, .exam-table th {
    background: transparent;
    color: #0e1b2c;
    padding: 18px 22px;
    text-align: left;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0;
    text-transform: none;
    border-bottom: 1px solid rgba(14,27,44,0.12);
}

.level-table td, .exam-table td {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(14,27,44,0.06);
    vertical-align: top;
    color: #334155;
}

.level-table tbody tr:last-child td,
.exam-table tbody tr:last-child td { border-bottom: none; }

.level-table tbody tr:hover,
.exam-table tbody tr:hover { background: rgba(37,71,245,0.03); }

.staff-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    margin-bottom: 28px;
    background: #fffbf2;
    border-radius: 16px;
    overflow: hidden;
}

.section-alt .staff-table,
.section-gray .staff-table { background: #f4ede1; }

.staff-table th {
    background: transparent;
    color: #0e1b2c;
    padding: 18px 22px;
    text-align: left;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0;
    text-transform: none;
    border-bottom: 1px solid rgba(14,27,44,0.12);
}

.staff-table td {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(14,27,44,0.06);
    vertical-align: top;
    color: #334155;
}

.staff-table tbody tr:last-child td { border-bottom: none; }
.staff-table tbody tr:hover { background: rgba(37,71,245,0.03); }
.staff-table-wrap { overflow-x: auto; }

.contact-table {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    border-collapse: collapse;
    margin-bottom: 14px;
}

.contact-table td {
    padding: 14px 0;
    border-bottom: 1px solid rgba(14,27,44,0.06);
    vertical-align: top;
    color: #334155;
}

.contact-table td:first-child {
    font-weight: 600;
    width: 100px;
    color: #64748b;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
}

/* ===== COURSES GRID ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-item {
    background: #fffbf2;
    border: none;
    border-radius: 20px;
    padding: 36px 32px;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.course-item::before { display: none; }

.course-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -20px rgba(14,27,44,0.16);
}

.section-alt .course-item,
.section-gray .course-item { background: #f4ede1; }

.course-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.course-header h3 { font-size: 20px; margin: 0; font-weight: 600; letter-spacing: -0.015em; }

.course-tag {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    background: #0e1b2c;
    color: #f4ede1;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 999px;
}

.course-item > p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.65;
}

.course-info-table {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    margin-bottom: 16px;
    border-collapse: collapse;
}

.course-info-table td { padding: 7px 0; border-bottom: 1px solid rgba(14,27,44,0.06); color: #334155; }
.course-info-table td:first-child { font-weight: 500; color: #64748b; width: 110px; }

.course-item.compact { padding: 32px 28px; }
.course-item.compact h3 { font-size: 20px; margin-bottom: 14px; font-weight: 600; letter-spacing: -0.015em; }
.course-item.compact p { font-size: 15px; color: #475569; margin-bottom: 0; line-height: 1.65; }

/* ===== TEAM GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.team-member {
    display: flex;
    gap: 24px;
    background: #fffbf2;
    border: none;
    padding: 32px;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    align-items: flex-start;
    border-radius: 20px;
}

.section-alt .team-member,
.section-gray .team-member { background: #f4ede1; }

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -20px rgba(14,27,44,0.16);
}

.member-photo { flex-shrink: 0; }

.photo-placeholder {
    width: 72px;
    height: 72px;
    background: #0e1b2c;
    color: #f4ede1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    border-radius: 50%;
}

.member-info h3 {
    font-size: 20px;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.member-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #2547f5;
    font-weight: 500;
    margin-bottom: 14px;
    text-transform: none;
    letter-spacing: 0;
}

.member-info > p:last-child {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
}

.member-email {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #2547f5;
    margin-top: 10px;
    word-break: break-all;
}

.member-email a { color: #2547f5; }
.member-email a:hover { color: #1d38d0; }

/* ===== CONTENT BLOCKS ===== */
.content-block { max-width: 880px; }
.content-block p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.7;
}

.bullet-list { list-style: none; padding: 0; margin-bottom: 20px; }
.bullet-list li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #334155;
    padding: 8px 0 8px 28px;
    position: relative;
}
.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 19px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #2547f5;
}

.numbered-list {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin-bottom: 20px;
}
.numbered-list li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #334155;
    padding: 16px 0 16px 56px;
    line-height: 1.7;
    counter-increment: step;
    position: relative;
    border-bottom: 1px solid rgba(14,27,44,0.06);
}
.numbered-list li:last-child { border-bottom: none; }
.numbered-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(37,71,245,0.1);
    color: #2547f5;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}

.delf-note {
    background: rgba(37,71,245,0.06);
    border-left: 3px solid #2547f5;
    padding: 24px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
    border-radius: 0 16px 16px 0;
}

.section-gray .delf-note,
.section-alt .delf-note { background: rgba(37,71,245,0.06); }

.status-open {
    display: inline-block;
    padding: 5px 14px;
    background: #2547f5;
    color: #f4ede1;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 999px;
}

.status-upcoming {
    display: inline-block;
    padding: 5px 14px;
    background: #cbd5e1;
    color: #0e1b2c;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 999px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 880px; }

.faq-item {
    padding: 32px 0;
    border-bottom: 1px solid rgba(14,27,44,0.08);
}

.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: -0.015em;
}
.faq-item p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-details h3, .contact-form-wrap h3 { font-size: 24px; margin-bottom: 20px; }

.map-placeholder {
    background: #fffbf2;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px dashed rgba(14,27,44,0.15);
    margin-top: 32px;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 20px;
}

/* ===== FORMS ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #64748b;
    text-transform: none;
    letter-spacing: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(14,27,44,0.12);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background: #fffbf2;
    color: #0e1b2c;
    transition: border-color 0.2s, box-shadow 0.2s;
    border-radius: 12px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2547f5;
    box-shadow: 0 0 0 4px rgba(37,71,245,0.1);
}
.form-group textarea { resize: vertical; font-family: 'Inter', sans-serif; }

/* ===== FOOTER ===== */
.site-footer {
    background: #0e1b2c;
    color: rgba(244,237,225,0.65);
    padding: 96px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(244,237,225,0.08);
}

.footer-brand {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #f4ede1;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.footer-info p { line-height: 1.7; margin-bottom: 14px; max-width: 380px; }
.footer-email a { color: #8ca3ff; }
.footer-email a:hover { color: #b5c5ff; }

.site-footer h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #f4ede1;
    margin-bottom: 22px;
}

.site-footer ul li { margin-bottom: 12px; }
.site-footer ul a { color: rgba(244,237,225,0.6); font-size: 14.5px; }
.site-footer ul a:hover { color: #f4ede1; }

.footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 13px;
    color: rgba(244,237,225,0.4);
    letter-spacing: 0;
}

.footer-lang {
    color: rgba(244,237,225,0.55);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(244,237,225,0.06);
    transition: all 0.2s;
}

.footer-lang:hover { color: #f4ede1; background: rgba(244,237,225,0.12); }

/* ===== FOCUS & ACCESSIBILITY ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2547f5;
    outline-offset: 3px;
    border-radius: 4px;
}

.main-nav a:focus-visible,
.lang-btn:focus-visible,
.btn-fill:focus-visible,
.btn-line:focus-visible,
.btn:focus-visible,
.footer-lang:focus-visible { border-radius: 999px; }

/* ===== ANIMATIONS ===== */
@keyframes navSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .hero h1 { font-size: 64px; }
    .page-header h1 { font-size: 56px; }
    .section > .container > h2 { font-size: 42px; }
    .welcome-text h2 { font-size: 42px; }
}

@media (max-width: 900px) {
    .two-col, .welcome-grid { grid-template-columns: 1fr; gap: 56px; }
    .courses-grid, .team-grid, .news-grid, .campus-grid, .campus-row, .campus-grid-three { grid-template-columns: 1fr; }
    .testimonials-row { grid-template-columns: 1fr; }
    .staff-table { font-size: 13.5px; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .stats-row { flex-wrap: wrap; }
    .stat-item { flex: 1 1 50%; padding: 40px 24px; }
    .stat-item:nth-child(3)::before { display: none; }
    .news-entry { flex-direction: column; gap: 10px; }
    .news-time { width: auto; }
    .cta-band h2 { font-size: 48px; }
    .stat-number { font-size: 56px; }
    .main-quote p { font-size: 28px; }
    .section { padding: 80px 0; }
    .fact strong { font-size: 42px; }
    .col-text h2 { font-size: 38px; }
}

@media (max-width: 640px) {
    .menu-btn { display: flex; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #f4ede1;
        box-shadow: 0 8px 24px rgba(14,27,44,0.08);
        border-top: 1px solid rgba(14,27,44,0.08);
    }

    .main-nav.open { display: block; animation: navSlide 0.25s ease-out; }
    .main-nav ul { flex-direction: column; padding: 12px; gap: 0; align-items: stretch; }
    .main-nav a { padding: 14px 20px; border-radius: 12px; font-size: 15px; }
    .main-nav a.active { background: #0e1b2c; color: #f4ede1; border-radius: 12px; }

    .header-flex { height: 72px; }
    .logo-name { font-size: 15px; }
    .logo-sub { font-size: 10.5px; }
    .logo-icon { width: 36px; height: 36px; }
    .header-actions { gap: 16px; }

    .container { padding: 0 20px; }

    .hero { padding: 64px 0 72px; }
    .hero h1 { font-size: 42px; letter-spacing: -0.03em; }
    .hero-text { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions a { text-align: center; justify-content: center; }

    .stat-item { flex: 1 1 100%; padding: 32px; text-align: center; }
    .stat-item::before { display: none !important; }
    .stat-number { font-size: 56px; }

    .section { padding: 60px 0; }
    .section > .container > h2 { font-size: 32px; margin-bottom: 32px; }
    .page-header { padding: 56px 0 48px; }
    .page-header h1 { font-size: 36px; }

    .welcome-text p:first-of-type { font-size: 18px; }

    .main-quote p { font-size: 22px; }

    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bar { flex-direction: column; gap: 14px; text-align: center; }
    .key-facts { flex-direction: column; gap: 24px; }

    .level-table, .exam-table, .staff-table { font-size: 13px; }
    .level-table th, .exam-table th, .level-table td, .exam-table td, .staff-table th, .staff-table td { padding: 14px 16px; }

    .cta-band { padding: 72px 0; }
    .cta-band h2 { font-size: 34px; }
    .cta-band p { font-size: 16px; margin-bottom: 32px; }

    .campus-item, .campus-card, .course-item, .team-member, .side-card, .aside-box { padding: 28px 24px; border-radius: 20px; }
    .campus-item h3, .campus-card h3 { font-size: 24px; }

    .team-member { flex-direction: row; gap: 18px; }
    .photo-placeholder { width: 56px; height: 56px; font-size: 18px; }

    .news-body h3 { font-size: 22px; }

    .col-text h2 { font-size: 32px; }
    .col-text h2:not(:first-child) { margin-top: 40px; }
}
