/*-- -------------------------- -->
<---        Global              -->
<--- -------------------------- -*/

/* inter-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Kabrio';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Kabrio-Bold.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --primaryBlue: #46C9F3;
    --headingText: #323663;
    --bodyText: #121212;
    --backgroundPale: #FCD380;
    --bodyTextWhite: #FAFBFC;
    --bodyTextColor: #4E4B66;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Trebuchet MS', sans-serif;
    font-weight: 400;
}

h1 {
    font-family: 'Kabrio', 'Trebuchet MS', sans-serif;
    font-weight: 700;
}

*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, p, li, a {
    margin: 0;
}

h1 {
  font-size: clamp(2.4375rem, 6.4vw, 3rem);
}

a:hover,
button:hover {
  cursor: pointer;
}
.skip {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1111111;
}

.button-solid {
    color: #fff;
    border-width: 0px 0px 5px 0px;
    border-radius: 9px;
    padding: 16px 49px 16px 49px;
    border-style: solid;
    text-decoration: none;
    display: inline-block;
    font-size: 22px;
    transition: all 0.3s;
    background-color: var(--primaryBlue);
    border-color: #3FB5DA;
}

.button-solid:hover {
    background-color: #6437d1;
    border-color: #42238C;
}

.blue-highlight {
  color: var(--primaryBlue);
}


/*-- -------------------------- -->
<---          Section           -->
<--- -------------------------- -*/

.cs-section {
  padding: clamp(3.75em, 7.82vw, 6.25em) clamp(1rem, 1.5vw, 2rem);
}

.cs-title {
  margin-bottom: 16px;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--headingText);
  font-family: 'Kabrio', 'Trebuchet MS', sans-serif;
  font-weight: 700;
}

.cs-container {
  max-width: 550px;
  margin: auto;
}
.cs-text {
  color: var(--bodyText);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 28px;
  opacity: 0.8;
}

.cs-text:last-of-type {
  margin-bottom: 2rem;
}


@media screen and (min-width: 1024px) {
  .cs-container {
    max-width: 1280px;
  }
  .cs-text {
      font-size: 20px;
  }
}


/*-- -------------------------- -->
<---     Section Dividers       -->
<--- -------------------------- -*/
.top-section-wave {
  width: 100%;
  opacity: 1;
  z-index: 1;
  margin-bottom: -5px;
  position: relative;
  display: none;

}

.bottom-section-wave {
  width: 100%;
  opacity: 1;
  z-index: 4;
  margin-top: -5px;
  position: relative;
  display: none;
}

@media screen and (min-width: 1024px) {
  .top-section-wave, .bottom-section-wave {
    display: inline;
  }

}


/*-- -------------------------- -->
<---          CTA               -->
<--- -------------------------- -*/
#cta {
  background-color: #FDF5F2;
  overflow: hidden; /* Add this line */
}

#cta .cs-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  
}

#cta .image-content {
  position: relative;
  max-width: 465px;

}

#cta .text-content {
  max-width: 550px;
  position: relative;
}

#cta picture {
  width: 100%;
  display: block;
  margin: auto;
  z-index: 2;
  position: relative;
  max-width: 465px;
}

#cta picture img {
  width: 100%;
  height: 100%;
  border: 16px solid #FFFFFF;
  filter: drop-shadow(0px 4px 25px rgba(0, 0, 0, 0.25));
  border-radius: 20px;
  overflow: hidden;
}

#cta #snail {
  position: absolute;
  top: -90px;
  display: none;
  right: 0px;
  z-index: 2;
}

#cta #abc {
  position: absolute;
  bottom: 0px;
  right: -40px; 
}

#cta .triangle-icon {
  position: absolute;
  bottom: 30px;
  left: -50px;
}

