  :root {
            --primary: #00c6ff;
            --secondary: #0072ff;
            --accent: #00d9a6;
            --success: #00e676;
            --warning: #ffab00;
            --danger: #ff5252;
            --dark: #0f1419;
            --darker: #090d12;
            --light: #f8fafc;
            --card-bg: rgba(20, 25, 35, 0.85);
            --card-border: rgba(0, 198, 255, 0.25);
            --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            --glow: 0 0 20px rgba(0, 198, 255, 0.3);
        }

        .light-theme {
            --primary: #0066cc;
            --secondary: #6633cc;
            --accent: #00a67e;
            --success: #00b368;
            --warning: #cc8800;
            --danger: #cc4242;
            --dark: #f0f4f8;
            --darker: #e1e8f0;
            --light: #0f1419;
            --card-bg: rgba(255, 255, 255, 0.9);
            --card-border: rgba(0, 102, 204, 0.2);
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            --glow: 0 0 15px rgba(0, 102, 204, 0.2);
        }

        .glow-theme {
            --primary: #00ffcc;
            --secondary: #cc00ff;
            --accent: #ffcc00;
            --success: #00ff88;
            --warning: #ffaa00;
            --danger: #ff3366;
            --dark: #0a0a1a;
            --darker: #050510;
            --light: #ffffff;
            --card-bg: rgba(25, 15, 40, 0.85);
            --card-border: rgba(0, 255, 204, 0.3);
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            --glow: 0 0 25px rgba(0, 255, 204, 0.4);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--dark);
            color: var(--light);
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(0, 114, 255, 0.1) 0%, transparent 25%),
                radial-gradient(circle at 90% 80%, rgba(0, 198, 255, 0.1) 0%, transparent 25%);
            min-height: 100vh;
            overflow-x: hidden;
            transition: var(--transition);
            line-height: 1.6;
        }

        .glow-theme body {
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(204, 0, 255, 0.15) 0%, transparent 25%),
                radial-gradient(circle at 90% 80%, rgba(0, 255, 204, 0.15) 0%, transparent 25%);
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Exo 2', sans-serif;
            font-weight: 700;
            color: var(--primary);
            line-height: 1.3;
        }

        .navbar {
            background: rgba(15, 20, 25, 0.95);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid var(--card-border);
            padding: 1rem 0;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }

        .light-theme .navbar {
            background: rgba(240, 244, 248, 0.95);
        }

        .glow-theme .navbar {
            background: rgba(10, 10, 26, 0.95);
        }

        .navbar-brand {
            font-family: 'Orbitron', sans-serif;
            font-weight: 800;
            font-size: 1.9rem;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: var(--glow);
            letter-spacing: 1px;
        }

        .nav-link {
            color: var(--light) !important;
            font-weight: 500;
            margin: 0 0.5rem;
            position: relative;
            transition: var(--transition);
            font-family: 'Exo 2', sans-serif;
        }

        .nav-link:hover {
            color: var(--primary) !important;
            transform: translateY(-2px);
        }

        .nav-link.active {
            color: var(--primary) !important;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--primary);
            box-shadow: var(--glow);
            border-radius: 3px;
        }

        .theme-switcher {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 30px;
            padding: 0.3rem;
            display: flex;
            align-items: center;
            box-shadow: var(--shadow);
        }

        .theme-btn {
            background: transparent;
            border: none;
            color: var(--light);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            transition: var(--transition);
            font-size: 0.9rem;
            font-family: 'Exo 2', sans-serif;
        }

        .theme-btn.active {
            background: var(--primary);
            color: var(--dark);
            box-shadow: var(--glow);
        }











