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

@font-face {
  font-family: "AGG";
  src: url("./assets/fonts/AvantGardeLT-Bold.ttf") format("truetype");
}

html,
body {
  height: 100%;
  min-height: 100vh;
}

body {
  font-family: "AGG", "Avant Garde", "Century Gothic", sans-serif;
  display: flex;
  flex-direction: column;
}

.navbar {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  background-color: #001a41;
  z-index: 1000;
}
.navbar .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to top, #001a41 1px, #18bde6 1px);
}
.navbar .top svg {
  height: 100%;
}
.navbar .top svg.desktop {
  display: none;
}
@media (min-width: 768px) {
  .navbar .top svg.desktop {
    display: flex;
  }
  .navbar .top svg.mobile {
    display: none;
  }
}
.navbar .top .magnifying-glass {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5%;
  gap: 24px;
  cursor: pointer;
}
.navbar .top .magnifying-glass span {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  color: #001a41;
  display: none;
}
@media (min-width: 768px) {
  .navbar .top .magnifying-glass span {
    display: flex;
  }
}
.navbar .top .magnifying-glass:hover {
  opacity: 0.8;
}
.navbar .nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  width: 100%;
}
.navbar .nav-wrapper .icon {
  bottom: 24px;
  position: relative;
}
.navbar .nav-wrapper .desktop-menu {
  display: none;
}
@media (min-width: 769px) {
  .navbar .nav-wrapper .desktop-menu {
    display: flex;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
  }
  .navbar .nav-wrapper .desktop-menu li a {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    color: white;
  }
  .navbar .nav-wrapper .desktop-menu li.current-menu-item a {
    font-weight: 700;
  }
}
.navbar .nav-wrapper .hamburger-menu {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 30px;
  border: none;
  background: none;
  padding: 0;
  z-index: 1100;
  order: 1;
  display: flex;
}
@media (min-width: 768px) {
  .navbar .nav-wrapper .hamburger-menu {
    display: none;
  }
}
.navbar .nav-wrapper .hamburger-menu .bar {
  width: 30px;
  height: 3px;
  background: white;
  border-radius: 2px;
  margin: 3px 0;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: block;
}
.navbar .nav-wrapper .hamburger-menu.active .bar1 {
  transform: rotate(45deg) translate(6px, 6px);
}
.navbar .nav-wrapper .hamburger-menu.active .bar2 {
  opacity: 0;
  transform: translateX(-20px);
}
.navbar .nav-wrapper .hamburger-menu.active .bar3 {
  transform: rotate(-45deg) translate(7px, -7px);
}
.navbar .navbar-menu {
  display: flex;
  position: absolute;
  margin: 0;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  list-style-type: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 -4px 6px rgba(0, 0, 0, 0.1);
}
@media (min-width: 769px) {
  .navbar .navbar-menu {
    display: none;
  }
}
.navbar .navbar-menu li {
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid #18bde6;
  background-color: white;
  transition: background-color 0.3s ease;
}
.navbar .navbar-menu li:last-child {
  border-bottom: none;
}
.navbar .navbar-menu li a {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  width: 100%;
  display: block;
  color: #001a41;
  padding: 0 5%;
  position: relative;
  transition: color 0.2s ease;
  text-transform: uppercase;
}
.navbar .navbar-menu li a::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #9b9b9b;
  border-right: 2px solid #9b9b9b;
  transform-origin: center center;
  transform: translate3d(0, -50%, 0) rotate(45deg);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease, opacity 180ms ease;
  will-change: transform, opacity;
}
.navbar .navbar-menu li a:hover,
.navbar .navbar-menu li a:focus-visible {
  color: #001a41;
}
.navbar .navbar-menu li a:hover::after,
.navbar .navbar-menu li a:focus-visible::after {
  border-top-color: #18bde6;
  border-right-color: #18bde6;
  transform: translate3d(12px, -50%, 0) rotate(45deg) scale(1.04);
  opacity: 1;
}
.navbar .navbar-menu li a::after {
  opacity: 0.95;
}
@media (prefers-reduced-motion: reduce) {
  .navbar .navbar-menu li a::after {
    transition: none;
    transform: translate3d(0, -50%, 0) rotate(45deg);
  }
}
.navbar .navbar-menu.active {
  max-height: fit-content;
  opacity: 1;
  overflow: visible;
}

footer {
  padding: 40px 5% 24px 5%;
  background-color: #3746501a;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  justify-content: center;
}

footer img {
  max-width: 210px;
  height: auto;
}

footer p {
  font-weight: 500;
  font-style: Regular;
  font-size: 12px;
  line-height: 135%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
  padding-top: 12px;
  border-top: 1px solid black;
  width: 100%;
}

footer p a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

section {
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 1;
  min-height: 0;
}

section .content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

section .content h1 {
  font-weight: 700;
  font-style: Bold;
  font-size: 64px;
  line-height: 72px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #001a41;
}

section .content h2 {
  font-weight: 500;
  font-style: Regular;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

section .bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

@media (max-width: 767px) {
  section .content {
    gap: 16px;
  }
  section .content h1 {
    font-weight: 700;
    font-style: Bold;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
  }
  section .content h2 {
    font-weight: 500;
    font-style: Regular;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
  }

  section .bg {
    display: none;
  }
}
