.mains-container {
  width: 1280px;
  margin: auto;
}

.ms-club {
  display: none !important;
}

@media screen and (max-width: 1200px) {
  .mains-container {
    width: 1199px;
    margin: 0 auto;
  }

}

.mobile-header {
  display: none;
}

@media screen and (max-width: 820px) {
  .legacyExcellence {
        display: block !important;
   }

  .sdfsd {
     margin-bottom: 20px;
  }
}

@media screen and (max-width: 1110px) {
  .mains-container {
    width: 1024px;
    max-width: calc(100% - 20px) !important;
  }

  .mobile-header.sdsaf {
    display: block;
  }

  header.desktop-header {
    display: none !important;
  }

  .mobile-header-menu.mhm {
    position: sticky;
    z-index: 99;
    width: 100%;
    top: 0;
    background: #fff;
    box-shadow: 2px 2px 5px #b6b6b636, -2px -2px 2px #ffffff;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    justify-content: space-between;
  }

  .navbar {
    background: #002a5b;
    height: 100vh;
    position: fixed;
    left: 0;
    width: 80%;
    z-index: 999;
    -webkit-transition: all 0.5s;
    transform: translateX(-100%);
    top: 0;
  }

  .mobile-submenu {
    width: 100%;
    display: none;
  }

  .arrow-rotate {
    transform: rotate(180deg);
  }

  .navbar ul li a {
    /* background: #fff; */
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    padding: 12px;
    border-bottom: 1px solid #64606038;
  }
.navbar ul li ul li ul {
    top: auto !important;
    left: 0 !important;
    width: 100%;
}
}


.stick-header {
  position: sticky;
  top: 0px;
  background: #fff;
  z-index: 999;
}

header {
  position: sticky;
  z-index: 999;
  width: 100%;
  top: 0;
  background: #fff;
  box-shadow: 2px 2px 5px #b6b6b636, -2px -2px 2px #ffffff;
  display: flex;
  align-items: center;
  padding: 16px 24px;
  justify-content: space-between;
}

header.desktop-header .navbar {
  min-width: 0;
  flex: 1 1 auto;
}

header.desktop-header .navbar ul {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.25rem;
}

header .navbar ul {
  display: flex;
  align-items: center;
}

.navbar ul li ul {
  display: none;
  position: absolute;
  /* border-radius: 4px; */
  min-width: 200px;
  z-index: 50;
  background-color: #fff;
  box-shadow: 0 3px 5px rgb(0 0 0 / 20%);
}
.navbar ul li a{
  font-size: 15px;
}
/* Show submenu on hover */
.navbar ul li:hover>ul {
  display: block;
}

/* Style submenu links */
.navbar ul li ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #000;
  white-space: nowrap;
  border-bottom: 1px solid #8080802b;
  font-size: 15px;
}

/* Parent items with nested dropdown — keep label + caret on one row */
.navbar ul li ul li a.group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.navbar ul li ul li a.group svg {
  flex-shrink: 0;
}

/* Nested flyout: point caret to the right */
.navbar ul li ul > li:has(> ul) > a.group svg {
  transform: rotate(-90deg);
}
.navbar ul li ul li a:hover {
  background-color: #001f3b;
  color: #fff;
}
.navbar ul li ul li ul {
  top: 0;
  left: 100%;
}
.navbar ul li ul li {
  position: relative;
}
.navbar ul li ul li ul li a {
  color: #000;
}
.navbar ul li {
  position: relative;
}
.navbar ul li ul {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}
.navbar ul li:hover>ul {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.navbar ul li ul li:hover>ul {
  display: block;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.excellen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.legacyExcellence {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-around;
}
.excellance-container{
  max-width: 1380px;
}