/* ===== LEARNOVA - COMPLETE STYLESHEET ===== */

:root {
    --primary: #00c851;
    --primary-dark: #009933;
    --primary-light: rgba(0, 200, 81, 0.15);
    --secondary: #ff6b00;
    --accent: #00d4ff;
    --bg: #020617;
    --bg-surface:#070e1f;
    --bg-card: #0d1526;
    --bg-card2: #111d35;
    --bg-nav: #070d1a;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0b8;
    --text-muted: #60607a;
    --border: #1e2a45;
    --border-bright: #2a3a60;
    --gold: #ffd700;
    --red: #ff4444;
    --purple: #9b59b6;
    --green: #00c851;
    --yellow: #eab308;
    --radius: 14px;
    
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 200, 81, 0.08);
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.5);
    --transition: all 0.25s cubic-bezier(.4, 0, .2, 1);
    --surface: #0d1526;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    background-image:
            linear-gradient(rgba(0, 200, 81, 0.025) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 200, 81, 0.025) 1px, transparent 1px);
        background-size: 52px 52px;
        background-attachment: fixed;
    overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 13, 26, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.nav-logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-text span {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(0, 200, 81, 0.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar-nav .material-icons {
    font-size: 20px;
    color: #000;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: var(--transition);
    font-family: 'Nunito', sans-serif;
}

.btn .material-icons {
    font-size: 18px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-lg .material-icons {
    font-size: 20px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding: 13px;
    font-size: 15px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 200, 81, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 200, 81, 0.1);
    transform: translateY(-2px);
}

.btn-orange {
    background: var(--secondary);
    color: #fff;
}

.btn-orange:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4);
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav a .material-icons {
    font-size: 28px;
}

.mobile-nav a:hover {
    color: var(--primary);
}

/* ===== TICKER ===== */
.ticker-wrap {
    background: rgba(0, 200, 81, 0.06);
    border-top: 1px solid rgba(0, 200, 81, 0.15);
    border-bottom: 1px solid rgba(0, 200, 81, 0.15);
    padding: 8px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-label {
    background: var(--primary);
    color: #000;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    margin-right: 20px;
    flex-shrink: 0;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 200, 81, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ticker-content {
    display: flex;
    gap: 60px;
    animation: ticker 40s linear infinite;
    white-space: nowrap;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.ticker-item .material-icons {
    font-size: 16px;
    color: var(--primary);
}
.ticker-item:hover {
    color: var(--primary);
}
/* ===== HERO (SPECIAL BG) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(2, 6, 23, 0.75), rgba(2, 6, 23, 0.88)),
        url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?q=80&w=1920&auto=format&fit=crop") center/cover no-repeat;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: linear-gradient(rgba(0, 200, 81, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 200, 81, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 81, 0.12);
    border: 1px solid rgba(0, 200, 81, 0.3);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    width: fit-content;
}

.hero-badge span {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .orange {
    color: var(--secondary);
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-main-card {
    background: rgba(13, 21, 38, 0.95);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.hero-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.hero-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 200, 81, 0.15);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-card-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero-progress-bar {
    background: var(--border);
    border-radius: 6px;
    height: 8px;
    margin-bottom: 6px;
    overflow: hidden;
}

.hero-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 6px;
    width: 72%;
    animation: progressFill 2s ease-out;
}

@keyframes progressFill {
    from {
        width: 0
    }

    to {
        width: 72%
    }
}

.hero-card-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 200, 81, 0.3);
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== ALL NON-HERO SECTIONS — UNIFIED DARK BG ===== */
.section,
.section:nth-of-type(even),
.testimonial-section,
.exam-section,
.feature-demo {
    background: transparent !important;
    padding: 80px 24px;
}/* ── CTA stays accent-tinted ── */
.cta-section {
    background: linear-gradient(160deg,
            rgba(0, 200, 81, 0.07) 0%,
            rgba(0, 212, 255, 0.04) 50%,
            transparent 100%) !important;
    border-top: 1px solid rgba(0, 200, 81, 0.12);
    border-bottom: 1px solid rgba(0, 200, 81, 0.08);
}



.section-center {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 200, 81, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 200, 81, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 14px;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 18px;
}

/* ===== FEATURE SECTION ===== */
.feature-demo {
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.feature-demo .container {
    max-width: 1100px;
    margin: auto;
}

.feature-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 260px;
    max-width: 320px;
    background: var(--bg-card);
    padding: 30px 24px;
    border-radius: 18px;
    transition: all 0.35s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0, 200, 81, 0.1), transparent);
    opacity: 0;
    transition: 0.4s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 200, 81, 0.4);
    box-shadow: 0 20px 40px rgba(0, 200, 81, 0.12);
}

.feature-card .material-icons {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-btn {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000;
    padding: 14px 32px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 200, 81, 0.4);
}

/* ===== LIVE CLASSES ===== */
.live-banner {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 165, 0, 0.04));
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--red);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    animation: livePulse 1s infinite alternate;
}

