/* ---------------- START HEADER - NEW ------------------ */
:root {
  --primary: #30518e;
  --primary-transparent: #30518e1a;
  --secondary: #fbaf4e;
  --white: #ffffff;
  --grey: #e8e8e8;
  --black: #000000;
}

body.no-scroll {
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
}

/* Class added via JS to blur main content when a menu is open */
.blur {
  -webkit-filter: blur(5px) brightness(0.7);
  -moz-filter: blur(5px) brightness(0.7);
  -o-filter: blur(5px) brightness(0.7);
  -ms-filter: blur(5px) brightness(0.7);
  filter: blur(5px) brightness(0.7);
  overflow: hidden;
}

.header {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 80px;
  background-color: var(--white);
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
  border-bottom: 2px solid var(--grey);
}

/* Navigation (Mobile-First) */
.nav {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  height: 100%;
  width: 80%;
  overflow: hidden;
}

.nav__logo {
  z-index: 20;
}

.nav__logo img {
  width: 150px;
  height: auto;
}

.nav__logo img:hover {
  -webkit-box-shadow: 0px 0px 10px var(--white);
  -moz-box-shadow: 0px 0px 10px var(--white);
  box-shadow: 0px 0px 10px var(--white);
}

/* Hamburger Menu Icon */
.hamburger {
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 20;
}

.hamburger__line {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  -webkit-transform-origin: center;
  -moz-transform-origin: center;
  -ms-transform-origin: center;
  -o-transform-origin: center;
  transform-origin: center;
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}

.hamburger.open {
  width: 44px;
  height: 44px;
}

