/* ================================================
   CYBERMINDS ACADEMY — MASTER STYLESHEET
   Framework: Bootstrap 5.3 + Custom
   Fonts: Space Grotesk (headings) + Inter (body)
   ================================================ */

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

/* ── CSS VARIABLES ─────────────────────────────── */
:root {
    --clr-dark:     #0a0f1e;
    --clr-dark2:    #0f172a;
    --clr-indigo:   #4f46e5;
    --clr-indigo-h: #4338ca;
    --clr-accent:   #6366f1;
    --clr-surface:  #f8fafc;
    --clr-border:   #e2e8f0;
    --clr-text:     #0f172a;
    --clr-muted:    #64748b;
    --topbar-h:     40px;
    --nav-h:        68px;
    --total-offset: calc(var(--topbar-h) + var(--nav-h));
    
    /* Fonts Swapped to User Preference */
    --font-head:    'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
    
    --radius-card:  16px;
    --radius-lg:    24px;
    --shadow-card:  0 4px 24px rgba(0,0,0,0.08);
    --shadow-deep:  0 20px 60px rgba(0,0,0,0.15);
    --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── GLOBAL RESET & BASE ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background: #fff;
    color: var(--clr-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--total-offset);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); letter-spacing: -0.02em; }

img { max-width: 100%; height: auto; }

a { text-decoration: none; transition: var(--transition); }

