.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  box-shadow: 0px 2.67px 5.33px #00000014;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  z-index: 1000;
}
.navbar .logo {
  height: 68px;
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 210px;
}
.navbarMenu {
  display: flex;
  gap: 53px;
}
.nav-link {
  font-family: "Playfair Display", Helvetica;
  font-weight: 400;
  color: #1b2774;
  font-size: 18px;
  line-height: 150%;
  padding-bottom: 4px;
  white-space: nowrap;
  position: relative;
}
.nav-link.active::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease-in-out;
}
.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
  transform: scaleX(1);
}


.cta-button {
  position: relative;
  padding: 10px 60px;
  background-color: #1a8fd0;
  border: 1px solid #000000;
  font-weight: 700;
  color: #f3f5ff;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  /* overflow: hidden; */
  z-index: 1;
  transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transform: scale(0);
  transform-origin: top left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.cta-button:hover::before {
  transform: scale(1);
}
.cta-button:hover {
  color: #1a8fd0;
  border-color: #1a8fd0;
}

.discoverHeaderButton:after {
  content: "";
  position: absolute;
  right: -11px;
  top: -11px;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  background-color: #ffffff;
  border-bottom: 1px solid #1b2774;
}
.discoverHeaderButton:before {
  content: "";
  position: absolute;
  left: -11px;
  bottom: -11px;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  background-color: #ffffff;
  border-top: 1px solid #1b2774;
}


.hamburger {
  display: none;
}
.firstSection {
  margin-top: calc(
    80px + 34px
  );
}
@media screen and (max-width: 1440px) {
  .nav-container {
    gap: 110px;
  }
}
@media screen and (max-width: 1280px) {
  .nav-container {
    gap: 60px;
  }
  .navbarMenu {
    gap: 30px;
  }
  .cta-button {
    padding: 10px 30px;
  }
}
@media screen and (max-width: 1080px) {
  .navbar {
    padding: 0 2.5%;
  }
  .nav-container {
    gap: 30px;
  }
  .cta-button {
    padding: 10px 20px;
  }
}
@media screen and (max-width: 990px) {
  .nav-container {
    gap: 20px;
  }
  .navbarMenu {
    gap: 20px;
  }
}
@media screen and (max-width: 768px) {
  .navbar {
    height: 60px;
  }
  .hamburger {
    display: block;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .hamburger img {
    height: 50px;
  }
  .cta-button {
    padding: 8px 15px;
  }
  .navbar .logo {
    height: 50px;
  }
  .navbarMenu {
    position: absolute;
    width: 300px;
    height: calc(100vh - 60px);
    top: 60px;
    padding: 20px 16px;
    right: -300px;
    background-color: #f3f5ff;
    flex-direction: column;
    gap: 16px 0;
    transition: right 0.3s ease-in-out;
    border-left: 1px solid #bdb4b4;
  }
  .navbarMenu.active {
    right: 0;
  }
  .firstSection {
    margin-top: 80px;
  }
}
@media screen and (max-width: 480px) {
  .nav-container {
    gap: 10px;
  }
  .cta-button {
    padding: 6px 10px;
    font-size: 14px;
    display: none;
  }
  .hamburger i {
    font-size: 24px;
  }
  .firstSection {
    margin-top: calc(60px + 16px);
  }
}
