/* ============================================================
   Chineosina Edu — Main Stylesheet (Premium Redesign v3)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --terra:        #cb6040;
    --terra-light:  #e8956a;
    --gold:         #d4a017;
    --gold-light:   #f0c84a;
    --silver:       #c8d8e8;
    --silver-light: #e8f0f8;
    --green-deep:   #061408;
    --nav-h:        118px;

    /* Glass cards — semi-transparent with blur */
    --glass-bg:     rgba(6, 24, 10, 0.45);
    --glass-border: rgba(200, 216, 232, 0.18);
    --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
    --glass-blur:   blur(20px);

    /* Hero / nav darker card */
    --hero-card:    rgba(4, 16, 7, 0.60);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', Arial, sans-serif;
    background: url('../img/bkgrnd1_1.jpg') no-repeat center center / cover fixed;
    background-color: #0a1f0c;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* LIGHT overlay — background stays clearly visible */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(3, 12, 5, 0.42);
    z-index: 0;
    pointer-events: none;
}

a { text-decoration: none; color: inherit; }

header, .hero, .about-strip, .ornament-divider,
.courses-section, .cta-banner, footer {
    position: relative;
    z-index: 1;
}

/* ============================================================
   FLOATING PARTICLES (JS-driven, created in script)
   ============================================================ */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
}

/* ============================================================
   HEADER / NAV  — darker glass card to stand out from bg
   ============================================================ */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    z-index: 1000;
    background: var(--hero-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(200, 216, 232, 0.12);
    box-shadow: 0 4px 32px rgba(0,0,0,0.28);
    transition: background 0.4s, box-shadow 0.4s;
}

header.scrolled {
    background: rgba(4, 14, 6, 0.82);
    box-shadow: 0 4px 40px rgba(0,0,0,0.45);
}

.logo-wrap { display: flex; align-items: center; gap: 14px; }

.logo-wrap img, #logo-img {
    height: 100px; width: auto; display: block;
    filter: drop-shadow(0 0 14px rgba(240,200,74,0.5));
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }

.logo-text .logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 700;
    color: var(--gold-light); letter-spacing: 0.04em;
}

.logo-text .logo-tagline {
    font-size: 10px; color: rgba(255,255,255,0.5);
    letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px;
}

.nav-links {
    list-style: none; display: flex;
    align-items: center; gap: 4px; margin: 0; padding: 0;
}

.nav-links li a {
    color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500;
    padding: 8px 16px; border-radius: 100px;
    transition: background 0.2s, color 0.2s; display: block;
}

.nav-links li a:hover { background: rgba(255,255,255,0.12); color: #fff; }

.nav-links li.nav-cta a {
    background: var(--terra); color: #fff; font-weight: 600;
    padding: 10px 24px; box-shadow: 0 4px 18px rgba(203,96,64,0.45);
    transition: all 0.25s;
}

.nav-links li.nav-cta a:hover {
    background: var(--terra-light); transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(203,96,64,0.55);
}

.menu-icon {
    display: none; flex-direction: column;
    gap: 5px; cursor: pointer; padding: 8px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative; z-index: 1010;
    min-width: 44px; min-height: 44px;
    justify-content: center; align-items: center;
}

.menu-icon span {
    display: block; width: 24px; height: 2px;
    background: #fff; border-radius: 2px; transition: all 0.3s;
}

.menu-icon.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.menu-icon.active span:nth-child(2) { opacity: 0; }
.menu-icon.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--gold-light); color: #1a1000;
    font-weight: 700; font-size: 15px;
    padding: 16px 36px; border-radius: 100px;
    border: none; cursor: pointer; text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    box-shadow: 0 6px 28px rgba(240,200,74,0.38);
    animation: pulseGlow 3s ease-in-out infinite;
}

.btn-primary:hover {
    background: #ffe55a; transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 42px rgba(240,200,74,0.55);
    animation: none;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 6px 28px rgba(240,200,74,0.38); }
    50%       { box-shadow: 0 6px 40px rgba(240,200,74,0.65); }
}

.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(200,216,232,0.10); color: rgba(255,255,255,0.92);
    font-weight: 500; font-size: 15px;
    padding: 15px 32px; border-radius: 100px;
    border: 1.5px solid rgba(200,216,232,0.30);
    cursor: pointer; text-decoration: none; transition: all 0.25s;
}

.btn-secondary:hover {
    background: rgba(200,216,232,0.18);
    border-color: rgba(200,216,232,0.55);
    transform: translateY(-1px);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-label {
    display: inline-block; font-size: 11px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--terra-light); margin-bottom: 14px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 4.5vw, 58px); font-weight: 700;
    line-height: 1.1; margin-bottom: 16px; color: #fff;
}

