/*-- -------------------------- -->
<---          Banner            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #banner-559 {
        padding: var(--sectionPadding);
        /* 137px - 212px */
        padding-top: clamp(8.5625rem, 25vw, 13.25rem);
        /* clips the line from causing overflow issues for going off screen */
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    #banner-559 .cs-container {
        text-align: center;
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }
    #banner-559 .cs-int-topper {
        font-size: var(--topperFontSize);
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.01em;
        margin: 0;
        padding: 0 0 0 1.25rem;
        color: var(--bodyTextColorWhite);
        display: block;
        position: relative;
    }
    #banner-559 .cs-int-topper:before {
        /* yellow line */
        content: "";
        width: 50vw;
        height: 2px;
        background: var(--secondary);
        opacity: 1;
        position: absolute;
        display: block;
        top: 50%;
        right: 100%;
        transform: translateY(-50%);
    }
    #banner-559 .cs-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-559 .cs-breadcrumbs {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #banner-559 .cs-link {
        /* 16px - 20px */
        font-size: clamp(1rem, 1.5vw, 1.25rem);
        line-height: 1.2em;
        text-decoration: none;
        color: var(--bodyTextColorWhite);
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #banner-559 .cs-link:last-of-type {
        /* remove the chevron on the last list item */
    }
    #banner-559 .cs-link:last-of-type::after {
        display: none;
    }
    #banner-559 .cs-link:after {
        /* chevron - added as pseudo to make adding and removing them easier */
        content: "";
        width: 1.875rem;
        height: 0.125rem;
        /* 12px - 24px */
        margin: 0 clamp(0.75rem, 2vw, 1.5rem);
        background-color: #fff;
    }
    #banner-559 .cs-link.cs-active {
        color: var(--secondary);
    }
    #banner-559 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #banner-559 .cs-background:before {
        /* background color overlay */
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background: var(--primary);
        opacity: 0.9;
        top: 0;
        left: 0;
        z-index: 1;
    }
    #banner-559 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* Makes img tag act as a background image */
        object-fit: cover;
    }
}

/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #sbs-466 {
        padding: var(--sectionPadding);
        padding-bottom: 0;
        background-color: #fafbfc;
    }
    #sbs-466 .cs-container {
        width: 100%;
        /* changes to 1280px at 1024px */
        max-width: 34.375em;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #sbs-466 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        max-width: 39.375rem;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }

    #sbs-466 .cs-text {
        margin-bottom: 1rem;
    }
    #sbs-466 .cs-text:last-of-type {
        margin-bottom: 2rem;
    }
    #sbs-466 .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(--primary);
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #sbs-466 .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-466 .cs-button-solid:hover:before {
        width: 100%;
    }
    #sbs-466 .cs-picture {
        width: 100%;
        max-width: 32.625rem;
        height: auto;
        aspect-ratio: 1;
        border-radius: 50%;
        display: block;
        position: relative;
        z-index: 1;
    }
    #sbs-466 .cs-picture:before {
        /* green shape */
        content: "";
        /* 80px - 164px, changes at 1024px */
        width: clamp(5rem, 20vw, 10.2rem);
        height: clamp(5rem, 20vw, 10.2rem);
        background: var(--primaryLight);
        border: clamp(6px, 2vw, 12px) solid #ffffff;
        border-radius: 2rem 2rem 100% 2rem;
        opacity: 1;
        position: absolute;
        display: block;
        /* wrapped in a calc function to multiple the clamp value by -1 to get a negative number */
        bottom: calc(clamp(6px, 2vw, 12px) * -1);
        right: calc(clamp(6px, 2vw, 12px) * -1);
        z-index: 10;
    }
    #sbs-466 .cs-picture:after {
        content: "";
        width: 31.25rem;
        /* changes at 1024px */
        height: 70%;
        border-radius: 2rem;
        background: var(--primaryLight);
        opacity: 0.16;
        position: absolute;
        display: block;
        top: -20%;
        right: 50%;
        z-index: -1;
    }
    #sbs-466 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #sbs-466 .cs-container {
        max-width: 80rem;
        flex-direction: row;
        justify-content: space-between;
    }
    #sbs-466 .cs-content {
        width: clamp(46.6%, 45.7vw, 51%);
    }
    #sbs-466 .cs-picture {
        width: 41%;
    }
    #sbs-466 .cs-picture:before {
        /* 125px - 164px */
        width: clamp(7.8125rem, 13vw, 10.2rem);
        height: clamp(7.8215rem, 13vw, 10.2rem);
        border-radius: 2rem 2rem 50% 2rem;
        bottom: -2.25rem;
    }
    #sbs-466 .cs-picture:after {
        height: 31.25rem;
    }
}

