/* ===== NAVBAR ===== */
.navbar {
  z-index: 999;
}

/* ===== MEGA MENU ===== */
.mega-dropdown {
  position: relative;
}

/* Desktop hover */
@media (min-width: 992px) {
  .mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 10px);
  }
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;

  display: inline-block;
  width: max-content;
  max-width: 95vw;

  padding: 25px;

  opacity: 0;
  visibility: hidden;

  transform: translate(-50%, 20px);
  transition: all 0.3s ease;

  background: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Remove bootstrap dropdown behavior */
.dropdown-menu {
  display: block;
  border: none;
}

/* ===== FLEX LAYOUT ===== */
.mega-flex {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* ===== LIST ===== */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list strong {
  display: block;
  margin-bottom: 10px;
}

.menu-list li {
  padding: 8px 0;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.menu-list li a{
  text-decoration: none;
  color: #1f2937;
}

.menu-list li a:hover {
  color: #004ab1;
  transform: translateX(5px);
}

/* ===== RIGHT BOX ===== */
.right-box {
  background: #f3f0ff;
  padding: 25px;
  border-radius: 14px;
  min-width: 260px;
}

/* ===== BUTTON ===== */
.btn-orange {
  background: #ff6a00;
  color: #fff;
  border-radius: 25px;
  padding: 10px 20px;
  display: inline-block;
}

.btn-orange:hover {
  background: #e55d00;
}

/* ===== MOBILE SCROLLABLE MEGA MENU ===== */
@media (max-width: 991px) {
  .mega-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
    box-shadow: none;
    padding: 10px 0;

    /* Scrollable */
    max-height: 70vh; /* adjust as needed */
    overflow-y: auto;
  }

  .mega-flex {
    flex-direction: column;
    gap: 20px;
  }

  .right-box {
    width: 100%;
  }

  /* Collapse behavior */
  .dropdown-menu {
    display: none;
  }

  .dropdown.show .dropdown-menu {
    display: block;
  }
}


.index-navbar-icon {
    height: 30px;
    width: auto !important;
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 6px;
    margin-right: 8px;
    margin-left: 8px;
}