:root {
    /* Indian Election Theme Colors */
    --saffron: #FF9933;
    --white: #FFFFFF;
    --green: #138808;
    --blue: #000080;

    /* UI Colors */
    --bg-color: #f4f7f6;
    --surface-color: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --danger: #dc3545;

    /* Layout */
    --navbar-height: 70px;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --text-primary: #f0f0f0;
    --text-secondary: #aaaaaa;
    --border-color: #333333;
}

[data-text-size="large"] {
    font-size: 110%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);

    /* Utilities */
    .saffron {
        color: var(--saffron);
    }

    .green {
        color: var(--green);
    }

    .blue {
        color: var(--blue);
    }

    .dark {
        color: var(--text-primary);
    }

    .saffron-bg {
        background-color: var(--saffron);
        color: white;
    }

    .green-bg {
        background-color: var(--green);
        color: white;
    }

    .bg-saffron {
        background-color: var(--saffron);
        color: white;
    }

    .bg-blue {
        background-color: var(--blue);
        color: white;
    }

    .bg-green {
        background-color: var(--green);
        color: white;
    }

    .bg-dark {
        background-color: var(--text-primary);
        color: var(--surface-color);
    }

    .bg-saffron-light {
        background-color: rgba(255, 153, 51, 0.1);
    }

    .light-bg {
        background-color: rgba(0, 0, 0, 0.02);
    }

    [data-theme="dark"] .light-bg {
        background-color: rgba(255, 255, 255, 0.02);
    }

    .saffron-text {
        color: var(--saffron);
    }

    .green-text {
        color: var(--green);
    }

    .text-danger {
        color: var(--danger);
    }

    .text-white {
        color: white;
    }

    .border-saffron {
        border-top: 4px solid var(--saffron) !important;
    }

    .border-green {
        border-top: 4px solid var(--green) !important;
    }

    .border-blue {
        border-top: 4px solid var(--blue) !important;
    }

    .border-top {
        border-top: 1px solid var(--border-color);
    }

    .hidden {
        display: none !important;
    }

    .w-100 {
        width: 100%;
    }

    .mt-2 {
        margin-top: 0.5rem;
    }

    .mt-3 {
        margin-top: 1rem;
    }

    .mt-4 {
        margin-top: clamp(1rem, 3vw, 1.5rem);
    }

    .mb-2 {
        margin-bottom: 0.5rem;
    }

    .mb-3 {
        margin-bottom: 1rem;
    }

    .mb-4 {
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
    }

    .mb-5 {
        margin-bottom: 3rem;
    }

    .p-1 {
        padding: 0.25rem;
    }

    .p-2 {
        padding: 0.5rem;
    }

    .p-4 {
        padding: 2rem;
    }

    .pt-2 {
        padding-top: 0.5rem;
    }

    .text-center {
        text-align: center;
    }

    .text-sm {
        font-size: 0.85rem;
    }

    .fw-bold {
        font-weight: bold;
    }

    .radius-sm {
        border-radius: 4px;
    }

    .radius-lg {
        border-radius: 16px;
    }

    .float-right {
        float: right;
    }

    /* Buttons */
    .btn {
        padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        font-family: 'Inter', sans-serif;
        transition: var(--transition);
        font-size: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .btn-primary {
        background-color: var(--blue);
        color: white;
    }

    .btn-primary:hover {
        background-color: #000060;
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

    .btn-secondary {
        background-color: var(--surface-color);
        color: var(--text-primary);
        border: 1px solid var(--border-color);
    }

    .btn-secondary:hover {
        background-color: var(--bg-color);
        transform: translateY(-2px);
    }

    .btn-danger {
        background-color: var(--danger);
        color: white;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.875rem;
    }

    .icon-btn {
        background: none;
        border: none;
        color: inherit;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        transition: var(--transition);
    }

    .icon-btn:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    [data-theme="dark"] .icon-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* --- Navbar --- */
    .navbar {
        height: var(--navbar-height);
        background-color: var(--surface-color);
        box-shadow: var(--shadow);
        z-index: 1000;
    }

    .sticky-navbar {
        position: sticky;
        top: 0;
        width: 100%;
    }

    .nav-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-brand {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--blue);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .hamburger {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-primary);
        cursor: pointer;
    }

    .nav-menu {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .nav-item {
        font-weight: 500;
        color: var(--text-secondary);
        cursor: pointer;
        transition: var(--transition);
        padding: 8px 12px;
        border-radius: 8px;
    }

    .nav-item:hover {
        color: var(--blue);
        background-color: var(--bg-color);
    }

    .nav-item.active {
        color: var(--blue);
        font-weight: 700;
        background-color: rgba(0, 0, 128, 0.05);
    }

    [data-theme="dark"] .nav-item.active {
        color: var(--saffron);
        background-color: rgba(255, 153, 51, 0.1);
    }

    /* --- Main Content --- */
    .main-content {
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - var(--navbar-height));
        width: 100%;
    }

    .pages-container {
        flex: 1;
        width: 100%;
    }

    .page {
        display: none;
        animation: fadeIn 0.4s ease;
        padding: clamp(15px, 4vw, 40px) clamp(15px, 4vw, 30px);
        max-width: 1400px;
        margin: 0 auto;
    }

    .page.active {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Generic Card & Grids */
    .card {
        background-color: var(--surface-color);
        border-radius: var(--border-radius);
        padding: clamp(15px, 4vw, 25px);
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
        transition: var(--transition);
        width: 100%;
    }

    .card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-3px);
    }

    /* Home Sections */
    .home-section {
        padding: clamp(30px, 6vw, 60px) 0;
        border-bottom: 1px solid var(--border-color);
    }

    .home-section:last-child {
        border-bottom: none;
    }

    .section-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 15px;
        color: var(--text-primary);
        font-weight: 700;
    }

    /* 1. Hero */
    .hero-section {
        padding: clamp(40px, 8vw, 80px) 20px;
        background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(19, 136, 8, 0.05));
        border-radius: var(--border-radius);
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
        font-weight: 800;
        color: var(--blue);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        font-weight: 600;
        color: var(--saffron);
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: clamp(1rem, 3vw, 1.2rem);
        max-width: 700px;
        margin: 0 auto 30px;
        color: var(--text-secondary);
        line-height: 1.6;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

    /* 2. Banner */
    .awareness-banner {
        border-left: 5px solid var(--saffron);
        background-color: var(--surface-color);
        margin-top: -30px;
        position: relative;
        z-index: 10;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .banner-content {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .banner-icon {
        font-size: 2.5rem;
    }

    /* 3. Features Grid */
    .grid-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .feature-card {
        text-align: center;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 180px;
    }

    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .feature-card h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

    /* 4. How It Works */
    .grid-4-col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card {
        padding: 20px;
        text-align: center;
    }

    .step-num {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        margin: 0 auto 15px;
    }

    .step-card h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .step-card p {
        font-size: 0.95rem;
        color: var(--text-secondary);
    }

    /* 5. Why Choose */
    .grid-3-col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 6. Timeline Preview */
    .preview-timeline {
        list-style: none;
        padding: 0;
    }

    .preview-timeline li {
        padding: 10px 0;
        border-bottom: 1px dashed var(--border-color);
        font-size: 1.1rem;
    }

    .preview-timeline li:last-child {
        border-bottom: none;
    }

    /* 7. Latest Updates */
    .grid-2-col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .badge {
        display: inline-block;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* 9. FAQ */
    .faq-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        cursor: pointer;
    }

    .faq-question {
        font-size: 1.1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .faq-answer {
        font-size: 0.95rem;
        color: var(--text-secondary);
        line-height: 1.6;
    }

    /* Footer */
    .site-footer {
        background-color: var(--surface-color);
        border-top: 1px solid var(--border-color);
        padding: 50px 20px 20px;
        margin-top: auto;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 1400px;
        margin: 0 auto 40px;
    }

    .footer-about h3 {
        color: var(--blue);
        margin-bottom: 15px;
        font-weight: 800;
    }

    .footer-about p {
        color: var(--text-secondary);
        line-height: 1.6;
    }

    .footer-links h4,
    .footer-legal h4,
    .footer-social h4 {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .footer-links ul,
    .footer-legal ul {
        list-style: none;
    }

    .footer-links li,
    .footer-legal li {
        margin-bottom: 10px;
    }

    .footer-links a,
    .footer-legal a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition);
    }

    .footer-links a:hover,
    .footer-legal a:hover {
        color: var(--blue);
    }

    .social-icons {
        display: flex;
        gap: 15px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--bg-color);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-primary);
        text-decoration: none;
        transition: var(--transition);
        font-size: 1.2rem;
    }

    .social-icons a:hover {
        background-color: var(--blue);
        color: white;
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
    }

    .footer-bottom {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

    /* Modals */
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2000;
    }

    .modal-content {
        width: 90%;
        max-width: 400px;
        position: relative;
        animation: fadeIn 0.3s ease;
    }

    .close-modal {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-secondary);
    }

    .close-modal:hover {
        color: var(--text-primary);
    }

    /* Forms */
    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
        font-size: 0.95rem;
    }

    .form-group select,
    .form-group input,
    .form-group textarea,
    .form-control {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background-color: var(--bg-color);
        color: var(--text-primary);
        outline: none;
        font-family: 'Inter', sans-serif;
        font-size: 1rem;
    }

    /* Reused Layouts for other pages */
    .chat-container {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 250px);
        min-height: 400px;
    }

    .chat-history {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .message {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        max-width: 90%;
    }

    .user-message {
        align-self: flex-end;
        flex-direction: row-reverse;
    }

    .ai-message .msg-bubble {
        background-color: var(--bg-color);
        border: 1px solid var(--border-color);
        border-radius: 0 15px 15px 15px;
    }

    .user-message .msg-bubble {
        background-color: var(--blue);
        color: white;
        border-radius: 15px 0 15px 15px;
    }

    .avatar {
        width: 35px;
        height: 35px;
        min-width: 35px;
        background-color: var(--blue);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    .msg-bubble {
        padding: 10px 15px;
        color: var(--text-primary);
        font-size: 0.95rem;
    }

    .chat-input-area {
        display: flex;
        gap: 8px;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }

    .chat-input-area input {
        flex: 1;
        padding: 10px 15px;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        background-color: var(--bg-color);
        color: var(--text-primary);
        outline: none;
        width: 100%;
        font-size: 0.95rem;
    }

    /* Timeline */
    .timeline-ui {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
    }

    .timeline-ui::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: var(--border-color);
    }

    .timeline-item {
        display: flex;
        gap: 15px;
        position: relative;
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        background-color: var(--surface-color);
        border: 2px solid;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .timeline-date {
        width: auto;
        text-align: left;
        padding-top: 10px;
        margin-left: 55px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .timeline-content {
        margin-left: 55px;
        width: calc(100% - 55px);
    }

    /* Map & Comparison */
    .large-search {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .map-mock {
        height: 250px;
        background-color: var(--bg-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: var(--text-secondary);
        text-align: center;
    }

    .map-mock i {
        font-size: 2.5rem;
        margin-bottom: 10px;
        opacity: 0.5;
    }

    .comparison-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: relative;
        align-items: center;
        width: 100%;
    }

    .candidate-card {
        width: 100%;
        text-align: center;
    }

    .cand-avatar {
        width: 70px;
        height: 70px;
        background-color: var(--bg-color);
        border-radius: 50%;
        margin: 0 auto 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        color: var(--text-secondary);
    }

    .party-tag {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: bold;
        margin-top: 5px;
    }

    .cand-promises {
        list-style: none;
        padding: 0;
        text-align: left;
        font-size: 0.9rem;
    }

    .cand-promises li {
        padding: 8px 0;
        border-bottom: 1px dashed var(--border-color);
    }

    .vs-badge {
        width: 35px;
        height: 35px;
        background-color: var(--text-primary);
        color: var(--surface-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin: 5px auto;
        font-size: 0.9rem;
        z-index: 2;
    }


    /* Switches (Toggles) */
    .switch {
        position: relative;
        display: inline-block;
        width: 46px;
        height: 24px;
    }

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: .4s;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
    }

    input:checked+.slider {
        background-color: var(--blue);
    }

    input:checked+.slider:before {
        transform: translateX(22px);
    }

    .slider.round {
        border-radius: 24px;
    }

    .slider.round:before {
        border-radius: 50%;
    }

    /* ---- BREAKPOINTS ---- */

    /* Large Mobile (481px to 767px) */
    @media (min-width: 481px) {
        .hero-buttons {
            flex-direction: row;
        }

        .grid-features {
            grid-template-columns: repeat(2, 1fr);
        }

        .grid-2-col {
            grid-template-columns: repeat(2, 1fr);
        }

        .footer-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .large-search {
            flex-direction: row;
        }
    }

    /* Tablet (768px to 1024px) */
    @media (min-width: 768px) {
        .hamburger {
            display: none;
        }

        .nav-menu {
            display: flex !important;
            flex-direction: row;
            position: static;
            background: none;
            box-shadow: none;
            width: auto;
            padding: 0;
        }

        .footer-grid {
            grid-template-columns: 2fr 1fr 1fr 1fr;
        }

        .comparison-grid {
            flex-direction: row;
            align-items: stretch;
            justify-content: center;
        }

        .candidate-card {
            max-width: 400px;
        }

        .vs-badge {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            margin: 0;
        }
    }

    /* Laptop (1025px to 1440px) */
    @media (min-width: 1025px) {
        .timeline-ui::before {
            left: 50%;
        }

        .timeline-item {
            flex-direction: row;
            align-items: flex-start;
            justify-content: space-between;
            width: 100%;
            gap: 0;
        }

        .timeline-marker {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 0;
        }

        .timeline-date {
            width: 50%;
            padding-right: 40px;
            text-align: right;
            margin: 0;
            padding-top: 10px;
        }

        .timeline-content {
            width: 50%;
            margin-left: auto;
            padding-left: 40px;
        }

        .timeline-item:nth-child(even) {
            flex-direction: row-reverse;
        }

        .timeline-item:nth-child(even) .timeline-date {
            text-align: left;
            padding-right: 0;
            padding-left: 40px;
        }

        .timeline-item:nth-child(even) .timeline-content {
            margin-left: 0;
            margin-right: auto;
            padding-left: 0;
            padding-right: 40px;
        }
    }

    /* Desktop (1441px and above) */
    @media (min-width: 1441px) {
        html {
            font-size: 18px;
        }
    }

    /* Mobile Nav Adjustments */
    @media (max-width: 767px) {
        .hamburger {
            display: block;
        }

        .nav-menu {
            display: none;
            flex-direction: column;
            position: absolute;
            top: var(--navbar-height);
            left: 0;
            width: 100%;
            background-color: var(--surface-color);
            box-shadow: var(--shadow);
            padding: 20px;
            align-items: stretch;
        }

        .nav-menu.active {
            display: flex;
        }

        .nav-item {
            text-align: center;
            padding: 15px;
            border-bottom: 1px solid var(--border-color);
        }

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

        .nav-icon {
            text-align: center;
            padding-top: 10px;
        }
    }

    /* Profile Dropdown */
    .nav-dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--surface-color);
        box-shadow: var(--shadow-hover);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        list-style: none;
        min-width: 200px;
        z-index: 2000;
        padding: 10px 0;
    }

    .dropdown-menu li {
        padding: 10px 20px;
        cursor: pointer;
        transition: var(--transition);
        color: var(--text-primary);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .dropdown-menu li:hover {
        background-color: var(--bg-color);
        color: var(--blue);
    }

    /* Simple UI Mode */
    body.simple-ui {
        background: #ffffff !important;
    }

    body.simple-ui .card {
        border: 2px solid #000;
        box-shadow: none;
        background: #ffffff;
        border-radius: 4px;
    }

    body.simple-ui .hero-section {
        background: none;
        border: 2px solid #000;
    }

    /* --- Added Utility Classes & UI/UX Fixes --- */
    .d-flex {
        display: flex;
    }

    .justify-content-between {
        justify-content: space-between;
    }

    .align-items-center {
        align-items: center;
    }

    .text-start {
        text-align: left !important;
    }

    .d-inline-block {
        display: inline-block;
    }

    .btn-outline-primary {
        background-color: transparent;
        color: var(--blue);
        border: 2px solid var(--blue);
    }

    .btn-outline-primary:hover,
    .btn-outline-primary.active {
        background-color: var(--blue);
        color: white;
    }

    /* Typography & Heading Sizes */
    .page>h2,
    .page-header>h2 {
        color: var(--blue);
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        font-weight: 800;
        margin-bottom: 10px;
    }

    .page>p.text-secondary,
    .page-header>p.text-secondary {
        font-size: clamp(1rem, 3vw, 1.15rem);
        margin-bottom: 20px;
    }

    /* Word Wrapping for Quiz Options */
    #quiz-options .btn {
        white-space: normal;
        height: auto;
        line-height: 1.4;
        padding: 12px 15px;
        font-size: 1.05rem;
    }
}