.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #efeeee;
  box-shadow: 0 0 5px #011f6b;
  transition: background-color 0.3s ease;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  z-index: 1000;
}

.header .site-logo {
  width: 20%;
  cursor: pointer;
}

.header .site-logo img {
  height: 50px;
  transition: all 0.5s linear;
  margin: 0.6rem 0 0;
}

.header .site-logo a:hover {
  border-bottom: none !important;
}

nav {
  width: 80%;
}

nav .desktop {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

nav .desktop li {
  list-style-type: none;
}

nav .desktop li a {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
}

.feature ul {
  display: none;
}

.feature:hover ul {
  display: block;
  position: absolute;
  transition: all 0.5s ease-in-out;
}

.feature:hover ul li {
  border-bottom: 1px solid #efeeee;
  margin: 0.2rem 0 0;
  padding: 0.4rem 0.9rem;
  background: #ffd9cb;
  box-shadow: 0 0 5px #011f6bba;
}

.header .navbar-scrolled,
.navbar-not-at-top {
  height: 3rem;
  background-color: #ededed;
  box-shadow: 0px 2px 4px #011f6bab;
  transform: translateY(-100%);
}

.header .navbar-scrolled,
.navbar-not-at-top ul li a {
  font-size: 0.8rem;
}

.header .navbar-scrolled,
.navbar-not-at-top .site-logo img {
  height: 40px;
  margin: 0.6rem 0 0;
  transition: all 0.5s linear;
}

.header .navbar-visible,
.navbar-not-at-top {
  transform: translateY(0%);
  background-color: #ededed;
}

.header .navbar-visible,
.navbar-not-at-top a {
  color: #011f6b;
}

.header .navbar-visible,
.navbar-not-at-top .active {
  transition: all 0.3s ease-in-out;
  border-bottom: 2px solid #ff4500;
  color: #ff4500;
  padding: 0.3rem 0;
}

.header .navbar-visible,
.navbar-not-at-top a:hover {
  color: #ff4500 !important;
  border-bottom: 2px solid #ff4500;
}

.header .navbar-at-top {
  background: #fff !important;
}

.navbar-at-top .active {
  transition: all 0.3s ease-in-out;
  color: #011f6b;
  border-bottom: 2px solid #011f6b;
  padding: 0.3rem 0;
}

.navbar-at-top a:hover {
  color: #011f6bba !important;
  border-bottom: 2px solid #011f6bba !important;
}

.navbar-at-top .desktop li a {
  color: #011f6b !important;
}

@media (min-width: 1025px) {
  .side-menu {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header {
    padding: 0.3rem 1rem;
  }

  .header .desktop {
    display: none !important;
  }

  .header .menu-trigger {
    cursor: pointer;
    padding: 10px;
    color: #18026e;
    float: right;
  }

  .header .menu-close {
    cursor: pointer;
    text-align: right;
    padding: 10px 10px 0 0;
    color: #18026e;
  }

  .side-menu {
    height: 90vh;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    background: #efeeee;
    box-shadow: 0 0 5px #011f6bab;
    border-radius: 15px 0 0 15px;
  }

  @keyframes appear {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }

  @keyframes slideIn {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }

  @keyframes slideOut {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(100%);
    }
  }

  .menu-item {
    display: block;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #dcdcdc;
    width: 100%;
    cursor: pointer;
    animation: appear, slideIn 0.3s ease-in-out 1;
  }

  @keyframes slideInItem {
    0% {
      opacity: 0;
      transform: translateX(-50%);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .menu-item {
    opacity: 0; /* Initially hide menu items */
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .animate-slide {
    animation: slideInItem 0.3s forwards;
  }

  @keyframes slideInItem {
    0% {
      opacity: 0;
      transform: translateY(-20px); /* Start animation from slightly above */
    }
    100% {
      opacity: 1;
      transform: translateY(0); /* End animation at its original position */
    }
  }

  .menu-item {
    display: block;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #dcdcdc;
    width: 100%;
    cursor: pointer;
    animation: appear 0.3s ease-in-out 1; /* Apply initial appearance animation */
  }

  .animate-slide {
    animation: slideInItem 0.3s ease-in-out forwards;
  }

  .menu-item:last-child {
    border-bottom: none;
  }

  .menu-item:hover {
    color: #c1c1c1;
  }

  .menu-item a {
    color: #011f6b;
    text-decoration: none;
  }

  .gg-push-chevron-right-o,
  .gg-push-chevron-left-o {
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    transform: scale(var(--ggs, 1));
    width: 22px;
    height: 22px;
    border: 2px solid;
    border-radius: 100px;
    animation: appear 0.3s ease-in-out 1;
  }

  .gg-push-chevron-right-o::after,
  .gg-push-chevron-right-o::before,
  .gg-push-chevron-left-o::after,
  .gg-push-chevron-left-o::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    top: 5px;
    animation: appear 0.3s ease-in-out 1;
  }

  .gg-push-chevron-right-o::after,
  .gg-push-chevron-left-o::after {
    width: 2px;
    height: 8px;
    border-right: 2px solid;
    right: 5px;
    animation: appear 0.3s ease-in-out 1;
  }

  .gg-push-chevron-right-o::after {
    width: 6px;
    height: 6px;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
    right: 7px;
    animation: appear 0.3s ease-in-out 1;
  }

  .gg-push-chevron-left-o::after {
    width: 6px;
    height: 6px;
    border-bottom: 2px solid;
    transform: rotate(135deg);
    text-align: center;
    animation: appear 0.3s ease-in-out 1;
  }

  .outside {
    position: absolute;
    height: 25px;
    width: 25px;
    left: -6%;
    top: 5%;
    background: #efeeee;
    display: none;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    color: #011f6b;
    box-shadow: 0 0 5px #011f6b77;
    justify-content: center;
    align-items: center;
  }

  .outside:hover {
    color: #011f6bab;
  }
}

.mbDownload {
  display: flex;
  justify-content: center;
  margin: 2rem;
  cursor: pointer;
}

.mbDownload span {
  padding: 0.7rem 1.5rem;
  border-radius: 0.7rem;
  color: #dcdcdc;
  background: #5074cf;
}

.header .navbar-scrolled,
.navbar-not-at-top #apply {
  height: 2rem;
}

.header .navbar-scrolled,
.navbar-not-at-top #apply a {
  padding: 0.4rem 1rem 0.3rem;
}

.header .navbar-scrolled,
.navbar-not-at-top #apply a span {
  font-size: 0.5rem;
}