/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #services-466 {
        padding: var(--sectionPadding);
        position: relative;
    }
    #services-466:before {
        content: "";
        width: 100%;
        height: 50%;
        background: #fafbfc;
        border-bottom: 1px solid #b4b2c7;
        opacity: 1;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #services-466 .cs-container {
        width: 100%;
        /* changes to 1440px at 768px */
        max-width: 34.375em;
        margin: auto;
    }
    #services-466 .cs-card-group {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        flex-wrap: wrap;
        /* 8px - 20px */
        column-gap: clamp(0.5rem, 1.5vw, 1.25rem);
        row-gap: 1.25rem;
    }
    #services-466 .cs-item {
        width: 48.5%;
        list-style: none;
        /* 24px - 48px top and bottom */
        padding: clamp(1.5rem, 4vw, 3rem) 1.5rem;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        border-radius: 0.75rem;
        background-color: #fff;
        border: 1px solid #b4b2c7;
        box-shadow: 0px 24px 54px rgba(87, 107, 147, 0.12);
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 12px - 24px */
        gap: clamp(0.875rem, 2vw, 2rem);
        position: relative;
        transition: border-color 0.3s;
    }
    #services-466 .cs-item:before {
        /* green border on hover */
        content: "";
        width: 100%;
        height: 100%;
        background: transparent;
        /* prevents mouse from interacting with it */
        pointer-events: none;
        border: 4px solid var(--primaryLight);
        box-sizing: border-box;
        /* prevents border from affecting height and width */
        border-radius: 0.625rem;
        opacity: 0;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        transition: opacity 0.3s;
    }
    #services-466 .cs-item:hover {
        border-color: var(--primaryLight);
    }
    #services-466 .cs-item:hover:before {
        opacity: 1;
    }
    #services-466 .cs-item:nth-of-type(5) {
        width: 100%;
    }
    #services-466 .cs-icon {
        /* 44px - 90px */
        width: clamp(2.75rem, 6vw, 5.625rem);
        height: auto;
    }
    #services-466 .cs-h3 {
        /* 16px - 25px */
        font-size: clamp(1rem, 2vw, 1.5625rem);
        line-height: 1.2em;
        text-align: center;
        margin: 0;
        color: var(--headerColor);
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #services-466 .cs-container {
        max-width: 90rem;
    }
    #services-466 .cs-card-group {
        flex-wrap: nowrap;
        flex-direction: row;
    }
    #services-466 .cs-item {
        width: 100%;
    }
}

/*-- -------------------------- -->
<---       Why Choose Us        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #why-choose-1631 {
    padding: var(--sectionPadding);
  }
  #why-choose-1631 .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, 7vw, 4rem);
  }
  #why-choose-1631 .cs-flex {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 7vw, 4rem);
  }
  #why-choose-1631 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 38rem;
    /* prevents padding from affecting width and height */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #why-choose-1631 .cs-text {
    margin-bottom: 1rem;
  }
  #why-choose-1631 .cs-text:last-of-type {
    margin-bottom: 0rem;
  }
  #why-choose-1631 .cs-picture {
    display: block;
    position: relative;
    width: 100%;
    max-width: 39.375rem;
    /* chnages to auto at tablet */
    height: 50vw;
    /* removed at tablet */
    max-height: 25rem;
    /* clips img tag corners */
    overflow: hidden;
    /* sends it to the 2nd posiiton in the bottom */
    order: 2;
  }
  #why-choose-1631 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #why-choose-1631 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: stretch;
    /* 16px - 20px */
    column-gap: clamp(1rem, 2.5vw, 2rem);
    row-gap: 1.75rem;
  }
  #why-choose-1631 .cs-item {
    list-style: none;
    display: flex;
    grid-column: span 12;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  #why-choose-1631 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: var(--headerColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.3s;
  }
  #why-choose-1631 .cs-wrapper {
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #why-choose-1631 .cs-h3-icon {
    width: 1.5rem;
    height: auto;
    margin-top: 2px;
    display: block;
  }
  #why-choose-1631 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
    transition: color 0.3s,
                opacity 0.3s;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #why-choose-1631 .cs-container {
    max-width: 80rem;
  }
  #why-choose-1631 .cs-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
  #why-choose-1631 .cs-content {
    width: 50%;
    /* 32px - 56px top and bottom */
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    align-self: center;
    flex: none;
  }
  #why-choose-1631 .cs-picture {
    width: 47vw;
    min-height: 25rem;
    max-height: 100%;
    height: auto;
    /* sends it to the left in the 1st position */
    order: -1;
    position: relative;
  }
  #why-choose-1631 .cs-item {
    grid-column: span 4;
  }
}

