/* Navigation Dropdown Styles */
.main_nav ul li.dropdown {
    position: relative;
}

.main_nav ul li.dropdown .dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.main_nav ul li.dropdown .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 0;
    z-index: 1000;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.main_nav ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.main_nav ul li.dropdown .dropdown-menu li {
    display: block;
    margin: 0 !important;
    padding: 0;
}

.main_nav ul li.dropdown .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333333 !important;
    font-size: 14px;
    font-weight: 400;
    transition: all 200ms ease;
}

.main_nav ul li.dropdown .dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: #000000 !important;
}

/* Mobile Menu Dropdown Styles */
.menu_nav ul.menu_mm li.dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: transparent;
    padding-left: 20px;
}

.menu_nav ul.menu_mm li.dropdown .dropdown-menu li a {
    color: #ffffff !important;
    padding: 8px 0;
}

.menu_nav ul.menu_mm li.dropdown .dropdown-menu li a:hover {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7) !important;
}

.menu_nav ul.menu_mm li.dropdown .dropdown-toggle i {
    transition: transform 200ms ease;
}

.menu_nav ul.menu_mm li.dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dark Mode Support */
[data-bs-theme="dark"] .main_nav ul li.dropdown .dropdown-menu {
    background-color: #2d2d2d;
}

[data-bs-theme="dark"] .main_nav ul li.dropdown .dropdown-menu li a {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .main_nav ul li.dropdown .dropdown-menu li a:hover {
    background-color: #3d3d3d;
}
