@import url(https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);

.mega-dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 600px;
    background: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
  }
  
  .navbar-item.has-dropdown.is-hoverable:hover .mega-dropdown {
    display: block;
  }

  
  .main-categories .navbar-item {
    cursor: pointer;
  }
  
 /* Position submenu relative to the parent item */
.subcategories .submenu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 0;
    left: 40%; /* Position to the right of the parent */
    background-color: white;
    border: 1px solid #ddd;
    padding: 1rem;
    z-index: 10;
    min-width: 200px; /* Ensure submenu width is consistent */
}

/* Show active submenu */
.subcategories .submenu.active {
    display: block;
}

/* Adjustments for hover on larger screens */
@media (min-width: 724px) {
    .main-categories .navbar-item:hover + .submenu {
        display: block;
    }
    .submenu.active {
        display: none; /* Disables toggling behavior for large screens */
    }
}


  /* Ensure dropdowns are visible by default on small screens */
  @media (max-width: 768px) {
    .navbar-dropdown {
      display: block !important; /* Make dropdowns always visible */
      position: static; /* Remove absolute positioning */
      box-shadow: none; /* Remove the dropdown shadow for a cleaner look */
      background: none; /* Blend with the navbar background */
      padding: 0; /* Adjust padding for alignment */
    }
    .navbar-item.has-dropdown .navbar-link {
      display: block;
      font-weight: bold;
      cursor: default; /* Prevent hover cursor */
    }
  }

  @media screen and (max-width:1023px) {
    .navbar-menu {
        background-color: #baacf8
    }
}

@media only screen and (min-width:32em) {
    .hero-title {
        font-size: 10vh
    }
}
@media (min-width: 724px) {
    nav {
      padding-inline: 2rem; /* Adjust as needed */
    }
  }

.navbar span {
    color: #6b5b95;
    font-family: Poppins, sans-serif;
    padding-inline: 0pc
}

.navbar-burger {
    margin-left: auto;
    margin-right: 0
}