.sidebar {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-right: 1px solid var(--card-border);
    height: calc(100vh - 80px);
    position: fixed;
    top: 80px;
    left: -250px; /* HIDDEN by default */
    width: 280px;
    padding: 2rem 1rem;
    transition: var(--transition);
    z-index: 1000;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

/* Show sidebar when hovering near left edge */
.sidebar:hover {
    left: 0; /* VISIBLE on hover */
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar-item {
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    color: var(--light);
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
}

.sidebar-item:hover {
    background: rgba(0, 198, 255, 0.15);
    color: var(--primary);
    transform: translateX(5px);
}

.sidebar-item.active {
    background: rgba(0, 198, 255, 0.2);
    color: var(--primary);
    border-left: 4px solid var(--primary);
    box-shadow: var(--glow);
}

.sidebar-item i {
    margin-right: 12px;
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}











        .main-content {
            margin-left: 4.5rem;
            padding: 2.5rem;
            transition: var(--transition);
        }

        .main-content.expanded {
            margin-left: 0;
        }

        .dashboard-section {
            display: none;
            animation: fadeIn 0.6s ease;
        }

        .dashboard-section.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .card {
            background: var(--card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            margin-bottom: 2rem;
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0, 198, 255, 0.2);
            border-color: var(--primary);
        }

        .card-header {
            background: rgba(0, 0, 0, 0.2);
            border-bottom: 1px solid var(--card-border);
            padding: 1.2rem 1.8rem;
        }

        .card-body {
            padding: 1.8rem;
        }

        .metric-card {
            text-align: center;
            padding: 2rem 1.5rem;
        }

        .metric-value {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--primary);
            margin: 1.2rem 0;
            font-family: 'Orbitron', sans-serif;
            text-shadow: var(--glow);
        }

        .metric-label {
            font-size: 1.1rem;
            color: var(--light);
            opacity: 0.9;
            font-weight: 500;
        }

        .progress {
            height: 12px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            margin: 1.2rem 0;
            overflow: hidden;
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
        }

        .progress-bar {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 10px;
            transition: width 1.5s ease-in-out;
            box-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
        }

        .chart-container {
            height: 320px;
            width: 100%;
        }

        .info-tooltip {
            position: relative;
            display: inline-block;
            cursor: help;
            margin-left: 5px;
            color: var(--accent);
        }

        .info-tooltip:hover::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            width: 280px;
            background: var(--darker);
            color: var(--light);
            padding: 1rem;
            border-radius: 10px;
            border: 1px solid var(--card-border);
            font-size: 0.9rem;
            z-index: 100;
            box-shadow: var(--shadow);
            backdrop-filter: blur(10px);
        }

        .certificate-card {
            position: relative;
            overflow: hidden;
        }

        .certificate-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(0, 198, 255, 0.1), transparent);
            transform: rotate(45deg);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        .btn-futuristic {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border: none;
            color: var(--dark);
            font-weight: 600;
            padding: 0.8rem 1.8rem;
            border-radius: 30px;
            transition: var(--transition);
            font-family: 'Exo 2', sans-serif;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .btn-futuristic:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 198, 255, 0.4);
            color: var(--dark);
        }

        .btn-futuristic:active {
            transform: translateY(-2px);
        }

        .btn-futuristic::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(45deg);
            transition: all 0.6s;
        }

        .btn-futuristic:hover::after {
            transform: rotate(45deg) translate(50%, 50%);
        }

        .table {
            color: var(--light);
            border-color: var(--card-border);
        }

        .table th {
            border-color: var(--card-border);
            color: var(--primary);
            font-weight: 600;
            background: rgba(0, 0, 0, 0.2);
        }

        .table td {
            border-color: var(--card-border);
        }

        .table-hover tbody tr:hover {
            background-color: rgba(0, 198, 255, 0.1);
        }

        .sidebar-toggle {
            display: none;
            position: fixed;
            top: 95px;
            left: 25px;
            z-index: 1100;
            background: var(--primary);
            color: var(--dark);
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            font-size: 1.3rem;
            box-shadow: var(--glow);
            transition: var(--transition);
        }

        .sidebar-toggle:hover {
            transform: scale(1.1);
        }

        .scroll-to-top {
            position: fixed;
            bottom: 35px;
            right: 35px;
            background: var(--primary);
            color: var(--dark);
            border: none;
            border-radius: 50%;
            width: 2.5rem;
            height: 2.5rem;
            font-size: 1.6rem;
            box-shadow: var(--glow);
            z-index: 1000;
            transition: var(--transition);
            display: none;
        }

        .scroll-to-top:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 0 25px var(--primary);
        }