.section-body {
    font-size: 16px; font-weight: 300;
    color: rgba(255,255,255,0.82); line-height: 1.8; max-width: 580px;
}

/* ============================================================
   GLASS CARD MIXIN  (apply to any element)
   ============================================================ */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    /* Silver-glow inner highlight */
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 0 rgba(200,216,232,0.18),
        inset 0 -1px 0 rgba(0,0,0,0.12);
}

/* Animated shimmer sweep on cards */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(200,216,232,0.06) 50%,
        transparent 60%
    );
    transition: left 0.6s ease;
    pointer-events: none;
}

.glass-card:hover::after { left: 140%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 30px) 32px 30px;
    overflow: hidden;
}

/* Glassy card that wraps all hero content */
.hero-inner {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: rgba(5, 20, 9, 0.58);
    border: 1px solid rgba(200, 216, 232, 0.18);
    border-radius: 32px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(200, 216, 232, 0.20),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 0 60px rgba(240, 200, 74, 0.06);
    padding: 50px 46px 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Radial glow orb inside hero card */
.hero-inner::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(240,200,74,0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: breathe 5s ease-in-out infinite;
}

/* Silver shimmer sweep on the hero card */
.hero-inner::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(200, 216, 232, 0.05) 50%,
        transparent 60%
    );
    animation: heroShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroShimmer {
    0%   { left: -100%; }
    40%  { left: 160%; }
    100% { left: 160%; }
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(212,160,23,0.16);
    border: 1px solid rgba(212,160,23,0.42);
    border-radius: 100px;
    padding: 8px 22px; font-size: 12px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold-light); margin-bottom: 32px;
    opacity: 0; animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero-eyebrow::before {
    content: ''; width: 6px; height: 6px;
    background: var(--gold-light); border-radius: 50%; display: block;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 8vw, 108px); font-weight: 700;
    line-height: 1.0; max-width: 960px; margin-bottom: 18px;
    opacity: 0; animation: fadeUp 0.9s 0.35s ease forwards;
    text-shadow: 0 4px 32px rgba(0,0,0,0.45);
}

.hero h1 em { font-style: italic; color: var(--terra-light); }

.hero-sub {
    font-size: clamp(15px, 2vw, 19px); font-weight: 300;
    color: rgba(255,255,255,0.88); max-width: 580px;
    line-height: 1.75; margin-bottom: 48px;
    opacity: 0; animation: fadeUp 1s 0.5s ease forwards;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.hero-actions {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 60px;
    opacity: 0; animation: fadeUp 1s 0.65s ease forwards;
}

/* Logged-in badge */
.user-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(200,216,232,0.18);
    border-radius: 100px; padding: 8px 20px 8px 10px;
    font-size: 13px; color: rgba(255,255,255,0.88);
    margin-bottom: 36px; backdrop-filter: blur(12px);
    opacity: 0; animation: fadeUp 0.85s 0.25s ease forwards;
}

.user-dot {
    width: 8px; height: 8px; background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(74,222,128,0.9);
    animation: pulse 2s infinite;
}

.user-badge strong { color: #fff; }
.user-badge a { color: var(--gold-light); font-weight: 600; }

/* Stats bar — sits BELOW the hero-inner glass card */
.hero-stats {
    display: flex; gap: 40px; justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
    background: rgba(4, 16, 8, 0.62);
    border: 1px solid rgba(200,216,232,0.14);
    border-radius: 20px; padding: 26px 44px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(200,216,232,0.14);
    opacity: 0; animation: fadeUp 1s 0.8s ease forwards;
    width: 100%; max-width: 900px;
}

.stat { text-align: center; }

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px; font-weight: 700; color: var(--gold-light); line-height: 1;
}

.stat-label {
    font-size: 11px; color: rgba(255,255,255,0.52);
    text-transform: uppercase; letter-spacing: 0.1em; margin-top: 5px;
}

.stat-divider {
    width: 1px; background: rgba(200,216,232,0.15); align-self: stretch;
}

/* Scroll hint */
.scroll-hint {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    color: rgba(255,255,255,0.38); font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase;
    opacity: 0; animation: fadeIn 1s 1.4s ease forwards;
}

.scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
    padding: 100px 48px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 32px; max-width: 1200px;
    margin: 0 auto; align-items: start;
}

/* Left text panel */
.about-left {
    position: relative; overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 48px 44px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 0 rgba(200,216,232,0.18);
    /* Gold left-edge accent */
    border-left: 3px solid rgba(240,200,74,0.5);
}

