.dropdown-menu {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    border-radius: 8px;
}

.dropdown-item {
    color: #fff;
    padding: 10px 15px 10px 30px;
    margin: 0;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

/* --- Desktop Hover Effects --- */
@media (min-width: 992px) {
    .nav-item.dropdown .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 15px;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        position: relative;
        transition: all 0.3s ease;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: #cfff45;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::before {
        width: 100%;
    }
}

/* Custom CSS for Mobile Menu Dropdown */
@media (max-width: 991.98px) {
    /* Keep the "Our Products" submenu open by default on mobile */
    .navbar-collapse .nav-item.dropdown .dropdown-menu {
      display: block;
      position: static;
      background: transparent;
      border: 0;
      box-shadow: none;
      width: 100%;
      margin: 0;
      padding: 0 0 0 1rem; /* Add indentation for sub-items */
    }

    /* Style the links inside the always-open dropdown */
    .navbar-collapse .nav-item.dropdown .dropdown-item {
      padding: 8px 15px;
      color: rgb(255, 255, 255); /* Light color for dark background */
    }
    
    .navbar-collapse .nav-item.dropdown .dropdown-item:hover {
      color: #fff;
      background-color: transparent;
    }

    /* Hide the caret/arrow on the "Our Products" link as it's not a toggle anymore */
    .navbar-collapse .nav-item.dropdown .dropdown-toggle::after {
      display: none;
    }
  }