
        /* General Styles */
        body {
            margin: 0;
            font-family: 'Arial', sans-serif;
            background-color: #f0f8ff; /* Light blue background */
            color: #333;
            transition: background-color 0.3s, color 0.3s;
        }
        h1, h2, p {
            margin: 0.5em 0;
        }
        a {
            text-decoration: none;
            color: #0078d4;
        }
        a:hover {
            text-decoration: underline;
        }

        /* Dashboard Layout */
        .dashboard {
            padding: 20px;
            max-width: 1200px;
            margin: auto;
        }

        /* Header Card */
        .exam-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .header-card {
            background: #e3f2fd;
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            transition: background-color 0.3s;
        }

        /* Dark Mode Header */
        .dark-mode .header-card {
            background: #333;
            color: #fff;
        }

        /* Dark Mode Button */
        #darkModeToggle {
            margin-top: 15px;
            border: none;
            background: #90caf9;
            padding: 10px 15px;
            border-radius: 30px;
            font-size: 14px;
            cursor: pointer;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        #darkModeToggle svg {
            width: 20px;
            height: 20px;
        }
        #darkModeToggle:hover {
            background: #42a5f5;
            color: white;
        }

        /* Exam Cards Grid */
        .exam-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .exam-card {
            background: #e3f2fd;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .exam-card:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        .exam-card h2 {
            font-size: 20px;
            color: #0078d4;
        }

        .exam-info p {
            margin: 5px 0;
            font-size: 14px;
            color: #555;
        }

        .start-btn {
            display: inline-block;
            margin-top: 15px;
            padding: 10px 20px;
            background: #42a5f5;
            color: #fff;
            border-radius: 20px;
            font-size: 14px;
            font-weight: bold;
            text-transform: uppercase;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
        }

        .start-btn:hover {
            background: #1e88e5;
        }

        /* Dark Mode */
        .dark-mode {
            background-color: #1a1a1a;
            color: #e0e0e0;
        }

        .dark-mode .exam-info p {
            margin: 5px 0;
            font-size: 14px;
            color: #ffffff;
        }
        .dark-mode .exam-card {
            background: #333;
            box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
        }
        .dark-mode .exam-card h2 {
            color: #42a5f5;
        }
        .dark-mode .start-btn {
            background: #2196f3;
        }
        .dark-mode .start-btn:hover {
            background: #42a5f5;
        }
        /* Style for the floating button */
        .floating-button {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 50px; /* Size of the button */
            height: 50px;
            background-color: #fff;
            border-radius: 50%;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        /* Hover effect */
        .floating-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        /* Image inside the button */
        .floating-button img {
            width: 45px; /* Adjust image size */
            height: 45px;
        }

/* Notification Wrapper */
.notification-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

/* Notification Button */
.notification-button {
    position: relative;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px; /* Button size set to 50px */
    height: 50px; /* Button size set to 50px */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notification-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* SVG Bell Icon */
.notification-icon {
    width: 24px; /* Adjusted icon size to fit the smaller button */
    height: 24px; /* Adjusted icon size to fit the smaller button */
    fill: none;
    stroke: #555; /* Color of the bell */
    stroke-width: 2;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: 4px; /* Adjusted to align with the new button size */
    right: 4px; /* Adjusted to align with the new button size */
    width: 12px; /* Adjusted badge size */
    height: 12px; /* Adjusted badge size */
    background-color: red;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Notification Popup Background */
.notification-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    backdrop-filter: blur(8px); /* Blur effect */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

/* Show Popup */
.notification-popup.show {
    opacity: 1;
    visibility: visible;
}

/* Main Popup Card */
.popup-card {
    background-color: #fff;
    width: 400px; /* Square size */
    height: 400px;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.1); /* Card shadow */
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Card Title */
.popup-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* Inner Card for Notifications */
.inner-card {
    background-color: #f9f9f9; /* Slightly off-white for contrast */
    padding: 15px;
    border-radius: 15px;
    width: 90%; /* Fit within the popup card */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    text-align: left;
    margin: 10px 0;
}

.inner-card p {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Close Button */
.close-popup-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff6666;
    border: none;
    color: #fff;
    font-size: 18px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-popup-button:hover {
    background-color: #ff4d4d;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Dark Mode Header */
.dark-mode .header-card {
    background: #333;
    color: #fff;
}

/* Dark Mode Button */
#darkModeToggle {
    margin-top: 15px;
    border: none;
    background: #90caf9;
    min-width: 130px;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

#darkModeToggle svg {
    width: 20px;
    height: 20px;
}

#darkModeToggle:hover {
    background: #42a5f5;
    color: white;
}


/* Updated Footer Styles */
.site-footer {
    background: linear-gradient(145deg, #e3f2fd, #bbdefb);
    padding: 40px 20px;
    margin-top: 50px;
    border-radius: 30px 30px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.telegram-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.telegram-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.telegram-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.telegram-icon:hover {
    transform: translateY(-5px);
}

.telegram-icon i {
    font-size: 24px;
    color: #0088cc;
}

.telegram-text {
    font-size: 0.9rem;
    color: #333;
    text-align: center;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
}



.dark-mode .exam-header.scrolled {
    background: rgba(51, 51, 51, 0.98);
}

.dark-mode .site-footer {
    background: linear-gradient(145deg, #333, #222);
    color: #fff;
}

.dark-mode .telegram-icon {
    background: #444;
}

.dark-mode .telegram-text {
    color: #fff;
}
/* Add these to your index.css */

/* Category Trigger Container */
.category-trigger {
    position: relative;
    display: inline-block;
}

/* Category Button */
#categoryButton {
    margin-top: 15px;
    border: none;
    background: #90caf9;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 130px;
}

#categoryButton:hover {
    background: #42a5f5;
    color: white;
}

/* Category Dropdown */
.category-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    margin-top: 5px;
}

/* Show class for dropdown */
.category-dropdown.show {
    display: block;
}

.category-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-dropdown li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.category-dropdown li:hover {
    background-color: #f0f0f0;
}

/* Dark mode adjustments */
.dark-mode .category-dropdown {
    background: #333;
    color: #fff;
}

.dark-mode .category-dropdown li:hover {
    background-color: #444;
}

/* Header actions layout */
.header-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
/* Floating Menu Styles */
.floating-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-menu.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Floating Button Styles */
.floating-menu button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.floating-menu button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Icon styles */
.floating-menu svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Tooltip Styles */
.floating-menu button::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-menu button:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Category Dropdown Styles */
.floating-menu .category-dropdown {
    position: absolute;
    bottom: 0px;
    top: auto;
    right: 111px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 150px;
    /* display: none; */
    /* list-style: none; */
}

.floating-menu .category-dropdown.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.floating-menu .category-dropdown li {
    padding: 8px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.floating-menu .category-dropdown li:hover {
    background: #f0f0f0;
}

/* Dark Mode Adjustments */
.dark-mode .floating-menu button {
    background: #333;
    color: #fff;
}

.dark-mode .floating-menu .category-dropdown {
    background: #333;
    color: #fff;
}

.dark-mode .floating-menu .category-dropdown li:hover {
    background: #444;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateX(10px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}
/* Complete Edited Category Dropdown Styles */
.category-dropdown {
    display: none; /* Initially hidden */
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white */
    border: 1px solid #ddd; /* Subtle border for clarity */
    border-radius: 8px; /* Smooth edges */
    padding: 10px 0; /* Spacing inside dropdown */
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Depth effect */
    z-index: 1000; /* Ensure dropdown appears above other elements */
    top: -85px; /* Move dropdown further above the button */
    left: -159px; /* Align with button or parent */
    min-width: 180px; /* Set dropdown width */
    text-align: left; /* Align items to the left */
}

/* Dropdown List Items */
.category-dropdown li {
    padding: 8px 15px; /* Add space around text */
    cursor: pointer; /* Indicate clickable items */
    color: #333; /* Text color */
    background-color: transparent; /* No background by default */
    transition: background-color 0.2s ease; /* Smooth hover effect */
}

/* Hover Effect for List Items */
.category-dropdown li:hover {
    background-color: #f1f1f1; /* Light grey on hover */
    color: #000; /* Ensure text remains readable */
}


.dark-mode .category-dropdown {
    background-color: rgba(40, 40, 40, 0.95); 
    color: #fff; 
    border: 1px solid #444; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.dark-mode .category-dropdown li {
    color: #ccc; 
}
.dark-mode .category-dropdown li:hover {
    background-color: rgba(60, 60, 60, 1);
    color: #fff;
}
.category-dropdown-trigger {
    position: relative; 
    cursor: pointer;
}
.category-dropdown-trigger:hover .category-dropdown {
    display: block; 
}
.dark-mode .category-dropdown::before {
    border-color: transparent transparent rgba(40, 40, 40, 0.95) transparent; /* Arrow for dark mode */
}
        /* Menu Bar Styles */
        .menu-bar {
            background: linear-gradient(135deg, #3498db ,#cfe3f8);
            padding: 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .menu-bar nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0;
        }

        .menu-links {
            display: flex;
            align-items: center;
            height: 50px;
            margin: 0;
            padding: 0 1rem;
        }

        .menu-links a {
            color: white;
            text-decoration: none;
            padding: 0.8rem 1.5rem;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .menu-links a:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .menu-links a.active {
            background-color: rgba(255, 255, 255, 0.15);
        }

        /* Ad Container Styles */
        .ad-container {
            width: 100%;
            margin: 1rem auto;
            text-align: center;
            overflow: hidden;
            min-height: 90px;
            background: #f8f9fa;
            border-radius: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .ad-section {
            width: 100%;
            max-width: 728px;
            margin: 0 auto;
            min-height: 90px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .sidebar-ad {
            position: fixed;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 160px;
            background: white;
            box-shadow: -2px 0 10px rgba(0,0,0,0.1);
            display: none;
            z-index: 998;
        }

        .sticky-footer-ad {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: white;
            padding: 0.5rem;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            z-index: 999;
            text-align: center;
            max-height: 50px;
        }

        /* Cookie Banner */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(44, 62, 80, 0.95);
            color: white;
            padding: 1rem;
            text-align: center;
            z-index: 1001;
            backdrop-filter: blur(5px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .cookie-banner button {
            background: #3498db;
            border: none;
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 5px;
            margin-left: 1rem;
            cursor: pointer;
            font-weight: 500;
            transition: background-color 0.3s;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .menu-links {
                height: auto;
                flex-wrap: wrap;
            }
            
            .menu-links a {
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
            }

            .ad-container {
                min-height: 50px;
            }

            .sticky-footer-ad {
                min-height: 50px;
            }

            .sidebar-ad {
                display: none !important;
            }
        }

        @media (min-width: 1024px) {
            .sidebar-ad {
                display: block;
            }
        }

        /* Dark Mode Support */
        [data-theme="dark"] .ad-container,
        [data-theme="dark"] .sticky-footer-ad,
        [data-theme="dark"] .sidebar-ad {
            background: #2c3e50;
        }

        [data-theme="dark"] .exam-header {
            background: #2c3e50;
        }

        [data-theme="dark"] .exam-header h1 {
            color: #ecf0f1;
        }

        [data-theme="dark"] .exam-header p {
            color: #bdc3c7;
        }
/* Add these styles to your index.css file */

/* Category Container Styles */
.category-container {
    margin: 20px auto;
    max-width: 1200px;
    background: #e3f2fd;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-container h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
}

.categories-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px; /* Reduced gap for more compact display */
}

.category-item {
    background: #f8faff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
    margin-bottom: 4px; /* Small margin for slight separation */
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.category-header {
    padding: 10px 15px; /* Reduced padding for more compact header */
    display: flex;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(to right, #b1e6ff, #c5e4f8);
}

.category-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px; /* Slightly smaller icon */
    height: 24px;
}

.category-header h3 {
    flex: 1;
    margin: 0;
    color: #080808;
    font-size: 1rem; /* Slightly smaller font */
}

.toggle-icon {
    font-size: 16px;
    color: #3498db;
    transition: transform 0.3s ease;
}

.category-item.active .toggle-icon {
    transform: rotate(45deg);
}

.subcategories {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out; /* Slightly faster transition */
}

.category-item.active .subcategories {
    max-height: 500px;
}

.subcategory-item {
    padding: 8px 15px 8px 42px; /* Reduced padding */
    background: white;
    color: #34495e;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s ease;
    font-size: 0.95rem; /* Slightly smaller font */
}

.subcategory-item:hover {
    background: #f0f8ff;
    color: #2980b9;
}

.subcategory-item:last-child {
    border-bottom: none;
}

/* Apply theme colors */
body {
    background-color: #f5f9fc;
}
.dark-mode .toggle-icon {
    color: #ecf0f1;
}
.dark-mode .category-container {
    background: #333;
}

.dark-mode .category-container h2 {
    color: #ecf0f1;
}

.dark-mode .category-item {
    background: #333;
    border-color: #333;
}

.dark-mode .category-header {
    background: #42a5f5;
}

.dark-mode .category-header h3 {
    color: #070707;
}

.dark-mode .subcategory-item {
    background: #292929;
    color: #ecf0f1;
    border-bottom-color: #34495e;
}

.dark-mode .subcategory-item:hover {
    background: #3a546e;
    color: #3498db;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .categories-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
        gap: 6px; /* Even smaller gap on mobile */
    }
    
    .category-container {
        padding: 12px;
        margin: 12px;
    }
    
    .category-header {
        padding: 6px 8px;
    }
    
    .category-header h3 {
        font-size: 0.85rem; /* Smaller font for mobile */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .category-icon {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }
    
    .category-item {
        margin-bottom: 3px;
    }
    
    .subcategory-item {
        padding: 5px 8px 5px 30px;
        font-size: 0.8rem;
    }
}

/* Add an even smaller breakpoint for very small screens */
@media (max-width: 480px) {
    .category-header h3 {
        font-size: 0.75rem;
    }
    
    .category-icon {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }
}