/*-- -------------------------- -->
<!--          Reviews           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #reviews-2418 {
    padding: var(--sectionPadding);
    /* padding-top resets at 768px */
    padding-top: 25rem;
    position: relative;
    overflow: hidden;
    /* figure */
    /* blockquote */
    /* figcaption */
    /* ornamental 'quote' graphic  */
    /* background image */
  }
  #reviews-2418 .cs-container {
    max-width: 80rem;
    margin: 0 auto;
  }
  #reviews-2418 .cs-card {
    width: 100%;
    margin: 0;
    margin-left: auto;
    /* 24px - 40px */
    padding: clamp(1.5rem, 6.66vw, 2.5rem);
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
  }
  #reviews-2418 .cs-card:before {
    /* background color */
    content: '';
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0.1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #reviews-2418 .cs-title {
    margin-bottom: 3rem;
  }
  #reviews-2418 .cs-blockquote {
    width: 100%;
    margin: 0;
  }
  #reviews-2418 .cs-stars {
    width: 8.5rem;
    height: auto;
    margin-bottom: 1rem;
    display: block;
  }
  #reviews-2418 .cs-review {
    /* 16px - 20px */
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.5em;
    margin: 0 0 1rem;
    color: var(--bodyTextColor);
    z-index: 1;
  }
  #reviews-2418 .cs-review:last-of-type {
    margin-bottom: 2.5rem;
  }
  #reviews-2418 .cs-info {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
  }
  #reviews-2418 .cs-profile {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
  }
  #reviews-2418 .cs-name {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
  }
  #reviews-2418 .cs-desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--bodyTextColor);
    display: block;
  }
  #reviews-2418 .cs-profile-graphic {
    width: 27vw;
    max-width: 7.8125rem;
    height: auto;
    /* controls fill color */
    color: var(--primary);
    opacity: 0.2;
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
  }
  #reviews-2418 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #reviews-2418 .cs-background img {
    width: 100%;
    height: 100%;
    /* makes image act as a background image */
    object-fit: cover;
    object-position: center;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #reviews-2418 {
    /* resetting the padding */
    padding: var(--sectionPadding);
  }
  #reviews-2418 .cs-card {
    width: 62%;
    max-width: 46.125rem;
  }
}

/* ---- brand overrides ---- */

#banner-559 .cs-background:before { background: var(--olive); opacity: .8; }
#banner-559 .cs-int-topper { color: var(--sageMid); }
#banner-559 .cs-link.cs-active { color: var(--sageMid); }

#sbs-466 { background-color: #fff; }
#sbs-466 .cs-picture:before { background-color: var(--sage); }
#services-466 { background-color: #fff; }
#services-466 .cs-item { border-color: var(--sageMid); }
#services-466 .cs-item:hover { border-color: var(--olive); }
#why-choose-1631 { background-color: var(--sageLight); }
#why-choose-1631 .cs-wrapper { background-color: var(--sage); }
#reviews-2418 .cs-background:before { background: var(--olive); opacity: .35; }
#reviews-2418 .cs-card { background-color: var(--sageLight); }
#reviews-2418 .cs-topper { color: var(--brown); }