/* ── UTILITY CLASSES ────────────────────────────── */
.text-accent     { color: var(--clr-indigo) !important; }
.text-muted-light { color: #94a3b8 !important; }
.bg-brand        { background-color: var(--clr-dark2); }
.section-light   { background-color: var(--clr-surface); }
.section-dark    { background-color: var(--clr-dark2); }
.py-section      { padding-top: 80px; padding-bottom: 80px; }
.font-mono       { font-family: var(--font-mono); }

/* ── TOP BAR ─────────────────────────────────────── */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1060;
    height: var(--topbar-h);
    background: var(--clr-indigo);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-socials { display: flex; gap: 16px; }
.topbar-socials a { color: rgba(255,255,255,0.7); font-size: 13px; }
.topbar-socials a:hover { color: #fff; }
.topbar-phone { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 600; }
.topbar-phone i { color: rgba(255,255,255,0.7); }
.topbar-phone a { color: #fff; }
.topbar-phone a:hover { color: rgba(255,255,255,0.8); }

/* ── NAVBAR ─────────────────────────────────────── */
.cm-navbar {
    position: fixed;
    top: var(--topbar-h);
    left: 0; right: 0;
    z-index: 1050;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    padding: 0;
    height: var(--nav-h);
    transition: box-shadow 0.3s ease;
}
.cm-navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.cm-navbar .container-xl {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Brand */
.cm-brand {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--clr-dark2) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-icon {
    width: 34px; height: 34px;
    background: var(--clr-indigo);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
}

/* Nav Links */
.cm-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    color: #475569 !important;
    padding: 6px 12px !important;
    border-radius: 6px;
    transition: var(--transition);
}
.cm-link:hover,
.cm-link.active {
    color: var(--clr-indigo) !important;
    background: rgba(79,70,229,0.06);
}
.cm-link.active { font-weight: 600; }

/* Nav CTA */
.cm-btn-nav {
    background: var(--clr-dark2);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 9px 20px !important;
    border-radius: 8px;
    letter-spacing: 0.3px;
}
.cm-btn-nav:hover { background: #1e293b; color: #fff !important; }
.cm-btn-nav.active-nav {
    background: var(--clr-indigo);
}

/* Custom Hamburger */
.cm-toggler {
    border: none;
    padding: 6px;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.cm-toggler span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-dark2);
    border-radius: 2px;
    transition: var(--transition);
}
.cm-toggler:not(.collapsed) span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cm-toggler:not(.collapsed) span:nth-child(2) { opacity: 0; }
.cm-toggler:not(.collapsed) span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.cm-toggler:focus { box-shadow: none; }

/* Mobile Nav */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        background: #fff;
        border-top: 1px solid var(--clr-border);
        padding: 20px 20px 28px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        max-height: calc(100vh - var(--total-offset));
        overflow-y: auto;
    }
    .cm-link {
        padding: 12px 16px !important;
        font-size: 1rem;
        border-radius: 10px;
        display: block;
    }
    .cm-btn-nav {
        width: 100%;
        text-align: center;
        padding: 14px 20px !important;
        border-radius: 12px;
        font-size: 1rem;
        margin-top: 8px;
    }
}

/* ── BUTTONS ─────────────────────────────────────── */
.cm-btn-primary {
    background: var(--clr-indigo);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: 10px;
    border: 2px solid var(--clr-indigo);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cm-btn-primary:hover {
    background: var(--clr-indigo-h);
    border-color: var(--clr-indigo-h);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79,70,229,0.35);
}
.cm-btn-outline {
    background: transparent;
    color: var(--clr-dark2);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: 10px;
    border: 2px solid var(--clr-border);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cm-btn-outline:hover {
    border-color: var(--clr-indigo);
    color: var(--clr-indigo);
    transform: translateY(-2px);
}
.cm-btn-course {
    background: transparent;
    color: var(--clr-indigo);
    border: 1.5px solid var(--clr-indigo);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 9px 18px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.cm-btn-course:hover {
    background: var(--clr-indigo);
    color: #fff;
}

/* ── HERO SECTION ────────────────────────────────── */
.hero-section {
    background: linear-gradient(160deg, #ffffff 0%, #f0f4ff 60%, #e8ecff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 0;
}
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero-blob-1 {
    width: 600px; height: 600px;
    background: rgba(99,102,241,0.12);
    top: -200px; right: -200px;
}
.hero-blob-2 {
    width: 400px; height: 400px;
    background: rgba(99,102,241,0.07);
    bottom: 0; left: -100px;
}
.min-vh-hero { min-height: calc(100vh - var(--total-offset) - 80px); }
.hero-section .container-xl { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
}
.hero-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--clr-dark2);
    margin-bottom: 24px;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--clr-muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
}
@media (max-width: 991.98px) {
    .hero-sub { margin-left: auto; margin-right: auto; }
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
@media (min-width: 992px) {
    .hero-actions { justify-content: flex-start; }
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}
@media (min-width: 992px) {
    .hero-stats { justify-content: flex-start; }
}
.stat-item { text-align: center; padding: 0 20px; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--clr-dark2);
    line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--clr-muted); font-weight: 500; margin-top: 2px; display: block; }
.stat-divider { width: 1px; height: 40px; background: var(--clr-border); }

/* Hero Terminal */
.hero-terminal {
    background: #0d1117;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}
.terminal-header {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.terminal-title { font-family: var(--font-mono); font-size: 0.75rem; color: #8b949e; }
.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.9;
    min-height: 180px;
}
.terminal-body p { margin: 0; }
.t-prompt  { color: #58a6ff; }
.t-muted   { color: #484f58; }
.t-white   { color: #e6edf3; }
.t-ok      { color: #3fb950; }
.t-alert   { color: #f85149; }
.blink-text { animation: blink-pulse 1.5s ease-in-out infinite; }
@keyframes blink-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.cursor-blink { color: #58a6ff; animation: cursor 1s step-end infinite; }
@keyframes cursor { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.terminal-footer {
    background: #161b22;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #8b949e;
}
.badge-active {
    background: rgba(63,185,80,0.15);
    color: #3fb950;
    border: 1px solid rgba(63,185,80,0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* ── TOOLS TICKER ────────────────────────────────── */
.tools-ticker {
    border-top: 1px solid var(--clr-border);
    padding: 20px 0;
    background: #fff;
    margin-top: 40px;
}
.tools-ticker-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    overflow: hidden;
}
.tools-label { flex-shrink: 0; display: none; }
@media (min-width: 768px) { .tools-label { display: block; } }
.tools-track-wrap {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.tools-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll-tools 35s linear infinite;
}
.tools-track span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.tools-track span i { color: var(--clr-indigo); }
@keyframes scroll-tools {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── SECTION TYPOGRAPHY ──────────────────────────── */
.section-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(79,70,229,0.08);
    color: var(--clr-indigo);
    border: 1px solid rgba(79,70,229,0.2);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    letter-spacing: -0.5px;
    color: var(--clr-dark2);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1rem;
    color: var(--clr-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ── COURSE CARDS (GRID) ────────────────────────── */
/* NOTE: Old .courses-carousel removed in favor of Bootstrap Grid */

.course-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid var(--clr-border);
    height: 100%;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(79,70,229,0.18); }

.course-img { position: relative; height: 180px; overflow: hidden; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.course-card:hover .course-img img { transform: scale(1.05); }
.course-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--clr-indigo);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}
.badge-purple { background: #7c3aed; }
.badge-green  { background: #059669; }
.course-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.course-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-dark2);
    margin-bottom: 12px;
    line-height: 1.4;
}
.course-meta {
    list-style: none;
    padding: 0; margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--clr-muted);
}
.course-meta li {
    display: flex;
    align-items: center;
    gap: 6px;
}
.course-meta li i { color: var(--clr-indigo); }
.course-desc {
    font-size: 0.875rem;
    color: var(--clr-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ── ROADMAP ─────────────────────────────────────── */
.roadmap {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 20px;
}
.roadmap-line {
    position: absolute;
    left: 36px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-indigo), rgba(79,70,229,0.1));
}
.roadmap-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
    position: relative;
}
.roadmap-num {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--clr-indigo);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-indigo);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(79,70,229,0.08);
}
.roadmap-num.finish {
    background: var(--clr-indigo);
    color: #fff;
    border-color: var(--clr-indigo);
}
.roadmap-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    flex: 1;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.roadmap-card:hover { border-color: var(--clr-indigo); box-shadow: 0 8px 30px rgba(79,70,229,0.12); }
.roadmap-card h4 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-dark2);
    margin-bottom: 8px;
}
.roadmap-card p { font-size: 0.875rem; color: var(--clr-muted); margin: 0; line-height: 1.6; }
.roadmap-card-finish { border-color: var(--clr-indigo); background: rgba(79,70,229,0.03); }

/* ── CYBER RANGE ─────────────────────────────────── */
.range-terminal {
    background: #0d1117;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    border: 1px solid rgba(255,255,255,0.05);
}
.range-terminal-bar {
    background: #161b22;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.range-terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #58a6ff;
    line-height: 1.8;
    min-height: 260px;
    white-space: pre-wrap;
}
.range-features { display: flex; flex-direction: column; gap: 24px; }
.range-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.range-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(79,70,229,0.12);
    border: 1px solid rgba(79,70,229,0.2);
    color: var(--clr-indigo);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── HALL OF FAME ────────────────────────────────── */
.hof-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-card);
    padding: 24px 16px;
    transition: var(--transition);
    color: var(--clr-dark2);
    cursor: pointer;
    height: 100%;
}
.hof-card:hover {
    transform: translateY(-6px);
    border-color: var(--clr-indigo);
    box-shadow: 0 20px 50px rgba(79,70,229,0.15);
    color: var(--clr-dark2);
}
.hof-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--clr-indigo);
    overflow: hidden;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.hof-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hof-initials {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--clr-indigo);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 14px;
}
.hof-card h5 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.hof-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-indigo);
    background: rgba(79,70,229,0.08);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.hof-li { font-size: 1.3rem; color: #94a3b8; margin-top: auto; }
.hof-card:hover .hof-li { color: var(--clr-indigo); }

/* ── TESTIMONIALS TICKER ─────────────────────────── */
.testimonials-section { padding-bottom: 80px; }
.testimonials-ticker {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.testimonials-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-testi 40s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scroll-testi {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.testi-card {
    width: 320px;
    background: #1a2235;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-card);
    padding: 24px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.testi-card > div:nth-child(2) { display: flex; flex-direction: column; }
.testi-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.testi-card > div { display: flex; align-items: center; gap: 12px; }
.bg-indigo { background: var(--clr-indigo); }
.bg-green  { background: #059669; }
.bg-pink   { background: #db2777; }
.bg-orange { background: #ea580c; }
.testi-name { font-weight: 700; font-size: 0.85rem; color: #fff; margin: 0; }
.testi-role { font-size: 0.72rem; color: var(--clr-indigo); margin: 0; font-weight: 600; }
.testi-text { font-size: 0.82rem; color: #94a3b8; line-height: 1.6; margin: 0; }

/* ── FAQ ACCORDION ───────────────────────────────── */
.cm-faq-item {
    border: 1px solid var(--clr-border) !important;
    border-radius: var(--radius-card) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: none;
}
.cm-faq-btn {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-dark2) !important;
    background: #fff !important;
    padding: 18px 24px;
    box-shadow: none !important;
}
.cm-faq-btn:not(.collapsed) { color: var(--clr-indigo) !important; }
.cm-faq-btn::after {
    background-image: none !important;
    content: "\f067";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--clr-muted);
    transition: var(--transition);
}
.cm-faq-btn:not(.collapsed)::after {
    content: "\f068";
    color: var(--clr-indigo);
    transform: none;
}
.cm-faq-body {
    font-size: 0.875rem;
    color: var(--clr-muted);
    padding: 4px 24px 20px;
    line-height: 1.7;
}

/* ── CTA BANNER ─────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(79,70,229,0.2) 0%, transparent 70%);
}
.cta-banner .container-xl { position: relative; z-index: 1; }
.cta-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.cta-sub { font-size: 1rem; color: #94a3b8; margin-bottom: 36px; }
.cta-banner .cm-btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-banner .cm-btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.05); }

/* ── FOOTER ──────────────────────────────────────── */
.cm-footer {
    background: #060d1a;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-brand {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff !important;
    letter-spacing: -0.5px;
    text-decoration: none;
}
.footer-text { font-size: 0.875rem; color: #64748b; line-height: 1.7; max-width: 300px; }
.footer-heading {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.875rem;
    color: #64748b;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--clr-indigo); padding-left: 4px; }
.footer-contact {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #64748b;
}
.footer-contact li i { color: var(--clr-indigo); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: #64748b; }
.footer-contact a:hover { color: var(--clr-indigo); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #64748b;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--clr-indigo); border-color: var(--clr-indigo); color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: #334155;
}

/* ── FLOATING ACTIONS ────────────────────────────── */
.floating-actions {
    position: fixed;
    bottom: 24px;
    left: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fab-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: var(--transition);
    text-decoration: none;
}
.fab-btn:hover { transform: scale(1.1); color: #fff; }
.fab-phone { background: var(--clr-indigo); }
.fab-wa    { background: #25d366; }
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 999;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(15,23,42,0.85);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    font-size: 0.85rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--clr-indigo); }

/* ── PAGE HEADER (about/contact) ────────────────── */
.page-header {
    padding: 80px 24px 80px;
    background: var(--clr-surface);
    position: relative;
    overflow: hidden;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(79,70,229,0.06) 0%, transparent 70%);
}
.page-header-dark {
    background: var(--clr-dark2);
}
.page-header-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
}
.page-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--clr-dark2);
    margin-bottom: 16px;
}
.page-header-dark .page-title { color: #fff; }
.page-sub {
    font-size: 1rem;
    color: var(--clr-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}
.breadcrumb { background: transparent; padding: 0; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ── ABOUT PAGE ──────────────────────────────────── */
.about-img-wrap { position: relative; display: inline-block; width: 100%; }
.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-deep);
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: var(--transition);
}
.about-img:hover { transform: scale(1.01); }
.about-img-badge {
    position: absolute;
    bottom: 20px; right: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.about-stat {
    padding: 16px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-card);
    text-align: center;
    transition: var(--transition);
}
.about-stat:hover { border-color: var(--clr-indigo); box-shadow: 0 4px 20px rgba(79,70,229,0.1); }
.about-stat-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2rem;
    color: var(--clr-indigo);
    margin: 0;
    line-height: 1;
}
.about-stat-label { font-size: 0.75rem; color: var(--clr-muted); font-weight: 500; margin: 4px 0 0; }

/* Values */
.value-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    transition: var(--transition);
    height: 100%;
}
.value-card:hover { border-color: rgba(79,70,229,0.4); background: rgba(79,70,229,0.05); }
.value-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(79,70,229,0.15);
    color: #818cf8;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.value-card h5 {
    font-family: var(--font-head);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.value-card p { font-size: 0.875rem; color: #64748b; line-height: 1.6; margin: 0; }

/* Mentor Card */
.mentor-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-deep);
    transition: var(--transition);
}
.mentor-card:hover { transform: translateY(-4px); }
.mentor-avatar-wrap {
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 4px solid var(--clr-indigo);
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 8px rgba(79,70,229,0.08);
}
.mentor-avatar { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mentor-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--clr-dark2);
    margin-bottom: 6px;
}
.mentor-role { color: var(--clr-indigo); font-weight: 700; font-size: 0.85rem; margin-bottom: 16px; }
.mentor-bio { font-size: 0.875rem; color: var(--clr-muted); line-height: 1.7; margin-bottom: 20px; }
.mentor-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.mentor-badge {
    background: rgba(79,70,229,0.08);
    color: var(--clr-indigo);
    border: 1px solid rgba(79,70,229,0.2);
    border-radius: 50px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
}
.mentor-linkedin {
    display: inline-flex;
    align-items: center;
    background: var(--clr-indigo);
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.85rem;
}
.mentor-linkedin:hover { background: var(--clr-indigo-h); color: #fff; }

/* ── CONTACT PAGE ────────────────────────────────── */
.contact-section { background: var(--clr-surface); }
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border);
}
@media (max-width: 575.98px) {
    .contact-form-wrap { padding: 24px; }
}
.cm-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-dark2);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}
.cm-input {
    width: 100%;
    background: var(--clr-surface);
    border: 1.5px solid var(--clr-border);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--clr-dark2);
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
}
.cm-input:focus {
    border-color: var(--clr-indigo);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.cm-input::placeholder { color: #cbd5e1; }
.cm-select { cursor: pointer; }
textarea.cm-input { resize: vertical; min-height: 120px; }
.contact-info-wrap {
    background: var(--clr-dark2);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    color: #fff;
}
.contact-info-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 28px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(79,70,229,0.2);
    border: 1px solid rgba(79,70,229,0.3);
    color: #818cf8;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}
.contact-info-label { font-size: 0.7rem; color: #64748b; margin: 0 0 2px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.contact-info-val { font-size: 0.9rem; color: #e2e8f0; margin: 0; font-weight: 500; }
a.contact-info-val:hover { color: #818cf8; }
.why-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-card);
}
.why-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-dark2);
    margin-bottom: 16px;
}
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li { font-size: 0.875rem; color: var(--clr-muted); padding: 6px 0; border-bottom: 1px solid var(--clr-border); }
.why-list li:last-child { border-bottom: none; }

