.navbar-internal.nav-links {
  position: sticky;
  backdrop-filter: blur(10px);
  padding: 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  z-index: 13;
  background: white;
  top: 152px;
  border-top: 1px solid #EEE;
  border-bottom: none;
  @media (min-width: 992px) and (max-width: 1030px) {
    top: 164px;
  }
}

/* Default link styling (no tag appearance) */
.navbar-internal__link {
  border-radius: 4px;
  display: flex;
  padding: 5px 12px 3px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--CHARCOAL, #1D2D3A);
  width: fit-content;
  text-decoration: none;
  font-family: var(--font-agenda);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

/* Hover state for better UX */
.navbar-internal__link:hover {
  background: rgba(241, 107, 80, 0.1);
  color: var(--Coral, #f16b50);
  border-color: rgba(241, 107, 80, 0.2);
}

/* Active state - applies the tag styling (exclusive) */
.navbar-internal__link.tag-active {
  background: #f16b50;
  color: #fff;
  border-color: #f16b50;
}

/* Keep existing .tag styles for other elements that use it */
.tag {
  border-radius: 4px;
  background: #f16b50;
  display: flex;
  padding: 5px 12px 3px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  width: fit-content;
  font-family: var(--font-agenda);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.navbar-internal.nav-links a {
  font-size: 20px;
  display: block;
  text-transform: none;
}

.nav-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 24px;
}
.navbar-internal.nav-links .navbar-internal__link {
  text-align: center;
}
/* Active link styles */
.navbar-internal.nav-links .navbar-internal__link.tag-active {
  padding: 5px 12px;
  background: var(--Coral, #f16b50);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  margin: auto 0;
}
/* Dropdown toggle styles */
.dropdown-toggle {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.dropdown-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropdown-arrow {
  width: 24px;
  height: 24px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
.dropdown-toggle-btn.active .dropdown-arrow {
  transform: rotate(-90deg);
}

/* Desktop */
@media (min-width: 992px) {
  .nav-links {
    display: flex;
    align-items: center;
  }
  .nav-header {
    display: none;
  }
  .mobile-dropdown-content {
    display: none;
  }
  .desktop-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
  }
  .navbar-internal__link {
    padding: 5px 12px;
    text-decoration: none;
    color: var(--CHARCOAL, #1D2D3A);
    font-weight: 400;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    border-radius: 8px;
  }
  .navbar-internal__link:last-child {
    border-right: none;
  }
  .navbar-internal__link:hover {
    background-color: #f8f9fa;
    color: #333;
  }
  .navbar-internal__link.tag-active {
    background: var(--Coral, #f16b50);
    color: white;
    font-weight: 700;
  }
  .navbar-internal.nav-links .navbar-internal__link,
  .navbar-internal.nav-links .navbar-internal__link.tag-active {
    flex: initial;
    margin-right: 0;
  }
}
@media (max-width: 991px) {
  .navbar-internal.nav-links {
    top: 102px;
    padding: 0;
    gap: 0;
    border-radius: 0;
    background: white;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
  }
  .desktop-links {
    display: none;
  }
  .mobile-dropdown-content {
    display: none;
    background: white;
    width: 100%;
  }
  .mobile-dropdown-content.active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 8px 24px;
    gap: 16px;
  }
  .mobile-dropdown-single-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .mobile-dropdown-content .navbar-internal__link {
    display: block;
    padding: 8px 12px 4px 12px;
    text-decoration: none;
    color: var(--STEEL, #515861);
    font-weight: 400;
    transition: background-color 0.2s ease;
    text-align: center;
    flex: 1;
    margin-right: 48px;
    background: white;
  }
  .mobile-dropdown-content .navbar-internal__link:hover {
    background-color: #f8f9fa;
    color: #333;
  }
  .mobile-dropdown-content .navbar-internal__link.tag-active {
    background: var(--Coral, #f16b50);
    color: white;
    font-weight: 700;
  }
  .navbar-internal.nav-links .navbar-internal__link,
  .navbar-internal.nav-links .navbar-internal__link.tag-active {
    flex: 1;
    margin-right: 48px;
  }
  .navbar-internal.nav-links:has(
      .mobile-dropdown-content.active
    ) {
    padding: 0;
    border-radius: 0;
    gap: 0;
    background: white;
  }
}

.sticky-internal-navbar {
  position: fixed;
  top: 152px;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  @media (max-width: 991px) {
    top: 102px;
  }
}

.hide-internal-navbar {
  transform: translateY(-430%);

  @media (max-width: 991px) {
    transform: none;
  }
}
