*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --midnight: #0A1628;
    --midnight-light: #132240;
    --midnight-mid: #1a2d4a;
    --mint: #5EEAD4;
    --mint-light: #7FF5E2;
    --mint-dark: #3DD4BA;
    --cream: #F8FAF9;
    --white: #FFFFFF;
    --text-dark: #0F1C2E;
    --text-muted: #64748B;
    --text-light: #E2E8F0;
    --border: rgba(94, 234, 212, 0.15);
    --border-dark: rgba(255, 255, 255, 0.08);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    transition: background 0.3s ease;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--mint);
    color: var(--midnight);
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.nav-logo-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--mint);
}

.nav-cta {
    background: var(--mint) !important;
    color: var(--midnight) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

.nav-cta:hover {
    background: var(--mint-light) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    background: var(--midnight);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(94, 234, 212, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(94, 234, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235EEAD4' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-eyebrow {
    color: var(--mint);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    color: var(--mint);
    font-style: italic;
}

.hero-sub {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    opacity: 0.85;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(94, 234, 212, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

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

.btn-light {
    background: var(--white);
    color: var(--midnight);
}

.btn-light:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ─── STAT CARDS ─── */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 24px 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
    border-color: rgba(94, 234, 212, 0.3);
    transform: translateX(-4px);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.4;
}

/* ─── SECTIONS ─── */
section {
    padding: 100px 0;
}

.section-label {
    color: var(--mint-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* ─── COURSES ─── */
.courses {
    background: var(--cream);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.course-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(10, 22, 40, 0.1);
    border-color: var(--mint);
}

.course-icon {
    width: 56px;
    height: 56px;
    background: var(--midnight);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    margin-bottom: 20px;
}

.course-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.course-card > p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
}

.course-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-features li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

.course-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--mint);
    border-radius: 50%;
}

/* ─── APPROACH ─── */
.approach {
    background: var(--white);
}

.approach-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.approach-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.approach-intro {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 40px;
}

.approach-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.approach-point {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
}

.approach-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--mint-dark);
    opacity: 0.5;
    line-height: 1;
}

.approach-point h4 {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.approach-point p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ─── ABOUT ─── */
.about {
    background: var(--midnight);
    color: var(--white);
}

.about .section-label {
    color: var(--mint);
}

.about .section-title {
    color: var(--white);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text > p {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 20px;
    opacity: 0.85;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-dark);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--mint);
    line-height: 1;
}

.about-stat-label {
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.65;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 5/4;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── CTA STRIP ─── */
.cta-strip {
    background: var(--mint);
    padding: 80px 0;
}

.cta-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--midnight);
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-inner p {
    color: var(--midnight);
    font-size: 1.125rem;
    opacity: 0.75;
    margin-bottom: 32px;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── CONTACT ─── */
.contact {
    background: var(--cream);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--mint-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
}

.contact-item a {
    color: var(--midnight);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--mint-dark);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
}

/* ─── FORM ─── */
.contact-form-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-note {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-optional {
    font-weight: 400;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint-dark);
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(94, 234, 212, 0.1);
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: 10px;
    color: var(--midnight);
    font-weight: 600;
    font-size: 15px;
    margin-top: 16px;
}

.form-success svg {
    color: var(--mint-dark);
    flex-shrink: 0;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--midnight);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .nav-logo-mark {
    width: 44px;
    height: 44px;
    font-size: 22px;
}

.footer-name {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.6;
    max-width: 260px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--mint);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.7;
}

.footer-contact a {
    color: var(--mint);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--mint-light);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-dark);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 13px;
    opacity: 0.4;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── MOBILE NAV ─── */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--midnight);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-dark);
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        z-index: 99;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats {
        order: -1;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .approach-layout,
    .about-inner,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .approach-image {
        aspect-ratio: 16/9;
    }

    .about-image {
        aspect-ratio: 16/9;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-stats {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-card {
        padding: 18px 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    section {
        padding: 72px 0;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