.scroll-to-bottom {
    position: fixed;
    bottom: 35px;
    right: 100px; /* Positions it left of the up button */
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
    box-shadow: var(--glow);
    z-index: 1000;
    transition: var(--transition);
    display: none;
}

.scroll-to-bottom:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 25px var(--primary);
}















        .glow-theme .card:hover {
            box-shadow: 0 15px 40px rgba(0, 255, 204, 0.25);
        }

        .glow-theme .nav-link.active::after {
            box-shadow: 0 0 15px var(--primary);
        }

        .learning-path {
            background: rgba(0, 198, 255, 0.08);
            border-radius: 16px;
            padding: 2rem;
            margin: 2rem 0;
            border: 1px solid var(--card-border);
            box-shadow: var(--shadow);
        }

        .path-step {
            display: flex;
            align-items: flex-start;
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--card-border);
        }

        .path-step:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .step-number {
            background: var(--primary);
            color: var(--dark);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 1.5rem;
            flex-shrink: 0;
            font-family: 'Orbitron', sans-serif;
            font-size: 1.2rem;
            box-shadow: var(--glow);
        }

        .step-content h4 {
            margin-bottom: 0.8rem;
            color: var(--accent);
        }

        .quiz-container {
            background: rgba(102, 51, 204, 0.1);
            border-radius: 16px;
            padding: 2rem;
            margin: 2rem 0;
            border: 1px solid var(--secondary);
            box-shadow: var(--shadow);
        }

        .quiz-question {
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .quiz-question:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .quiz-options {
            display: grid;
            gap: 1rem;
            margin-top: 1rem;
        }

        .quiz-option {
            background: rgba(255, 255, 255, 0.05);
            padding: 1.2rem;
            border-radius: 10px;
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid transparent;
            font-weight: 500;
        }

        .quiz-option:hover {
            background: rgba(0, 198, 255, 0.15);
            border-color: var(--primary);
            transform: translateY(-3px);
        }

        .quiz-option.correct {
            background: rgba(0, 230, 118, 0.2);
            border-color: var(--success);
            color: var(--success);
        }

        .quiz-option.incorrect {
            background: rgba(255, 82, 82, 0.2);
            border-color: var(--danger);
            color: var(--danger);
        }

        .quiz-result {
            text-align: center;
            padding: 2rem;
            display: none;
            background: rgba(0, 198, 255, 0.1);
            border-radius: 16px;
            margin-top: 2rem;
        }

        .glossary-term {
            color: var(--accent);
            cursor: help;
            border-bottom: 1px dashed var(--accent);
            font-weight: 600;
        }

        .implementation-tip {
            background: rgba(0, 217, 166, 0.1);
            border-left: 5px solid var(--accent);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 10px 10px 0;
            box-shadow: var(--shadow);
        }

        .case-study {
            background: rgba(102, 51, 204, 0.1);
            border-radius: 16px;
            padding: 2rem;
            margin: 2rem 0;
            border: 1px solid var(--secondary);
            box-shadow: var(--shadow);
        }

        .key-takeaways {
            background: rgba(0, 198, 255, 0.1);
            border-radius: 16px;
            padding: 2rem;
            margin: 2rem 0;
            border: 1px solid var(--primary);
            box-shadow: var(--shadow);
        }

        .takeaway-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1.2rem;
        }

        .takeaway-item:last-child {
            margin-bottom: 0;
        }

        .takeaway-icon {
            color: var(--accent);
            margin-right: 1.2rem;
            font-size: 1.3rem;
            flex-shrink: 0;
            width: 24px;
            text-align: center;
        }

        .portfolio-card {
            transition: var(--transition);
            border: 1px solid var(--card-border);
            overflow: hidden;
        }

        .portfolio-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0, 198, 255, 0.25);
            border-color: var(--primary);
        }

        .portfolio-card .card-body {
            padding: 1.5rem;
        }

        .portfolio-card h5 {
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .portfolio-card p {
            color: var(--light);
            opacity: 0.8;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .video-container {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            margin: 2rem 0;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow);
            background: var(--darker);
        }

        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 16px;
            outline: none;
        }

        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 20, 25, 0.7);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            z-index: 10;
            transition: var(--transition);
            border-radius: 16px;
        }

        .video-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .video-play-btn {
            background: var(--primary);
            color: var(--dark);
            border: none;
            border-radius: 50%;
            width: 80px;
            height: 80px;
            font-size: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            box-shadow: var(--glow);
            transition: var(--transition);
            cursor: pointer;
        }

        .video-play-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 0 30px var(--primary);
        }

        @media (max-width: 1200px) {
            .sidebar {
                width: 250px;
            }
            .main-content {
                margin-left: 250px;
            }
        }

        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(-100%);
                width: 280px;
            }
            
            .sidebar.show {
                transform: translateX(0);
            }
            
            .main-content {
                margin-left: 0;
                padding: 2rem 1.5rem;
            }
            
            .sidebar-toggle {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .main-content {
                padding: 1.5rem 1rem;
            }
            
            .navbar-brand {
                font-size: 1.6rem;
            }
            
            .metric-value {
                font-size: 2.2rem;
            }
        }

        .fun-fact {
            background: rgba(0, 198, 255, 0.1);
            border-left: 5px solid var(--accent);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 10px 10px 0;
            box-shadow: var(--shadow);
        }

        .fun-fact i {
            color: var(--accent);
            margin-right: 12px;
            font-size: 1.2rem;
        }

        .beginner-guide {
            background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(102, 51, 204, 0.1));
            border-radius: 16px;
            padding: 2.5rem;
            margin: 2.5rem 0;
            border: 1px solid var(--card-border);
            box-shadow: var(--shadow);
        }

        .qr-code {
            display: flex;
            justify-content: center;
            margin: 1.5rem 0;
        }

        .badge-futuristic {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--dark);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.8rem;
            box-shadow: var(--glow);
			 }
			 
			 
			 
			 
			 
			 
			 p {
  color: var(--light);
  transition: var(--transition);
}