.hamburger.open .hamburger__line:nth-child(1) {
  -webkit-transform: translateY(7px) rotate(45deg);
  -moz-transform: translateY(7px) rotate(45deg);
  -ms-transform: translateY(7px) rotate(45deg);
  -o-transform: translateY(7px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger__line:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
  -moz-transform: translateY(-9px) rotate(-45deg);
  -ms-transform: translateY(-9px) rotate(-45deg);
  -o-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Panel */
.nav__links {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  gap: 10px;
  font-size: 20px;
  overflow-y: auto;
  width: 100%;
  padding: 40px 0 20px;
}

.nav__links-wrapper {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 20px;
}

.nav__links-container {
  position: fixed;
  top: 80px;
  right: -200%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: start;
  -moz-box-align: start;
  -ms-flex-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--white);
  padding: 0 10% 40px;
  visibility: hidden;
  -webkit-transition:
    right 0.2s ease-out,
    visibility 0.2s ease-out;
  -moz-transition:
    right 0.2s ease-out,
    visibility 0.2s ease-out;
  -o-transition:
    right 0.2s ease-out,
    visibility 0.2s ease-out;
  transition:
    right 0.2s ease-out,
    visibility 0.2s ease-out;
  z-index: 20;
}

.nav__links-container.active {
  right: 0;
  visibility: visible;
}

.nav__links-container--inner {
  width: 100%;
  overflow-y: auto;
}

.nav__links-group {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 10px;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  margin: auto 0;
}

.nav__link {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  font-size: inherit !important;
}

.nav__link:hover {
  color: var(--secondary);
  background: unset !important;
  opacity: 1 !important;
}

.nav__item--has-submenu.submenu-active > .nav__link {
  color: var(--secondary);
}

/* Mobile Submenu Panel */
.nav__item {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 5px !important;
  line-height: unset !important;
}

.nav__item--has-submenu {
  position: static;
}

.nav__item--has-submenu > .nav__link {
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.nav__item--has-submenu svg {
  width: 24px;
  height: 24px;
}

.nav__item--has-submenu svg:nth-child(2) {
  display: none;
}

.nav__submenu-wrapper {
  display: none;
  background: var(--white);
  /* transition: */
  /* left 0.2s ease-out, */
  /* visibility 0.2s ease-out; */
  z-index: 30;
}

.nav__item--has-submenu.submenu-active .nav__submenu-wrapper {
  display: block;
}

.nav__item--has-submenu.submenu-active svg:nth-child(1) {
  display: none;
}

.nav__item--has-submenu.submenu-active svg:nth-child(2) {
  display: block;
}

.nav__submenu {
  position: relative !important;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  height: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  border-top: 0 !important;
  list-style: none;
  padding: 20px 20px 0 !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
}

.nav__submenu-header {
  display: none;
}

.nav__submenu-link {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}

.nav__submenu-link:hover {
  color: var(--secondary);
}

/* Shared Components */
.nav__phone-wrapper {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 5px;
}

.nav__socials-list {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.nav__socials-item {
  padding: 0 10px;
}

#navCtaMobile {
  padding: 25px 0 40px;
  border-top: 1px solid var(--grey);
}

#navCtaDesktop {
  display: none;
}

.nav__cta-button {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--secondary);
  -webkit-transform: skew(-5deg);
  -moz-transform: skew(-5deg);
  -ms-transform: skew(-5deg);
  -o-transform: skew(-5deg);
  transform: skew(-5deg);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 2px;
  -webkit-box-shadow: 10px 10px 0px 0px var(--primary);
  -moz-box-shadow: 10px 10px 0px 0px var(--primary);
  box-shadow: 10px 10px 0px 0px var(--primary);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.nav__cta-button:hover {
  color: var(--primary);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.header__social-nav {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
}

.header__social-list {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header__social-item {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.header__social-link {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  color: var(--primary);
  background-color: var(--secondary);
  padding: 15px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.header__social-link:hover {
  color: var(--secondary);
  background-color: var(--primary);
}

.header__social-link svg {
  height: 20px;
  width: auto;
}

/* Tablet & Desktop Styles */
@media screen and (min-width: 480px) {
  .nav__links-container {
    padding: 0px 20px 40px;
    width: 384px;
  }

  .nav__links-container.active {
    border-left: 2px solid var(--grey);
  }

  .nav__links {
    padding: 40px 0 40px;
  }

  #navCtaMobile {
    display: none;
  }

  #navCtaDesktop {
    display: block;
    margin: auto;
  }
}

@media screen and (min-width: 767px) {
  .nav__submenu .nav__link::before {
    content: "";
    position: relative;
    display: none;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNmYmFmNGUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1zdW4taWNvbiBsdWNpZGUtc3VuIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI0Ii8+PHBhdGggZD0iTTEyIDJ2MiIvPjxwYXRoIGQ9Ik0xMiAyMHYyIi8+PHBhdGggZD0ibTQuOTMgNC45MyAxLjQxIDEuNDEiLz48cGF0aCBkPSJtMTcuNjYgMTcuNjYgMS40MSAxLjQxIi8+PHBhdGggZD0iTTIgMTJoMiIvPjxwYXRoIGQ9Ik0yMCAxMmgyIi8+PHBhdGggZD0ibTYuMzQgMTcuNjYtMS40MSAxLjQxIi8+PHBhdGggZD0ibTE5LjA3IDQuOTMtMS40MSAxLjQxIi8+PC9zdmc+");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    padding-right: 20px;
  }

  .nav__submenu .nav__link:hover::before {
    display: inline-block;
    opacity: 1;
  }
}

@media screen and (min-width: 1100px) {
  .nav {
    overflow: visible;
  }

  .header__social-nav {
    display: none;
  }

  /* Hide mobile menu icon */
  .hamburger {
    display: none;
  }

  /* Desktop Menu Styles */
  .nav__links {
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    visibility: visible;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    padding: 0;
    overflow-y: visible;
  }

  .nav__links > .nav__item:nth-child(4) {
    display: none;
  }

  .nav__links.active {
    border-left: none;
  }

  .nav__links-container {
    position: unset;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    width: auto;
    height: auto;
    background-color: transparent;
    padding: 0;
    border-left: none;
    filter: none;
    overflow-y: unset;
  }

  .nav__links-container--inner {
    overflow-y: visible;
  }

  .nav__links-container.active {
    border-left: 0;
  }

  .nav__links-group {
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 15px;
    margin: 0;
  }

  .nav__link {
    -webkit-box-pack: start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }

  .nav__item--has-submenu {
    position: relative;
  }

  .nav__submenu-wrapper {
    visibility: visible;
    display: none;
    position: absolute;
    top: 100%;
    left: -1rem;
    padding-top: 10px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    height: auto;
    background: transparent;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    z-index: 31;
    min-width: 300px;
  }

  .nav__item--has-submenu:hover .nav__submenu-wrapper {
    display: block;
  }

  .nav__item--has-submenu:hover > .nav__link {
    color: var(--secondary);
  }

  .nav__item--has-submenu:hover svg:nth-child(1) {
    display: none;
  }

  .nav__item--has-submenu:hover svg:nth-child(2) {
    display: block;
  }

  .nav__submenu {
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    height: auto;
    padding: 1rem !important;
    background: var(--white);
    border: 2px solid var(--grey) !important;
    border-radius: 5px;
    -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.2) !important;
    -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden;
  }

  .nav__cta-button {
    margin: auto 0;
  }

  .nav__socials-list {
    display: none;
  }
}

@media screen and (min-width: 1300px) {
  .nav__links > .nav__item:nth-child(4) {
    display: block;
  }
}

/* ---------------- END HEADER - NEW ------------------ */
