.navbar-collapse a.btn {
    padding-top: 12px;
    border-radius: 10px;
}



/* Style the parent menu item to handle the dropdown */
.navbar-nav .menu-item-has-children {
    position: relative;
}

/* Hide sub-menu by default */
.navbar-nav .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    border-radius: 0 0 4px 4px;
    min-width: 200px;
    padding: 10px 0;
    list-style: none;
    z-index: 99;
    margin: 0;
}

/* Show sub-menu on hover (Desktop) */
@media (min-width: 992px) {
    .navbar-nav .menu-item-has-children:hover > .sub-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}

/* Style the sub-menu links */
.sub-menu a {
    display: block;
    padding: 8px 20px;
    color: #555555;
    text-decoration: none;
    transition: 0.3s;
}

.sub-menu a:hover {
    color: #007bff; /* Change to your primary color */
    background: #f8f9fa;
}

.col-lg-3 li {
    list-style: none;
}

/* Neurovia Custom Styles */
#neurovia-quiz-container {
    max-width: 800px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Card Styling */
#quiz-intro, #quiz-questions-wrapper, .modal-content {
    border: none;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease;
}

/* Typography */
h1.display-5 {
    color: #0d2142; /* Deep Navy */
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

.lead {
    color: #5a6b81;
    font-size: 1.15rem;
}

/* Buttons & Options */
#start-quiz-btn, .btn-success {
    background-color: #17bb9f !important; /* Your Brand Teal */
    border: none;
    padding: 14px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#start-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 187, 159, 0.3);
}

/* Dynamic Option Buttons */
#options-list .btn-outline-primary {
    border: 2px solid #e9ecef;
    color: #495057;
    text-align: left;
    padding: 15px 20px;
    font-size: 1.05rem;
    border-radius: 12px;
    transition: all 0.2s;
}

#options-list .btn-outline-primary:hover {
    background-color: #f8f9fa;
    border-color: #17bb9f;
    color: #17bb9f;
}

/* Progress Bar */
.progress {
    background-color: #f0f2f5;
    border-radius: 20px;
}

#progress-fill {
    background: linear-gradient(90deg, #17bb9f, #2ecc71) !important;
}

/* Modal/Registration Styling */
.modal-content {
    border-radius: 20px;
    border: none;
}

#quiz-registration-form .form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background-color: #fdfdfd;
}

#quiz-registration-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(23, 187, 159, 0.15);
    border-color: #17bb9f;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}