:root {
  --yellow: #FDB813;
  --blue: #1B3679;
  --bg: #F0F2FA;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 18px;
}

.site-header {
  background: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 80px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.nav-toggle .bar {
  width: 24px;                   
  height: 2px;
  background-color: #000;      
  margin: 4px 0;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-list,
.nav-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #000;
  text-decoration: none;
  padding: 10px 0;
}

.nav-list a:hover {
  color: var(--yellow);
}

.hasDropdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nav-list li ul {
  position: absolute;
  top: 100%;
  left: -15px;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  padding: 10px 0;
  display: none;
  z-index: 20;
}

.nav-list li:hover > ul {
  display: block;
}

.nav-list li ul li a {
  width: 100%;
  padding: 10px 14px;
}

.navbar-nav li.hasDropdown > a::after {
  content: "▼";
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  color: var(--yellow);
  transition: transform 0.3s ease;
}

.navbar-nav li.hasDropdown:hover > a::after {
  transform: rotate(180deg);
}

@media (max-width: 980px) {

  .nav {
    flex-direction: column;
    height: auto;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .navbar-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;

  }

  .hamburger_container {
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;
    background: #eaeaea;
    padding: 10px 0;
  }

  .nav-toggle {
    display: flex;                
    flex-direction: column;     
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-list {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 16px;
    border-top: 1px solid rgba(0,0,0,.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-list > li > a {
    width: 100%;
    padding: 12px 0;
  }

  .nav-list li:hover > ul {
    display: none;
  }

  .nav-list li ul {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    padding-left: 12px;
  }

  .nav-list li.sub-open > ul {
    display: flex;
  }
}