@media screen and (min-width: 1024px) {

  #cta #snail {
    display: inline;
  }
  #cta .cs-container {
      flex-direction: row;
  }

  #cta .text-content {
      text-align: start;
      order: 1;
  }

  #cta .image-content {
      order: 2;
  }

  #cta .triangle-icon {
      bottom: 0px;
      right: 100px;
      left: auto;
  }
}
/*-- -------------------------- -->
<---     Mobile Navigation      -->
<--- -------------------------- -*/
/* Mobile - 1023px */
@media only screen and (max-width: 63.9375rem) {
  body.cs-open {
    overflow: hidden;
  }
  #cs-navigation {
    width: 100%;
    padding: 0.75rem 1rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    position: fixed;
    z-index: 10000;
  }

  #cs-navigation:after {
    content: '';
    width: 100%;
    /* max-width: 9.125rem; */
    height: 0%;
    background: var(--headingText);
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    left: 0%;
    z-index: -1;
    transition: height 0.2s, max-width 0.3s, background-color 0.3s;
  }
  #cs-navigation:before {
    content: '';
    width: 100%;
    height: 0vh;
    background: rgba(0, 0, 0, 0.6);
    background: var(--headingText);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    z-index: -11;
    transition: height .5s, opacity .3s;
  }
  #cs-navigation.cs-active:after {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }
  #cs-navigation.cs-active:before {
    height: 150vh;
    opacity: 1;
  }

  #cs-navigation.cs-active .cs-top-bar:before {
    display: none;
  }
  #cs-navigation.cs-active .cs-link {
    color: var(--bodyTextColorWhite);
  }
  #cs-navigation.cs-active .cs-ul-wrapper {
    opacity: 1;
    transform: scaleY(1);
    transition-delay: .2s;
  }
  #cs-navigation.cs-active .cs-li {
    transform: translateY(0);
    opacity: 1;
  }

  #cs-navigation.scroll .cs-toggle {
    margin-top: 0;
  }

  #cs-navigation .cs-logo {
    height: 100%;
    padding: 0.75rem 1rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
  }
  #cs-navigation .cs-logo img {
    width: 100%;
    height: 100%;
    /* ensures the image never overflows the container. It stays contained within it's width and height and expands to fill it then stops once it reaches an edge */
    object-fit: contain;
  }
  #cs-navigation .cs-link {
    font-size: 0.875rem;
    line-height: 1.5em;
    text-align: inherit;
    text-decoration: none;
    margin: 0;
    color: var(--bodyTextColor);
    display: block;
    transition: color .3s;
  }
  #cs-navigation .cs-toggle {
    /* 44px - 48px */
    width: clamp(2.75rem, 6vw, 3rem);
    height: clamp(2.75rem, 6vw, 3rem);
    margin: 0.75rem 0 0 auto;
    border-radius: 0.25rem;
    background-color: #484848;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #cs-navigation .cs-active .cs-line1 {
    top: 50%;
    transform: translate(-50%, -50%) rotate(225deg);
  }
  #cs-navigation .cs-active .cs-line2 {
    top: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%) translateY(0) rotate(-225deg);
  }
  #cs-navigation .cs-active .cs-line3 {
    bottom: 100%;
    opacity: 0;
  }
  #cs-navigation .cs-box {
    /* 24px - 28px */
    width: clamp(1.5rem, 2vw, 1.75rem);
    /* 14px - 16px */
    height: clamp(0.875rem, 1.5vw, 1rem);
    position: relative;
  }
  #cs-navigation .cs-line {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #cs-navigation .cs-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;
  }
  #cs-navigation .cs-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;
  }
  #cs-navigation .cs-line3 {
    bottom: 0;
    transition: bottom .3s, opacity .3s;
  }
  #cs-navigation .cs-ul-wrapper {
    width: 100%;
    opacity: 0;
    background-color: #fff;
    box-shadow: inset rgba(0, 0, 0, 0.2) 0px 8px 24px;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s, opacity .3s;
  }
  #cs-navigation .cs-ul {
    margin: 0;
    padding: 3rem 0 3rem 0;
    width: 100%;
    height: auto;
    max-height: 65vh;
    overflow: scroll;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  #cs-navigation .cs-li {
    list-style: none;
    width: 100%;
    margin-right: 0;
    /* transition from these values */
    transform: translateY(-4.375rem);
    opacity: 0;
    transition: transform .6s, opacity .9s;
  }
  #cs-navigation .cs-li-link {
    /* 16px - 24px */
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.2em;
    text-decoration: none;
    margin: 0;
    color: var(--bodyTextColor);
    display: inline-block;
    position: relative;
  }
  #cs-navigation .cs-li-link:before {
    /* active state underline */
    content: '';
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 1;
    position: absolute;
    display: none;
    bottom: -0.125rem;
    left: 0;
  }
  #cs-navigation .cs-li-link.cs-active:before {
    display: block;
  }

  .cs-li-sub-link {
    color: var(--bodyTextColor);
    position: relative;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    text-decoration: none;
  }
}
/* Tablet - 650px - 1023px */
@media only screen and (min-width: 40.625rem) and (max-width: 63.9375rem) {
  #cs-navigation .cs-ul {
    padding-top: 9.375rem;
    gap: 2rem;
  }
  #cs-navigation .cs-li-link {
    font-size: 1.5rem;
  }
}


