        body { font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
        .noticeboard-marquee { background: #fffbe7; border: 1px solid #ffe066; border-radius: 6px; margin-bottom:18px; min-height:48px; display: flex; align-items: center; }
        .noticeboard-marquee marquee { font-weight: bold; font-size: 1.08em; color: #b37b00; width: 100%; }
        @media (max-width: 767px) {
            .noticeboard-marquee { font-size: 0.98em; padding: 0.2em 0.6em;}
        }

        /* FIXED: Categories navigation - Different layouts for desktop and mobile */
        .test-menu-wrapper {
            position: relative;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .test-menu-nav {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            flex: 1;
            padding: 0;
        }
        /* Hide scrollbar for modern browsers */
        .test-menu-nav::-webkit-scrollbar {
            display: none;
        }
        .test-menu-nav .menu-item {
            display: inline-block;
            padding: 8px 18px;
            border-radius: 6px;
            font-weight: 500;
            border: 1px solid #ddd;
            background: #ffffff;
            color: #333;
            text-decoration: none;
            transition: all .2s;
            white-space: nowrap;
            flex-shrink: 0;
            font-size: 14px;
        }
        .test-menu-nav .menu-item:hover {
            background: #f5f5f5;
            border-color: #999;
            color: #333;
        }
        .test-menu-nav .menu-item.active {
            background: #e3f2fd;
            color: #1565c0;
            border-color: #1565c0;
            font-weight: 600;
        }

        /* Navigation arrows - Clean gray style - Hidden by default on desktop */
        .scroll-arrow {
            background: transparent;
            color: #333;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 4px;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10;
            font-size: 18px;
            transition: background .2s, color .2s;
            flex-shrink: 0;
            padding: 0;
        }
        .scroll-arrow:hover {
            background: #f0f0f0;
            color: #000;
        }
        .scroll-arrow:active {
            background: #e0e0e0;
        }
        
        /* DESKTOP: Show horizontal scroll with smart arrows */
        @media (min-width: 768px) {
            .test-menu-nav {
                display: flex;
            }
            .test-menu-nav .menu-item {
                display: inline-block;
            }
        }

        /* MOBILE: Compact horizontal scroll with arrows always visible */
        @media (max-width: 767px) {
            .test-menu-wrapper {
                flex-wrap: nowrap;
                gap: 6px;
                margin-bottom: 15px;
            }
            .test-menu-nav {
                flex-direction: row;
                align-items: center;
                gap: 6px;
                overflow-x: auto;
                overflow-y: hidden;
                order: 0;
                width: auto;
                padding: 0;
                flex: 1;
                min-width: 0;
            }
            .test-menu-nav .menu-item {
                display: inline-block;
                width: auto;
                padding: 6px 12px;
                font-size: 12px;
                text-align: center;
                border-radius: 5px;
                white-space: nowrap;
                flex-shrink: 0;
            }
            .scroll-arrow {
                display: flex !important;
                width: 32px;
                height: 32px;
                font-size: 16px;
                flex-shrink: 0;
            }
        }

        .test-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
            gap: 16px;
            margin-bottom: 2em;
        }
        @media (max-width: 991px) {
            .test-grid {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }
        }
        @media (max-width: 600px) {
            .test-grid {
                grid-template-columns: 1fr;
            }
        }
        .test-logo {
            max-width: 80px;
            max-height: 80px;
            width: auto;
            height: auto;
            margin: 0 auto 10px auto;
            border-radius: 8px;
            object-fit: contain;
            display: block;
        }
        .card-sm, .card {
            background: linear-gradient(135deg, #fffdf6 0%, #fff7e3 100%);
            border: 1px solid #ffe0b2 !important;
            box-shadow: 0 2px 8px rgba(255, 193, 7, 0.07);
            min-height: 230px;
            display: flex;
            flex-direction: column;
            justify-content: stretch;
        }
        .card-title { color: #3d2e00 !important; background:#fff; border-radius:6px; padding:2px 0; }
        .btn-primary { background: #ffc107 !important; border-color: #ffc107 !important; color: #3d2e00 !important; font-weight: 500; }
        .btn-primary:hover { background: #ffb300 !important; border-color: #ffb300 !important; }
        .btn-view-test {
            background: #e3f2fd !important;
            color: #1565c0 !important;
            border: 1px solid #90caf9 !important;
            font-weight: 500;
            margin-bottom: 3px;
            margin-top: 6px;
            transition: background .18s, color .18s;
        }
        .btn-view-test:hover {
            background: #bbdefb !important;
            color: #003c8f !important;
        }
        
        .card-sm {
            padding: 0.33rem 0.33rem;
            border-radius: 10px;
            min-height: 230px;
        }
        .test-grid > div { height: 100%; }
        .card.card-sm .card-body{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
    height:100%;
    
}
        .card-title { margin-top: 0.7em; }
        .card-text { margin-top: 0.5em; margin-bottom: 0.7em; }
        

        /* FIXED: Search bar styling - clean without yellow background on button */
        .search-form-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        .search-input-group {
            display: flex;
            align-items: center;
            gap: 0;
            max-width: 400px;
            flex: 1;
            min-width: 250px;
        }
        .search-bar {
            border: 1px solid #ddd;
            border-radius: 6px 0 0 6px;
            padding: 10px 12px;
            font-size: 0.95em;
            flex: 1;
            background: #ffffff;
        }
        .search-bar:focus {
            border-color: #999;
            box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.05);
            outline: none;
        }
        .btn-search {
            border: 1px solid #ddd;
            border-radius: 0 6px 6px 0;
            background: transparent;
            color: #333;
            padding: 10px 14px;
            cursor: pointer;
            font-weight: 500;
            transition: background .2s, border-color .2s;
            font-size: 16px;
        }
        .btn-search:hover {
            background: #f5f5f5;
            border-color: #999;
            color: #000;
        }
        .btn-search:active {
            background: #e8e8e8;
        }

        .article-section h1, .article-section h2 { color:#007bff; }
        .article-section {background:#f6fbff; border-radius:10px; box-shadow:0 2px 8px rgba(0,0,0,.04);padding:1.2em;margin-bottom:22px;}
        .article-section ul {padding-left:18px;}
        .article-section p { line-height: 1.8; color: #555; }
        .article-section h3 { color: #555; font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 1rem; }
        .article-section ol { padding-left: 2rem; line-height: 2; }
        @media (max-width: 767px) {
            .article-section {padding:0.7em;}
            .article-section h1 {font-size:1.15em;}
            .article-section h2 {font-size:1.05em;}
            .search-form-container {
                margin-bottom: 15px;
            }
            .search-input-group {
                min-width: 100%;
            }
        }
.main-section{
    padding:20px 15px;
}

.scroll-hidden{
    display:none;
}

.badge.sets-badge{
    background:#fff !important;
    color:#8d6e00 !important;
    border:1px solid #ffe0b2 !important;

    border-radius:14px;

    min-width:160px;

    font-size:16px !important;
    font-weight:400 !important;

    padding:10px 16px !important;

    white-space:nowrap;
    text-align:center;
    display:inline-block;
}

.badge.sets-badge i{
    margin-right:6px;
}

    