 /* ========================================
           Global Base Styles 
           ======================================== */
            body {
                user-select: none;
                font-family: 'OpenDyslexic';
                margin: 0;
                padding: 0;
                color: #000000;
                background-color: #4478ae;
                transition: background-color 0.3s, color 0.3s;
            }

            /* ========================================
           Navigation Bar Components
           ======================================== */
            /* Updated Nav Bar Styles */
            .nav-bar {
                display: flex;
                justify-content: space-between;
                align-items: center;
                background: linear-gradient(to right, #2c4a6a, #4478ae, #2c4a6a);
                padding: 15px 30px;
                box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
                position: sticky;
                top: 0;
                z-index: 1000;
                border-bottom: 1px solid rgba(52, 152, 219, 0.2);
            }



            /* Improved Nav Links */
            .nav-links {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                display: flex;
                gap: 20px;
            }

            .nav-links a {
                color: #fff;
                text-decoration: none;
                font-size: 1.1rem;
                padding: 8px 16px;
                border-radius: 4px;
                transition: all 0.3s ease;
            }

            .nav-links a:hover {
                background-color: #34495e;
                text-decoration: none;
            }

            .nav-links a.active {
                background-color: #3498db;
                color: white;
            }

            /* Enhanced Logo */
            .logo {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .logo img {
                height: 45px;
                transition: transform 0.3s ease;
            }

            .logo img:hover {
                transform: scale(1.05);
            }


            /* ========================================
           Search Functionality
           ======================================== */
            .search {
                position: relative;
                display: inline-block;
            }

            .search-icon {
                cursor: pointer;
                font-size: 20px;
                padding: 10px;
                color: #fff;
            }

            .search-bar {
                display: none;
                position: absolute;
                top: 40px;
                left: 250%;
                transform: translateX(-50%);
                background-color: #fff;
                padding: 10px;
                border-radius: 4px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                width: 250px;
                box-sizing: border-box;
                z-index: 10;
            }

            .search-bar input {
                border: 1px solid #ccc;
                padding: 5px;
                border-radius: 4px;
                width: 100%;
            }

            .search-bar.active {
                display: block;
            }

            /* ========================================
           Profile Dropdown Menu
           ======================================== */
            .profile-dropdown {
                position: relative;
                display: inline-block;
                cursor: pointer;
                margin-left: auto;
                display: flex;
                align-items: center;
            }

            .profile-header {
                display: flex;
                align-items: center;
                gap: 8px;
                color: #fff;
                /* Add this line to make text white */
            }


            .profile-pic {
                width: 32px;
                height: 32px;
                border-radius: 50%;
                object-fit: cover;
            }

            .dropdown-menu {
                display: none;
                position: absolute;
                right: 0;
                top: 45px;
                background-color: #1a2a3a;
                border: 1px solid #34495e;
                border-radius: 8px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
                z-index: 10;
                min-width: 180px;
                padding: 8px 0;
            }

            /* Dropdown Menu Items */
            .dropdown-menu a,
            .dropdown-menu button {
                display: block;
                padding: 12px 20px;
                text-align: left;
                text-decoration: none;
                color: #fff;
                background: none;
                border: none;
                cursor: pointer;
                font-size: 14px;
                transition: background-color 0.2s;
            }

            .dropdown-menu a:hover,
            .dropdown-menu button:hover {
                background-color: #34495e;
                color: #fff;
            }

            .dropdown-menu a:not(:last-child),
            .dropdown-menu button:not(:last-child) {
                border-bottom: 1px solid #34495e;
            }


        /* Button Styling */
        .btn-blue {
        background-color: #2e73a1;
        color: white;
        padding: 0.5rem 1rem;
        border: none;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
        }

        .btn-blue:hover {
        background-color: #255a85;
        }

       /* ========================================
           Main Content Area
           ======================================== */
            .container,
            .main-content {
                color: #ffffff;
                background-color: #4478ae;
            }

        .container{
            flex-direction: column;
            
        }


        .level {
            width: 100%;
             background: linear-gradient(135deg, #34495e, #2c3e50);
        }

        /* Hide elements by default */
        .hidden {
        display: none;
        }

        /* Focus styles for better accessibility */
        a:focus,
        button:focus {
        outline: 2px solid #2e73a1;
        }

       

        .progress-bar {
        height: 30px;
        }

        .badge {
        font-size: 1rem;
        }

         /* ========================================
           Footer Styling
           ======================================== */
            footer {
                user-select: none;
                background-color: #1a2a3a;
                color: whitesmoke;
                padding: 20px;
                text-align: center;
                border-top: 1px solid #34495e;
                font-size: 0.9em;
            }

            footer a {
                user-select: none;
                color: white;
                text-decoration: none;
            }

            footer a:hover {
                user-select: none;
                text-decoration: underline;
                color: white;
            }

            /* Footer Styles */

            .footer-content {
                display: flex;
                justify-content: space-around;
                flex-wrap: wrap;
                max-width: 1200px;
                margin: 0 auto;
                padding: 20px;
            }

            .footer-section {
                flex: 1;
                min-width: 250px;
                margin: 10px;
            }

            .footer-section h3 {
                color: #fff;
                margin-bottom: 15px;
            }

            .footer-section ul {
                list-style: none;
                padding: 0;
            }

            .footer-section ul li {
                margin-bottom: 8px;
            }

            .social-links a {
                margin-right: 15px;
                font-size: 20px;
            }

            .social-links a:hover {
                color: #3498db;
            }

            .copyright {
                margin-top: 15px;
                font-size: 0.9em;
            }