/************ MOBILE - 360PX *************/
/*****************************************/
@media only screen and (min-width: 0rem) {
    /*********** ABOUT US ********************/
    /*****************************************/
    #sbs-332 {
        margin-top: 14rem;
        padding: var(--sectionPadding);
    }
    #sbs-332 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #sbs-332 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        max-width: 32.625rem;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }

    #sbs-332 .cs-text {
        margin-bottom: 1rem;
    }
    #sbs-332 .cs-text:last-of-type {
        margin-bottom: 2rem;
    }
    #sbs-332 .cs-ul {
        width: 100%;
        margin: 0 0 2rem 0;
        padding-left: 1.25rem;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    #sbs-332 .cs-li {
        font-size: var(--bodyFontSize);
        line-height: 1.5em;
        list-style: none;
        text-align: left;
        width: 100%;
        max-width: 25rem;
        margin: 0;
        color: var(--bodyTextColor);
        position: relative;
    }
    #sbs-332 .cs-li:before {
        /* bullet */
        content: "";
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: currentColor;
        opacity: 1;
        position: absolute;
        display: block;
        top: 0.625rem;
        left: -0.9375rem;
    }
    #sbs-332 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primaryAccent);
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #sbs-332 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }
    #sbs-332 .cs-button-solid:hover:before {
        width: 100%;
    }
    #sbs-332 .cs-image-group {
        /* scaling entire section down. font-size starts at a min in vw, and stops
               when that value reaches 1em (16px). Since we want the picture elements to base their
               font size on the parent and not the root, we use ems for this entire section  */
        font-size: min(2.08vw, 0.791em);
        width: 42.875em;
        height: 41.125em;
        position: relative;
    }
    @keyframes floatAnimation {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-3em);
        }
        100% {
            transform: translateY(0);
        }
    }
    @keyframes floatAnimation2 {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-2em);
        }
        100% {
            transform: translateY(0);
        }
    }
    #sbs-332 .cs-image-group:before {
        /* blue circle */
        content: "";
        width: 7.5em;
        height: 7.5em;
        border-radius: 50%;
        background: var(--secondary);
        opacity: 1;
        position: absolute;
        display: block;
        bottom: 6.25em;
        left: 0em;
        z-index: 10;
        animation-name: floatAnimation;
        animation-duration: 6s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
    }
    #sbs-332 .cs-image-group:after {
        /* white circle */
        content: "";
        width: 9.375em;
        height: 9.375em;
        border-radius: 50%;
        background: var(--primaryLight);
        opacity: 1;
        position: absolute;
        display: block;
        top: 0em;
        right: 6.25em;
        z-index: -1;
        animation-name: floatAnimation2;
        animation-duration: 4s;
        animation-delay: 0.2s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
    }
    #sbs-332 .cs-picture {
        width: 39.375em;
        height: 39.375em;
        border-radius: 50%;
        border: clamp(6px, 1.2vw, 12px) solid #f7f7f7;
        /* clips the img tag corners */
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        display: block;
    }
    #sbs-332 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    #sbs-332 .cs-box {
        width: 15.8125em;
        height: 15.8125em;
        border-radius: 50%;
        border: clamp(6px, 1.2vw, 12px) solid #f7f7f7;
        background-color: var(--primaryLight);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 0.25rem;
        position: absolute;
        bottom: 0;
        right: 0;
    }
    #sbs-332 .cs-number {
        /* 40px - 61px */
        font-size: clamp(2.5rem, 5vw, 3.8125rem);
        line-height: 1.2em;
        font-weight: bold;
        text-align: center;
        color: var(--bodyTextColorWhite);
    }
    #sbs-332 .cs-desc {
        /* 14px - 25px */
        font-size: clamp(0.875rem, 2.2vw, 1.5625rem);
        line-height: 1.2em;
        text-align: center;
        max-width: 7.8125rem;
        color: var(--bodyTextColorWhite);
    }
    /*********** MEET THE TEAM ***************/
    /*****************************************/
    #meet-382 {
        padding: var(--sectionPadding);
    }
    #meet-382 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 39.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #meet-382 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #meet-382 .cs-card-group {
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        /* 16px - 20px */
        gap: clamp(1rem, 1.5vw, 1.25rem);
    }
    #meet-382 .cs-item {
        list-style: none;
        width: 100%;
        max-width: 19.0625rem;
        /* creates extra space at the top for the graphic to fit */
        padding-top: 4rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    #meet-382 .cs-item:hover .cs-graphic {
        transform: scale(1.1);
    }
    #meet-382 .cs-graphic {
        width: 100%;
        height: auto;
        position: absolute;
        /* push from the bottom so it doens't show up under the memeber image */
        bottom: 4rem;
        left: 0;
        z-index: -1;
        transition: transform 0.6s;
    }
    #meet-382 .cs-picture {
        width: auto;
        height: auto;
        margin-bottom: 1rem;
        display: flex;
        /* pushes image to bottom of picture element */
        align-items: flex-end;
    }
    #meet-382 .cs-picture img {
        width: 100%;
        height: auto;
    }
    #meet-382 .cs-name {
        font-size: 1.25rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0;
        color: var(--headerColor);
        display: block;
    }
    #meet-382 .cs-job {
        font-size: 1rem;
        line-height: 1.5em;
        margin: 0;
        color: var(--bodyTextColor);
        display: block;
    }
    #meet-382 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primaryAccent);
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #meet-382 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }
    #meet-382 .cs-button-solid:hover:before {
        width: 100%;
    }
    /************** FAQ **********************/
    /*****************************************/
    #faq-388 {
        padding: var(--sectionPadding);
        background: #FFF;
    }
    #faq-388 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* 40px - 48px */
        gap: clamp(2.5rem, 5vw, 3rem);
    }
    #faq-388 .cs-content {
        text-align: left;
        max-width: 32.625rem;
    }

    #faq-388 .cs-title {
        margin: 0 0 1.5rem 0;
    }
    #faq-388 .cs-faq-group {
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    #faq-388 .cs-faq-item {
        list-style: none;
        width: 100%;
        border-bottom: 1px solid #e8e8e8;
        transition: border-bottom 0.3s;
    }
    #faq-388 .cs-faq-item.active {
        border-color: var(--primaryLight);
    }
    #faq-388 .cs-faq-item.active .cs-button {
        color: var(--primary);
    }
    #faq-388 .cs-faq-item.active .cs-button:before {
        background-color: var(--primaryLight);
        transform: rotate(315deg);
    }
    #faq-388 .cs-faq-item.active .cs-button:after {
        background-color: var(--primaryLight);
        transform: rotate(-315deg);
    }
    #faq-388 .cs-faq-item.active .cs-item-p {
        height: auto;
        /* 20px - 24px bottom */
        /* 16px - 24px left & right */
        padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 1.3vw, 1.5rem);
        opacity: 1;
    }
    #faq-388 .cs-button {
        font-size: 1rem;
        line-height: 1.2em;
        text-align: left;
        font-weight: bold;
        /* 16px - 20px */
        padding: clamp(1rem, 1.3vw, 1.25rem);
        border: none;
        background: transparent;
        color: var(--headerColor);
        display: block;
        width: 100%;
        position: relative;
        transition:
            background-color 0.3s,
            color 0.3s;
    }
    #faq-388 .cs-button:hover {
        cursor: pointer;
    }
    #faq-388 .cs-button:before {
        /* left line */
        content: "";
        width: 0.5rem;
        height: 0.125rem;
        background-color: var(--headerColor);
        opacity: 1;
        border-radius: 50%;
        position: absolute;
        display: block;
        top: 45%;
        right: 1.5rem;
        transform: rotate(45deg);
        /* animate the transform from the left side of the x axis, and the center of the y */
        transform-origin: left center;
        transition: transform 0.5s;
    }
    #faq-388 .cs-button:after {
        /* right line */
        content: "";
        width: 0.5rem;
        height: 0.125rem;
        background-color: var(--headerColor);
        opacity: 1;
        border-radius: 50%;
        position: absolute;
        display: block;
        top: 45%;
        right: 1.3125rem;
        transform: rotate(-45deg);
        /* animate the transform from the right side of the x axis, and the center of the y */
        transform-origin: right center;
        transition: transform 0.5s;
    }
    #faq-388 .cs-button-text {
        width: 80%;
        display: block;
    }
    #faq-388 .cs-item-p {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        width: 90%;
        height: 0;
        margin: 0;
        /* 16px - 24px */
        padding: 0 clamp(1rem, 2vw, 1.5rem);
        opacity: 0;
        color: var(--bodyTextColor);
        /* clips the text so it doesn't show up */
        overflow: hidden;
        transition:
            opacity 0.3s,
            padding-bottom 0.3s;
    }
    #faq-388 .cs-stats-group {
        /* scaling entire section down. font-size starts at a min in vw, and stops
               when that value reaches 1em (16px). Since we want the picture elements to base their
               font size on the parent and not the root, we use ems for this entire section  */
        font-size: min(2.35vw, 0.8em);
        width: 39.375em;
        height: 42.625em;
        position: relative;
        z-index: 1;
    }
    #faq-388 .cs-splash {
        width: 39.375em;
        height: 40.4375em;
        position: absolute;
        bottom: 1.125em;
        left: 0;
    }
    #faq-388 .cs-orange {
        width: 19.0625em;
        height: 21.4375em;
        position: absolute;
        top: 0;
        left: 0;
    }
    #faq-388 .cs-blue {
        width: 19.0625em;
        height: 21.4375em;
        position: absolute;
        top: 5.875em;
        right: 0;
    }
    #faq-388 .cs-grey {
        width: 21.4375em;
        height: 19.0625em;
        position: absolute;
        bottom: 0em;
        left: 0;
    }
    #faq-388 .cs-stat {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    #faq-388 .cs-stat1 {
        top: 4.625em;
        /* 50px - 90px */
        left: clamp(3.125em, 11vw, 5.625em);
    }
    #faq-388 .cs-stat2 {
        top: 11em;
        /* 50px - 93px */
        right: clamp(3.125em, 11vw, 5.8125em);
    }
    #faq-388 .cs-stat3 {
        bottom: 4em;
        /* 50px - 105px */
        left: clamp(3.125em, 11vw, 6.5625em);
    }
    #faq-388 .cs-icon-wrapper {
        width: 5em;
        height: 5em;
        margin-bottom: 1em;
        border: 1px solid #fff;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #faq-388 .cs-icon {
        width: auto;
        height: 2.5em;
    }
    #faq-388 .cs-number {
        font-size: 3.0625em;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0;
        color: #fff;
        display: block;
    }
    #faq-388 .cs-desc {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 2vw, 1rem);
        line-height: 1.5em;
        margin: 0;
        color: #fff;
        display: block;
    }    
}