/*-- -------------------------- -->
<---     Navigation Dropdown    -->
<--- -------------------------- -*/
/* Mobile - 1023px */
@media only screen and (max-width: 63.9375rem) {
  #cs-navigation .cs-li {
    text-align: center;
    width: 100%;
    display: block;
  }
  #cs-navigation .cs-dropdown {
    position: relative;
    color: var(--bodyTextColorWhite);
  }
  #cs-navigation .cs-dropdown.cs-active .cs-drop-ul {
    height: auto;
    opacity: 1;
    visibility: visible;
    margin: 0.75rem 0 0 0;
    padding: 0.75rem 0;
  }
  #cs-navigation .cs-dropdown.cs-active .cs-drop-link {
    opacity: 1;
  }
  #cs-navigation .cs-dropdown .cs-li-link {
    position: relative;
    transition: opacity .3s;
  }
  #cs-navigation .cs-drop-icon {
    width: 0.9375rem;
    height: auto;
    position: absolute;
    top: 50%;
    right: -1.25rem;
    transform: translateY(-50%);
  }
  #cs-navigation .cs-drop-ul {
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    background-color: var(--primary);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: padding .3s, margin .3s, height .3s, opacity .3s, visibility .3s;
  }
  #cs-navigation .cs-drop-li {
    list-style: none;
  }
  #cs-navigation .cs-li-link.cs-drop-link {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    color: #fff;
  }
}

.blue-line-highlight {
  position: relative;
}
.blue-line-highlight:before {
  content: '';
  width: 0%;
  height: 2px;
  background: var(--primaryBlue);
  opacity: 1;
  position: absolute;
  display: block;
  bottom: -0.125rem;
  left: 0;
  transition: width .3s;
}

.blue-line-highlight:hover:before {
  width: 100%;
}

.blue-line-highlight:hover {
  color: var(--primaryBlue);
}

