   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #e0f7fa, #bbdefb);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
               padding: 90px 20px 20px 20px; 
            overflow-x: hidden;
                background: linear-gradient(135deg, #e0f7fa, #bbdefb);
   
        }
        
        /* Header Styles */
        .header {
            position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
            background: linear-gradient(90deg, #00416A, #2a5298);
            color: white;
            padding: 10px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 150, 0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.2);

        
            z-index: 1000;
                border-radius: 0 0 12px 12px; /* Only round bottom corners */

        }
        
        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #3498db, #1a5276);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .logo-text {
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: 1px;
        }
        
        .logo-highlight {
            color: #ffd700;
        }
        
        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .user-icon {
            background: rgba(255, 255, 255, 0.2);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }
        
        .user-name {
            font-weight: 600;
            font-size: 1.1rem;
        }
        
        /* Navigation */
        .nav-menu {
            list-style: none;
            display: flex;
            gap: 20px;
            margin-left: 40px;
        }
        
        .nav-item {
            padding: 8px 15px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .nav-item:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .nav-item.active {
            background: #4299e1;
        }
        
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
        }
        
        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: white;
            display: block;
        }
        
        /* Main Content Styles */
        .main-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
                padding-top: 0;
            padding-bottom: 50px;
            position: relative;
        }
        
        .language-card, .exam-set-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 150, 0.15);
            padding: 50px;
            width: 90%;
            max-width: 900px;
            text-align: center;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.7);
            margin-bottom: 40px;
            transition: all 0.4s ease;
        }
        
        .language-card h1, .exam-set-card h1 {
            color: #1565c0;
            font-size: 2.5rem;
            margin-bottom: 15px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }
        
        .language-card p {
            color: #424242;
            font-size: 1.2rem;
            margin-bottom: 40px;
            line-height: 1.6;
        }
        
        .language-options, .exam-sets {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
            margin-top: 20px;
        }
        
        .language-option, .exam-set {
            background: #e3f2fd;
            border-radius: 15px;
            padding: 30px 40px;
            width: 220px;
            cursor: pointer;
            transition: all 0.4s ease;
            border: 2px solid transparent;
            box-shadow: 0 8px 20px rgba(0, 0, 150, 0.1);
            text-decoration: none;
            color: inherit;
        }
        
        .language-option:hover, .exam-set:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 150, 0.2);
            background: #bbdefb;
            border-color: #1976d2;
        }
        
        .language-icon, .exam-icon {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: #1976d2;
        }
        
        .language-option h2, .exam-set h2 {
            color: #1565c0;
            font-size: 1.8rem;
            margin-bottom: 10px;
        }
        
        .language-option p, .exam-set p {
            color: #37474f;
            font-size: 1rem;
            margin-bottom: 0;
        }
        
        .info-section {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            padding: 30px;
            width: 90%;
            max-width: 900px;
            margin-top: 30px;
            box-shadow: 0 8px 20px rgba(0, 0, 150, 0.1);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.5);
        }
        
        .info-section h2 {
            color: #1565c0;
            text-align: center;
            margin-bottom: 25px;
            font-size: 1.8rem;
        }
        
        .features {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .feature {
            display: flex;
            align-items: center;
            gap: 15px;
            width: 300px;
            padding: 15px;
        }
        
        .feature i {
            font-size: 2rem;
            color: #1976d2;
            min-width: 50px;
        }
        
        .feature-text h3 {
            color: #1565c0;
            margin-bottom: 5px;
        }
        
        .feature-text p {
            color: #455a64;
        }
        
        /* Footer Styles */
        .footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(90deg, #00416A, #2a5298);
            padding: 15px 30px;
            border-radius: 8px;
            box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
            margin-top: 40px;
            color: white;
        }
        
        .footer-left {
            font-size: 14px;
            display: flex;
            gap: 20px;
        }
        
        .footer-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .btn {
            background: #1E90FF;
            color: white;
            padding: 8px 14px;
            border-radius: 4px;
            text-decoration: none;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .btn:hover {
            background: #0066cc;
            transform: translateY(-2px);
        }
        
        .copyright {
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            color: #546e7a;
            text-align: center;
            font-size: 0.9rem;
        }
        
        /* Animation for language/exam selection */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .language-option:active, .exam-set:active {
            animation: pulse 0.5s ease;
        }
        
        /* Hidden class for page switching */
        .hidden {
            display: none;
        }
        
        /* Back button */
        .back-btn {
            position: absolute;
            top: 30px;
            left: 30px;
            background: #1E90FF;
            color: white;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 100;
            box-shadow: 0 3px 8px rgba(0,0,0,0.2);
            transition: 0.3s;
        }
        
        .back-btn:hover {
            background: #0066cc;
            transform: translateY(-2px);
        }
        
        /* Quiz Container Styles */
        .quiz-container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 150, 0.15);
            padding: 5px;
            margin: 0 auto 30px;
            max-width: 900px;
            width: 100%;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.7);
            display: none;
            transition: all 0.4s ease;
        }
        
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e0f0ff;
        }
        
        .logo-quiz {
            font-size: 1.8rem;
            font-weight: 700;
            color: #00416A;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo-quiz i {
            color: #1E90FF;
        }
        
        .progress-container {
            background: #e0f0ff;
            border-radius: 10px;
            height: 12px;
            width: 300px;
            overflow: hidden;
        }
        
        .progress-bar {
            background: linear-gradient(90deg, #1E90FF, #00416A);
            height: 100%;
            width: 0%;
            transition: width 0.5s ease;
        }
        
        .question-area {
            margin-bottom: 10px;
        }
        
        .question-number {
            color: #1E90FF;
            font-weight: 600;
            margin-bottom: 5px;
            font-size: 1rem;
        }
        
        .question-text {
            font-size: 1.7rem;
            margin-bottom: 20px;
            line-height: 1.6;
            color: #333;
            background: #f8fbff;
            padding: 10px;
            border-radius: 8px;
            border-left: 4px solid #1E90FF;
        }
        
        .options-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .option {
            background: #f5f9ff;
            border: 2px solid #d1e3ff;
            border-radius: 10px;
            padding: 1px 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .option:hover {
            background: #e3f2fd;
            transform: translateY(-3px);
        }
        
        .option.selected {
            background: #bbdefb;
            border-color: #1976d2;
        }
        
        .option.correct {
            background: #ccffcc;
            border-color: #4CAF50;
        }
        
        .option.incorrect {
            background: #ffebee;
            border-color: #f44336;
        }
        
        .option-letter {
            background: #1E90FF;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
        }
        
        .option-text {
            flex-grow: 1;
        }
        
        .explanation-container {
            background: #e8f4ff;
            border-radius: 8px;
            padding: 5px;
            margin-top: 5px;
            border-left: 4px solid #1E90FF;
            display: none;
        }
        
        .explanation-title {
            color: #00416A;
            font-weight: 700;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .explanation-text {
            color: #333;
            line-height: 1.6;
        }
        
        .controls {
            display: flex;
            justify-content: center;
        }
        
        .next-btn {
            background: #1E90FF;
            color: white;
            border: none;
            padding: 12px 35px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 500;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .next-btn:hover {
            background: #0066cc;
            transform: translateY(-2px);
        }
        
        .next-btn:disabled {
            background: #b0c4de;
            cursor: not-allowed;
            transform: none;
        }
        
        .result-container {
            display: none;
            flex-direction: column;
            align-items: center;
            padding: 40px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 150, 0.15);
            max-width: 900px;
            margin: 0 auto;
            width: 100%;
        }
        
        .result-container h2 {
            color: #00416A;
            font-size: 2.2rem;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .score-container {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .score-card {
            background: linear-gradient(135deg, #e8f4ff, #d1e3ff);
            border-radius: 15px;
            padding: 25px 40px;
            text-align: center;
            min-width: 200px;
            box-shadow: 0 5px 15px rgba(0, 0, 150, 0.1);
        }
        
        .score-value {
            font-size: 3rem;
            font-weight: 700;
            color: #1E90FF;
            margin: 10px 0;
        }
        
        .score-label {
            font-size: 1.1rem;
            color: #00416A;
            font-weight: 600;
        }
        .summary-table-wrapper {
    width: 100%;
    overflow-x: auto;
}
        
        .summary-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 30px;
            
 
        }
        
        .summary-table th {
            background: #00416A;
            color: white;
            padding: 1px;
            text-align: left;
            
            
        }
        
        .summary-table td {
            padding: 1px;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .summary-table tr:nth-child(even) {
            background: #f8fbff;
        }
        
        .correct-answer {
            color: #4CAF50;
            font-weight: 600;
        }
        
        .user-answer.correct {
            color: #4CAF50;
            font-weight: 600;
        }
        
        .user-answer.incorrect {
            color: #f44336;
            font-weight: 600;
        }
        
        .restart-btn {
            background: #1E90FF;
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 500;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 20px;
        }
        
        .restart-btn:hover {
            background: #0066cc;
            transform: translateY(-2px);
        }
        
        /* Responsive design */
        @media (max-width: 992px) {
            .nav-menu {
                margin-left: 20px;
            }
            
            .language-option, .exam-set {
                width: 200px;
                padding: 25px 30px;
            }
        }
        
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                gap: 15px;
                text-align: center;
                padding: 15px;
            }
            
            .logo-text {
                font-size: 1.5rem;
            }
            
            .nav-menu {
                display: none;
                position: absolute;
                top: 70%;
                left: 0;
                right: 0;
                width: 50%;
                background: #1a365d;
                padding: 15px;
                flex-direction: column;
                align-items: center;
                margin-left: 0;
                border-radius: 0 0 12px 12px;
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .menu-toggle {
                display: flex;
                position: absolute;
                left: 20px;
                top: 20px;
            }
            
            .language-card, .exam-set-card {
                padding: 30px 20px;
            }
            
            .language-card h1, .exam-set-card h1 {
                font-size: 2rem;
            }
            
            .language-options, .exam-sets {
                gap: 20px;
            }
            
            .language-option, .exam-set {
                padding: 20px;
                width: 180px;
            }
            
            .quiz-container {
                padding: 25px;
            }
            
            .top-bar {
                flex-direction: column;
                gap: 15px;
            }
            
            .progress-container {
                width: 100%;
            }
            
            .footer {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
        }
        
        @media (max-width: 480px) {
            .language-option, .exam-set {
                width: 100%;
                max-width: 300px;
            }
            
            .features {
                flex-direction: column;
                align-items: center;
            }
            
            .footer-left {
                flex-direction: column;
                gap: 10px;
            }
            
            .question-text, .option {
                font-size: 1rem;
            }
            
            .option {
                padding: 15px;
            }
            
            .score-card {
                min-width: 150px;
                padding: 20px;
            }
            
            .score-value {
                font-size: 2.5rem;
            }
        }
        
        /* Transition effects */
        .page-transition {
            animation: fadeIn 0.5s ease forwards;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }