/* ============================================================
   NUWALIF ONLINE STATISTICAL LAB — MAIN STYLESHEET
   ============================================================ */

:root {
    --navy:        #0d1b4b;
    --navy-light:  #1a2f7a;
    --gold:        #c9a84c;
    --gold-light:  #e8c66e;
    --cream:       #f8f5ef;
    --white:       #ffffff;
    --text-dark:   #1c1c2e;
    --text-mid:    #444466;
    --text-light:  #888899;
    --border:      #e0ddd5;
    --success:     #2e7d52;
    --danger:      #c0392b;
    --warning:     #d4a017;
    --info:        #1565c0;
    --shadow-sm:   0 2px 8px rgba(13,27,75,0.08);
    --shadow-md:   0 6px 24px rgba(13,27,75,0.12);
    --shadow-lg:   0 16px 48px rgba(13,27,75,0.16);
    --radius:      8px;
    --radius-lg:   16px;
    --font-display:'Playfair Display', Georgia, serif;
    --font-body:   'Source Sans 3', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--navy);
    line-height: 1.25;
}

/* ── TOP BAR ───────────────────────────────────────── */
.top-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar a { color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 5px; }
.top-bar a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 10px; }
.social-link { color: rgba(255,255,255,0.7) !important; transition: color 0.2s; }
.social-link:hover { color: var(--gold-light) !important; }
.top-btn {
    padding: 4px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    color: rgba(255,255,255,0.85) !important;
    font-size: 12px;
    transition: all 0.2s;
}
.top-btn:hover { background: rgba(255,255,255,0.1); color: white !important; }
.top-btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy) !important;
    font-weight: 600;
}
.top-btn-primary:hover { background: var(--gold-light); color: var(--navy) !important; }
.top-user { color: var(--gold-light); font-weight: 600; }

/* ── NAVIGATION ────────────────────────────────────── */
.main-nav {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; }
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-menu > li > a {
    display: block;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    border-radius: var(--radius);
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.nav-menu > li.active > a,
.nav-menu > li > a:hover { color: var(--navy-light); background: var(--cream); }
.nav-menu > li > a.btn-nav-login {
    border: 1.5px solid var(--navy);
    padding: 6px 16px;
}
.nav-menu > li > a.btn-nav-signup {
    background: var(--gold);
    color: var(--navy);
    padding: 6px 16px;
}
.nav-menu > li > a.btn-nav-signup:hover { background: var(--gold-light); }
.nav-menu > li > a.btn-nav-dash {
    background: var(--navy);
    color: var(--white);
    padding: 6px 16px;
}
.nav-menu > li > a.btn-nav-admin {
    background: var(--navy-light);
    color: var(--white);
    padding: 6px 16px;
}
.nav-menu > li > a.btn-nav-logout { color: var(--danger); }

/* Dropdown */
.nav-menu .dropdown { position: relative; }
.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    padding: 6px 0;
    list-style: none;
    z-index: 2000;
}
.nav-menu .dropdown:hover .dropdown-menu { display: block; }
.nav-menu .dropdown-menu li a {
    display: block;
    padding: 9px 18px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    transition: background 0.15s;
}
.nav-menu .dropdown-menu li a:hover { background: var(--cream); color: var(--navy); }
.arrow { font-size: 10px; margin-left: 4px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ── PAGE WRAPPER ──────────────────────────────────── */
.page-wrapper { min-height: calc(100vh - 200px); }

/* ── HERO ──────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2a4fa0 100%);
    color: var(--white);
    padding: 100px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(201,168,76,0.08);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.hero-container { max-width: 900px; margin: auto; position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero h1 span { color: var(--gold-light); }
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 680px;
    margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s;
    display: inline-block;
}
.btn-hero-primary:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}
.btn-hero-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: all 0.25s;
    display: inline-block;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.18);
    color: var(--white);
    transform: translateY(-2px);
}

/* ── STATS BAR ─────────────────────────────────────── */
.stats-bar {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
}
.stats-bar-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}
.stat-label { font-size: 13px; color: var(--text-light); font-weight: 600; letter-spacing: 0.5px; }

