:target {
  padding-top: 100px; /* Adjust based on menu height */
  margin-top: -150px; /* Negative margin to offset padding */
  display: inline-block;
  padding-bottom: 50px;
}
* {
  scroll-behavior: smooth;
}
body::after {
  content: '';
  display: block;
  height: 150px; /* Match or slightly exceed the sticky menu height */
}

/* Sticky Menu Base Style */
.sticky-menu {
  padding-block: 16px;
  width: 100%;
  box-shadow: 0px 12px 30px 0px rgba(0, 0, 0, 0.1);
  border-bottom: #dfdfdf solid 1px;
  background: #fff; /* Ensure a solid background to overlay content */
  transition: all 0.3s ease; /* Optional for smooth transitions */
}

/* Sticky Behavior */
.is-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 767px) {
 .sticky-menu {
   display: none;
  }
}
.sticky-menu .hs-menu-wrapper {
  max-width: 1240px;
  margin: 0 auto;
}

.sticky-menu a {
  color: #124C80;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 19.8px;
}
.sticky-menu a:hover {
  text-decoration: underline;
}

.sticky-menu .hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* This is your minimum gap */
  justify-content: space-between; /* Distributes items with spacing */
  align-items: center;
}
@media screen and (max-width: 1260px) {
 .sticky-menu .hs-menu-wrapper ul {
   padding: 0 20px;
  }
}
@media screen and (max-width: 990px) {
 .sticky-menu .hs-menu-wrapper ul {
    column-gap: 40px;
    justify-content: center;
  }
}
.sticky-menu .hs-menu-wrapper ul li {
/*   flex: 1 1 calc(15% - 10px); /* Calculate item width minus the gap */ */
  box-sizing: border-box; /* Include padding and border in sizing */
  text-align: center;
}
