html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PingFang TC", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-width: 375px;
}
body.menu-open {
  overflow: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.header {
  background-color: #0f1e37;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1003;
  height: 126.7px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}
.header--scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.header__container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 0 40px 0;
}
@media (max-width: 1439px) {
  .header__container {
    max-width: 1340px;
  }
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: block;
  width: 250px;
  height: 46.7px;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.header__logo:hover {
  opacity: 0.8;
}
.header__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left;
  transition: opacity 0.3s ease;
}
.header__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  display: none;
  padding: 8px;
  z-index: 1001;
}
.header__menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}
.header__menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.header__menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.header__navigation {
  display: flex;
  align-items: center;
  gap: 128px;
  padding: 0 32px;
}
.header__links {
  display: flex;
  align-items: center;
  gap: 60px;
}
.header__link-item {
  flex-shrink: 0;
}
.header__link {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  transition: color 0.3s ease, opacity 0.3s ease;
  position: relative;
}
.header--scrolled .header__link {
  color: #0F1E37;
  opacity: 0.6;
}
.header__link--active {
  color: rgb(255, 255, 255);
  opacity: 1;
}
.header--scrolled .header__link--active {
  color: #0F1E37;
  opacity: 1;
}
.header__link:hover {
  color: rgb(255, 255, 255);
  opacity: 1;
}
.header--scrolled .header__link:hover {
  color: #0F1E37;
  opacity: 1;
}
.header__link--active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
}
@media (max-width: 1023px) {
  .header__link--active::after {
    bottom: auto;
    left: -16px;
    width: 4px;
    height: 100%;
  }
}
.header--scrolled .header__link--active::after {
  background-color: #d32d49;
}
.header__language {
  position: relative;
  flex-shrink: 0;
}
.header__language-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  color: #ffffff;
  transition: opacity 0.3s ease;
}
.header__language-btn:hover {
  opacity: 0.8;
}
.header__language-btn {
  transition: color 0.3s ease;
}
.header--scrolled .header__language-btn {
  color: #0F1E37;
}
.header__language-btn:hover {
  opacity: 0.8;
}
.header__language-btn:hover .header__language-icon {
  transform: rotate(180deg);
}
.header__language-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  white-space: nowrap;
}
.header__language-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.header--scrolled .header__language-icon path {
  stroke: #0F1E37;
}
.header__language-dropdown-wrapper {
  position: absolute;
  top: calc(100% + 8px);
  right: -20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 100;
}
.header__language-dropdown-arrow {
  width: 16px;
  height: 9px;
  display: block;
  margin: 0 auto 0 auto;
  position: relative;
  z-index: 101;
}
.header__language-dropdown {
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 167px 0 rgba(0, 0, 0, 0.07), 0 0 97.803px 0 rgba(0, 0, 0, 0.05), 0 0 53.193px 0 rgba(0, 0, 0, 0.04), 0 0 13.607px 0 rgba(0, 0, 0, 0.03);
  min-width: 120px;
  overflow: hidden;
}
.header__language-dropdown li a {
  display: block;
  padding: 10px 16px;
  color: #111;
  font-size: 14px;
  text-align: center;
  transition: color 0.2s ease;
}
.header__language-dropdown li a:hover {
  color: #d32d49;
  font-weight: 500;
}
.header__language-dropdown li a.active {
  color: #d32d49;
  font-weight: 500;
}
.header__language:hover .header__language-dropdown-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 1439px) {
  .header__navigation {
    gap: 60px;
    padding: 0 16px;
  }
  .header__links {
    gap: 40px;
  }
  .header__link {
    font-size: 16px;
  }
  .header__language-text {
    font-size: 13px;
  }
}
@media (max-width: 1023px) {
  .header {
    height: 64px;
  }
  .header__container {
    padding: 16px;
    height: 64px;
  }
  .header__logo {
    width: 170px;
    height: 32px;
  }
  .header__menu-toggle {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 64px;
    height: 64px;
    background-color: #d32d49;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .header__menu-toggle span {
    width: 20px;
  }
  .header__navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #0f1e37;
    flex-direction: column;
    align-items: center;
    padding: 64px 40px 55px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: none;
    overflow-y: auto;
    z-index: 1000;
  }
  .header__navigation.active {
    right: 0;
  }
  .header__links {
    flex-direction: column;
    align-items: center;
    width: auto;
    gap: 32px;
    padding-top: 40px;
  }
  .header__link {
    font-size: 20px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.6);
  }
  .header--scrolled .header__link {
    color: #0F1E37;
    opacity: 0.6;
  }
  .header__navigation.active .header__link {
    color: rgba(255, 255, 255, 0.6) !important;
  }
  .header__link--active {
    color: #ffffff;
  }
  .header--scrolled .header__link--active {
    color: #0F1E37;
    opacity: 1;
  }
  .header__navigation.active .header__link--active {
    color: #ffffff !important;
  }
  .header--scrolled .header__link:hover {
    color: #0F1E37;
    opacity: 1;
  }
  .header__navigation.active .header__link:hover {
    color: #ffffff !important;
  }
  .header__link--active::after {
    background-color: #d32d49;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
  }
  .header--scrolled .header__link--active::after {
    background-color: #d32d49;
  }
  .header__navigation.active .header__link--active::after {
    background-color: #d32d49 !important;
  }
  .header__language {
    width: 100%;
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    background-color: #0f1e37;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    min-height: 55px;
    height: auto;
  }
  .header__navigation.active .header__language {
    color: #ffffff !important;
  }
  .header__navigation.active .header__language {
    opacity: 1;
    visibility: visible;
  }
  .header__navigation.active .header__language-icon path {
    stroke: #ffffff !important;
  }
  .header__language-btn {
    display: none;
  }
  .header__language-text {
    font-size: 16px;
  }
  .header__language-icon {
    width: 18px;
    height: 18px;
  }
  .header__language-dropdown-wrapper {
    position: static;
    transform: none;
    margin: 0;
    opacity: 1;
    visibility: visible;
  }
  .header__language-dropdown-arrow {
    display: none;
  }
  .header__language-dropdown {
    background-color: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-width: auto;
  }
  .header__language-dropdown li a {
    color: #ffffff;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    padding: 0;
  }
  .header__navigation.active .header__language-dropdown li a {
    color: #ffffff !important;
  }
  .header__language-dropdown li a.active {
    color: #d32d49;
  }
  .header__navigation.active .header__language-dropdown li a.active {
    color: #d32d49 !important;
  }
  .header__language:hover .header__language-dropdown-wrapper {
    opacity: 1;
    visibility: visible;
  }
  .header__language.active .header__language-dropdown-wrapper {
    opacity: 1;
    visibility: visible;
    max-height: none;
  }
}

.header-overlay {
  display: none;
}
@media (max-width: 1023px) {
  .header-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }
  .header-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

#cooperation {
  scroll-margin-top: 120px;
}

#pricing {
  scroll-margin-top: 120px;
}

#about {
  scroll-margin-top: 120px;
}

/*# sourceMappingURL=header.css.map */