strong {
  color: var(--light);
  transition: var(--transition);
}









/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    font-size: 24px;
    color: #00ffea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #ff00ff;
    transform: scale(1.2);
    text-shadow: 0 0 10px #ff00ff;
}









/* Quiz Score Styles */
.quiz-score-display {
    background: rgba(0, 198, 255, 0.1) !important;
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 1rem;
}

.quiz-score-summary {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(123, 66, 246, 0.1));
    border: 2px solid var(--primary);
}

.score-display {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 198, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.answered-correct {
    background: rgba(0, 230, 118, 0.05) !important;
    border-left: 3px solid var(--success);
}

/* Progress bar colors for scores */
.bg-success { background: linear-gradient(90deg, #00d9a6, #00b56d) !important; }
.bg-warning { background: linear-gradient(90deg, #ffab00, #cc8800) !important; }
.bg-danger { background: linear-gradient(90deg, #ff5252, #cc4242) !important; }
















/* Enhanced Quiz Styles */
.quiz-score-display {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    border: 2px solid var(--card-border);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.3);
}

.score-tracker {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.score-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.score-label {
    font-weight: 600;
    font-size: 1rem;
}

.score-numbers {
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
}

.score-percent {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.score-mini-progress {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.score-mini-progress .progress-bar {
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-text {
    font-size: 0.7rem;
    font-weight: 600;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

/* Score Colors */
.score-excellent { background: linear-gradient(90deg, #00d9a6, #00b56d); }
.score-good { background: linear-gradient(90deg, #ffab00, #cc8800); }
.score-needs-improvement { background: linear-gradient(90deg, #ff5252, #cc4242); }

/* Quiz Results Styling */
.score-display {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--card-bg), rgba(123, 66, 246, 0.1));
    border-radius: 20px;
    border: 2px solid var(--card-border);
    margin: 1rem 0;
}

.performance-badge {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
}

.performance-badge.expert { background: linear-gradient(135deg, rgba(0, 217, 166, 0.2), rgba(0, 181, 109, 0.2)); }
.performance-badge.advanced { background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.2)); }
.performance-badge.proficient { background: linear-gradient(135deg, rgba(255, 171, 0, 0.2), rgba(204, 136, 0, 0.2)); }
.performance-badge.developing { background: linear-gradient(135deg, rgba(255, 82, 82, 0.2), rgba(204, 66, 66, 0.2)); }
.performance-badge.beginner { background: linear-gradient(135deg, rgba(128, 128, 128, 0.2), rgba(96, 96, 96, 0.2)); }

.performance-emoji {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.performance-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.score-stats {
    margin: 1.5rem 0;
}

.score-value {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    line-height: 1;
}

.score-divider {
    color: var(--light);
    opacity: 0.7;
}

.score-percentage {
    font-size: 1.2rem;
    color: var(--light);
    opacity: 0.9;
    margin-top: 0.5rem;
}

.score-progress {
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin: 1rem 0;
}

.score-progress .progress-bar {
    border-radius: 12px;
    transition: width 0.8s ease;
    font-weight: 600;
}

.score-breakdown {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--card-border);
}

.breakdown-label {
    font-weight: 500;
    color: var(--light);
}

.breakdown-value {
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
}

.correct-count { color: var(--success); }
.total-count { color: var(--light); }
.performance-level { color: var(--accent); }

/* PDF Specific Styles */
.pdf-score-summary {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #0066cc;
    border-radius: 15px;
    margin: 2rem 0;
    color: #000000 !important;
}

.pdf-score-header {
    background: #0066cc;
    color: white !important;
    padding: 1rem 1.5rem;
    border-radius: 13px 13px 0 0;
}

.pdf-score-header h3 {
    color: white !important;
    margin: 0;
    font-size: 1.4rem;
}

.pdf-score-body {
    padding: 1.5rem;
}

.pdf-score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pdf-score-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.pdf-score-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.pdf-score-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.pdf-progress-container {
    background: #e9ecef;
    border-radius: 10px;
    height: 30px;
    overflow: hidden;
}

.pdf-progress-bar {
    background: linear-gradient(90deg, #0066cc, #9933ff);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: width 0.5s ease;
}

.pdf-donate-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #0070ba, #003087);
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.pdf-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

/* Enhanced Quiz Options */
.quiz-option.selected {
    transform: translateX(10px);
    border-width: 2px;
}

.quiz-option.correct {
    background: linear-gradient(135deg, rgba(0, 217, 166, 0.2), rgba(0, 181, 109, 0.3));
    border-color: var(--success);
    color: var(--success);
}

.quiz-option.incorrect {
    background: linear-gradient(135deg, rgba(255, 82, 82, 0.2), rgba(204, 66, 66, 0.3));
    border-color: var(--danger);
    color: var(--danger);
}

/* Thank You Section Styles */
.thankyou-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.3);
}

.thankyou-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
}

.thankyou-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.thankyou-message {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Performance Summary */
.performance-summary-card {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 198, 255, 0.2);
}

.stat-item {
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--light);
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Detailed Results */
.detailed-results-card {
    border: 2px solid var(--accent);
}

.quiz-result-item {
    padding: 1.5rem;
    background: rgba(0, 198, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.question-breakdown {
    margin-top: 1rem
}




