@keyframes livePulse {
    from {
        opacity: 1
    }

    to {
        opacity: 0.7
    }
}

.live-text {
    font-size: 16px;
    font-weight: 700;
}

.live-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.live-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== LIVE CLASS CARDS ===== */
.live-class-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.live-class-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 200, 81, 0.3);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.live-class-card .card-header {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.live-class-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.live-class-card:hover .card-img {
    transform: scale(1.05);
}

.card-live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.card-live-badge.live {
    background: var(--red);
    color: #fff;
}

.card-live-badge.upcoming {
    background: var(--primary);
    color: #000;
}

.card-body-live {
    padding: 18px;
}

.card-body-live .card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-body-live .card-sub {
    font-size: 13px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.card-body-live .card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

.card-body-live .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.card-body-live .card-footer span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== CARD GRID ===== */
.card-grid {
    display: grid;
    gap: 22px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== COURSE CARDS ===== */
.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 200, 81, 0.4);
    box-shadow: 0 12px 40px rgba(0, 200, 81, 0.12);
}

.course-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-card2);
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-thumb img {
    transform: scale(1.08);
}

.course-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.course-badge.free {
    background: var(--primary);
    color: #000;
}

.course-badge.popular {
    background: var(--secondary);
    color: #fff;
}

.course-badge.new {
    background: var(--accent);
    color: #000;
}

.course-badge.live {
    background: var(--red);
    color: #fff;
}

.course-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.course-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.course-subject-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
}

.course-level-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.course-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-educator-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.edu-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 200, 81, 0.25);
}

.edu-name {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.course-stats-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    margin-top: auto;
}

.cs-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.cs-stat .material-icons {
    font-size: 14px;
}

.cs-rating {
    margin-left: auto;
    color: var(--gold);
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.course-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

.course-price .original {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 6px;
    font-weight: 400;
}

.enroll-btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Nunito', sans-serif;
}

.enroll-btn .material-icons {
    font-size: 16px;
}

.enroll-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.courses-count {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ===== EXAM CARDS ===== */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.exam-card {
    background: var(--bg-card);
    padding: 28px 24px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.exam-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 200, 81, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.exam-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 200, 81, 0.15), rgba(0, 212, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.exam-icon .material-icons {
    font-size: 32px;
    color: var(--primary);
}

.exam-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.exam-sub {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.exam-count {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(0, 200, 81, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}

.testimonial-stars .material-icons {
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 200, 81, 0.3);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
}

.testimonial-info {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 24px;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content h2 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

/* ===== TABS ===== */
.subjects-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    justify-content: center;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Nunito', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-btn .material-icons {
    font-size: 18px;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

/* ===== SEARCH BAR ===== */
.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 14px 20px;
    max-width: 600px;
    margin: 0 auto 32px;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 200, 81, 0.1);
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Nunito', sans-serif;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    color: var(--text-muted);
    font-size: 22px;
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    opacity: 0;
    transition: var(--transition);
}

.search-bar:focus-within .search-clear {
    opacity: 1;
}

.search-clear:hover {
    color: var(--primary);
}

/* ===== NOTES ===== */
.notes-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.note-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}

.note-card:hover {
    border-color: rgba(0, 200, 81, 0.3);
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.note-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 200, 81, 0.15), rgba(0, 212, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.note-icon .material-icons {
    font-size: 28px;
    color: var(--primary);
}

.note-content {
    flex: 1;
}

.note-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.note-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.note-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.note-meta .material-icons {
    font-size: 14px;
}

.bonus-card {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(0, 200, 81, 0.08), rgba(0, 212, 255, 0.04));
    border: 1px solid rgba(0, 200, 81, 0.2);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.bonus-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-icon .material-icons {
    font-size: 36px;
    color: #000;
}

.bonus-content {
    flex: 1;
    min-width: 200px;
}

.bonus-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.bonus-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== PYQs ===== */
.pyq-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.pyq-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pyq-stat-card.green {
    border-color: rgba(0, 200, 81, 0.3);
    background: linear-gradient(135deg, rgba(0, 200, 81, 0.06), transparent);
}

.pyq-stat-card.orange {
    border-color: rgba(255, 107, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.06), transparent);
}

.pyq-stat-card.blue {
    border-color: rgba(0, 212, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), transparent);
}

