/*-- -------------------------- -->
<---            Hero            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #hero-855 {
    /* 116px - 164px top */
    /* 60px - 100px  bottom */
    padding: 14.25rem 1rem clamp(3.75rem, 7.82vw, 6.25rem);
    background: linear-gradient(161deg, #0A1B28 20%, #16344B 50%);
    /* clips the svg wave from overflowing */
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #hero-855::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(217, 217, 217, 0.08) 1px, transparent 1px) 0 0 / 25% 100%, linear-gradient(rgba(217, 217, 217, 0.08) 1px, transparent 1px) 0 0 / 100% 250px;
    pointer-events: none;
  }
  #hero-855 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
  }
  #hero-855 .cs-content {
    max-width: 39.375rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #hero-855 .cs-topper {
    font-size: 1rem;
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
  }
  #hero-855 .cs-title {
    /* 39px - 61px */
    font-size: clamp(2.4375rem, 5vw, 3.8125rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: center;
    /* 23 characters including spaces wide */
    max-width: 23ch;
    margin: 0 0 1rem 0;
    color: #fff;
    position: relative;
  }
  #hero-855 .cs-title .colour {
    color: var(--primary);
  }
  #hero-855 .cs-text {
    /* 16px - 20px */
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.5em;
    text-align: center;
    width: 100%;
    max-width: 33.1875rem;
    /* 28px - 40px */
    margin: 0 0 clamp(1.75rem, 3.92vw, 2.5rem) 0;
    color: var(--bodyTextColorWhite);
  }
  #hero-855 .cs-picture {
    width: 100%;
    max-width: 35.625rem;
    /* 400px - 712px */
    height: clamp(25rem, 95vw, 44.5rem);
    /* 100px - 200px */
    border-radius: 16px;
    box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.16);
    /* clips the img tag corners */
    overflow: hidden;
    display: block;
    position: relative;
  }
  #hero-855 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* makes image act as a background image */
    object-fit: cover;
    /* ensures the top of the images is at the top of the container, no heads getting cut off */
    object-position: top;
  }
  #hero-855 .cs-wave {
    /* we're stretching the svg wider than the viewport so it's taller and has more of a presence */
    width: 320%;
    height: auto;
    display: block;
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    z-index: -1;
  }
  #hero-855 .btn-box {
    justify-content: center;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #hero-855 {
    text-align: left;
  }
  #hero-855 .btn-box {
    justify-content: flex-start;
  }
  #hero-855 .cs-container {
    flex-direction: row;
    justify-content: space-between;
    position: relative;
  }
  #hero-855 .cs-container.reverse {
    flex-direction: row-reverse;
  }
  #hero-855 .cs-content {
    width: 40vw;
    /* prevents flex-box from squishing it */
    flex: none;
    align-items: flex-start;
  }
  #hero-855 .cs-title,
  #hero-855 .cs-text {
    text-align: left;
  }
  #hero-855 .cs-picture {
    /* 623px - 814px */
    height: 657px;
  }
  #hero-855 .cs-wave {
    width: 100%;
    left: 0;
    transform: none;
  }
}
@media only screen and (min-width: 1600px) {
    #hero-855::after {
    content: "";
    position: absolute;
    bottom: 140px;
    left: 30px;
    width: 400px;
    height: 400px;
    opacity: 0.2;
    z-index: -1;
    background: url('/assets/images/logo.png') center / contain no-repeat;
  
  }
}
@media only screen and (min-width: 1920px) {
    #hero-855 .cs-container { 
      position: relative;
    }
    #hero-855 .cs-container::after {
    content: "";
    position: absolute;
    bottom: 30px;
    left: -300px;
    width: 400px;
    height: 400px;
    opacity: 0.35;
    z-index: -1;
    background: url('/assets/images/logo.png') center / contain no-repeat;
  }
    #hero-855::after {
      display: none;
  }
}
/*-- -------------------------- -->
<---           Stats            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #stats-315 {
        padding: 25px 1rem;
        background-color: #0A1C29;
    }
    #stats-315 .cs-card-group {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 37.5rem;
        margin: auto;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 2.5rem;
    }
    #stats-315 .cs-item {
        list-style: none;
        /* set fixed width so they can all be aligned on the left */
        width: 20rem;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    #stats-315 .cs-picture {
        width: 20px;
        height: 20px;
        /* 12px - 20px */
        margin-right: clamp(0.75rem, 3vw, 1.25rem);
        display: flex;
        justify-content: center;
        align-items: center;
        /* prevents flexbox from squishing it */
        flex: none;
    }
    #stats-315 .cs-icon {
        width: 100%;
        height: auto;
    }
    #stats-315 .cs-flex-group {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
    }
    #stats-315 .cs-number {
        font-size: 20px;
        color: #AFC7D6;
        font-weight: 900;
        line-height: 1.2em;
        margin: 0;
        display: block;
    }
}
/* Tablet - 650px */
@media only screen and (min-width: 40.625rem) {
    #stats-315 .cs-card-group {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 1.25rem;
        row-gap: 2rem;
    }
    #stats-315 .cs-item {
        width: auto;
    }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #stats-315 .cs-card-group {
        max-width: 80rem;
        flex-wrap: nowrap;
        justify-content: space-evenly;
    }
}