/******** SMALL DESKTOP - 1024PX *********/
/*****************************************/
@media only screen and (min-width: 64rem) {
    /*********** ABOUT US ********************/
    /*****************************************/
    #sbs-332 .cs-container {
        max-width: 80rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    #sbs-332 .cs-content {
        width: 50%;
    }
    #sbs-332 .cs-image-group {
        /* reset the scale */
        font-size: min(1.2vw, 1em);
    }
    /************** FAQ **********************/
    /*****************************************/
    #faq-388 .cs-container {
        max-width: 80rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 3.25rem;
    }
    #faq-388 .cs-stats-group {
        /* reset the scale */
        font-size: min(1.2vw, 1em);
        /* prevents flexbox from squishing it */
        flex: none;
        /* sends it to the right */
        order: 2;
    }
    #faq-388 .cs-title,
    #faq-388 .cs-topper {
        text-align: left;
        margin-left: 0;
    }
}

/********* LARGE DESKTOP - 1300PX ********/
/*****************************************/
@media only screen and (min-width: 81.25rem) {
    /*********** MEET THE TEAM ***************/
    /*****************************************/
    #meet-382 .cs-container {
        max-width: 80rem;
    }
    #meet-382 .cs-card-group {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}

/************** DARK MODE ****************/
/*****************************************/
@media only screen and (min-width: 0rem) {
    /*********** ABOUT US ********************/
    /*****************************************/
    body.dark-mode #sbs-332 .cs-topper {
        color: var(--primaryLight);
    }
    body.dark-mode #sbs-332 .cs-title,
    body.dark-mode #sbs-332 .cs-text,
    body.dark-mode #sbs-332 .cs-li {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #sbs-332 .cs-picture,
    body.dark-mode #sbs-332 .cs-box {
        border-color: var(--accent);
    }
    /*********** MEET THE TEAM ***************/
    /*****************************************/
    body.dark-mode #meet-382 .cs-topper {
        color: var(--primaryLight);
    }
    body.dark-mode #meet-382 .cs-title,
    body.dark-mode #meet-382 .cs-text,
    body.dark-mode #meet-382 .cs-name {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #meet-382 .cs-graphic {
        mix-blend-mode: overlay;
        filter: grayscale(1) brightness(500%);
        opacity: 0.5;
    }
    body.dark-mode #meet-382 .cs-job {
        color: var(--bodyTextColorWhite);
        opacity: 0.7;
    }
    /************** FAQ **********************/
    /*****************************************/
    body.dark-mode #faq-388 {
        background-color: var(--medium) rgba(0, 0, 0, 0.2);
    }
    body.dark-mode #faq-388 .cs-splash {
        opacity: 0.2;
    }
    body.dark-mode #faq-388 .cs-orange,
    body.dark-mode #faq-388 .cs-blue {
        filter: brightness(70%);
    }
    body.dark-mode #faq-388 .cs-topper {
        color: var(--primaryLight);
    }
    body.dark-mode #faq-388 .cs-title,
    body.dark-mode #faq-388 .cs-item-p {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #faq-388 .cs-faq-item {
        border-color: rgba(255, 255, 255, 0.2);
    }
    body.dark-mode #faq-388 .cs-faq-item.active {
        border-color: var(--primaryLight);
    }
    body.dark-mode #faq-388 .cs-faq-item.active .cs-button {
        color: var(--primaryLight);
    }
    body.dark-mode #faq-388 .cs-faq-item.active .cs-button:before,
    body.dark-mode #faq-388 .cs-faq-item.active .cs-button:after {
        background-color: var(--primaryLight);
    }
    body.dark-mode #faq-388 .cs-button {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #faq-388 .cs-button:before,
    body.dark-mode #faq-388 .cs-button:after {
        background-color: var(--bodyTextColorWhite);
    }
}