.pyq-stat-card.gold {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), transparent);
}

.pyq-stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

.pyq-stat-card.green .pyq-stat-num {
    color: var(--primary);
}

.pyq-stat-card.orange .pyq-stat-num {
    color: var(--secondary);
}

.pyq-stat-card.blue .pyq-stat-num {
    color: var(--accent);
}

.pyq-stat-card.gold .pyq-stat-num {
    color: var(--gold);
}

.pyq-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.pyq-stat-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px;
    opacity: 0.25;
}

.pyq-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
}

.pyq-card:hover {
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pyq-year {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--secondary);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.pyq-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pyq-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pyq-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pyq-meta .material-icons {
    font-size: 14px;
}

.pyq-actions {
    display: flex;
    gap: 10px;
}

.pyq-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding: 10px;
}

/* ===== QUIZ ===== */
.quiz-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
}

.quiz-q-num {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-question {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 14px;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: rgba(0, 200, 81, 0.06);
}

.quiz-option.correct {
    border-color: var(--primary);
    background: rgba(0, 200, 81, 0.12);
    color: var(--primary);
}

.quiz-option.wrong {
    border-color: var(--red);
    background: rgba(255, 68, 68, 0.08);
    color: var(--red);
}

.quiz-option-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.quiz-explanation {
    margin-top: 20px;
    padding: 18px;
    background: rgba(0, 200, 81, 0.06);
    border: 1px solid rgba(0, 200, 81, 0.2);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.quiz-explanation .material-icons {
    color: var(--primary);
    font-size: 20px;
}

.quiz-progress {
    margin-top: 24px;
}

.quiz-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* ===== DOUBTS ===== */
.doubt-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 32px;
}

.doubt-form-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doubt-form-header .material-icons {
    color: var(--primary);
}

.doubt-form-footer {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    flex-wrap: wrap;
}

.doubt-feed-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doubt-feed-header .material-icons {
    color: var(--secondary);
}

.doubt-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doubt-question {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: var(--transition);
}

.doubt-question:hover {
    border-color: rgba(0, 200, 81, 0.2);
}

.doubt-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0, 200, 81, 0.3);
}

.doubt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doubt-content {
    flex: 1;
}

.doubt-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doubt-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.doubt-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.doubt-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.doubt-meta button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    font-family: 'Nunito', sans-serif;
}

.doubt-meta button:hover {
    color: var(--red);
}

/* ===== DASHBOARD ===== */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.dashboard-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.dashboard-name span {
    color: var(--primary);
}

.dashboard-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.dashboard-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.streak-card {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(255, 165, 0, 0.06));
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.streak-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), #ff9500);
    display: flex;
    align-items: center;
    justify-content: center;
}

.streak-icon-wrap .material-icons {
    font-size: 32px;
    color: #fff;
}

.streak-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.streak-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-icon.green {
    color: var(--primary);
}

.stat-icon.blue {
    color: var(--accent);
}

.stat-icon.gold {
    color: var(--gold);
}

.stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
}

.dashboard-card.full-width {
    grid-column: 1/-1;
}

.dashboard-card-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.dashboard-card-header .material-icons {
    color: var(--primary);
}

