/*-- -------------------------- -->
<---        Core Styles         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0rem) {
  :root {
    /* Colours */
    --primary: #2E7D5B;
    --primaryLight: #D4EDE2;
    --secondary: #1A3B2E;
    --secondaryLight: #ECF5F0;
    --headerColor: #0D2018;
    --bodyTextColor: #2E3C34;
    --bodyTextColorWhite: #FFFFFF;


    /* Font Families */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Domine', serif;
    --font-logo: 'Montserrat', sans-serif;

    /* Font Sizes */
    --topperFontSize: clamp(0.75rem, 1.5vw, 1rem);
    --headerFontSize: clamp(2rem, 4vw, 3rem);
    --bodyFontSize: 1rem;
    /* --sectionPadding: clamp(4rem, 8vw, 7rem) 1rem clamp(4rem, 8vw, 7rem); */
    --sectionPadding: clamp(5rem, 14vw, 12rem) 1rem clamp(4rem, 6vw, 7rem);

  }

  /* ================================
   Base Reset + Best Practices
=================================== */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html:focus-within {
    scroll-behavior: smooth;
  }

  html,
  body {
    margin: 0;
    padding: 0;
  }

  body {
    font: 400 100%/1.5 var(--font-primary);
    color: var(--bodyTextColor);
    background: #fff;
    overflow-x: hidden;
    transition: background-color .3s, color .3s;
  }

  /* Improve text rendering */
  body,
  input,
  textarea,
  button {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Remove default margins */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul,
  ol,
  figure {
    margin: 0;
  }

  ul,
  ol {
    padding: 0;
    list-style: none;
  }

  /* Media defaults */
  img,
  picture,
  video,
  canvas,
  svg {
    display: block;
    max-width: 100%;
  }

  img {
    height: auto;
  }

  /* Forms */
  input,
  button,
  textarea,
  select {
    font: inherit;
    color: inherit;
  }

  /* Better focus indicators */
  :focus {
    outline: none;
  }

  :focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: .25rem;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html:focus-within {
      scroll-behavior: auto;
    }

    * {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* Text selection */
  ::selection {
    background: var(--primary-100);
    color: var(--headerColor);
  }

  /* Container */
  .container {
    width: var(--container);
    margin-inline: auto;
    position: relative;
  }


  /* ================================
   Typography
=================================== */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--headerColor);
  }

  p,
  li,
  a {
    font-size: var(--bodyFontSize);
    line-height: 1.6;
    color: var(--bodyTextColor);
  }

  /* Links */
  a {
    color: inherit;
    text-decoration: none;
  }

  a:hover {
    color: var(--headerColor);
  }

  a:focus-visible {
    outline-color: var(--focus);
  }

  /* Utility content classes you already use */
  .topper {
    font-family: var(--font-secondary);
    font-size: var(--topperFontSize);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: .25rem;
    display: inline-block;
  }

  .title {
    font-size: var(--headerFontSize);
    font-weight: 800;
    line-height: 1.2;
    color: var(--headerColor);
    max-width: 20ch;
  }

  .text {
    font-size: var(--bodyFontSize);
    line-height: 1.6;
    color: var(--bodyTextColor);
    max-width: 40.625rem;
  }

  /* ================================
   Buttons
=================================== */
  .button-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;

    min-width: 9.375rem;
    height: clamp(2.875rem, 5.5vw, 3rem);
    padding-inline: 1.5rem;

    color: var(--bodyTextColorWhite);
    background: var(--primary);
    border: 0;
    border-radius: 0.5rem;

    font-size: 1rem;
    font-weight: 700;
    text-align: center;

    transition: background-color .2s ease, transform .06s ease, box-shadow .2s ease;
    will-change: transform;
  }

  .button-solid:hover {
    background: var(--primaryLight);
  }

  .button-solid:active {
    transform: translateY(1px) scale(.99);
  }

  .button-solid:focus-visible {
    outline-color: var(--focus);
  }

  /* ================================
   Misc
=================================== */
  a:hover,
  button:hover {
    cursor: pointer;
  }

  .skip {
    position: absolute;
    inset: 0 auto auto 0;
    opacity: 0;
    pointer-events: none;
  }

  .skip:focus-visible {
    opacity: 1;
    pointer-events: auto;
    background: var(--secondary);
    color: var(--bodyTextColorWhite);
    padding: .5rem .75rem;
    z-index: 99999;
    transform: translateY(0);
  }

  .divider-top {
    position: relative;
    z-index: 2;
    height: clamp(48px, 8vw, 120px);
    margin-top: calc(-1 * (clamp(48px, 8vw, 120px)));
    pointer-events: none;
  }

  .divider-top svg {
    transform: rotate(180deg);
    display: block;
    width: 100%;
    height: 100%;
  }

  .divider {
    position: relative;
    z-index: 2;
    height: clamp(48px, 8vw, 120px);
    margin-bottom: calc(-1 * (clamp(48px, 8vw, 120px)));
    pointer-events: none;
    fill: red;
  }

  .divider.wave-1 {
    fill: #fff;
  }

  .divider.wave-2 {
    fill: var(--primaryLight);
  }

  .divider.wave-3 {
    fill: #323232;
  }

  /* =========================================================
   NAVIGATION
========================================================= */

  /* ----------------------------------------------
   0) BASE: shared resets that apply everywhere
---------------------------------------------- */
  #navigation {
    position: fixed;
    inset: 0 auto auto 0;
    width: 100%;
    z-index: 10000;
  }

  #navigation .logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    color: red;
  }

  html,
  body {
    overflow-x: hidden;
  }

  /*-- -------------------------- -->
<---     Mobile Navigation      -->
<--- -------------------------- -*/
  /* Mobile - 1023px */
  @media only screen and (max-width: 63.9375rem) {
    body.open {
      overflow: hidden;
    }

    #navigation {
      box-sizing: border-box;
      background-color: #fff;
      box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
      position: fixed;
      z-index: 10000;

 
      top: 1rem;
      left: 1rem;
      right: 1rem;
      width: auto;
      margin: 0;

      border-radius: 15px;
      padding: 0 0.35rem;
    }

    #navigation.active .ul-wrapper {
      opacity: 1;
      transform: scaleY(1);
      transition-delay: .15s;
    }

    #navigation.active .li {
      transform: translateY(0);
      opacity: 1;
    }

    #navigation .container {
      width: 100%;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    #navigation .logo {
      width: 40%;
      max-width: 9.125rem;
      height: 100%;
      margin: 0 auto 0 0;
      padding: 0;
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10;
    }

    #navigation .logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    #navigation .toggle {
      /* 44px - 48px */
      width: clamp(2.75rem, 6vw, 3rem);
      height: clamp(2.75rem, 6vw, 3rem);
      margin: 0 auto;
      border-radius: 0.25rem;
      background-color: transparent;
      border: none;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    #navigation .active .line1 {
      top: 50%;
      transform: translate(-50%, -50%) rotate(225deg);
    }

    #navigation .active .line2 {
      top: 50%;
      transform-origin: center;
      transform: translate(-50%, -50%) translateY(0) rotate(-225deg);
    }

    #navigation .active .line3 {
      bottom: 100%;
      opacity: 0;
    }

    #navigation .box {
      /* 24px - 28px */
      width: clamp(1.5rem, 2vw, 1.75rem);
      /* 14px - 16px */
      height: clamp(0.875rem, 1.5vw, 1rem);
      position: relative;
    }

    #navigation .line {
      width: 100%;
      height: 2px;
      border-radius: 2px;
      background-color: #1a1a1a;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }

    #navigation .line1 {
      top: 0;
      transform-origin: center;
      transition: transform .5s, top .3S, left .3S;
      animation-duration: .7s;
      animation-timing-function: ease;
      animation-fill-mode: forwards;
      animation-direction: normal;
    }

    #navigation .line2 {
      top: 50%;
      transform: translateX(-50%) translateY(-50%);
      transition: top .3s, left .3s, transform .5s;
      animation-duration: .7s;
      animation-timing-function: ease;
      animation-fill-mode: forwards;
      animation-direction: normal;
    }

    #navigation .line3 {
      bottom: 0;
      transition: bottom .3s, opacity .3s;
    }

    #navigation .ul-wrapper {
      width: 100%;
      height: auto;
      padding-bottom: 2.4em;
      opacity: 0;
      background-color: #fff;
      box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

      overflow: hidden;
      position: absolute;
      top: 6rem;
      left: 0;
      right: 0;
      z-index: -1;
      transform: scaleY(0);
      transform-origin: top;
      transition: transform .4s, opacity .3s;
      border-radius: 15px;
    }

    #navigation .ul {
      margin: 0;
      padding: 3rem 0 0 0;
      width: 100%;
      height: auto;
      max-height: 65vh;
      overflow: auto;
      display: flex;
      justify-content: flex-start;
      flex-direction: column;
      align-items: center;
      gap: 1.25rem;
    }

    #navigation .li {
      width: 100%;
      text-align: center;
      list-style: none;
      margin-right: 0;
      /* transition from these values */
      transform: translateY(-4.375rem);
      opacity: 0;
      transition: transform .6s, opacity .9s;
    }

    #navigation .li:nth-of-type(1) {
      transition-delay: .05s;
    }

    #navigation .li:nth-of-type(2) {
      transition-delay: .1s;
    }

    #navigation .li:nth-of-type(3) {
      transition-delay: .15s;
    }

    #navigation .li:nth-of-type(4) {
      transition-delay: .2s;
    }

    #navigation .li:nth-of-type(5) {
      transition-delay: .25s;
    }

    #navigation .li:nth-of-type(6) {
      transition-delay: .3s;
    }

    #navigation .li:nth-of-type(7) {
      transition-delay: .35s;
    }

    #navigation .li:nth-of-type(8) {
      transition-delay: .4s;
    }

    #navigation .li:nth-of-type(9) {
      transition-delay: .45s;
    }

    #navigation .li:nth-of-type(10) {
      transition-delay: .5s;
    }

    #navigation .li:nth-of-type(11) {
      transition-delay: .55s;
    }

    #navigation .li:nth-of-type(12) {
      transition-delay: .6s;
    }

    #navigation .li:nth-of-type(13) {
      transition-delay: .65s;
    }

    #navigation .li-link {
      /* 16px - 24px */
      font-size: clamp(1rem, 2.5vw, 1.5rem);
      line-height: 1.2em;
      margin: 0;
      color: var(--headerColor);
      display: inline-block;
      position: relative;
    }

    #navigation .li-link:before {
      /* active state underline */
      content: '';
      width: 100%;
      height: 1px;
      background: var(--secondary);
      opacity: 1;
      position: absolute;
      display: none;
      bottom: -0.125rem;
      left: 0;
    }

    #navigation .li-link.active:before {
      display: block;
    }

    #navigation .button-solid {
      display: none;
    }
  }


  /*-- -------------------------- -->
<---     Desktop Navigation     -->
<--- -------------------------- -*/
  /* Small Desktop - 1024px */
  @media only screen and (min-width: 64rem) {
    #navigation {
      width: 100%;
      padding: 0 1rem;
      box-sizing: border-box;
      background-color: #fff;
      box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
      position: fixed;
      z-index: 10000;
    }

    #navigation {
      width: 94%;
      max-width: 80rem;
      padding: 0 1rem;
      box-sizing: border-box;
      background-color: #fff;
      border-radius: 0.75rem;
      position: fixed;
      top: 1.5rem;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10000;
      transition: all 0.3s ease;
    }

    /* Scrolled state */
    body.scroll #navigation {
      width: 100%;
      max-width: 100%;
      border-radius: 0;
      top: 0;
      padding: 0.5rem 1rem;
    }

    #navigation .container {
      width: 100%;
      max-width: 80rem;
      margin: auto;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 1.5rem;
    }

    #navigation .toggle {
      display: none;
    }

    #navigation .logo {
      width: 18.4%;
      max-width: 21.875rem;
      height: 4.0625rem;
      /* margin-right auto pushes everything away from it to the right */
      margin: 0 auto 0 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 100;
    }

    #navigation .logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    #navigation .ul {
      width: 100%;
      margin: 0 1rem 0 0;
      padding: 0;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      /* 20px - 36px */
      gap: clamp(1.25rem, 2.6vw, 2.25rem);
    }

    #navigation .li {
      list-style: none;
      padding: 2rem 0;
      /* prevent flexbox from squishing it */
      flex: none;
    }

    #navigation .li-link {
      /* 14px - 16px */
      font-size: clamp(0.875rem, 1vw, 1rem);
      line-height: 1.5em;
      margin: 0;
      color: var(--bodyTextColor);
      display: block;
      position: relative;
    }

    #navigation .li-link:hover:before {
      width: 100%;
    }

    #navigation .li-link.active:before {
      width: 100%;
    }

    #navigation .li-link:before {
      /* active state underline */
      content: '';
      width: 0%;
      height: 2px;
      background: var(--primary);
      opacity: 1;
      position: absolute;
      display: block;
      bottom: 0rem;
      left: 0;
      transition: width .3s;
    }
  }

  /*-- -------------------------- -->
<---          Banner            -->
<--- -------------------------- -*/
  /* Mobile - 360px */
  @media only screen and (min-width: 0rem) {
    #banner-712 {
      /* 175px - 200px top */
      padding: clamp(10.9375rem, 10vw, 12.5rem) 1rem 6.25rem;
      position: relative;
      z-index: 1;
    }

    #banner-712 .container {
      text-align: center;
      width: 100%;
      max-width: 80rem;
      margin: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 1rem;
    }

    #banner-712 .int-title {
      /* 39px - 61px */
      font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
      font-weight: 900;
      line-height: 1.2em;
      text-align: inherit;
      margin: 0;
      color: var(--bodyTextColorWhite);
      position: relative;
    }

    #banner-712 .background {
      width: 100%;
      height: 100%;
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      z-index: -1;
    }

    #banner-712 .background:before {
      /* background color overlay */
      content: '';
      position: absolute;
      display: block;
      height: 100%;
      width: 100%;
      background: #000;
      opacity: .75;
      top: 0;
      left: 0;
      z-index: 1;
    }

    #banner-712 .background img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      /* Makes img tag act as a background image */
      object-fit: cover;
    }
  }

  /* Tablet - 768px */
  @media only screen and (min-width: 48rem) {
    #banner-712 .background:before {
      opacity: 1;
      background: linear-gradient(90.01deg, rgba(0, 0, 0, 0.9) 16.86%, rgba(0, 0, 0, 0) 100%);
    }
  }

  /*-- -------------------------- -->
<---          Footer            -->
<--- -------------------------- -*/
  /* Mobile - 360px */
  @media only screen and (min-width: 0rem) {
    #footer-01 {
      /* 60px - 100px top and bottom */
      padding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
      /* Navigation Links */
      /* Contact Links */
    }

    #footer-01 .container {
      width: 100%;
      /* reset on tablet */
      max-width: 34.375rem;
      margin: auto;
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      flex-wrap: wrap;
      /* 68px - 100px */
      column-gap: clamp(4.25rem, calc(10%), 6.25rem);
    }

    #footer-01 .logo-group {
      /* takes up all the space, lets the other ul's wrap below it */
      width: 100%;
      position: relative;
    }

    #footer-01 .logo {
      /* 210px - 240px */
      width: clamp(13.125rem, 8vw, 15rem);
      height: auto;
      display: block;
      /* 28px - 44px */
      margin-bottom: clamp(1.75rem, 4.17vw, 2.75rem);
    }

    #footer-01 .logo-img {
      width: 100%;
      height: auto;
    }

    #footer-01 .text {
      /* 14px - 16px */
      font-size: clamp(0.875rem, 2.5vw, 1rem);
      line-height: 1.5em;
      margin: 0;
      margin-bottom: 2rem;
      /* changes to 305px at desktop */
      max-width: 33.75rem;
      color: rgba(0, 0, 0, 0.72);
    }

    #footer-01 .nav {
      padding: 0;
      margin: 0;
    }

    #footer-01 .nav-li,
    .contact-link {
      list-style: none;
      line-height: 1.5em;
      margin-bottom: 0.5rem;
    }

    #footer-01 .nav-li:last-of-type {
      margin-bottom: 0;
    }

    #footer-01 .header {
      font-size: 1rem;
      line-height: 1.5em;
      font-weight: 700;
      margin-bottom: 0.875rem;
      color: rgba(0, 0, 0, 0.88);
      position: relative;
      display: block;
    }

    #footer-01 .nav-link {
      font-size: 1rem;
      text-decoration: none;
      line-height: 1.5em;
      color: rgba(0, 0, 0, 0.72);
      position: relative;
    }

    #footer-01 .nav-link:before {
      /* underline */
      content: '';
      width: 0%;
      height: 0.125rem;
      /* current color of the parent */
      background: currentColor;
      opacity: 1;
      position: absolute;
      display: block;
      bottom: -0.125rem;
      left: 0;
      transition: width .3s;
    }

    #footer-01 .nav-link:hover:before {
      width: 100%;
    }

    #footer-01 .contact {
      margin: 0;
      padding: 0;
      width: auto;
      display: flex;
      flex-direction: column;
      align-self: stretch;
    }

    #footer-01 .contact-li {
      list-style: none;
      margin-bottom: 0rem;
    }

    #footer-01 .contact-li:last-of-type {
      margin-bottom: 0;
    }

    #footer-01 .contact-link {
      font-size: 1rem;
      text-decoration: none;
      line-height: 1.5em;
      text-align: left;
      color: rgba(0, 0, 0, 0.72);
      display: inline-block;
    }

    #footer-01 .contact-link:hover {
      text-decoration: underline;
    }

    #footer-01 .address {
      font-size: 1rem;
      margin-bottom: 1.25rem;
    }

    #footer-01 .social-group {
      /* pushes away from the other flex items */
      margin-top: auto;
    }

    #footer-01 .social {
      display: inline-flex;
      justify-content: flex-start;
      gap: 0.75rem;
    }

    #footer-01 .social-link {
      width: 2rem;
      height: 2rem;
      background-color: var(--primary);
      color: #fff;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      z-index: 1;
      transition: transform 0.3s, background-color 0.3s;
    }

    #footer-01 .social-link:hover {
      background-color: var(--primary);
      transform: translateY(-0.1875rem);
    }

    #footer-01 .social-img {
      height: 0.8125rem;
      width: auto;
      display: block;
    }
  }

  /* Tablet - 768px */
  @media only screen and (min-width: 48rem) {
    #footer-01 .container {
      max-width: 80rem;
      row-gap: 0;
    }

    #footer-01 .logo-group {
      width: auto;
      /* pushes everything to the right of it as far as possible in a flexbox */
      margin-right: auto;
    }

    #footer-01 .text {
      width: 80%;
      max-width: 19.0625rem;
      margin: 0;
    }

    #footer-01 .nav,
    #footer-01 .contact {
      /* 8px - 12px */
      margin-top: clamp(0.5rem, 1.2vw, 0.75rem);
    }
  }
}