:root {
  --brand-primary: #009180;
  --text-color: #080808;
  --background-color: #ffffff;
  --background-secondary: #f7f7f7;
  --button-bg: #080808;
  --button-text: #ffffff;
  --link-hover: var(--navigation--link-hover);
}

.navbar_link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--link-hover);
  transition: width 0.4s, left 0.4s;
}

.navbar_link:hover::after {
  width: 100%;
  left: 0;
}

/* Active States */
.navbar_menu-dropdown.active .dropdown-chevron {
  transform: rotate(180deg);
}

.navbar_menu-dropdown.active .navbar_dropdown-list {
  opacity: 1;
  visibility: visible;
}

.w-nav-overlay {
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

/* Hamburger active state */
.navbar_menu-button.w--open .menu-icon_line-top {
  transform: translateY(8px) rotate(45deg);
}

.navbar_menu-button.w--open .menu-icon_line-middle {
  opacity: 0;
}

.navbar_menu-button.w--open .menu-icon_line-bottom {
  transform: translateY(-8px) rotate(-45deg);
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 991px) {
  .navbar_menu {
    display: none;
    margin-left: 0;
    position: static;
  }

  .navbar_menu-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    color: white;
  }

  .navbar_menu-button {
    display: flex;
  }

  .navbar_dropdown-toggle {
    padding: 0.75rem 0;
    width: 100%;
    justify-content: space-between;
  }

  .navbar_dropdown-list {
    padding-left: 0;
    padding-right: 0;
    background-color: var(--text-color);
    border-bottom: none;
    height: 0;
    visibility: visible;
    opacity: 1;
    position: static;
  }

  .navbar_dropdown-content {
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .navbar_link {
    padding: 0.75rem 0;
    width: 100%;
    color: white;
  }

  .navbar_menu-right {
    margin-top: 1.5rem;
    width: 100%;
  }

  .navbar_bottom-bar {
    display: none;
  }

  .w-nav-overlay {
    display: block;
    background-color: var(--text-color);
  }

  .w-nav-overlay .navbar_menu {
    display: block;
    padding: 1rem 5vw;
    height: 100%;
    overflow-y: auto;
  }
}

@media screen and (max-width: 479px) {
  .navbar_dropdown-content {
    flex-direction: column;
  }
}

.navbar_menu-dropdown {
  width: 100%;
}