.dashboard-card-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

.dashboard-courses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-course-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 14px;
    background: var(--bg-card2);
    border-radius: 12px;
    transition: var(--transition);
}

.dashboard-course-item:hover {
    background: rgba(0, 200, 81, 0.05);
}

.course-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
}

.course-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-item-info {
    flex: 1;
}

.course-item-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.course-item-lesson {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.course-item-progress {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.course-item-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.weekly-goal-content {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.goal-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.goal-circle svg {
    transform: rotate(-90deg);
}

.goal-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.goal-progress {
    fill: none;
    stroke: url(#goalGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1s ease;
}

.goal-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.goal-info {
    flex: 1;
}

.goal-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.goal-stats {
    font-size: 13px;
    color: var(--text-muted);
}

.today-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.subject-progress {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subject-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.subject-item-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.subject-item-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.achievement-badge {
    text-align: center;
    padding: 18px 12px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: var(--transition);
}

.achievement-badge:hover {
    border-color: rgba(0, 200, 81, 0.3);
    transform: translateY(-4px);
}

.achievement-badge.locked {
    opacity: 0.5;
}

.achievement-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 200, 81, 0.15), rgba(0, 212, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.achievement-icon .material-icons {
    font-size: 24px;
    color: var(--primary);
}

.achievement-badge.locked .achievement-icon {
    background: var(--border);
}

.achievement-badge.locked .achievement-icon .material-icons {
    color: var(--text-muted);
}

.achievement-name {
    font-size: 12px;
    font-weight: 700;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rank-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 12px;
    transition: var(--transition);
}

.rank-row:hover {
    background: var(--bg-card2);
}

.rank-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    background: var(--border);
    color: var(--text-muted);
}

.rank-num.gold {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.rank-num.silver {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #000;
}

.rank-num.bronze {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    color: #fff;
}

.rank-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
}

.rank-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-name {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
}

.rank-points {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: var(--bg-card2);
    border-radius: 12px;
}

.activity-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon.green {
    background: rgba(0, 200, 81, 0.15);
    color: var(--primary);
}

.activity-icon.orange {
    background: rgba(255, 107, 0, 0.15);
    color: var(--secondary);
}

.activity-icon.blue {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 14px;
    font-weight: 600;
}

.activity-time {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    background: var(--border);
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 1s ease;
}

/* ===== STATIC PAGES ===== */
.static-hero {
    padding: 80px 24px 60px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.static-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.static-hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 16px 0 18px;
}

.static-hero-title span {
    color: var(--primary);
}

.static-hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.static-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 200, 81, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 200, 81, 0.25);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.about-stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.about-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 28px;
    text-align: center;
    min-width: 110px;
}

.about-stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-mission-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-value-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.about-value-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.about-value-card p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 12px;
    transition: transform 0.18s;
}

.contact-card:hover {
    transform: translateX(4px);
}

.contact-card-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-card-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.contact-card-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.legal-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 36px 0 14px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-lg {
    max-width: 600px;
}

.modal-xl {
    max-width: 900px;
    width: 95vw;
}

.modal-overlay.open .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    color: var(--text-primary);
    border-color: var(--primary);
}

.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 200, 81, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-icon .material-icons {
    font-size: 36px;
    color: var(--accent);
}

.modal-icon.green {
    background: linear-gradient(135deg, rgba(0, 200, 81, 0.2), rgba(0, 212, 255, 0.1));
}

.modal-icon.green .material-icons {
    color: var(--primary);
}

.modal-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.modal-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
    text-align: center;
}

.course-modal-header {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.course-modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-modal-badge {
    position: absolute;
    top: 16px;
    left: 16px;
}

.course-modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.course-modal-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.course-modal-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.course-modal-instructor {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card2);
    border-radius: 12px;
    margin-bottom: 20px;
}

.course-modal-instructor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.course-modal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.course-modal-stat {
    text-align: center;
    padding: 16px;
    background: var(--bg-card2);
    border-radius: 12px;
}

.course-modal-stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.course-modal-stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.course-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.course-modal-actions .btn {
    flex: 1;
    justify-content: center;
}