/* ── TOAST ───────────────────────────────────────── */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; width: 320px; }
.toast-msg {
    background: #fff;
    border-left: 4px solid var(--clr-indigo);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-dark2);
}
.toast-msg.show { transform: translateX(0); opacity: 1; }
.toast-msg.success { border-left-color: #10b981; }
.toast-msg.error   { border-left-color: #ef4444; }

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }

/* ── RESPONSIVE TWEAKS ───────────────────────────── */
@media (max-width: 767.98px) {
    .py-section { padding-top: 60px; padding-bottom: 60px; }
    .hero-section { padding-top: 40px; }
    .min-vh-hero { min-height: auto; padding-bottom: 0; }
    .hero-terminal { max-width: 100%; }
    .roadmap { padding-left: 10px; }
    .roadmap-line { left: 28px; }
    .roadmap-num { width: 46px; height: 46px; font-size: 0.9rem; }
    .section-tag { font-size: 0.65rem; }
    .contact-form-wrap,
    .contact-info-wrap { padding: 24px 18px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-header-row { flex-direction: column; align-items: flex-start; }
    .cta-banner { padding: 60px 20px; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2.3rem; }
    .hero-stats { gap: 0; }
    .stat-item { padding: 0 14px; }
    .stat-num { font-size: 1.4rem; }
    .hof-card { padding: 18px 12px; }
    .hof-avatar,
    .hof-initials { width: 64px; height: 64px; font-size: 1.1rem; }
    .testi-card { width: 280px; }
}

/* ── PRINT SAFE ──────────────────────────────────── */
@media print {
    .topbar, .cm-navbar, .floating-actions, .scroll-top-btn { display: none !important; }
    body { padding-top: 0; }
}