 /* Mega menu container */
    .mega-menu {
      position: absolute;
      left: 0;
      top: 100%;
      width:350px;
       
      display: none;
      padding: 20px !important;
     
    }

    ul li:hover .mega-menu {
      display: block;
    }

    .mega-row {
      display: flex;
      justify-content: space-between;
    }

    .mega-col {
      width: 30%; padding: 10;
    }

    .mega-col h4 {
      color: #000;
      margin-bottom: 10px;  font-size: 14px;
    }

    .mega-col ul {
      padding: 0;
    }

    .mega-col ul li {
      display: block;
    }

    .mega-col ul li a {
      padding: 8px 0;
      display: block;
      color: #000 !important;
    }

    .mega-col ul li a:hover {
      color: #ffde59;

    background: none;
    }
   








/* Mega Menu Dropdown Arrow Indicator */
/* Only apply to menu items with submenus */
#navbarMega > ul > li:has(.mega-menu) > a,
#navbarMega > ul > li:has(.dropdown-menu) > a {
    position: relative;
    padding: 15px 15px;
}

/* Hide default arrow if any */
#navbarMega > ul > li:has(.mega-menu) > a::before,
#navbarMega > ul > li:has(.dropdown-menu) > a::before {
    display: none;
}

/* Custom dropdown arrow indicator - only for items with submenus */
#navbarMega > ul > li:has(.mega-menu) > a::after,
#navbarMega > ul > li:has(.dropdown-menu) > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1051;
}

/* Show arrow on hover and when mega menu is open */
#navbarMega > ul > li:has(.mega-menu):hover > a::after,
#navbarMega > ul > li:has(.dropdown-menu):hover > a::after,
#navbarMega > ul > li:has(.mega-menu).active > a::after,
#navbarMega > ul > li:has(.dropdown-menu).active > a::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Ensure mega menu has proper spacing for arrow */


/* Responsive adjustments */
@media (max-width: 991px) {
    #navbarMega > ul > li > a::after {
        display: none; /* Hide arrow on mobile */
    }
}

/* Ensure arrow only shows on items with submenus */
#navbarMega > ul > li:not(:has(.mega-menu)):not(:has(.dropdown-menu)) > a::after {
    display: none;
}
