        /* --- EXAMSPARK THEME CSS --- */
        :root {
            --primary-color: #4A90E2; 
            --accent-color: #FF6B6B;
            --bg-color: #F4F7F6;
            --text-dark: #333;
            --success-color: #2ecc71;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--bg-color);
            color: var(--text-dark);
        }

        /* Navbar */
        header {
            background: white;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            margin-left: 20px;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover { color: var(--primary-color); }

        /* Dashboard Container */
        .dashboard-container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
            display: grid;
            grid-template-columns: 250px 1fr; /* Sidebar + Content */
            gap: 2rem;
        }

        @media (max-width: 768px) {
            .dashboard-container { grid-template-columns: 1fr; }
        }

        /* Sidebar Styles */
        .sidebar {
            background: white;
            padding: 1.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            height: fit-content;
        }

        .sidebar h3 { color: var(--text-dark); margin-top: 0; }
        
        .subject-list { list-style: none; padding: 0; }
        
        .subject-list li {
            margin-bottom: 10px;
        }

        .subject-btn {
            display: block;
            width: 100%;
            text-align: left;
            padding: 10px 15px;
            background: #f8f9fa;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            color: #555;
            transition: all 0.2s;
        }

        .subject-btn:hover, .subject-btn.active {
            background: var(--primary-color);
            color: white;
        }

        /* Main Content Area */
        .content-area {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

        .welcome-banner {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 2rem;
            border-radius: 12px;
            margin-bottom: 2rem;
        }
        
        .welcome-banner h2 { margin: 0 0 10px 0; }

        /* Chapter Links Grid */
        .chapter-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .chapter-card {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 1.5rem;
            text-decoration: none;
            color: var(--text-dark);
            transition: transform 0.2s, box-shadow 0.2s;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .chapter-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: var(--primary-color);
        }

        .chapter-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: var(--primary-color);
        }

        .chapter-card h4 { margin: 0 0 5px 0; font-size: 1.1rem; }
        .chapter-card span { font-size: 0.85rem; color: #777; }

        .badge {
            display: inline-block;
            padding: 4px 8px;
            font-size: 0.75rem;
            border-radius: 4px;
            margin-top: 10px;
            align-self: flex-start;
        }

        .badge.ready { background: #e8f5e9; color: var(--success-color); }
        .badge.soon { background: #fff3e0; color: #f57c00; }

        /* Sections */
        .subject-section { display: none; }
        .subject-section.active { display: block; }

        .section-header {
            border-bottom: 2px solid #eee;
            padding-bottom: 10px;
            margin-bottom: 20px;
            margin-top: 30px;
            color: var(--primary-color);
        }
        .section-header:first-of-type { margin-top: 0; }

        /* Footer */
        footer {
            text-align: center;
            padding: 2rem;
            color: #666;
            margin-top: 2rem;
        }

        footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 1rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 5px solid var(--primary-color);
}

.footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: #fff; text-decoration: underline; }

.copyright {
    font-size: 0.9rem;
    color: #7f8c8d;
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}
/* ================= BUTTONS & SOCIAL BOX ================= */
.cta-btn {
    display: inline-block; background: var(--primary-color); color: white;
    padding: 10px 15px; border-radius: 6px; text-decoration: none;
    margin: 10px 10px 10px 0; font-weight: 500; transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.cta-btn:hover { background: #357abd; transform: translateY(-2px); }

.social-box {
    background: linear-gradient(135deg, #f9f9f9, #eef2f5);
    border-left: 5px solid #4A90E2; padding: 20px; border-radius: 10px;
    margin: 25px auto; max-width: 1100px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.social-box h3 { margin-top: 0; margin-bottom: 5px; color: #333; font-size: 1.4rem; border: none; }
.social-box p { color: #666; font-size: 0.95rem; margin-bottom: 20px;}

.social-buttons a {
    display: inline-block; margin: 8px; padding: 12px 20px; border-radius: 8px;
    text-decoration: none; color: white; font-weight: bold; transition: transform 0.2s, box-shadow 0.2s;
}
.social-buttons a:hover { transform: translateY(-3px); box-shadow: 0 5px 10px rgba(0,0,0,0.15); }

.insta-btn { background: linear-gradient(45deg, #e1306c, #fd1d1d, #fcb045); }
.yt-btn { background: #ff0000; }
.telegram-btn { background: #0088cc; }