.about-left::before {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(240,200,74,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-left .section-body { margin-bottom: 32px; }

/* Right feature cards */
.about-right { display: flex; flex-direction: column; gap: 20px; }

.about-card {
    position: relative; overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 26px 28px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 0 rgba(200,216,232,0.16);
    display: flex; gap: 18px; align-items: flex-start;
    transition: transform 0.35s cubic-bezier(0.2,1,0.4,1),
                border-color 0.35s, box-shadow 0.35s;
}

.about-card::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(200,216,232,0.07) 50%, transparent 60%);
    transition: left 0.5s ease; pointer-events: none;
}

.about-card:hover { transform: translateY(-5px) translateX(3px); border-color: rgba(240,200,74,0.32); box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(200,216,232,0.2), 0 0 24px rgba(240,200,74,0.12); }
.about-card:hover::after { left: 140%; }

.about-card-icon { font-size: 30px; flex-shrink: 0; margin-top: 2px; }
.about-card-body { flex: 1; }

.about-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 600;
    margin-bottom: 8px; color: var(--gold-light);
}

.about-card p { font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.7; }

/* ============================================================
   ORNAMENT DIVIDER
   ============================================================ */
.ornament-divider {
    text-align: center; color: rgba(200,216,232,0.75);
    font-size: 24px; letter-spacing: 14px; padding: 16px 0;
}

/* ============================================================
   COURSES SECTION
   ============================================================ */
.courses-section {
    padding: 80px 48px 100px;
    max-width: 1200px; margin: 0 auto;
}

.courses-header {
    text-align: center; margin-bottom: 40px;
    position: relative; overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 52px 40px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(200,216,232,0.18);
}

/* Animated glow orb behind header */
.courses-header::before {
    content: '';
    position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
    width: 300px; height: 150px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(240,200,74,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.courses-header .section-body { margin: 0 auto; }

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

/* Course card */
.course-card {
    position: relative; overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 40px 32px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(200,216,232,0.16);
    display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.2,1,0.4,1),
                box-shadow 0.4s, border-color 0.4s;
}

/* Gradient top bar — revealed on hover */
.course-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--terra), var(--gold-light), var(--silver-light));
    opacity: 0; transition: opacity 0.35s;
}

/* Shimmer sweep */
.course-card::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(200,216,232,0.06) 50%, transparent 60%);
    transition: left 0.6s ease; pointer-events: none;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(200,216,232,0.28);
    box-shadow:
        0 28px 70px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(200,216,232,0.22),
        0 0 40px rgba(200,216,232,0.06);
}

.course-card:hover::before { opacity: 1; }
.course-card:hover::after { left: 140%; }

/* Featured card — warm terra/amber glow */
.course-card.featured {
    background: linear-gradient(160deg, rgba(88,30,12,0.72) 0%, rgba(8,32,14,0.75) 100%);
    border-color: rgba(203,96,64,0.38);
    box-shadow:
        var(--glass-shadow),
        inset 0 1px 0 rgba(232,149,106,0.2),
        0 0 60px rgba(203,96,64,0.12);
}

.course-card.featured:hover {
    box-shadow:
        0 28px 70px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(232,149,106,0.25),
        0 0 80px rgba(203,96,64,0.2);
}

.course-tag {
    display: inline-flex;
    background: rgba(212,160,23,0.18);
    border: 1px solid rgba(212,160,23,0.35);
    border-radius: 100px; padding: 5px 16px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold-light);
    margin-bottom: 22px; align-self: flex-start;
}

.course-card.featured .course-tag {
    background: rgba(203,96,64,0.22);
    border-color: rgba(203,96,64,0.5);
    color: var(--terra-light);
}

.course-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px; font-weight: 700;
    line-height: 1.15; margin-bottom: 10px; color: #fff;
}

.course-duration {
    font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px;
}

.course-desc {
    font-size: 14px; color: rgba(255,255,255,0.84);
    line-height: 1.75; margin-bottom: 24px; flex: 1;
}

.course-features {
    list-style: none; margin-bottom: 32px;
    display: flex; flex-direction: column; gap: 10px;
}

.course-features li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13.5px; color: rgba(255,255,255,0.9); line-height: 1.5;
}

.course-features li::before {
    content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2328a745'%3E%3Cpath d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.enroll-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 15px 28px; border-radius: 100px;
    font-size: 14px; font-weight: 600;
    cursor: pointer; text-decoration: none; margin-top: auto;
    border: 1.5px solid rgba(200,216,232,0.22);
    background: rgba(200,216,232,0.08); color: #fff;
    transition: all 0.3s cubic-bezier(0.2,1,0.4,1);
}

.enroll-btn:hover {
    background: rgba(200,216,232,0.16);
    transform: translateY(-2px);
    border-color: rgba(200,216,232,0.42);
    box-shadow: 0 6px 24px rgba(200,216,232,0.12);
}