/* ── CAROUSEL ──────────────────────────────────────── */
.carousel-section {
    padding: 80px 24px;
    background: var(--white);
}
.section-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--navy);
    margin-bottom: 12px;
}
.section-sub {
    color: var(--text-mid);
    font-size: 1.05rem;
    max-width: 580px;
    margin-bottom: 40px;
}

.carousel-container { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.carousel-slide {
    min-width: 100%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.carousel-slide-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    align-items: center;
}
.carousel-content {
    padding: 60px;
    color: var(--white);
}
.carousel-tool-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.carousel-content h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 14px;
}
.carousel-content p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.btn-carousel {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
}
.btn-carousel:hover { background: var(--gold-light); color: var(--navy); }
.carousel-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255,255,255,0.04);
    min-height: 420px;
}
.carousel-icon-wrap {
    width: 180px;
    height: 180px;
    background: rgba(201,168,76,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(201,168,76,0.3);
}
.carousel-icon-wrap svg { width: 80px; height: 80px; }
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--navy);
}
.carousel-btn:hover { background: var(--navy); color: var(--white); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.carousel-dot.active { background: var(--navy); transform: scale(1.3); }

/* ── TOOLS GRID ────────────────────────────────────── */
.tools-section {
    padding: 80px 24px;
    background: var(--cream);
}
.container { max-width: 1200px; margin: auto; }
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}
.tool-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
}
.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13,27,75,0.15);
}
.tool-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}
.tool-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.tool-card p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 22px; }
.btn-tool {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}
.btn-tool:hover { background: var(--navy-light); color: var(--white); transform: translateX(3px); }

/* ── SCHEDULE BOX ──────────────────────────────────── */
.schedule-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin: 36px 0;
}
.schedule-box h3 { color: var(--navy); margin-bottom: 16px; font-size: 1.2rem; }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.schedule-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}
.schedule-item .si-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-light); margin-bottom: 4px; }
.schedule-item .si-val { font-weight: 600; color: var(--navy); }

/* ── PRICING SECTION ───────────────────────────────── */
.pricing-section { padding: 60px 24px; background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 36px; }
.price-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}
.price-card.featured { border-color: var(--gold); background: linear-gradient(135deg, #fffbf0, #fff9e6); }
.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.term-badge { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); }
.price-amount { font-family: var(--font-display); font-size: 2.4rem; color: var(--navy); font-weight: 700; margin: 8px 0 4px; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.price-desc { color: var(--text-mid); font-size: 0.9rem; margin-top: 6px; }

/* ── ABOUT PAGE ────────────────────────────────────── */
.about-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 80px 24px; color: var(--white); }
.about-hero-container { max-width: 900px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-hero h1 { color: var(--white); font-size: 2.6rem; margin-bottom: 16px; }
.about-hero p { color: rgba(255,255,255,0.8); }
.trainer-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.trainer-avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--gold); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-family: var(--font-display); color: var(--navy); font-weight: 700; }
.trainer-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); }
.trainer-title { color: var(--gold-light); font-size: 0.9rem; margin-top: 4px; }
.about-content { padding: 80px 24px; }
.about-content-container { max-width: 1000px; margin: auto; }
.about-section { margin-bottom: 48px; }
.about-section h2 { font-size: 1.8rem; margin-bottom: 16px; border-left: 4px solid var(--gold); padding-left: 16px; }
.about-section p { color: var(--text-mid); margin-bottom: 12px; line-height: 1.8; }
.expertise-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
.expertise-item { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; font-weight: 600; color: var(--navy); font-size: 14px; display: flex; align-items: center; gap: 10px; }

/* ── FORMS ─────────────────────────────────────────── */
.form-section { padding: 80px 24px; background: var(--cream); }
.form-container {
    max-width: 540px;
    margin: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}
