     :root {
            --primary: #0056b3;
            --accent: #00c6ff;
            --dark: #0f172a;
            --light: #f8fafc;
            --success: #22c55e;
            --danger: #ef4444;
            --warning: #f59e0b;
            --purple: #8b5cf6;
            --secondary: #334155; 
            --white: #ffffff;
            --footer-bg: #1e293b;
        }
        * { box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
        body { margin: 0; padding: 0; background-color: var(--light); color: var(--dark); display: flex; flex-direction: column; min-height: 100vh; }
        
        /* UTILS */
        .hidden { display: none !important; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .btn { padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.95rem; }
        .btn-primary { background: var(--primary); color: white; }
        .btn-success { background: var(--success); color: white; }
        .btn-danger { background: var(--danger); color: white; }
        .btn-warning { background: var(--warning); color: white; }
        .btn-purple { background: var(--purple); color: white; }
        .btn-secondary { background: var(--secondary); color: white; } 
        .btn-outline { border: 2px solid var(--primary); background: transparent; color: var(--primary); }
        .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
        .btn-sm { padding: 5px 10px; font-size: 0.8rem; }

        /* NAVBAR */
        nav { background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
        .nav-wrap { display: flex; justify-content: space-between; align-items: center; height: 80px; position: relative; }
        
        /* LOGO STYLE */
        .logo img { height: 60px; width: auto; object-fit: contain; }
        
        .menu { display: flex; gap: 10px; }
        .menu-btn { background: transparent; border: none; font-size: 1rem; font-weight: 500; color: #334155; cursor: pointer; padding: 8px 16px; border-radius: 30px; transition: 0.3s; }
        .menu-btn:hover { color: var(--primary); background: #eff6ff; }
        .menu-btn.active { background: var(--primary); color: white; }

        .mobile-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--primary); cursor: pointer; }

        /* HERO */
        .hero { position: relative; background: linear-gradient(-45deg, #0056b3, #00c6ff, #23a6d5, #2563eb); background-size: 400% 400%; animation: gradientBG 15s ease infinite; color: white; padding: 80px 0 80px 0; text-align: center; overflow: hidden; border-bottom-left-radius: 50px; border-bottom-right-radius: 50px; }
        @keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
        .hero h1 { font-size:clamp(24px, 5vw, 55px); margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); position: relative; z-index: 2; }
        
        /* TABS */
        .tab-container { display: flex; justify-content: center; gap: 20px; margin-top: -40px; position: relative; z-index: 5; margin-bottom: 20px; flex-wrap: wrap; }
        .tab-btn { background: white; border: none; padding: 15px 40px; border-radius: 50px; font-weight: 700; color: #64748b; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: 0.3s; border: 3px solid white; font-size: 1.1rem; }
        .tab-btn.active { background: var(--warning); color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4); border-color: #fffbeb; }

        .selection-box { position: relative; z-index: 2; background: 40B962; padding: 40px; border-radius: 16px; max-width: 900px; margin: 0 auto 0; box-shadow: 0 20px 40px rgba(0,0,0,0.1); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; border: 1px solid #CF0289; }
        .select-group label { display: block; text-align: left; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
        .select-group select { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; font-size: 1rem; transition: 0.3s; }

        /* SECTIONS */
        .section-padding { padding: 80px 0; }
        .text-center { text-align: center; margin-bottom: 40px; }
        .section-title { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; }
        
        .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
        .feature-card { background: white; padding: 30px; border-radius: 15px; text-align: center; transition: 0.3s; border: 1px solid #eee; }
        .feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--accent); }
        .feature-icon-sm { width: 60px; height: 60px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; color: var(--primary); }

        .home-about { background: white; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
        .about-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
        .about-text p { line-height: 1.8; color: #333; margin-bottom: 15px; }
        .about-me-img { width: 100%; max-width: 400px; border-radius: 20px; animation: float 4s ease-in-out infinite; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

        /* REVIEWS */
        .reviews-section { padding: 80px 0; background: #f0f9ff; overflow: hidden; }
        .reviews-scroll { display: flex; gap: 30px; animation: scrollReviews 30s linear infinite; width: max-content; }
        @keyframes scrollReviews { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .review-card { background: white; padding: 25px; border-radius: 15px; width: 350px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 15px; }
        .review-header { display: flex; align-items: center; gap: 15px; }
        .user-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
        .user-info h4 { margin: 0; color: var(--dark); font-size: 1rem; }
        .stars { color: var(--warning); font-size: 0.9rem; margin-top: 5px; }
        .review-text { font-size: 0.95rem; color: #555; line-height: 1.6; font-style: italic; }

        /* --- EXAM LAYOUT (UPDATED) --- */
        .exam-grid { 
            display: block; 
            max-width: 800px;
            margin: 30px auto; 
            align-items: start;
        }

        .q-card { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); min-height: 400px; }
        .timer-badge { background: #fee2e2; color: var(--danger); padding: 8px 20px; border-radius: 30px; font-weight: 700; }
        
        .option-item { border: 2px solid #f1f5f9; padding: 15px; margin-bottom: 15px; border-radius: 8px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 15px; }
        .option-item:hover { border-color: var(--primary); background: #f8fafc; }
        
        .exam-buttons { display: flex; justify-content: space-between; gap: 15px; margin-top: 30px; flex-wrap: wrap; }

        /* CONTACT, ABOUT, PRIVACY STYLES */
        .contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
        .contact-info { background: var(--primary); color: white; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
        .info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; font-size: 1.1rem; }
        .info-item i { font-size: 1.5rem; background: rgba(255,255,255,0.2); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
        .contact-form { padding: 50px; }
        .form-control { width: 100%; padding: 15px; border: 2px solid #eee; border-radius: 8px; font-size: 1rem; transition: 0.3s; margin-bottom: 20px; }

        /* ABOUT STYLES */
        .about-header { text-align: center; max-width: 800px; margin: 0 auto 50px; }
        .about-header h1 { font-size: 3rem; background: -webkit-linear-gradient(#0056b3, #00c6ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .mission-card { background: white; padding: 50px 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); text-align: center; border-top: 5px solid var(--primary); transition: 0.3s; }
        .mission-card:hover { transform: translateY(-10px); }
        .mission-icon { width: 80px; height: 80px; background: #e0f2fe; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; font-size: 2rem; color: var(--primary); }
        .mission-card h3 { margin-bottom: 15px; color: var(--dark); font-size: 1.4rem; }
        .mission-card p { color: #334155; line-height: 1.6; }

        /* PRIVACY POLICY STYLES */
        .policy-container { max-width: 850px; margin: 0 auto; background: white; padding: 60px; border-radius: 16px; box-shadow: 0 5px 25px rgba(0,0,0,0.05); }
        .policy-header { text-align: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 30px; margin-bottom: 40px; }
        .policy-header h1 { color: var(--primary); font-size: 2.5rem; margin-bottom: 10px; }
        .policy-section { margin-bottom: 40px; }
        .policy-section h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
        .policy-section h3::before { content: ''; width: 4px; height: 20px; background: var(--accent); display: block; border-radius: 2px; }
        .policy-section p, .policy-section li { color: #475569; line-height: 1.8; font-size: 1.05rem; }
        .policy-section ul { padding-left: 20px; }
        
        /* MOBILE OPTIMIZATION */
        @media (max-width: 768px) {
            .mobile-toggle { display: block; } 
            .menu { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background: white; padding: 20px; box-shadow: 0 10px 15px rgba(0,0,0,0.1); border-top: 1px solid #eee; }
            .menu.show-nav { display: flex; }
            .menu-btn { width: 100%; text-align: left; padding: 12px 20px; border-radius: 8px; }
            
            .exam-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
            #btn-prev { order: 3; } #btn-skip { order: 1; } 
            #btn-next { order: 2; } #btn-submit { order: 4; }
            
            .btn { width: 100%; }
            .home-about { grid-template-columns: 1fr; text-align: center; }
            .contact-container { grid-template-columns: 1fr; }
            .about-me-img { margin-top: 30px; }
            .footer-container { grid-template-columns: 1fr; text-align: center; }
            .social-row { justify-content: center; }
        }

        /* FOOTER */
        footer { background: var(--footer-bg); color: #cbd5e1; padding: 60px 0 20px; margin-top: auto; border-top: 4px solid var(--primary); }
        .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
        .footer-col h3 { color: white; margin-bottom: 20px; border-bottom: 3px solid var(--accent); display: inline-block; padding-bottom: 5px; }
        .footer-links a { display: block; color: #cbd5e1; text-decoration: none; margin-bottom: 10px; transition: 0.3s; cursor: pointer; }
        .footer-links a:hover { color: var(--accent); padding-left: 5px; }
        .social-row { display: flex; gap: 15px; margin-top: 15px; }
        .social-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: 0.3s; font-size: 1.2rem; }
        .social-btn:hover { background: var(--primary); transform: translateY(-3px); color: white; }

        /* ADMIN SPECIFIC */
        .admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
        .admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid #e2e8f0; text-align: left; }
        .admin-table th { background: #f8fafc; }
        .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
        .modal-content { background: white; width: 95%; max-width: 900px; max-height: 90vh; overflow-y: auto; padding: 30px; border-radius: 12px; }
        .mgr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 10px; background: #fff; border: 1px solid #eee; margin-bottom: 10px; border-radius: 6px; }
        .mgr-box { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }

        @media print { .no-print { display: none !important; } }
        <div id="submit-confirm-modal" class="modal hidden no-print">
    <div class="modal-content" style="max-width: 450px; text-align: center; padding: 40px;">
        <i class="fas fa-clipboard-check" style="font-size: 4rem; color: var(--primary); margin-bottom: 20px;"></i>
        
        <h2 style="margin-bottom: 10px;">Are you sure?</h2>
        <p id="submit-msg" style="color: #666; font-size: 1.1rem;">Do you want to submit the test?</p>
        
        <div style="display: flex; gap: 15px; justify-content: center; margin-top: 30px;">
            <button class="btn btn-outline" onclick="closeSubmitModal()">
                No, Continue
            </button>
            
            <button class="btn btn-success" onclick="finishExam(); closeSubmitModal();">
                Yes, Submit Test
            </button>
        </div>
    </div>
</div>
        /* --- SEO SECTION STYLES --- */
.seo-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.seo-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

/* आखिरी वाले में लाइन न दिखे */
.seo-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* मोबाइल पर एक के नीचे एक आए */
@media (max-width: 768px) {
    .seo-row {
        flex-direction: column;
        text-align: center;
    }
    /* मोबाइल पर इमेज हमेशा ऊपर रहे या नीचे, आर्डर चेंज करें */
    .seo-row.reverse {
        flex-direction: column-reverse;
    }
}

.seo-text {
    flex: 1;
}

.seo-text h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.seo-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.seo-text ul {
    list-style: none;
    padding: 0;
}

.seo-text ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    color: var(--text-gray);
}

/* बुलेट पॉइंट्स के लिए आइकॉन */
.seo-text ul li::before {
    content: '\f00c'; /* FontAwesome Check Icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--success);
    position: absolute;
    left: 0;
    top: 0;
}

.seo-img-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.seo-img {
    max-width: 100%;
    width: 450px; /* इमेज का साइज */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    /* --- ANIMATION HERE --- */
    animation: floatImage 5s ease-in-out infinite;
}

/* तैरने वाला एनिमेशन */
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); } /* ऊपर जाएगा */
    100% { transform: translateY(0px); } /* नीचे आएगा */
}

/* --- QUESTION PALETTE STYLES (New) --- */
.exam-wrapper {
    display: grid;
    grid-template-columns: 1fr 280px; /* सवाल और नेविगेटर का लेआउट */
    gap: 20px;
    align-items: start;
}

.palette-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px; /* स्क्रॉल करते समय साथ चलेगा */
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* एक लाइन में 5 बटन */
    gap: 10px;
    margin-top: 15px;
}

.q-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 50%; /* गोल बटन */
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.q-btn:hover { background: #e2e8f0; }

/* रंगों का मतलब */
.q-btn.active { border: 2px solid var(--primary); transform: scale(1.1); } /* जो सवाल अभी खुला है */
.q-btn.answered { background: var(--success); color: white; border-color: var(--success); } /* जो कर दिया */
.q-btn.skipped { background: var(--danger); color: white; border-color: var(--danger); } /* जो छोड़ दिया (Optional) */

/* मोबाइल के लिए सेटिंग */
@media (max-width: 900px) {
    .exam-wrapper { grid-template-columns: 1fr; } /* मोबाइल पर ऊपर-नीचे */
    .palette-card { order: 2; position: static; } /* मोबाइल पर नेविगेटर नीचे आएगा */
    .q-card { order: 1; }
}