/* =========================
   Header Styles
   Fully separated from style.css
   ========================= */

:root {
  --tour-dropdown-left: 404px;
  --resources-dropdown-left: 520px;
  --header-height: 95px;
}

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

.flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center;
}

.block {
  display: block;
}

/* =========================
   Wrapper/header spacing
   ========================= */

#wrapper {
  position: relative;
  overflow: hidden;
}

div#wrapper {
  margin-top: var(--header-height);
}

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

header#header {
  padding: 24px 0;
  background: #16161a;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
}

.header-container {
  width: 100%;
  max-width: 1440px;
  padding: 0 32px;
  margin: auto;
}

.header-flex {
  gap: 40px;
}

.header-pages {
  gap: 64px;
}

.mobile-header-left {
  display: flex;
  align-items: center;
}

.header-logo img {
  max-width: 100%;
  height: auto;
}

.mobile-header-back {
  display: none;
}

/* =========================
   Primary Desktop Menu
   ========================= */

.header-pages nav {
  position: static;
}

.header-pages nav > ul {
  gap: 30px;
  padding-top: 10px;
}

.header-pages nav > ul > li {
  display: flex;
  align-items: center;
}

.header-pages nav > ul > li > a {
  color: #fafaf7;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.218px;
  border-bottom: 3px solid transparent;
  text-decoration: none;
}

.header-pages nav > ul > li:hover > a {
  opacity: 0.6;
}

@media (min-width: 1202px) {
  .header-pages ul#menu-header-menu > li:last-child {
    display: none;
  }
}

/* =========================
   Demo Button
   ========================= */

a.demo {
  width: 160px;
  height: 48px;
  border-radius: 8px;
  background: #2ad4c0;
  color: #16161a;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.218px;
  border: 3px solid #2ad4c0;
  padding-top: 8px;
  text-decoration: none;
}

a.demo:hover {
  opacity: 0.6;
}

/* =========================
   Hamburger / Close Button
   ========================= */

.mob-hamburger {
  display: none;
}

.mobile-menu-toggle {
  border: 0;
  outline: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 32px;
  padding: 0;
}

.mobile-menu-toggle span {
  position: absolute;
  left: 0;
  width: 40px;
  height: 6px;
  background: #d8d8d8;
  border-radius: 4px;
  transform-origin: center;
  transition:
    top 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 5px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 20px;
}

.mobile-menu-toggle.is-close span {
  top: 13px;
  background: #fafaf7;
}

.mobile-menu-toggle.is-close span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-close span:nth-child(2) {
  transform: rotate(-45deg);
}

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

.header-dropdown {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #16161a;
  padding: 18px 0 52px;
  margin: 0 !important;
  z-index: 999998;
  border-top: 0;
}

