/* ============ ROOT VARIABLES ============ */
:root {
    --primary: var(--t-500, #6366f1);
    --primary-light: var(--t-400, #818cf8);
    --primary-dark: var(--t-600, #4f46e5);
    --primary-gradient: linear-gradient(135deg, var(--t-500, #6366f1) 0%, var(--t-accent, #8b5cf6) 100%);
    --dark-bg: #0d1117;
    --dark-2: #161b22;
    --dark-3: #21262d;
    --dark-border: #30363d;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg-light: #f8fafc;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

/* ============ LOGO ============ */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 40px; height: 40px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
    box-shadow: 0 4px 12px rgba(var(--t-500-rgb, 99, 102, 241), 0.35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -0.02em; }
.logo-tag { font-size: 10px; color: #94a3b8; font-weight: 500; }

/* ============ HEADER & NAVBAR ============ */
.site-header {
    background: var(--dark-bg);
    border-bottom: 1px solid var(--dark-border);
    position: sticky; top: 0; z-index: 1000;
}
.site-header .navbar { padding: 12px 0; }

.main-nav .nav-link {
    color: #cbd5e1 !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px !important;
    position: relative;
    transition: color .2s;
}
.main-nav .nav-link:hover { color: #fff !important; }
.main-nav .nav-link.active {
    color: #fff !important;
    font-weight: 600;
}
.main-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 16px; right: 16px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.header-right { gap: 8px !important; }

.search-wrap {
    position: relative;
    width: 240px;
}
.search-wrap i {
    position: absolute;
    top: 50%; left: 12px;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
}
.search-wrap input {
    background: #161b22;
    border: 1px solid var(--dark-border);
    color: #fff;
    padding-left: 36px;
    font-size: 13px;
    border-radius: 20px;
    height: 38px;
    transition: all .2s;
}
.search-wrap input::placeholder { color: #64748b; }
.search-wrap input:focus {
    background: #161b22;
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(var(--t-500-rgb, 99, 102, 241), 0.2);
}

.btn-icon {
    width: 38px; height: 38px;
    background: #161b22;
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    color: #cbd5e1;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.btn-icon:hover { background: #21262d; color: #fff; border-color: #484f58; }
.notif-dot {
    position: absolute;
    top: 6px; right: 6px;
    width: 8px; height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid var(--dark-bg);
}

.btn-outline-light-custom {
    background: transparent;
    border: 1px solid #30363d;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.btn-outline-light-custom:hover {
    background: #21262d;
    color: #fff;
    border-color: #484f58;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(var(--t-500-rgb, 99, 102, 241), 0.3);
}
.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(var(--t-500-rgb, 99, 102, 241), 0.45);
}

.dropdown-menu {
    background: #161b22;
    border: 1px solid var(--dark-border);
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 10px;
}
.dropdown-menu .dropdown-item {
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all .2s;
}
.dropdown-menu .dropdown-item:hover {
    background: #21262d;
    color: #fff;
}
.dropdown-divider { border-color: #30363d; }

/* ============ 1. HERO SECTION ============ */
.hero-section {
    background: linear-gradient(180deg, #f8fafd 0%, var(--t-50, #eef2ff) 100%);
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero-dot-pattern {
    position: absolute;
    top: 20px; right: 40px;
    width: 220px; height: 180px;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.7;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: #ede9fe;
    border: 1px solid #ddd6fe;
    color: var(--t-500, #6366f1);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 18px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--t-500, #6366f1) 0%, var(--t-accent, #8b5cf6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 520px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-hero-primary {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all .25s ease;
    box-shadow: 0 8px 20px rgba(var(--t-500-rgb, 99, 102, 241), 0.35);
}
.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(var(--t-500-rgb, 99, 102, 241), 0.45);
}

.btn-hero-secondary {
    background: #fff;
    border: 1.5px solid var(--t-500, #6366f1);
    color: var(--t-500, #6366f1);
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all .25s ease;
}
.btn-hero-secondary:hover {
    background: #f5f3ff;
    color: var(--t-600, #4f46e5);
    transform: translateY(-2px);
}

.btn-hero-demo {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 6px 12px;
    transition: color .2s;
}
.btn-hero-demo:hover { color: var(--t-500, #6366f1); }
.play-icon-circle {
    width: 32px; height: 32px;
    background: #ede9fe;
    color: var(--t-500, #6366f1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}
.trust-item i { font-size: 16px; }

/* ============ 3D LAPTOP & DASHBOARD MOCKUP ============ */
.mockup-scene {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

.laptop-device {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 35px rgba(15, 23, 42, 0.18));
}

.laptop-screen {
    background: #1e293b;
    border-radius: 16px 16px 0 0;
    padding: 8px 8px 0 8px;
    border: 2px solid #334155;
    border-bottom: none;
}

.laptop-camera {
    width: 5px; height: 5px;
    background: #64748b;
    border-radius: 50%;
    margin: 0 auto 6px;
}

.laptop-display-content {
    background: #ffffff;
    border-radius: 8px 8px 0 0;
    padding: 14px;
    font-size: 11px;
    color: #1e293b;
}

.laptop-base {
    height: 12px;
    background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
    border-radius: 0 0 16px 16px;
    position: relative;
}
.laptop-base::after {
    content: '';
    position: absolute;
    top: 0; left: 45%; right: 45%;
    height: 4px;
    background: #475569;
    border-radius: 0 0 4px 4px;
}

/* Dashboard Interior */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}
.dash-user { display: flex; align-items: center; gap: 8px; }
.dash-avatar {
    width: 28px; height: 28px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.dash-welcome { font-size: 12px; font-weight: 700; margin: 0; }
.dash-prompt { font-size: 10px; color: #64748b; margin: 0; }
.badge-profile {
    background: #f1f5f9;
    color: var(--t-500, #6366f1);
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.dash-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
}
.dash-stat-label { font-size: 9px; color: #64748b; margin-bottom: 2px; }
.dash-stat-val { font-size: 13px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.dash-stat-sub { font-size: 9px; color: #94a3b8; font-weight: 500; }
.dash-stat-pill { font-size: 9px; padding: 1px 5px; border-radius: 4px; font-weight: 600; }
.pill-orange { background: #fff7ed; color: #ea580c; }
.pill-green { background: #ecfdf5; color: #059669; }

.dash-stat-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}
.bar-fill { display: block; height: 100%; border-radius: 2px; }
.bar-blue { background: #3b82f6; }
.bar-purple { background: var(--t-accent, #8b5cf6); }
.bar-orange { background: #f97316; }
.bar-green { background: #10b981; }

.dash-inner-columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 10px;
}
.dash-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
}
.dash-card-title {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.learning-progress-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.learning-icon {
    width: 28px; height: 28px;
    background: #ede9fe;
    color: var(--t-500, #6366f1);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.learning-info { flex: 1; min-width: 0; }
.learning-subject { font-size: 10px; font-weight: 700; color: #0f172a; }
.learning-topic { font-size: 9px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.learning-percent { font-size: 9px; font-weight: 700; color: var(--t-500, #6366f1); }
.btn-dash-continue {
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 5px;
    white-space: nowrap;
}
.btn-dash-continue:hover { color: #fff; background: var(--primary-dark); }

.activity-mini-list, .affairs-mini-list {
    list-style: none;
    padding: 0; margin: 0;
}
.activity-mini-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
}
.activity-mini-list li:last-child { border-bottom: none; }
.act-bullet {
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
}
.act-green { background: #d1fae5; color: #059669; }
.act-blue { background: #dbeafe; color: #2563eb; }
.act-purple { background: #ede9fe; color: #7c3aed; }
.act-text { flex: 1; }
.act-text strong { color: #0f172a; }
.act-text small { color: #64748b; margin-left: 2px; }
.act-time { color: #94a3b8; font-size: 8px; }

.affairs-mini-list li {
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
}
.affairs-mini-list li:last-child { border-bottom: none; }
.affair-cat { font-size: 8px; font-weight: 700; text-transform: uppercase; }
.affair-headline { font-size: 9px; font-weight: 600; color: #0f172a; line-height: 1.2; }
.affair-time { font-size: 8px; color: #94a3b8; }
.dash-link-small { font-size: 9px; color: var(--t-500, #6366f1); font-weight: 600; }

/* 3D Decorative Items in Scene */
.scene-decor { position: absolute; z-index: 3; }

.decor-plant {
    bottom: 35px; left: -10px;
}
.plant-pot {
    width: 38px; height: 42px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 0 0 14px 14px;
    position: relative;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.plant-pot::before {
    content: '';
    position: absolute;
    top: -4px; left: -3px; right: -3px;
    height: 6px;
    background: #94a3b8;
    border-radius: 3px;
}
.plant-leaves {
    position: absolute;
    top: -24px; left: 50%;
    transform: translateX(-50%);
    width: 32px; height: 26px;
}
.leaf {
    position: absolute;
    width: 14px; height: 22px;
    background: linear-gradient(135deg, #34d399, #059669);
    border-radius: 50% 50% 10% 50%;
}
.leaf-1 { left: 0; transform: rotate(-30deg); }
.leaf-2 { right: 0; transform: rotate(30deg) scaleX(-1); }
.leaf-3 { left: 9px; top: -4px; transform: rotate(0deg); }
.leaf-4 { left: 6px; top: 4px; transform: rotate(15deg); }

.decor-books {
    bottom: 15px; left: 40px;
    width: 90px; height: 38px;
    z-index: 3;
}
.book {
    position: absolute;
    height: 12px;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}
.book-1 {
    bottom: 0; left: 0; width: 85px;
    background: linear-gradient(90deg, var(--t-500, #6366f1) 0%, var(--t-700, #4338ca) 100%);
}
.book-2 {
    bottom: 10px; left: 6px; width: 80px;
    background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
}
.book-3 {
    bottom: 20px; left: 12px; width: 72px;
    background: linear-gradient(90deg, var(--t-400, #818cf8) 0%, var(--t-500, #6366f1) 100%);
}

.decor-pen-cup {
    bottom: 30px; right: -5px;
    width: 44px; height: 50px;
}
.pen-cup {
    width: 34px; height: 42px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border-radius: 6px;
    position: relative;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.pen {
    position: absolute;
    width: 4px; height: 32px;
    top: -18px;
    border-radius: 2px 2px 0 0;
}
.pen-1 { left: 6px; background: #ef4444; transform: rotate(-15deg); }
.pen-2 { left: 14px; background: #3b82f6; transform: rotate(5deg); }
.pen-3 { left: 22px; background: #f59e0b; transform: rotate(20deg); }
.ruler {
    position: absolute;
    width: 8px; height: 36px;
    background: #e2e8f0;
    top: -20px; left: 10px;
    transform: rotate(-10deg);
    border-radius: 2px;
}

.scene-shadow {
    position: absolute;
    bottom: 10px; left: 10%; right: 10%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.25) 0%, transparent 70%);
    z-index: 1;
}

/* ============ 2. FLOATING STATS COUNTER BAR ============ */
.stats-counter-section {
    position: relative;
    z-index: 10;
    margin-top: -35px;
    margin-bottom: 20px;
}
.stats-counter-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0,0,0,0.02);
}
.counter-box {
    display: flex;
    align-items: center;
    gap: 14px;
}
.counter-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.icon-purple { background: #ede9fe; color: var(--t-500, #6366f1); }
.icon-green  { background: #d1fae5; color: #10b981; }
.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-blue   { background: #dbeafe; color: #2563eb; }
.icon-rose   { background: #ffe4e6; color: #e11d48; }

.counter-num {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}
.counter-label {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* ============ 3. POPULAR EXAMS SECTION ============ */
.popular-exams-section {
    padding: 40px 0 50px;
}
.section-heading {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.view-all-link {
    color: var(--t-500, #6366f1);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color .2s;
}
.view-all-link:hover { color: var(--t-600, #4f46e5); }

.btn-slider-arrow {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: all .2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.btn-slider-arrow:hover {
    background: var(--t-500, #6366f1);
    color: #fff;
    border-color: var(--t-500, #6366f1);
}

.exams-carousel-wrap {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.exams-carousel-wrap::-webkit-scrollbar { display: none; }

.exam-card-item {
    flex: 0 0 260px;
    min-width: 250px;
    scroll-snap-align: start;
}
.exam-card-link {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all .25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.exam-card-link:hover {
    transform: translateY(-5px);
    border-color: var(--t-500, #6366f1);
    box-shadow: 0 14px 30px rgba(var(--t-500-rgb, 99, 102, 241), 0.12);
}

.exam-badge-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.badge-ssc { background: #fffbeb; color: #d97706; border: 2px solid #fef3c7; }
.badge-railway { background: #fef2f2; color: #dc2626; border: 2px solid #fee2e2; }
.badge-upsc { background: #f8fafc; color: #334155; border: 2px solid #e2e8f0; }
.badge-banking { background: #eff6ff; color: #2563eb; border: 2px solid #dbeafe; }
.badge-bihar { background: #fff1f2; color: #be123c; border: 2px solid #ffe4e6; }
.badge-ctet { background: #faf5ff; color: #7e22ce; border: 2px solid #f3e8ff; }

.exam-name {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.exam-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 16px;
    flex-grow: 1;
}
.exam-meta {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
}

/* ============ 4. WHAT YOU WILL GET ============ */
.features-section { padding: 60px 0; }
.feature-tile {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: all .25s ease;
}
.feature-tile:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}
.feature-icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin: 0 auto 18px;
}
.bg-soft-purple { background: #ede9fe; color: var(--t-500, #6366f1); }
.bg-soft-green  { background: #d1fae5; color: #059669; }
.bg-soft-orange { background: #ffedd5; color: #ea580c; }
.bg-soft-blue   { background: #dbeafe; color: #2563eb; }
.bg-soft-rose   { background: #ffe4e6; color: #e11d48; }

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.feature-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* ============ 5. HOW EXAMLEARN WORKS ============ */
.workflow-section { padding: 60px 0; background: #f8fafc; }
.workflow-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    position: relative;
    height: 100%;
    transition: all .25s ease;
}
.workflow-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(var(--t-500-rgb, 99, 102, 241), 0.1);
}
.step-icon-badge {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
}
.step-badge-purple { background: #ede9fe; color: var(--t-500, #6366f1); }
.step-badge-green  { background: #d1fae5; color: #059669; }
.step-badge-orange { background: #ffedd5; color: #ea580c; }
.step-badge-blue   { background: #dbeafe; color: #2563eb; }

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.step-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* ============ 6. TESTIMONIALS SECTION ============ */
.testimonials-section { padding: 60px 0; }
.heading-accent-line {
    width: 48px; height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 10px auto 0;
}
.testimonial-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all .25s ease;
}
.testimonial-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.star-rating {
    display: flex;
    gap: 3px;
    font-size: 14px;
}
.quote-mark {
    font-size: 32px;
    color: var(--t-200, #c7d2fe);
    line-height: 1;
}
.testimonial-quote {
    font-size: 14px;
    color: #334155;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 24px;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.user-avatar-wrap {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    flex-shrink: 0;
}
.avatar-aman { background: linear-gradient(135deg, #f59e0b, #d97706); }
.avatar-priya { background: linear-gradient(135deg, #ec4899, #be185d); }
.avatar-rohit { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

.user-name { font-size: 14px; font-weight: 700; color: #0f172a; margin: 0; }
.user-exam { font-size: 12px; color: #64748b; margin: 0; }

.btn-testimonial-nav {
    position: absolute;
    top: 45%;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 5;
    transition: all .2s;
}
.btn-testimonial-nav:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.prev-btn { left: -20px; }
.next-btn { right: -20px; }

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all .2s;
}
.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* ============ 7. CTA BANNER ============ */
.cta-banner-section { padding: 40px 0 60px; }
.cta-card {
    background: linear-gradient(135deg, #0b132b 0%, #161b38 50%, var(--t-950, #1e1b4b) 100%);
    border-radius: var(--radius-xl);
    padding: 50px 48px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.cta-sparkle {
    position: absolute;
    width: 4px; height: 4px;
    background: #a78bfa;
    border-radius: 50%;
    box-shadow: 0 0 10px #c4b5fd;
}
.sparkle-1 { top: 20%; right: 40%; width: 6px; height: 6px; }
.sparkle-2 { bottom: 25%; left: 30%; width: 5px; height: 5px; }
.sparkle-3 { top: 15%; right: 15%; width: 8px; height: 8px; background: #fef08a; }

.cta-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.cta-subtitle {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 480px;
}

.btn-cta-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border: none;
    transition: all .25s ease;
    box-shadow: 0 8px 20px rgba(var(--t-500-rgb, 99, 102, 241), 0.4);
}
.btn-cta-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(var(--t-500-rgb, 99, 102, 241), 0.55);
}

/* 3D Mortarboard Cap & Diploma Illustration */
.cta-graphic-wrap {
    position: relative;
    width: 180px; height: 140px;
    margin: 0 auto;
}
.mortarboard-3d {
    position: absolute;
    top: 10px; left: 10px;
    width: 140px; height: 80px;
}
.cap-top {
    width: 130px; height: 46px;
    background: linear-gradient(135deg, var(--t-600, #4f46e5) 0%, var(--t-900, #312e81) 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.cap-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: #facc15;
    border-radius: 50%;
}
.cap-tassel {
    position: absolute;
    top: 50%; left: 50%;
    width: 45px; height: 40px;
}
.tassel-string {
    width: 35px; height: 2px;
    background: #facc15;
    transform: rotate(35deg);
    transform-origin: left;
}
.tassel-fringe {
    position: absolute;
    right: 5px; bottom: 0;
    width: 8px; height: 16px;
    background: #facc15;
    border-radius: 2px 2px 4px 4px;
}
.cap-base {
    position: absolute;
    top: 24px; left: 35px;
    width: 60px; height: 26px;
    background: linear-gradient(180deg, var(--t-800, #3730a3), var(--t-950, #1e1b4b));
    border-radius: 0 0 30px 30px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.diploma-3d {
    position: absolute;
    bottom: 5px; right: 10px;
    width: 110px; height: 26px;
}
.diploma-roll {
    width: 100%; height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    transform: rotate(-10deg);
}
.diploma-ribbon {
    position: absolute;
    top: 0; left: 40%;
    width: 16px; height: 100%;
    background: #ef4444;
    border-radius: 2px;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--dark-bg);
    color: #cbd5e1;
    padding: 60px 0 25px;
    border-top: 1px solid var(--dark-border);
}
.footer-about {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.65;
    margin: 14px 0 20px;
}
.social-icons { display: flex; gap: 10px; }
.social-btn {
    width: 36px; height: 36px;
    background: #161b22;
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #cbd5e1;
    transition: all .2s;
}
.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.footer-subtext {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 12px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #94a3b8;
    font-size: 13px;
    transition: color .2s;
}
.footer-links a:hover { color: #fff; }

.footer-newsletter-form .form-control {
    background: #161b22;
    border: 1px solid var(--dark-border);
    color: #fff;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px 0 0 8px;
}
.footer-newsletter-form .form-control:focus {
    background: #161b22;
    border-color: var(--primary);
    color: #fff;
    box-shadow: none;
}
.footer-newsletter-form .btn-primary-custom {
    border-radius: 0 8px 8px 0;
    padding: 10px 18px;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 24px;
    margin-top: 40px;
}
.text-muted-footer {
    color: #64748b;
    font-size: 13px;
}

/* Demo Modal */
.demo-modal-content {
    background: #0f172a;
    color: #fff;
    border: 1px solid #334155;
    border-radius: 16px;
}
.demo-placeholder-video {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    height: 100%;
    color: #fff;
}
.demo-play-large {
    width: 64px; height: 64px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(var(--t-500-rgb, 99, 102, 241), 0.4);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 42px; height: 42px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #64748b;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    opacity: 0;
    transition: all .3s;
    z-index: 999;
}
.back-to-top.show { opacity: 1; }
.back-to-top:hover { color: var(--primary); transform: translateY(-3px); }

/* ============ COMPETITIVE EXAMS PAGE ============ */
.exams-page-container {
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

.exams-breadcrumb-nav {
    padding: 16px 0 10px;
    font-size: 13px;
}
.exams-breadcrumb-nav a {
    color: var(--primary);
    font-weight: 500;
}
.exams-breadcrumb-nav .separator {
    color: #94a3b8;
    margin: 0 8px;
}
.exams-breadcrumb-nav .active-crumb {
    color: #64748b;
    font-weight: 500;
}

.exams-hero-banner {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-xl);
    padding: 28px 36px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.exams-hero-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fcd34d;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2);
    flex-shrink: 0;
}

.exams-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.exams-hero-subtitle {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    max-width: 460px;
}

.exams-stat-pills-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.exam-stat-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.stat-pill-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.stat-pill-val {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}
.stat-pill-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.1;
}

/* 3D Trophy Graphic in Header */
.exams-hero-art {
    position: relative;
    width: 140px; height: 110px;
    margin-left: auto;
}
.art-trophy {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    font-size: 48px;
    filter: drop-shadow(0 8px 16px rgba(245, 158, 11, 0.4));
    z-index: 2;
}
.art-books {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 110px; height: 32px;
}
.art-book-stack {
    height: 10px;
    border-radius: 3px;
    margin-bottom: 2px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
.book-purple { background: linear-gradient(90deg, var(--t-500, #6366f1), var(--t-400, #818cf8)); width: 110px; }
.book-gold { background: linear-gradient(90deg, #f59e0b, #fbbf24); width: 98px; margin: 0 auto 2px; }
.book-navy { background: linear-gradient(90deg, #1e293b, #334155); width: 86px; margin: 0 auto; }

/* Filter Bar */
.exams-filter-bar {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    margin-top: 24px;
    margin-bottom: 28px;
}

.search-input-wrap {
    position: relative;
}
.search-input-wrap i {
    position: absolute;
    top: 50%; left: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
}
.exams-search-input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding-left: 40px;
    height: 42px;
    font-size: 13.5px;
    color: #1e293b;
    transition: all .2s;
}
.exams-search-input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--t-500-rgb, 99, 102, 241), 0.15);
}

.exams-filter-select {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: 42px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    padding: 0 14px;
    transition: all .2s;
}
.exams-filter-select:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--t-500-rgb, 99, 102, 241), 0.15);
}

.btn-clear-filters {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    border-radius: 10px;
    height: 42px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
    white-space: nowrap;
}
.btn-clear-filters:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f5f3ff;
}

/* Exam Grid Card */
.exam-grid-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all .25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.exam-grid-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(var(--t-500-rgb, 99, 102, 241), 0.12);
}

.exam-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.exam-emblem-badge {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    flex-shrink: 0;
}
.badge-banking-red { background: #fef2f2; color: #dc2626; border: 2px solid #fee2e2; }
.badge-ctet-green  { background: #ecfdf5; color: #059669; border: 2px solid #d1fae5; }
.badge-rpsc        { background: #fef2f2; color: #b91c1c; border: 2px solid #fee2e2; }
.badge-police      { background: #eff6ff; color: #1d4ed8; border: 2px solid #dbeafe; }
.badge-nda         { background: #fefce8; color: #a16207; border: 2px solid #fef08a; }
.badge-sbi         { background: #eff6ff; color: #0284c7; border: 2px solid #bae6fd; }
.badge-ssc-green   { background: #f0fdf4; color: #16a34a; border: 2px solid #dcfce7; }

.exam-stage-pill {
    font-size: 10.5px;
    font-weight: 600;
    background: #ede9fe;
    color: var(--t-500, #6366f1);
    padding: 3px 9px;
    border-radius: 6px;
    white-space: nowrap;
}

.exam-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.exam-card-subtitle {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 16px;
    flex-grow: 1;
    min-height: 34px;
}

.exam-card-metrics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
    padding: 12px 0 14px;
    border-top: 1px solid #f1f5f9;
}
.metric-aspirants i, .metric-mcqs i {
    font-size: 13px;
    margin-right: 4px;
    color: #94a3b8;
}

.exam-card-action {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all .2s;
}
.exam-card-action:hover {
    color: var(--primary-dark);
}
.exam-grid-card:hover .exam-card-action i {
    transform: translateX(3px);
}
.exam-card-action i {
    transition: transform .2s;
}

/* View All Tile */
.view-all-tile {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all .25s ease;
}
.view-all-tile:hover {
    border-color: var(--primary);
    background: #f5f3ff;
}
.tile-icon-dots {
    width: 48px; height: 48px;
    background: #ede9fe;
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}
.tile-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}
.tile-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 16px;
}
.btn-explore-all {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: #ffffff;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
}
.btn-explore-all:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Bottom Trust Bar */
.exams-trust-bar {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    margin-top: 40px;
    margin-bottom: 20px;
}
.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.trust-bar-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.trust-bar-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}
.trust-bar-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* ============ EXAM DETAILS PAGE ============ */
.exam-detail-header-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.detail-emblem-wrap {
    width: 76px; height: 76px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.exam-detail-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
}

.exam-detail-org {
    font-size: 14.5px;
    font-weight: 700;
    color: #334155;
    margin-top: 4px;
}
.exam-detail-fullname {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.exam-detail-summary {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    max-width: 650px;
}

/* Important Dates Card in Header */
.exam-dates-sidebar-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 22px;
}
.dates-card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dates-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}
.dates-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px dashed #f1f5f9;
}
.dates-list li:last-child { border-bottom: none; }
.date-label {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}
.date-bullet {
    color: var(--primary);
    font-size: 14px;
}
.date-val {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}
.btn-notification-check {
    background: #ffffff;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    transition: all .2s;
}
.btn-notification-check:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Subnav Bar */
.exam-subnav-bar {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-md);
    padding: 6px 10px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.exam-subnav-bar::-webkit-scrollbar { display: none; }

.exam-subnav-item {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    border: none;
    text-decoration: none;
    transition: all .2s;
}
.exam-subnav-item:hover {
    color: var(--primary);
    background: #f5f3ff;
}
.exam-subnav-item.active {
    color: var(--primary);
    background: #ede9fe;
    font-weight: 700;
}

/* Tab Panes */
.exam-tab-pane {
    display: none;
}
.exam-tab-pane.active {
    display: block;
    animation: fadeInExamPane 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInExamPane {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Callout Box */
.exam-focus-callout {
    background: var(--t-50, #eef2ff);
    border: 1px solid var(--t-100, #e0e7ff);
    border-left: 4px solid var(--t-600, #4f46e5);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--t-800, #3730a3);
    line-height: 1.5;
}
.exam-focus-callout i {
    font-size: 16px;
    color: var(--t-600, #4f46e5);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Component Breakdown Table */
.component-spec-table th {
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}
.component-spec-table td {
    padding: 14px 16px;
    font-size: 13px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.component-item-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.component-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.bg-soft-indigo { background: var(--t-100, #e0e7ff); color: var(--t-700, #4338ca); }
.bg-soft-teal { background: #ccfbf1; color: #0f766e; }
.bg-soft-green { background: #dcfce7; color: #15803d; }
.bg-soft-amber { background: #fef3c7; color: #b45309; }
.bg-soft-pink { background: #fce7f3; color: #be185d; }
.bg-soft-blue { background: #e0f2fe; color: #0369a1; }
.bg-soft-purple { background: #ede9fe; color: #6d28d9; }

/* Roadmap Step Cards */
.roadmap-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s;
}
.roadmap-step-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    background: #ffffff;
}
.roadmap-step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--t-600, #4f46e5);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Header Action Buttons & Meta Pills */
.detail-meta-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 14px;
}
.detail-meta-pill {
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.header-action-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.btn-header-action-blue {
    background: var(--t-600, #4f46e5);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-header-action-blue:hover {
    background: var(--t-700, #4338ca);
    color: #ffffff;
    transform: translateY(-1px);
}
.btn-header-action-outline {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-header-action-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* ==========================================================================
   EXAM DETAIL PAGE (PIXEL-PERFECT SPECIFICATION)
   ========================================================================== */

.exam-detail-header-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.exam-header-emblem-box {
    width: 125px;
    height: 125px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exam-header-art-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 170px;
}

.detail-meta-pill-sparkle {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.detail-meta-pill-mode {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.detail-meta-pill-tag {
    background: #ffedd5;
    color: #ea580c;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.detail-meta-pill-year {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-detail-start-mock {
    background: var(--t-600, #4f46e5);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: none;
}
.btn-detail-start-mock:hover {
    background: var(--t-700, #4338ca);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--t-600-rgb, 79, 70, 229), 0.25);
}

.btn-detail-official-site {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155 !important;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.btn-detail-official-site:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
}

/* Subnav Bar */
.exam-subnav-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px 8px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.exam-subnav-bar::-webkit-scrollbar { display: none; }

.exam-subnav-item {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    border: none;
    text-decoration: none;
    transition: all .2s;
}
.exam-subnav-item:hover {
    color: var(--t-600, #4f46e5);
    background: #f5f3ff;
}
.exam-subnav-item.active {
    color: var(--t-600, #4f46e5);
    background: var(--t-50, #eef2ff);
    font-weight: 700;
}

/* Tab Panes */
.exam-tab-pane {
    display: none;
}
.exam-tab-pane.active {
    display: block;
    animation: fadeInExamPane 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Highlights Grid (4 Columns) */
.highlights-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.highlight-tile-clean {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.2s;
}
.highlight-tile-clean:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.highlight-tile-clean .highlight-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* Tiers Overview Cards (4 Grid) */
.tiers-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.tier-col-clean-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 16px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.2s;
}
.tier-col-clean-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}
.tier-col-clean-card.tier-blue   { border-top: 3px solid #3b82f6; }
.tier-col-clean-card.tier-green  { border-top: 3px solid #10b981; }
.tier-col-clean-card.tier-amber  { border-top: 3px solid #f59e0b; }
.tier-col-clean-card.tier-purple { border-top: 3px solid var(--t-accent, #8b5cf6); }

.tier-clean-title-blue   { color: #2563eb; font-weight: 800; font-size: 16px; margin-bottom: 2px; }
.tier-clean-title-green  { color: #16a34a; font-weight: 800; font-size: 16px; margin-bottom: 2px; }
.tier-clean-title-amber  { color: #d97706; font-weight: 800; font-size: 16px; margin-bottom: 2px; }
.tier-clean-title-purple { color: #7c3aed; font-weight: 800; font-size: 16px; margin-bottom: 2px; }

.tier-clean-mode {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
.tier-clean-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Quick Info Clean Widget */
.quick-info-clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.quick-info-clean-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12.5px;
}
.quick-info-clean-list li:last-child { border-bottom: none; }
.quick-info-clean-list .qi-label { color: #64748b; font-weight: 500; }
.quick-info-clean-list .qi-val { color: #0f172a; font-weight: 700; text-align: right; }

/* Why Choose SSC CGL 2-Column Clean Grid */
.why-choose-2col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}
.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.45;
}
.why-choose-item i {
    color: #10b981;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Preparation CTA Card with Rocket */
.exam-prep-rocket-card {
    background: #f5f3ff;
    border: 1px solid #ede9fe;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.prep-rocket-art {
    width: 140px;
    height: 130px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.useful-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.useful-links-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}
.useful-links-list li:last-child { border-bottom: none; }
.useful-link-anchor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    transition: color .2s;
}
.useful-link-anchor:hover {
    color: var(--primary-dark);
}

/* ============ RESPONSIVE BREAKPOINTS ============ */
@media (max-width: 1199px) {
    .hero-title { font-size: 42px; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .tiers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .hero-title { font-size: 36px; }
    .search-wrap { width: 100%; margin: 10px 0; }
    .header-right { flex-wrap: wrap; justify-content: flex-start !important; }
    .main-nav { margin: 15px 0; }
    .cta-card { padding: 36px 28px; }
    .cta-title { font-size: 26px; }
    .exams-hero-banner { padding: 24px; }
    .exams-hero-art { display: none; }
    .exam-detail-header-card { padding: 24px; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 30px; }
    .hero-cta-group { flex-direction: column; align-items: stretch; }
    .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
    .stats-counter-card { padding: 18px; }
    .counter-box { justify-content: center; }
    .btn-testimonial-nav { display: none; }
    .exams-stat-pills-row { flex-direction: column; align-items: stretch; }
    .exam-stat-pill { width: 100%; }
    .highlights-grid { grid-template-columns: 1fr; }
    .tiers-grid { grid-template-columns: 1fr; }
}


/* Active item in header dropdowns (e.g. Dashboard / Profile) */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active { background: rgba(var(--t-500-rgb, 99, 102, 241), 0.22); color: #fff; font-weight: 600; }

/* ==========================================================================
   Navbar layout: icon + label side by side on every desktop width (>= 1200px).
   Below 1200px the navbar collapses into the hamburger menu.
   ========================================================================== */
.main-nav .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.main-nav .nav-ic { font-size: 15px; line-height: 1; color: #94a3b8; transition: color .2s, transform .2s; }
.main-nav .nav-link:hover .nav-ic { color: var(--t-200, #c7d2fe); transform: translateY(-1px); }
.main-nav .nav-link.active .nav-ic { color: var(--t-300, #a5b4fc); }
.main-nav .dropdown-toggle::after { margin-left: 2px; }
.main-nav .nav-kids .nav-ic { color: #fbbf24; }
.main-nav .nav-kids:hover .nav-ic, .main-nav .nav-kids.active .nav-ic { color: #fcd34d; }
.nav-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; vertical-align: -5px; }

@media (min-width: 1200px) {
    .main-nav .nav-link { white-space: nowrap; }
    .header-right .btn { white-space: nowrap; }
    .header-right .dropdown-toggle.btn { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* Laptops / desktops up to 1800px: tighter spacing so icon + label fit */
@media (min-width: 1200px) and (max-width: 1799.98px) {
    .site-header .container-fluid { padding-left: 16px !important; padding-right: 16px !important; }
    .main-nav .nav-link { padding: 8px 8px !important; font-size: 13.5px; gap: 5px; }
    .main-nav .nav-ic { font-size: 14px; }
    .main-nav .nav-link.active::after { left: 8px; right: 8px; }
    .search-wrap { width: 170px; }
}
/* Labels only below 2200px, so a full admin-managed menu (incl. Dashboard for members) still fits */
@media (min-width: 1200px) and (max-width: 2199.98px) {
    .main-nav .nav-ic { display: none; }
    .main-nav .nav-link { gap: 0; }
}
@media (min-width: 1200px) and (max-width: 1599.98px) {
    .logo-tag { display: none; }
    /* search becomes an icon-sized box that expands while typing */
    .search-wrap { width: 40px; transition: width .2s; }
    .search-wrap input { padding-right: 0; }
    .search-wrap input::placeholder { color: transparent; }
    .search-wrap:focus-within { width: 200px; }
    .search-wrap:focus-within input::placeholder { color: #64748b; }
    /* icon-only account button (username stays in the tooltip and the menu) */
    .header-right .dropdown-toggle.btn { max-width: none; font-size: 0; padding: 0; width: 38px; height: 38px;
        border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
    .header-right .dropdown-toggle.btn i { font-size: 17px; margin: 0 !important; }
    .header-right .dropdown-toggle.btn .nav-avatar { width: 30px; height: 30px; margin: 0 !important; }
    .header-right .dropdown-toggle.btn::after { display: none; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .main-nav .nav-link { padding: 8px 6px !important; font-size: 13px; gap: 4px; }
    .main-nav .nav-link.active::after { left: 6px; right: 6px; }
    .header-right { gap: 6px !important; }
    .header-right > a.btn { padding: 7px 12px; font-size: 13px; }
}

/* Collapsed menu (< 1200px): stacked rows with the icon in front */
@media (max-width: 1199.98px) {
    .search-wrap { width: 100%; margin: 10px 0; }
    .header-right { flex-wrap: wrap; justify-content: flex-start !important; }
    .main-nav { margin: 15px 0; }
    .main-nav .nav-link { gap: 10px; padding: 10px 6px !important; }
    .main-nav .nav-ic { font-size: 17px; width: 22px; text-align: center; }
    /* sticky header can't scroll with the page, so the open menu scrolls itself
       (keeps the account dropdown / Logout reachable on short screens) */
    .site-header .navbar-collapse { max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; }
}

/* Exams dropdown: section headers, counts, current item */
.nav-exam-menu { min-width: 250px; max-height: calc(100vh - 110px); overflow-y: auto; }
.nav-exam-menu .dropdown-header { color: #8b949e; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px 4px; }
.nav-exam-menu .dropdown-item.active, .nav-exam-menu .dropdown-item:active { background: var(--t-600, #4f46e5); color: #fff; }
.nav-exam-count { font-size: 10.5px; font-weight: 700; color: #8b949e; background: #21262d; border-radius: 999px; padding: 1px 7px; margin-left: 10px; }
.nav-exam-menu .dropdown-item.active .nav-exam-count { background: rgba(255,255,255,.2); color: #fff; }

/* ============ UPLOADED SITE LOGO ============ */
.site-logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}
.auth-logo-img { height: 48px; }
.logo-when-dark { display: none; }
html.dark-theme .logo-when-dark { display: block; }
html.dark-theme .logo-when-light { display: none; }

/* ============ COOKIE CONSENT ============ */
.cookie-consent {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    max-width: 560px;
    margin: 0 auto;
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 13px;
    border: 1px solid #1e293b;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent .btn { flex-shrink: 0; }

/* ---------- Content written in the admin rich text editor (static/js/rich-editor.js) ----------
   Picture size / position classes and the note box, so they look the same on every public page. */
img.ks-center { display: block; margin-left: auto; margin-right: auto; }
img.ks-left { float: left; margin: 4px 16px 8px 0; }
img.ks-right { float: right; margin: 4px 0 8px 16px; }
img.ks-w-25 { width: 25%; } img.ks-w-50 { width: 50%; } img.ks-w-75 { width: 75%; } img.ks-w-100 { width: 100%; }
img.ks-left, img.ks-right, img.ks-center { max-width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 575.98px) { img.ks-left, img.ks-right { float: none; display: block; margin: 8px auto; width: 100%; } }
/* Fallback note box for pages without their own (pages that style .note-box themselves win, they load later) */
.note-box { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; }
[data-bs-theme="dark"] .note-box, html.dark-theme .note-box { background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .35); }
