.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.mobile-menu-btn.is-open {
  visibility: hidden;
}

.mobile-menu-btn::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url("/images/menu.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -180%;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background-color: #146f9c;
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 21px 16px;
  border-bottom: 1px solid #13658d;
  box-shadow: 0px 1px 0px #007bbf;
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
}

.close-btn::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url("/images/menu-close.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
}

.drawer-list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #ffffff;
  text-decoration: none;
  font-size: 29px;
  line-height: 1.2;
  padding: 14px 20px 14px 26px;
  min-width: 200px;
  border-bottom: 1px solid #13658d;
  box-shadow: 0px 1px 0px #007bbf;
  transition: background-color 0.3s;
}

.drawer-link::after {
  content: "";
  display: inline-block;
  width: 19px;
  height: 11px;
  background-color: #ffffff;

  mask-image: url("/images/dropdown.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  -webkit-mask-image: url("/images/dropdown.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  transform: rotate(-90deg);
}


.drawer-link:hover {
  background-color: #0f5c85;
}

.drawer-link.active {
  font-weight: bold;
}

.language-drawer .drawer-link {
  font-size: 22px;
}

.slogan {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19.6px;
  line-height: 1.2;
  margin: 24px 0 50px;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
}

.header {
  background: var(--header-bg, #146f9c);
  padding: 30px 24px 20px 24px;
  position: relative;
  z-index: 10;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 17px;
  color: white;
}

.logo a {
  height: 37px;
}

.logo img {
  width: 171px;
  height: 37px;
}

.slogon {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  padding-left: 14px;
  text-wrap: nowrap;
}

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

.nav a {
  color: white;
  text-decoration: none;
  font-family: "Figtree";
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  padding: 12px 24px;
  border-radius: 50px;
  transition: background 0.3s ease;
}

.nav a:hover {
  background: #086390;
}

.nav a.active {
  background: #ffffff;
}

.header--home {
  --header-bg: #146f9c;
}

.header--top-rated {
  --header-bg: #146f9c;
}

.nav-container {
  display: flex;
  align-items: center;
}

.language-dropdown {
  position: relative;
  border-left: 1px dotted rgba(255, 255, 255, 0.5);
  padding-left: 40px;
  margin-left: 23px;
}

.dropdown-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.dropdown-btn.is-open {
  visibility: hidden;
}

.dropdown-btn::after {
  content: "";
  width: 15px;
  height: 9px;
  background: url("/images/arrow-down.svg") no-repeat center center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.dropdown-btn.active::after {
  transform: rotate(180deg);
}

.dropdown-label {
  display: inline-block;
}

.dropdown-short {
  display: none;
}

@media (max-width: 1024px) {
  .dropdown-btn {
    width: 40px;
    height: 40px;
  }

  .dropdown-label {
    display: none;
  }

  .dropdown-short {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 2.2
  }
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: -10px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  width: 134px;
  margin-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 99999;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 7px 25px 7px 25px;
  color: #146f9c;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 4px;
  height: 7px;
  background: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(-50%);
}

.dropdown-item:hover::before,
.dropdown-item.active::before {
  background-image: url("/images/arrow-right.svg");
}

.dropdown-item:hover,
.dropdown-item.active {
  color: #101213;
  background-color: #f5f5f5;
}

/* Responsive header tweaks */
@media (max-width: 1200px) {
  .slogon {
    padding-left: 0;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    font-size: 18px;
    padding: 10px 16px;
  }

  .language-dropdown {
    padding-left: 13px;
    margin-left: 13px;
  }

  .dropdown-label {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  .header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .header {
    padding: 20px 16px 20px 16px;
    z-index: 10;
  }

  .nav-container {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .logo {
    position: relative;
  }

  .header .logo img {
    content: url('/images/logo-mobile.svg');
  }

  .slogon {
    position: absolute;
    bottom: -9px;
    right: 18px;
    padding-left: 0;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.9;
  }

  .drawer-header .logo img {
    content: url('/images/logo.svg');
    width: 189px;
  }

  .mobile-drawer .slogan {
    color: #114f6e;
    font-size: 19.6px;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0.5px 0.866px rgba(26, 119, 165, 0.75);
    transform: scale(0.92);
  }

  .language-dropdown {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }

  .dropdown-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #247eaa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .dropdown-btn::after {
    display: none;
  }

  .dropdown-menu {
    right: 0;
  }
}

/* Visually hidden but accessible text (for sr-only spans) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}