.header-pages nav:has(#menu-header-menu .menu-tour:hover) .header-dropdown-tour,
.header-pages nav:has(#menu-header-menu .menu-resources:hover) .header-dropdown-resources,
.header-dropdown:hover {
  display: block;
}

.header-dropdown[style*="display: block"],
.header-dropdown[style*="display:block"] {
  display: block !important;
}

.header-dropdown .container {
  width: 100%;
  max-width: 1440px;
  padding: 0 32px;
  margin: 0 auto;
}

/* =========================
   Shared Desktop Dropdown Content
   ========================= */

.dropdown-grid {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start !important;
  gap: 140px;
  margin: 0;
}

.tour-dropdown-grid {
  padding-left: var(--tour-dropdown-left);
}

.resources-dropdown-grid {
  padding-left: var(--resources-dropdown-left);
}

.dropdown-column {
  min-width: 240px;
}

.dropdown-text-column {
  max-width: 360px;
}

.dropdown-title {
  color: #8c8c95;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 700;
}

.dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown-list li {
  display: block;
  height: auto;
  width: auto;
  margin: 0;
  list-style: none;
}

.dropdown-list li a {
  color: #fafaf7;
  font-size: 28px;
  line-height: 1.2;
  text-align: left;
  border-bottom: 0;
  padding: 0;
  display: inline-block;
  text-decoration: none;
}

.dropdown-list li:hover a {
  opacity: 0.6;
}

.dropdown-description {
  color: #fafaf7;
  font-size: 24px;
  line-height: 1.3;
  margin: 0;
}

.drop-down-1,
.drop-down-2 {
  margin-top: 0 !important;
}

/* =========================
   Body Lock
   ========================= */

body.active-menu1 {
  height: 100vh !important;
  overflow: hidden !important;
}

/* =========================
   Mobile Overlay Base
   ========================= */

.mobile-menu-overlay {
  display: none;
}

.mobile-menu-panel {
  display: none;
}

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

/* =========================
   Medium Desktop
   ========================= */

@media only screen and (max-width: 1367px) {
  .dropdown-grid {
    gap: 120px;
  }
}

@media only screen and (max-width: 1280px) {
  .dropdown-grid {
    gap: 90px;
  }
}

/* =========================
   Mobile / Tablet Header
   ========================= */

@media only screen and (max-width: 1201px) {
  .desktop-header-nav {
    display: none;
  }

  .mob-hamburger {
    display: block;
  }

  .header-pages {
    position: relative;
    gap: 0;
  }

  .mobile-header-left {
    min-height: 32px;
  }

  .mobile-header-back {
    display: none;
    border: 0;
    outline: none;
    background: transparent;
    color: #fafaf7;
    cursor: pointer;
    padding: 0;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: flex-start;
  }

  .mobile-header-back span {
    display: block;
    font-size: 47px;
    line-height: 1;
    font-weight: 500;
    transform: translateY(-3px);
  }

  #header.mobile-submenu-open .header-logo {
    display: none;
  }

  #header.mobile-submenu-open .mobile-header-back {
    display: flex;
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #16161a;
    z-index: 999997;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow: hidden;
  }

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

  .mobile-menu-panel {
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #16161a;
    overflow-y: auto;
  }

  .mobile-menu-inner {
    padding: 28px 31px 40px;
  }

  .mobile-submenu-inner {
    padding: 28px 36px 48px;
  }

  .mobile-main-menu {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-main-menu li {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
  }

  .mobile-main-link {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0;
    color: #fafaf7;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: -0.2px;
    cursor: pointer;
  }

  .mobile-main-link:hover {
    opacity: 0.75;
  }

  .mobile-chevron {
    color: #fafaf7;
    font-size: 42px;
    line-height: 1;
    font-weight: 400;
    transform: translateY(-2px);
  }

  .mobile-get-started-link {
    color: #2ad4c0;
  }

  .mobile-submenu-section {
    margin-bottom: 39px;
  }

  .mobile-submenu-section:last-child {
    margin-bottom: 0;
  }

  .mobile-submenu-title {
    margin: 0 0 14px;
    color: #8c8c95;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
  }

  .mobile-submenu-list {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-submenu-list li {
    padding: 0;
    margin: 0 0 23px;
    list-style: none;
  }

  .mobile-submenu-list li:last-child {
    margin-bottom: 0;
  }

  .mobile-submenu-list a {
    color: #fafaf7;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    letter-spacing: -0.2px;
  }

  .mobile-submenu-list a:hover {
    opacity: 0.75;
  }

  .mobile-submenu-description {
    color: #fafaf7;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
  }
}

/* =========================
   Small Mobile Header
   ========================= */

@media only screen and (max-width: 701px) {
  a.demo {
    display: none;
  }

  .header-container {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
  }

  .header-flex {
    width: 100%;
  }

  header#header {
    padding: 28px 0 25px;
  }

  .header-pages {
    gap: 0;
  }

  .mobile-menu-toggle {
    width: 32px;
    height: 24px;
    margin-right: -7px;
  }

  .mobile-menu-toggle span {
    width: 32px;
    height: 4px;
  }

  .mobile-menu-toggle span:nth-child(1) {
    top: 2px;
  }

  .mobile-menu-toggle span:nth-child(2) {
    top: 14px;
  }

  .mobile-menu-toggle.is-close span {
    top: 10px;
  }

  .mobile-header-back {
    width: 32px;
    height: 32px;
  }

  .mobile-header-back span {
    font-size: 44px;
  }
}

@media only screen and (max-width: 480px) {
  .mobile-menu-inner {
    padding: 28px 31px 40px;
  }

  .mobile-submenu-inner {
    padding: 28px 36px 48px;
  }

  .mobile-main-menu li {
    margin-bottom: 22px;
  }

  .mobile-main-link {
    font-size: 23px;
  }

  .mobile-submenu-list a {
    font-size: 23px;
  }
}

@media only screen and (max-width: 380px) {
  .mobile-menu-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .mobile-submenu-inner {
    padding-left: 30px;
    padding-right: 30px;
  }

  .mobile-main-link,
  .mobile-submenu-list a {
    font-size: 21px;
  }
}