.container {
  position: relative;
}

.navbar-wrapper {
  /* position: sticky; */
  position: relative;
  top: 0;
  left: 0;
  background: #ebecf4;
  color: #000;
  height: 70px;
  font-family: var(--tikTok);
  font-size: 16px;
  z-index: 11;
  transition: all 0.3s ease;
  border-bottom: 1px solid #dbdefc;
}

.navbar-wrapper.scrolled {
  background: white;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-wrapper.scrolled .dropdown-menu {
  background: white;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-wrapper.scrolled .mobile-header {
  background: white;
}

.navbar-wrapper .container-content {
  display: flex;
  align-items: center;
}

.navbar {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.navbar-logo-wrapper {
  width: 160px;
}

.nav-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar-wrapper.scrolled .navbar-link-item {
  color: #000;
}

/* desktop menu */
.navbar-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.navbar-link-item {
  position: relative;
  cursor: pointer;
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-link-arrow {
  width: 12px;
  transition: transform 0.3s ease;
}

.navbar-wrapper.scrolled .navbar-link-arrow {
  filter: brightness(0.2);
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: -20px;
  background: #ebecf4;
  border-radius: 10px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  color: #5d5d5f;
}

.dropdown-item {
  cursor: pointer;
}

// .dropdown-item:hover {
//   color: #023e92;
// }

.navbar-link-item.dropdown:hover .dropdown-header {
  text-decoration: underline;
}

.navbar-link-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-link-item.dropdown:hover .navbar-link-arrow {
  transform: rotate(-180deg);
}

.lang-header {
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #5a6575;
  transition: all 0.3s;
  background: transparent;
}

.lang-header:hover {
  background: #5a657566;
}

.activeLang {
  color: #023e92;
}

.lang-menu {
  right: 0;
  left: unset;
  min-width: unset;
  width: 94px;
}

/* mobile */
.mobile-menu {
  display: none;
}

.mobile-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 15px 0;
}

.mobile-lang-dropdown {
  position: relative;
  order: -1;
  margin-right: auto;
}

.mobile-lang-header {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: #f7f7f7;
  padding: 7px;
  font-family: var(--tikTok);
  color: #393939;
  font-weight: 500;
  border-radius: 5px;
}

.mobile-dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.mobile-lang-menu {
  position: absolute;
  right: 0;
  top: 115%;
  background: #ebecf4;
  color: #393939;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  display: none;
  z-index: 110;
  list-style: none;
  margin: 0;
}

.mobile-lang-menu.active {
  display: block;
}

.mobile-lang-menu.active + .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-lang-option {
  padding: 8px 12px;
  cursor: pointer;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0e2b56;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-btn.active {
  background: transparent;
}

.burger-btn.active span {
  background: #0e2b56;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  color: #333;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  z-index: 1000;
  padding: 80px 20px 20px;
}

.mobile-menu-content.active {
  transform: translateX(0);
}

.mobile-close-btn {
  position: absolute;
  top: 25px;
  right: 20px;
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  color: #333;
  cursor: pointer;
  z-index: 1001;
}

.mobile-close-btn svg {
  width: 100%;
  height: 100%;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #eee;
}

.mobile-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f9f9f9;
  list-style: none;
  margin: 0;
  padding: 0 0 0 15px;
}

.mobile-nav-item.active .mobile-dropdown-menu {
  max-height: 500px;
}

.mobile-nav-item.active .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-dropdown-item {
  padding: 12px 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 992px) {
  .navbar-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/*sections*/

.section-main {
  font-family: var(--tikTok);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #e5e7f1;
  color: #000;
  margin-bottom: 20px;
}

.section-main:first-child {
  margin-top: 60px;
}

.section-main:last-child {
  margin-bottom: 112px;
}

.section-main-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 54px;
  letter-spacing: 0%;
}

.section-main-txt {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
}

.section-main-list-link {
  color: #007aff;
  text-decoration: underline;
}

/* footer */

.footer {
  padding: 60px 0;
  width: 100%;
  height: 100%;
  background-color: #172b54;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  font-family: var(--tikTok);
  color: #fff;
}

.footer-parts {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo {
  width: 290px;
  height: fit-content;
  margin-bottom: 25px;
}

.footer-txt {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 15px;
}

.footer-txt-small {
  color: #cfcaca;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 15px;
}

.footer-img-wrapper {
  display: flex;
  gap: 20px;
}

.footer-img {
  width: 40px;
  height: 40px;
}

.footer-note {
  font-weight: 400;
  font-size: 14px;
}

.footer-right-part {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.footer-right-part-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1200px) {
  .container-content {
    padding: 0 20px;
  }
}

@media (max-width: 992px) {
  .footer-parts {
    gap: 34px;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .section-main-title {
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
  }

  .section-main:first-child {
    margin-top: 38px;
  }

  .section-main:last-child {
    margin-bottom: 38px;
  }
}

@media (max-width: 576px) {
  .footer-right-part {
    flex-wrap: wrap;
  }
  .footer-right-part-list {
    width: 40%;
  }

  .logo-list {
    max-width: 100%;
  }

  .logo-list-item {
    padding: 0 5px;
  }
}
