nav.custom-menu {
    padding: 14px 0;
}


  .custom-menu > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    right: 0;
    position: absolute;
    text-transform: uppercase;
    font-size: 14px;
}

.custom-menu li {
  position: relative;
  line-height: 1.5;
  margin: 0.5rem 0 0 0;
}


.custom-menu a {
    text-decoration: none;
    color: #0a0a40;
    padding: 8px 5px;
    display: block;
    font-weight: 500;
    white-space: nowrap;
    font-family: sans-serif;
}

.custom-menu a:hover {
  color: #ff3c00;
}

.has-mega-menu:hover .mega-menu {
  display: flex;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0%;
  transform: translateX(-70%);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 20px;
  z-index: 999;
  border-radius: 6px;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  width: 900px;
  max-width: 95vw;
  box-sizing: border-box;
}



.mega-column {
  width: 30%;
  min-width: 200px;
  padding: 0 10px;
  box-sizing: border-box;
}

.mega-column h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}

.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column ul li {
  margin-bottom: 6px;
}

.mega-column ul li a {
    text-decoration: none;
    color: #0a0a40;
    font-size: 12px;
    display: block;
    transition: 0.2s;
    white-space: normal;
    font-weight: 500;
    font-family: 'Inter var';
}

.mega-column ul li a:hover {
  color: #ff3c00;
}


@media screen and (max-width: 960px) {
.mega-menu {
  left: 10%;
  transform: translateX(-50%);
}
}