/* ===========================
Header
=========================== */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fafafa;
  height: auto;
  display: flex;
  align-items: center;
  z-index: 1000;
  /* transition: 0.3s ease; */
  border-bottom: 1px solid rgba(255, 255, 255, 0.068);
}

.header.scrolled {
  top: 0;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #ededed;

  .desktop-nav a {
    color: black;
  }

  .navscroll {
    display: block;
  }

  .navstill {
    display: none;
  }

  .dropdown-toggle {
    color: black;
  }

  .dropdown-menu .container {
    background: #fff;
    backdrop-filter: blur(16px);
    border: 1px solid #ededed;
  }

  .dropdown-menu a:hover {
    background: #f5f5f5;
    color: black !important;
  }

  .btn-outline {
    height: auto;
    padding: 8px 24px;
    border: 1px solid #ededed;
    border-radius: 999px;
    color: black;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;

    transition: 0.25s;
  }

  .btn-outline:hover {
    background: #0a0a0a;
    color: #fff;
  }

  .menu-btn span {
    background: #00000080;
  }
}

.navscroll {
  display: none;
}

.navstill {
  display: block;
}

.header .container {
  padding: 0.6rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===========================
   Logo
=========================== */

.logo img {
  height: 36px;
}

/* ===========================
   Desktop Navigation
=========================== */

.desktop-nav {
  display: flex;
  align-items: center;
  margin-right: 1rem;
  gap: 32px;
}

.desktop-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  transition: 0.25s;
}

.desktop-nav a:hover {
  color: #0b60df;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #f5f5f5;
  transition: 0.25s;
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* ===========================
   Right
=========================== */

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ===========================
   Button Outline
=========================== */

.btn-outline {
  height: auto;
  padding: 8px 24px;
  border: 1px solid #ededed;
  border-radius: 999px;
  color: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;

  transition: 0.25s;
}

.btn-outline:hover {
  background: #f9fafb;
  color: black;
}

/* ===========================
   Button Primary
=========================== */

.btn-primary {
  padding: 8px 24px;

  border-radius: 999px;
  background: #106efa;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary:hover {
  scale: 1.02;
}

.menu-btn {
  position: relative;

  width: 42px;
  height: 42px;

  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.menu-btn span {
  position: absolute;
  left: 10px;

  width: 22px;
  height: 2px;

  background: #ffffff80;

  transition: 0.3s;
}

.menu-btn span:nth-child(1) {
  top: 15px;
}

.menu-btn span:nth-child(2) {
  top: 23px;
}

.menu-btn.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  top: 19px;
  transform: rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.062);
  backdrop-filter: blur(2px);

  opacity: 10%;
  visibility: hidden;

  transition: 0.3s;

  z-index: 1000;
}

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