.enroll-btn.enroll-primary {
    background: linear-gradient(135deg, #cb6040, #d4784a);
    border-color: transparent;
    box-shadow: 0 6px 24px rgba(203,96,64,0.45);
}

.enroll-btn.enroll-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 38px rgba(203,96,64,0.55);
}

.arrow-icon { transition: transform 0.25s; }
.enroll-btn:hover .arrow-icon { transform: translateX(4px); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    position: relative; overflow: hidden;
    max-width: 1104px; margin: 0 auto 100px;
    border-radius: 28px; padding: 80px 60px; text-align: center;
    background: linear-gradient(135deg,
        rgba(6,32,12,0.80) 0%,
        rgba(90,38,12,0.72) 50%,
        rgba(6,32,12,0.80) 100%
    );
    border: 1px solid rgba(200,216,232,0.16);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 20px 70px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(200,216,232,0.16),
        0 0 80px rgba(240,200,74,0.05);
}

/* Animated radial glow in CTA */
.cta-banner::before {
    content: '';
    position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
    width: 400px; height: 200px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(240,200,74,0.10) 0%, transparent 70%);
    animation: breathe 4s ease-in-out infinite;
    pointer-events: none;
}

.cta-banner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 56px); font-weight: 700;
    margin-bottom: 16px; line-height: 1.15; color: #fff;
}

.cta-banner p {
    font-size: 17px; color: rgba(255,255,255,0.85);
    max-width: 500px; margin: 0 auto 40px; line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: rgba(3, 10, 4, 0.94);
    border-top: 1px solid rgba(200,216,232,0.08);
    padding: 64px 48px 36px;
}

.footer-grid {
    max-width: 1200px; margin: 0 auto 52px;
    display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 60px;
}

.footer-brand p {
    font-size: 14px; color: rgba(255,255,255,0.52);
    line-height: 1.8; max-width: 290px; margin: 18px 0 26px;
}

.footer-col h5 {
    font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 20px;
}

.footer-col p, .footer-col address {
    font-style: normal; font-size: 14px;
    color: rgba(255,255,255,0.62); line-height: 1.9;
}

.social-icons { display: flex; gap: 10px; }

.social-btn {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(200,216,232,0.07);
    border: 1px solid rgba(200,216,232,0.14);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; transition: all 0.25s;
}

.social-btn:hover {
    background: rgba(200,216,232,0.16);
    transform: translateY(-3px);
    border-color: rgba(200,216,232,0.32);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.social-btn img, .social-icons img { width: 22px; height: 22px; object-fit: contain; }

.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    border-top: 1px solid rgba(200,216,232,0.07);
    padding-top: 28px; display: flex;
    align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.32); }

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a {
    font-size: 13px; color: rgba(255,255,255,0.32);
    text-decoration: none; transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

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

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.55; transform: scale(0.85); }
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50%       { transform: scaleY(0.55); opacity: 0.25; }
}

@keyframes breathe {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    50%       { opacity: 1.0; transform: translateX(-50%) scale(1.15); }
}

@keyframes floatUp {
    0%   { opacity: 0; transform: translateY(0); }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-120px); }
}

/* Scroll-triggered reveal — visible by default, JS adds will-animate first */
.reveal { opacity: 1; transform: none; }

.reveal.will-reveal {
    opacity: 0; transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2,1,0.4,1);
}

.reveal.in-view {
    opacity: 1 !important; transform: none !important;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* Number counter animation */
.count-up { display: inline-block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .courses-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    header { padding: 0 20px; }

    .logo-wrap img, #logo-img { height: 76px; }
    .logo-text .logo-name { font-size: 20px; }

    .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        background: rgba(4,14,6,0.97);
        backdrop-filter: blur(20px); padding: 16px; gap: 4px; z-index: 999;
    }

    .nav-links.active { display: flex; }
    .nav-links li a { font-size: 16px; padding: 12px 18px; width: 100%; }
    .menu-icon { display: flex; }

    .hero-inner { padding: 40px 28px 44px; border-radius: 24px; }

    .about-strip { grid-template-columns: 1fr; padding: 60px 20px; gap: 20px; }
    .about-left { padding: 36px 28px; }
    .courses-section { padding: 60px 20px 80px; }
    .courses-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .cta-banner { margin: 0 20px 70px; padding: 50px 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-brand { grid-column: 1 / -1; }
    footer { padding: 48px 24px 28px; }
    .hero-stats { gap: 20px; padding: 20px 24px; }
    .stat-divider { display: none; }
}

@media (max-width: 600px) {
    .hero { padding-left: 16px; padding-right: 16px; }
    .hero-inner { padding: 32px 20px 36px; border-radius: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-banner { padding: 44px 22px; }
}
