/* Header-specific styles to match old PHP header look */
.header-bg { background: #021b52 !important; }
.navbar-bg { background: #0A2463 !important; }

.navbar-nav .nav-link {
    color: #e2e8f0 !important;
    font-weight: 500;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.search-container .form-control {
    background-color: #fff;
    color: #111;
}

.search-container .form-control::placeholder {
    color: #8a8f98;
}

/* Ensure dropdown text is visible */
.dropdown-menu {
    background-color: #2d3748;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: #e2e8f0;
}

.dropdown-item:hover {
    background-color: #4a5568;
    color: #ffffff;
}

.megamenu {
    position: static !important;
}

.megamenu-content {
    width: 100%;
    left: 0;
    right: 0;
    border: none;
    border-radius: 0;
}

.megamenu-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
}

.megamenu-list-item {
    margin-bottom: 8px;
}

.megamenu-list-link {
    color: #d6deea;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.megamenu-list-link:hover {
    color: #ffffff;
}

@media (max-width: 992px) {
    .navbar .dropdown-menu {
        background-color: #1f2937;
    }
}