/* ===========================
   Mobile Sheet
=========================== */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;

  width: 320px;
  max-width: 85%;
  height: 100vh;

  background: #fff;

  border-left: 1px solid #e5e7eb;
  /* box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08); */

  transform: translateX(100%);
  transition: 0.35s ease;

  z-index: 1001;

  display: flex;
  flex-direction: column;

  padding: 24px 24px;
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu nav a {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

.mobile-btn {
  height: 42px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(120deg, #106efa 0%, #5193f5 50%, #0f65e7 100%) !important;
  color: #fff !important;
}

.mobile-btn-secondary {
  height: 42px;
  border-radius: 999px;
  border: 1px solid black;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #fafafa;
  color: #000000 !important;
}

.btn-wrap {
  margin-top: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/*=========================
Sheet Header
=========================*/

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 40px;
}

.mobile-header img {
  height: 34px;
}

.mobile-close {
  width: 40px;
  height: 40px;

  border: none;
  background: #f3f4f6;

  border-radius: 12px;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.25s;
}

.mobile-close:hover {
  background: #e5e7eb;
}

.mobile-close svg {
  width: 20px;
  height: 20px;

  stroke: #111;
  stroke-width: 2;
  fill: none;
}

/*=========================
Desktop Dropdown
=========================*/

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px !important;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

.dropdown-toggle::after {
  content: none !important;
  display: none !important;
}

.arrow {
  width: 14px;
  height: 14px;

  stroke: currentColor;
  stroke-width: 2;

  fill: none;

  transition: 0.3s;
}

.dropdown-menu {
  position: absolute;
  width: 100%;

  top: calc(100% + 0px);
  left: 0;

  background: none;

  border: none;

  border-radius: 16px;

  padding: 12px;

  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);

  transition: 0.25s;

  /* box-shadow: 0 8px 8px rgba(0, 0, 0, 0.04); */
}

.dropdown-menu .container {
  width: fit-content;

  background: white;
  backdrop-filter: blur(16px);

  border: 1px solid #e5e7eb3d;
  border-top: 3px solid #106efa;

  border-radius: 16px;

  padding: 12px;

  display: flex;
  flex-direction: column;
}

.dropdown-menu a {
  width: 100%;
  padding: 8px 14px;

  border-radius: 10px;
}

.dropdown-menu a:hover {
  background: #fafafa21;
  color: #000 !important;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;

  transform: none;
}

.nav-dropdown:hover .arrow {
  transform: rotate(180deg);
}

/*=========================
Mobile Dropdown
=========================*/

.mobile-dropdown {
  width: 100%;
}

.mobile-dropdown-toggle {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: none;
  background: none;

  cursor: pointer;

  padding: 0;
}

.mobile-dropdown-menu {
  display: grid;
  grid-template-rows: 0fr;

  transition:
    grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.35s;

  margin-top: 0;
}

.mobile-dropdown-menu-inner {
  overflow: hidden;

  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: 8px;
}

.mobile-dropdown.active .mobile-dropdown-menu {
  grid-template-rows: 1fr;

  margin-top: 12px;
}

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

.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

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

/*=========================
Announcement Bar
=========================*/

.announcement-bar {
  background: linear-gradient(120deg, #3988ff 0%, #0b60df 50%, #0d4aa5 100%) !important;

  border-bottom: 1px solid rgba(255, 255, 255, 0.068);
  transition: 0.35s ease;
  overflow: hidden;
  padding: 0;
}

.announcement-bar .container {
  height: 46px;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  font-size: 14px;
  color: white;
}

.announcement-content span {
  font-size: 13px;
  gap: 6px;
  font-weight: 500;
  color: white;
}

.announcement-content a {
  color: white;
  display: flex;
  font-size: 13px;
  align-items: center;
  opacity: 80%;
  gap: 6px;
  transition: 0.25s;
  font-weight: 600;
}

.announcement-content a:hover {
  opacity: 100%;
}

.announcement-link {
  border: 1px solid rgba(26, 113, 243, 0.877);
  border-radius: 99px;
  padding: 2px 12px;
}

.announcement-close {
  width: 34px;

  height: 34px;

  border: none;

  background: transparent;

  border-radius: 8px;

  cursor: pointer;

  transition: 0.2s;

  display: flex;

  align-items: center;

  justify-content: center;
}

.announcement-close:hover {
  background: rgba(255, 255, 255, 0.062);
  border-radius: 99px;
}

.announcement-close svg {
  width: 15px;
  stroke: rgba(255, 255, 255, 0.788);
  height: 15px;
}

.announcement-bar.hide {
  max-height: 0;

  opacity: 0;

  border: none;
}

.header {
  transition:
    top 1.35s ease,
    background 0.35s ease;
}

.announcement-bar.hide + .header {
  top: 0;
}

/* GRADIENT TEXT */

.gradient-text {
  background: linear-gradient(90deg, #126ef5, #70aaff, #126ef5);

  background-size: 200%;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(0 0 10px rgba(11, 96, 223, 0.12));

  animation: gradientBreath 8s ease infinite;
}

@keyframes gradientBreath {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 1199px) {
  .dropdown-toggle {
    font-size: 14px !important;
  }

  .desktop-nav a {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .mobile-dropdown-toggle {
    font-size: 14px !important;
  }

  .desktop-nav,
  .btn-outline,
  .btn-primary {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .logo img {
    height: 32px;
  }

  .header .container {
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .announcement-bar .container {
    padding: 0 1rem;
  }
}

@media (max-width: 767px) {
  .announcement-bar {
    display: none;
  }
}

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

  .mobile-menu nav a {
    font-size: 14px;
  }
}