/*-- -------------------------- -->
<---  NAVBAR + drop down desktop-->
<--- -------------------------- -*/
@media only screen and (min-width: 1023px) {

    .nav-wrapper {
        display: flex;
        justify-content: center;
    }
    #cs-navigation {
        display: flex;
        justify-content: center;
        position: fixed;
        width: 95%;
        box-sizing: border-box;
        background-color: #fff;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        z-index: 10000;

        /*To move the nav bar in and remove from edge of scree*/
        margin-top: 40px;
        transition: margin 0.5s;
        border-radius: 12px;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
        max-width: 1400px;
        transition: width 0.5s, margin-top 0.5s, border-radius 0.5s;

    }

    /* on scroll of 100 px */
    body.scroll #cs-navigation {
      margin-top: 0px;
      width: 100%;
      max-width: none;
      border-radius: 0px;
    }
    
    body.scroll .cs-li {
      padding: 1.25rem 0;
    }

    .cs-logo img {
        max-width: 175px;
        height: auto;
    }
    #nav-button {
        color: #fff;
        border-width: 0px 0px 5px 0px;
        border-radius: 9px;
        padding: 10px 16px 10px 16px;
        border-style: solid;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s;
        background-color: var(--primaryBlue);
        border-color: #3FB5DA;
    }
    
    .cs-li-link {
        padding: 10px 16px 10px 16px;
    }
    .cs-li-link:hover {
        color: #fff;
        border-width: 0px 0px 5px 0px;
        border-radius: 9px;
        padding: 10px 16px 10px 16px;
        border-style: solid;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s;
        background-color: var(--primaryBlue);
        border-color: #3FB5DA;
    }
    body.scroll #cs-navigation {
        /* margin: 0px;
        width: 100%;
        max-width: 3000px; */
    }
    #cs-navigation .cs-toggle {
        display: none;
    }

    .cs-nav {
        display: flex;
    }
    .nav-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        max-width: 1300px;
        align-items: center;
        padding: 0 50px;
    }

    .cs-nav .cs-ul {
        display: flex;
        /* gap: clamp(1.25rem, 2.6vw, 2.25rem); */
        gap: 0.5rem;
    }

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

    .cs-nav .cs-ul a {
        text-decoration: none;
    }

    .cs-li-link:hover {
        cursor:pointer;
    }

    .cs-li {
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 2rem 0;
    }

    .cs-li-link, .cs-li-sub-link {
        color: var(--bodyTextColor);
        position: relative;
        font-size: clamp(0.875rem, 1.2vw, 1rem);
    }

    .cs-li-sub-link:before {
        content: '';
        width: 0%;
        height: 2px;
        background: var(--primaryBlue);
        opacity: 1;
        position: absolute;
        display: block;
        bottom: 0rem;
        left: 0rem;
        transition: width 0.3s;
    }
    .cs-li-sub-link:hover:before {
        width: 100%;
    }
    .cs-dropdown {
        position: relative;
    }
    .cs-dropdown:hover {
        cursor: pointer;
    }

    .cs-drop-ul {
        columns: 1;
        visibility: hidden;
        position: absolute;
        opacity: 0;
        top: 100%;
        min-width: 8rem;
        background-color: #fff;
        overflow: hidden;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 10px 16px;
        border-bottom: 5px solid var(--backgroundPale);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform .3s, visibility .3s, opacity .3s;
    }

    .cs-dropdown:hover .cs-drop-ul {
        transform: scaleY(1);
        visibility: visible;
        opacity: 1;
    }
    .cs-drop-link {
        padding: 0.75rem;
        display: block;
    }

    .cs-drop-link:hover {
        background-color: #f7f7f7;
    }
}


@media only screen and (min-width: 1150px) {
    .cs-logo img {
        max-width: 216px;
        height: auto;
    }
    #cs-navigation {
        width: 90%;
    }
}


/*-- -------------------------- -->
<---        Footer              -->
<--- -------------------------- -*/

#footer {
  padding: 60px 20px 40px 20px;
}
#footer .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1280px;
  margin: auto;
}
#footer .branch {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#footer .heading {
  color: var(--headingText);
  font-family: 'Kabrio', 'Trebuchet MS', sans-serif;
  font-weight: 700; 
  font-size: 1.25rem;
  border-width: 0 0 0 3px;
  border-style: solid;
  padding-left: 15px;
  margin-bottom: 1rem;
}

#footer a {
  text-decoration: none;
  color: var(--bodyText);
}

#footer .bold {
  font-weight: bold;
}
#footer .blue-line-highlight:hover {
  color: var(--primaryBlue);
}
#footer .address, .phone, .email, .webpage {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}


#footer .credit {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  border-top: 1px solid var(--headingText);
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 1.5rem;
}

#footer .webpage-link {
  overflow-wrap: anywhere;
}

#footer .hours {
  position: relative;
}

#footer #astronaut {
  position: absolute;
  display: none;
  bottom: -30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%)
}

@media only screen and (min-width: 900px) {
  #footer #astronaut {
    display: inline;
  }
  #footer {
    padding-top: 70px;
  }
  #footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/*-- -------------------------- -->
<---        Slants              -->
<--- -------------------------- -*/
@media only screen and (min-width: 1024px) {
  .slant-section-top{
    height: 100px;
    background: #FDF5F2;
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    margin-bottom: -1px;
  }

  .slant-section-bottom{
    height: 100px;
    background: #FDF5F2;
    clip-path: polygon(0 100%, 0 0, 100% 0);
    margin-top: -1px;
  }

  .slant-color-yellow{
    background: var(--backgroundPale);
}
}