header {
  width: 100%;
  position: fixed;
  top: 10;
  left: 0;
  z-index: 99999;
  background:transparent;
  padding:20px 10px;
  }
  header.smaller {
  padding:10px 40px;
  background:rgba(0, 0, 0, 0.4);
  -webkit-transition:all 0.3s;
  -moz-transition:all 0.3s;
  -ms-transition:all 0.3s;
  -o-transition:all 0.3s;
  transition:all 0.3s;
  -webkit-box-shadow: -1px -1px 8px 0px rgba(0,0,0,0.75);
-moz-box-shadow: -1px -1px 8px 0px rgba(0,0,0,0.75);
box-shadow: -1px -1px 8px 0px rgba(0,0,0,0.75);
  }
.mega-nav {
  color: #fff;
  position: relative;
}

/* MOBILE MENU BUTTON */
.menu-toggle {
  display: none;
  background: #fff;
  color: #0f0a41;
  border: 0;
  padding: 15px;
  width: 100%;
  
  font-size: 18px;
  cursor: pointer;
}

/* MAIN MENU */
.main-menu {
  display: flex;
  list-style: none;
  padding:0px;
  position: relative; 
}
.main-menu > li > a {
  font-size:24px;
  font-weight:500;
  color: #fff;
  padding: 15px 20px;
  display: block;
  text-decoration: none;
  transition: all 300ms ease 0s;
}
.main-menu > li > a:hover {
  color:#fff;
}
.main-menu > li > a.select {
  color:#fff;
}
/* DESKTOP DROPDOWN */
.has-mega:hover .mega-dropdown {
  display: block;
}

.mega-dropdown {
   display: none;
  position: absolute;
  top: 100%;
  right: 0;   /* 🔥 Open from RIGHT side */
  left: auto; /* Cancel left alignment */
  background: #fff;
  padding: 20px;
  /*min-width: 500px;*/
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}
/* When there is only 1 column */
.mega-row.one-col .mega-dropdown,
.mega-dropdown.one-col {
  width: 250px;      /* small width */
}

/* When there are 2 columns */
.mega-row.two-col .mega-dropdown,
.mega-dropdown.two-col {
  width: 450px;      /* medium width */
}

/* When 3 or more columns */
.mega-row.three-col .mega-dropdown,
.mega-dropdown.three-col {
  width: 700px;     /* large width */
}
.mega-row {
  display: flex;
  gap: 40px;
}
.mega-dropdown h3{
  font-size:22px;
  color: #200f3b;
  font-weight: 400;
  padding: 10px 0px;
}
.mega-col h4{
  font-size:18px;
  color: #200f3b;
  font-weight:700;
  padding: 10px 0px;
}
.mega-col a {
  display: block;
  padding: 4px 0;
  text-decoration: none;
   font-size:16px;
  color: #222;
}
.mega-col a:hover {
  text-decoration: underline;
}
.submenu-header {
    display: none;
  }
/* --------------------------- */
/* MOBILE VERSION              */
/* --------------------------- */
@media (max-width: 768px) {
  header.smaller{
    background: #000;
  }
   header.smaller .menu-toggle{
    top: 0;
  }
   header.smaller .menu-toggle {
    display: block;
    padding: 0px 0px;
    position: absolute;
    right: 20px;
    top: 20px;
  }
   header .nav-search-wrap {
    width: 100%;
    position: absolute;
    top:0px;
  }
  header.smaller .nav-search-wrap {
    width: 100%;
    position: absolute;
    top:0px;
  }
  .menu-toggle {
    display: block;
    padding: 0px 0px;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  .submenu-header {
    display: block;
  }
  .main-menu {
    display: none;
    flex-direction: column;
    background: #000;
    width: 100%;
    height: 100vh;
  }
  .main-menu.show {
    display: block;
    z-index: 9;
  }
  .main-menu > li > a {
    font-size: 16px;
    color: #fff;
    border-bottom: 1px solid #444;
  }

  /* HIDE DESKTOP DROPDOWNS */
  .mega-dropdown {
    display: none !important;
  }

  .mega-row {
    flex-direction: column;   /* Stack vertically */
    width: 100%;
  }
  .mega-col {
    width: 100% !important;   /* Full width */
    flex: unset !important;
  }
  .mega-col a {
    width: 100%;
    display: block;
  }

  /* SLIDE PANEL */
  .submenu-panel {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: #222;
    color: #fff;
    transition: left 0.35s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  .submenu-panel.active {
    left: 0;
  }

  .submenu-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #111;
    border-bottom: 1px solid #444;
  }

  .submenu-header button {
    background: none;
    border: 0;
    color: #fff;
    font-size: 16px;
    margin: 0px;
  }

  .submenu-content {
    padding: 20px;
  }

  .submenu-content h4 {
    color: #fff;
    margin-bottom: 10px;
  }

  .submenu-content a {
    color: #fff;
    padding: 8px 0;
    border-bottom: 1px solid #333;
    display: block;
  }
}

.menu-close {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

/* When menu open */
.main-menu.show ~ .menu-close {
  display: block;
}

/* Optional positioning */
.menu-close {
  position: absolute;
  top: 5px;
  right: 15px;
  z-index: 99;
}


.main-menu.show ~ .menu-toggle {
  display: none;
}

.main-menu.show ~ .menu-close {
  display: block;
}