/* Basic Flexbox Navigation */
.exam-top-nav {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.exam-top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome/Safari/Opera */
.exam-top-nav ul::-webkit-scrollbar {
    display: none;
}

.exam-top-nav li {
    flex: 0 0 auto;
    margin: 0;
}

.exam-top-nav li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.exam-top-nav li.active a,
.exam-top-nav li a:hover {
    color: #0073aa;
    /* Standard WP Blue or customize */
    border-bottom-color: #0073aa;
    background-color: #f9f9f9;
}

/* Responsive adjustments if needed */
@media (max-width: 600px) {
    .exam-top-nav li a {
        padding: 12px 15px;
        font-size: 14px;
    }
}