/*MENUDO*/
/* --- NAVIGATION: THE MENUDO (White Version) --- */
.wit-nav {
    background: #ffffff !important; 
    border-bottom: 1px solid #eeeeee;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

/* Nav Links - Black Text */
.wit-nav .nav-link {
    color: #1a1a1a !important; 
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1.2rem !important;
}

.wit-nav .nav-link:hover {
    color: #2563eb !important; 
}

/* --- DROPDOWN STYLING --- */
.wit-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    background-color: rgba(3, 7, 15, 0.88) !important; /* Restored from comment */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    margin-top: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.wit-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px;
    font-weight: 500;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.wit-nav .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #a3e635 !important;
    transform: translateX(4px);
}

/* Desktop Hover Bridge */
.wit-nav .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

/* --- BURGER TO X TRANSFORMATION --- */

/* 1. Reset Toggle Button */
.wit-nav .navbar-toggler {
    border: none !important;
    padding: 0;
    width: 25px;
    height: 20px;
    position: relative;
    display: none; /* CHANGED: Hide by default on desktop */
}

/* 2. Only show on Mobile (Bootstrap Breakpoint) */
@media (max-width: 991.98px) {
    .wit-nav .navbar-toggler {
        display: flex; /* CHANGED: Show only on mobile */
        flex-direction: column;
        justify-content: space-between;
    }
}

.wit-nav .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none;
}

.wit-nav .icon-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease-in-out;
    border-radius: var(--radius-xs);
}

/* Animation to X */
.wit-nav .navbar-toggler:not(.collapsed) .icon-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.wit-nav .navbar-toggler:not(.collapsed) .icon-bar:nth-child(2) {
    opacity: 0;
}
.wit-nav .navbar-toggler:not(.collapsed) .icon-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 991.98px) {
    .wit-nav .navbar-collapse {
        transition: max-height 0.3s ease-out;
    }

    .wit-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100% !important;
        background-color: rgba(3, 7, 15, 0.95) !important;
        border: none;
        border-left: 2px solid #a3e635;
        margin-top: 0 !important;
        display: none !important; 
        opacity: 1 !important;
        visibility: visible !important;
    }

    .wit-nav .dropdown-menu.show {
        display: block !important;
        margin-bottom: 10px;
    }
}
/*END OF MENUDONG PANIS*/