.form-container h1 { font-size: 1.8rem; text-align: center; margin-bottom: 8px; }
.form-subtitle { text-align: center; color: var(--text-light); margin-bottom: 32px; font-size: 0.95rem; }
.form-logo { display: block; margin: 0 auto 24px; height: 60px; width: auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(13,27,75,0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-primary {
    width: 100%;
    padding: 13px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--font-body);
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); }
.form-link { text-align: center; margin-top: 20px; color: var(--text-mid); font-size: 14px; }
.form-link a { color: var(--navy); font-weight: 600; }
.form-divider { text-align: center; color: var(--text-light); margin: 16px 0; font-size: 13px; position: relative; }
.form-divider::before, .form-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border); }
.form-divider::before { left: 0; }
.form-divider::after { right: 0; }
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-danger  { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.alert-warning { background: #fff8e1; color: #e65100; border: 1px solid #ffcc80; }
.alert-info    { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.form-required { color: var(--danger); }

/* ── DASHBOARD ─────────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 140px); }
.dashboard-sidebar {
    background: var(--navy);
    color: var(--white);
    padding: 32px 0;
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
}
.sidebar-user { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 16px; }
.sidebar-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.sidebar-name { font-weight: 600; font-size: 15px; }
.sidebar-email { font-size: 12px; color: rgba(255,255,255,0.5); }
.sidebar-nav { list-style: none; padding: 0 12px; }
.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: rgba(255,255,255,0.7);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 2px;
}
.sidebar-nav li a:hover,
.sidebar-nav li a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.sidebar-nav li a.active { background: var(--gold); color: var(--navy); font-weight: 700; }
.dashboard-main { padding: 36px; background: #f4f5f7; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.dashboard-header h1 { font-size: 1.8rem; }
.dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 36px; }
.dash-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}
.dash-card-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-card-icon.navy { background: rgba(13,27,75,0.1); color: var(--navy); }
.dash-card-icon.gold  { background: rgba(201,168,76,0.15); color: var(--gold); }
.dash-card-icon.green { background: rgba(46,125,82,0.12); color: var(--success); }
.dash-card-icon.red   { background: rgba(192,57,43,0.1); color: var(--danger); }
.dash-card-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.dash-card-label { font-size: 13px; color: var(--text-light); }

.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.content-card h2 { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: var(--cream); padding: 12px 14px; text-align: left; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-mid); border-bottom: 2px solid var(--border); }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text-dark); vertical-align: middle; }
.data-table tr:hover td { background: var(--cream); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-danger  { background: #ffebee; color: #c62828; }
.badge-warning { background: #fff8e1; color: #e65100; }
.badge-info    { background: #e3f2fd; color: #1565c0; }
.badge-secondary { background: #f5f5f5; color: #666; }

/* Enrollment Cards */
.enrollment-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.enrollment-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.enrollment-card:hover { box-shadow: var(--shadow-md); }
.ec-header {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    padding: 20px;
}
.ec-header h3 { color: var(--white); font-size: 1.15rem; }
.ec-status { font-size: 12px; margin-top: 4px; }
.ec-status.active-status { color: var(--gold-light); }
.ec-status.inactive-status { color: rgba(255,255,255,0.55); }
.ec-body { padding: 20px; }
.ec-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.ec-row:last-child { border-bottom: none; }
.ec-row .label { color: var(--text-light); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.ec-actions { padding: 16px 20px; background: var(--cream); display: flex; gap: 10px; }
.btn-sm { padding: 7px 14px; font-size: 13px; font-weight: 600; border-radius: 5px; border: none; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); text-decoration: none; display: inline-block; }
.btn-sm-primary { background: var(--navy); color: var(--white); }
.btn-sm-primary:hover { background: var(--navy-light); color: var(--white); }
.btn-sm-gold { background: var(--gold); color: var(--navy); }
.btn-sm-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-sm-danger { background: #ffebee; color: var(--danger); }
.btn-sm-danger:hover { background: #ffcdd2; color: var(--danger); }

/* Term voucher sections */
.term-section { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; }
.term-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.term-label { font-weight: 700; color: var(--navy); font-size: 15px; }
.term-amount { font-size: 13px; color: var(--text-mid); }

/* Download section */
.download-gate { background: var(--cream); border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 36px; text-align: center; }
.download-gate h3 { margin-bottom: 10px; }
.download-gate p { color: var(--text-mid); margin-bottom: 20px; }
.download-list { display: grid; gap: 12px; }
.download-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; display: flex; align-items: center; gap: 14px; }
.di-icon { color: var(--navy); flex-shrink: 0; }
.di-name { font-weight: 600; flex: 1; }
.di-size { font-size: 12px; color: var(--text-light); }

/* ── TOOL PAGE ─────────────────────────────────────── */
.tool-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 24px;
    color: var(--white);
}
.tool-hero-container { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.tool-hero h1 { color: var(--white); font-size: 2.6rem; margin-bottom: 12px; }
.tool-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 600px; }
.tool-badge-lg { background: var(--gold); color: var(--navy); padding: 8px 20px; border-radius: 30px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 16px; }
.tool-content { padding: 60px 24px; }
.tool-content-container { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.tool-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
    height: fit-content;
}
.tool-sidebar-card h3 { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.enroll-price { font-family: var(--font-display); font-size: 2rem; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.enroll-price-sub { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.btn-enroll {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--font-body);
    text-decoration: none;
}
.btn-enroll:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }

/* ── CONTACT ───────────────────────────────────────── */
.contact-section { padding: 80px 24px; }
.contact-container { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 2rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-mid); margin-bottom: 28px; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details .ci-icon { width: 40px; height: 40px; background: var(--cream); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy); }
.contact-details .ci-text .ci-label { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); }
.contact-details .ci-text .ci-val { font-weight: 600; color: var(--navy); }

/* ── FOOTER ────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); }
.footer-main { padding: 72px 24px 48px; }
.footer-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social .social-link { background: rgba(255,255,255,0.08); padding: 8px; border-radius: 8px; }
.footer-heading { font-family: var(--font-display); font-size: 1rem; color: var(--white); margin-bottom: 18px; font-weight: 600; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; opacity: 0.5; }
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px; }
.footer-bottom-container { max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px; }

/* ── ADMIN SPECIFIC ────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 112px); }
.admin-sidebar { background: #1a2035; padding: 24px 0; }
.admin-sidebar-brand { padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 12px; color: var(--white); font-weight: 700; font-size: 15px; }
.admin-nav { list-style: none; padding: 0 10px; }
.admin-nav li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: rgba(255,255,255,0.65); border-radius: 6px; font-size: 14px; font-weight: 500; transition: all 0.2s; margin-bottom: 2px; }
.admin-nav li a:hover, .admin-nav li a.active { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-nav li a.active { background: var(--gold); color: var(--navy); }
.admin-main { padding: 32px; background: #f0f2f5; }
.admin-page-title { font-size: 1.6rem; margin-bottom: 24px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.admin-search { padding: 9px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; width: 280px; outline: none; }
.admin-search:focus { border-color: var(--navy); }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 36px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-box h2 { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.modal-close { float: right; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-light); margin-top: -8px; }

/* ── UTILITIES ─────────────────────────────────────── */
.text-center { text-align: center; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 60px 24px; text-align: center; }
.page-hero h1 { color: var(--white); font-size: 2.4rem; }
.page-hero p  { color: rgba(255,255,255,0.75); margin-top: 10px; }
.breadcrumb { max-width: 1200px; margin: 24px auto 0; padding: 0 24px; font-size: 13px; color: var(--text-light); }
.breadcrumb a { color: var(--text-mid); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 6px; }

.section-header { text-align: center; margin-bottom: 48px; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--border); padding: 16px; box-shadow: var(--shadow-md); z-index: 999; }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-container { position: relative; }
    .top-bar-container { flex-direction: column; gap: 6px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .carousel-slide-inner { grid-template-columns: 1fr; }
    .carousel-visual { display: none; }
    .tool-content-container { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .about-hero-container { grid-template-columns: 1fr; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; height: auto; }
    .admin-layout { grid-template-columns: 1fr; }
    .stats-bar-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .form-container { padding: 28px 20px; }
    .dashboard-main { padding: 20px; }
    .admin-main { padding: 16px; }
    .carousel-content { padding: 32px 24px; }
    .stats-bar-container { grid-template-columns: repeat(2, 1fr); }
}