/* ===== VIDEO MODAL ===== */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
    background: var(--bg-card2);
    margin-bottom: 8px;
}

.video-playlist-item:hover {
    border-color: var(--primary);
    background: rgba(0, 200, 81, 0.06);
}

.video-playlist-item.active {
    border-color: var(--primary);
    background: rgba(0, 200, 81, 0.12);
}

.playlist-thumb {
    width: 80px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.playlist-info {
    flex: 1;
}

.playlist-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
}

.playlist-duration {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== PDF VIEWER ===== */
.pdf-viewer-container {
    background: var(--bg-card2);
    border-radius: 12px;
    padding: 24px;
    min-height: 400px;
}

.pdf-page-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.pdf-page-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdf-page-card h3 .material-icons {
    font-size: 18px;
}

.pdf-content-block {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.pdf-content-block .formula {
    background: rgba(0, 200, 81, 0.08);
    border: 1px solid rgba(0, 200, 81, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 0;
    font-family: monospace;
    font-size: 15px;
    color: var(--primary);
}

.pdf-content-block ul {
    padding-left: 20px;
    margin: 10px 0;
}

.pdf-content-block li {
    margin-bottom: 6px;
}

.pdf-download-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 200, 81, 0.08);
    border: 1px solid rgba(0, 200, 81, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.pdf-download-bar .pdf-info {
    font-weight: 700;
}

.pdf-download-bar .pdf-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== FORM ===== */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    background: var(--bg-card2);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    font-family: 'Nunito', sans-serif;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 200, 81, 0.1);
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 9999;
    background: var(--bg-card2);
    border: 1px solid var(--primary);
    border-radius: 14px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
    max-width: 400px;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 200, 81, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon .material-icons {
    font-size: 20px;
    color: var(--primary);
}

.toast-text {
    font-size: 14px;
    font-weight: 600;
}

/* ===== AI CHAT ===== */
.ai-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0, 200, 81, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ai-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(0, 200, 81, 0.5);
}

.ai-btn .material-icons {
    font-size: 28px;
}

.ai-box {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 360px;
    height: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.ai-box.open {
    display: flex;
}

.ai-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

.ai-header button {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-chat {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bot-msg,
.user-msg {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.bot-msg {
    align-self: flex-start;
}

.bot-msg .material-icons {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000;
    flex-shrink: 0;
}

.bot-msg div {
    background: var(--bg-card2);
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    font-size: 14px;
    line-height: 1.5;
}

.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.user-msg div {
    background: var(--primary);
    color: #000;
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    font-size: 14px;
    font-weight: 600;
}

.ai-input {
    display: flex;
    border-top: 1px solid var(--border);
    background: var(--bg-card2);
}

.ai-input input {
    flex: 1;
    padding: 16px;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
}

.ai-input button {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.badge-green {
    background: rgba(0, 200, 81, 0.15);
    color: var(--primary);
}

.badge-orange {
    background: rgba(255, 107, 0, 0.15);
    color: var(--secondary);
}

.badge-blue {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent);
}

.badge-gold {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
}

/* ===== DIVIDER ===== */
.divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

/* ===== PAGE STATE ===== */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-nav);
    border-top: 1px solid var(--border);
    padding: 60px 24px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand-col {
    max-width: 300px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 16px 0 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a .material-icons {
    font-size: 16px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width:1200px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .pyq-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:860px) {
    .about-two-col {
        grid-template-columns: 1fr;
    }

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

@media (max-width:768px) {
    .nav-links {
        display: none;
    }

    .nav-right .btn-outline {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-right {
        display: none;
    }

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

    .grid-2,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .live-banner {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-welcome {
        flex-direction: column;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-box {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 90px;
    }

    .about-mission-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width:480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 16px;
    }

    .hero {
        padding: 80px 16px 40px;
    }

    .hero-stats {
        gap: 20px;
        justify-content: center;
    }

    .modal {
        padding: 28px 20px;
        margin: 10px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .pyq-stats {
        grid-template-columns: 1fr;
    }

    .subjects-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .tab-btn {
        flex-shrink: 0;
    }

    .modal-xl {
        padding: 20px;
    }
}