/* Mega Menu Styles */

/* Nav button styles */
.nav-button {
    color: #000000;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .nav-button:hover {
    color: #0E77FF;
  }
  
  .nav-button.active {
    color: #0E77FF;
  }
  
  .nav-button .dropdown-icon path {
    stroke: currentColor;
    transition: stroke 0.3s ease-in-out;
  }
  
  .nav-button:hover .dropdown-icon path,
  .nav-button.active .dropdown-icon path {
    stroke: #0E77FF;
  }
  
  /* Mega menu container */
  .mega-menu-container {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 91px; /* Position below header */
    z-index: 100000;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through */
    height: 0; /* Don't take up space */
    overflow: visible; /* Show children */
  }
  
  /* Mega menu styles */
  .mega-menu {
    position: relative;
    background-color: white;
    box-shadow: 0px 7px 20px 0px rgba(22,40,61,0.15);
    border-radius: 15px;
    padding: 60px;
    pointer-events: auto; /* Capture clicks on menu */
    z-index: 100001; /* Above overlay */
    display: none; /* Hidden by default */
  }
  
  .mega-menu.active {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }
  
  .mega-menu.hidden {
    display: none !important;
  }
  
  /* Overlay styles */
  .mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 99999; /* Below menus, above content */
    display: none;
  }
  
  .mega-menu-overlay.active {
    display: block;
  }
  
  /* Menu content styles */
  .mega-menu h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .mega-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .mega-menu li {
    margin-bottom: 0.75rem;
  }
  
  .mega-menu a {
    color: #4B5563;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .mega-menu a:hover {
    color: #0E77FF;
  }