/* About Us Section */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #sbs-311 {
        background: var(--bg01);
        padding: var(--sectionPadding);
    }

    #sbs-311 .cs-container {
        width: 100%;
        margin: auto;
        display: flex;
        max-width: 80rem;
        align-items: center;
        flex-direction: column;
        gap: clamp(3rem, 6vw, 4rem);
    }

    #sbs-311 .cs-content {
        width: 100%;
        display: flex;
        text-align: left;
        max-width: 33.875rem;
        flex-direction: column;
        align-items: flex-start;
    }

    #sbs-311 .cs-text {
        margin-bottom: 1rem;
    }

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

    #sbs-311 .cs-button-solid:hover:before {
        width: 100%;
    }

    #sbs-311 .cs-image-group {
        height: 39.75em;
        width: 39.4375em;
        position: relative;
        font-size: min(2.31vw, 0.7em);
    }

    #sbs-311 .cs-picture {
        display: block;
        overflow: hidden;
        position: absolute;
    }

    #sbs-311 .cs-picture img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
    }

    #sbs-311 .cs-picture1 {
        top: 0;
        left: 0;
        width: 32.625em;
        height: 36.3125em;
    }

    #sbs-311 .cs-picture2 {
        right: 0;
        bottom: 0;
        height: 25em;
        width: 25.875em;
        background: #FFF;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 40px;
        border: clamp(0.375em, 1.5vw, 0.75em) solid #FFF;
    }
}

/* Dark Mode Styles */
@media only screen and (min-width: 0rem) {
    body.dark-mode #sbs-311 .cs-picture2 {
        border: clamp(0.375em, 1.5vw, 0.75em) solid var(--bg04);
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #sbs-311 .cs-container {
        gap: 3.25rem;
        flex-flow: row;
        justify-content: space-between;
    }

    #sbs-311 .cs-image-group {
        flex: none;
        font-size: min(1.2vw, 1em);
    }

    #sbs-311 .cs-content {
        margin: 0;
    }
}

/* Steps Section */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #steps-1675 {
        padding: var(--sectionPadding);
        padding-left: 0;
        padding-right: 0;
        background: var(--bg01);
    }

    #steps-1675 .cs-container {
        width: 100%;
        margin: auto;
        display: flex;
        max-width: 36.5rem;
        align-items: center;
        flex-direction: column;
        gap: clamp(3rem, 6vw, 4rem);
    }

    #steps-1675 .cs-content {
        width: 100%;
        display: flex;
        padding: 0 1rem;
        text-align: center;
        align-items: center;
        flex-direction: column;
    }

    #steps-1675 .cs-text {
        max-width: 32.625rem;
    }

    #steps-1675 .cs-card-group {
        margin: 0;
        padding: 0;
        display: grid;
        grid-auto-flow: row;
        align-items: stretch;
        justify-items: center;
    }

    #steps-1675 .cs-item {
        display: flex;
        padding: 1.5rem;
        list-style: none;
        position: relative;
        box-sizing: border-box;
        flex-direction: column;
        align-items: flex-start;
    }

    #steps-1675 .cs-item::after {
        left: 0;
        bottom: 0;
        content: "";
        width: 100%;
        height: 1px;
        opacity: .6;
        position: absolute;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #bababa 50%, rgba(255, 255, 255, 0) 100%);
    }

    #steps-1675 .cs-item:first-of-type {
        padding-top: 0;
    }

    #steps-1675 .cs-item:last-of-type {
        padding-bottom: 0;
    }

    #steps-1675 .cs-item:last-of-type::after {
        content: none;
    }

    #steps-1675 .cs-number {
        opacity: 0.12;
        display: block;
        font-weight: 900;
        line-height: 1.2em;
        color: var(--secondary);
        font-size: clamp(5rem, 1vw, 6.25rem);
    }

    #steps-1675 .cs-h3 {
        font-weight: 700;
        line-height: 1.2em;
        color: var(--headerColor);
        margin: -1.9375rem 0 1rem 0;
        font-size: clamp(1.25rem, 2vw, 1.5625rem);
    }

    #steps-1675 .cs-item-text {
        margin: 0;
        text-align: left;
        line-height: 1.5em;
        color: var(--bodyTextColor);
        font-size: clamp(0.875rem, 2vw, 1rem);
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #steps-1675 .cs-container {
        max-width: 120rem;
    }

    #steps-1675 .cs-card-group {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    #steps-1675 .cs-item {
        padding: clamp(1.5rem, 3vw, 3.75rem);
    }

    #steps-1675 .cs-item::after {
        right: 0;
        width: 1px;
        opacity: .6;
        height: 100%;
        left: initial;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #bababa 50%, rgba(255, 255, 255, 0) 100%);
    }

    #steps-1675 .cs-item:first-of-type,
    #steps-1675 .cs-item:last-of-type {
        padding: clamp(1.5rem, 3vw, 3.75rem);
    }
}

/* Stats Section */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #stats-5 {
        z-index: 1;
        position: relative;
        background: var(--bg04);
        padding: var(--sectionPadding);
        padding-bottom: 2rem;
    }

    #stats-5 .cs-container {
        width: 100%;
        margin: auto;
        display: flex;
        max-width: 80rem;
        align-items: center;
        flex-direction: column;
        gap: clamp(3rem, 6vw, 4rem);
    }

    #stats-5 .cs-content {
        width: 100%;
        display: flex;
        text-align: center;
        align-items: center;
        flex-direction: column;
    }

    #stats-5 .cs-title {
        color: var(--bodyTextColorWhite);
    }

    #stats-5 .cs-text {
        color: var(--bodyTextColorWhite);
        opacity: 0.8;
    }

    #stats-5 .cs-card-group {
        margin: 0;
        width: 100%;
        display: flex;
        gap: 3.4375em;
        flex-wrap: wrap;
        padding: 0 1.25rem;
        max-width: 31.25rem;
        align-items: center;
        flex-direction: column;
        box-sizing: border-box;
        background: var(--itemColor);
        justify-content: space-around;
        padding-bottom: clamp(3rem, 6.5vw, 5rem);
        border-top: 8px solid var(--secondary);
        padding-top: clamp(2.5rem, 5.7vw, 4.25rem);
        box-shadow: 0 1.25em 2.5em 0 rgba(0, 0, 0, 0.05);
    }

    #stats-5 .cs-item {
        width: 100%;
        list-style: none;
        text-align: center;
    }

    #stats-5 .cs-number {
        display: block;
        font-weight: 700;
        line-height: 1.2em;
        color: var(--secondary);
        font-size: clamp(2.4375rem, 4.7vw, 3.8125rem);
        margin-bottom: clamp(0.25rem, 0.78vw, 0.5rem);
    }

    #stats-5 .cs-header {
        font-weight: 700;
        line-height: 1.2em;
        color: var(--headerColor);
        font-size: clamp(1rem, 2vw, 1.5625rem);
    }

    #stats-5 .cs-background {
        top: 0;
        left: 0;
        width: 100%;
        height: 65%;
        z-index: -1;
        display: block;
        position: absolute;
    }

    #stats-5 .cs-background:before {
        /* Overlay */
        top: 0;
        left: 0;
        z-index: 1;
        content: "";
        width: 100%;
        height: 100%;
        opacity: 0.8;
        display: block;
        position: absolute;
        background: #1A1A1A;
    }

    #stats-5 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* In-between - 500px */
@media only screen and (min-width: 31.25rem) {
    #stats-5 .cs-card-group {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0;
        row-gap: 3.4375rem;
        column-gap: 6.25rem;
    }

    #stats-5 .cs-item {
        /* sets even spacing */
        width: 7.8125rem;
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #stats-5:before {
        height: 37.5%;
    }

    #stats-5 .cs-card-group {
        max-width: 100%;
        column-gap: 0;
        row-gap: 0;
        justify-content: space-around;
    }

    #stats-5 .cs-item {
        /* reset width */
        width: auto;
    }
}

/* Big Desktop Parallax Effect - 1300px */
@media only screen and (min-width: 81.25rem) {
    #stats-5 .cs-background {
        background: url("https://www.bhg.com/thmb/5B8iN8aRFkTNbQQyr8DwsWw0nj8=/4000x0/filters:no_upscale():strip_icc()/Ranch-home-102888929_7toxixRZ4bMBliLNOpSLLc-e970bfbd2c9542ca90aa2e0b873933cc.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    #stats-5 .cs-background img {
        display: none;
    }
}

/* Why Choose Us Section */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #sbsr-298 {
        background: var(--bg04);
        padding: var(--sectionPadding);
    }

    #sbsr-298 .cs-container {
        width: 100%;
        margin: auto;
        display: flex;
        align-items: center;
        max-width: 34.375rem;
        flex-direction: column;
        justify-content: center;
    }

    #sbsr-298 .cs-content {
        width: 100%;
        display: flex;
        text-align: left;
        max-width: 32.625rem;
        flex-direction: column;
        align-items: flex-start;
    }

    #sbsr-298 .cs-topper:last-of-type {
        margin-bottom: 2rem;
    }

    #sbsr-298 .cs-text {
        margin-bottom: 1rem;
    }

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

    #sbsr-298 .cs-button-solid {
        margin-top: 2rem;
    }

    #sbsr-298 .cs-link {
        font-weight: 700;
        font-size: 1.25rem;
        text-decoration: none;
        color: var(--primary);
    }

    #sbsr-298 .cs-image-group {
        width: 100%;
        display: block;
        position: relative;
        max-width: 34.375rem;
        aspect-ratio: 0.90358127;
        margin: 0 auto clamp(4.875rem, 16.5vw, 6.75rem);
    }

    #sbsr-298 .cs-picture {
        /* big background image */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
    }

    #sbsr-298 .cs-picture img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
    }

    #sbsr-298 .cs-box {
        left: 50%;
        z-index: 10;
        display: flex;
        overflow: hidden;
        position: absolute;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        transform: translateX(-50%);
        width: clamp(12.75rem, 50vw, 20.375rem);
        height: clamp(12.75rem, 50vw, 20.375rem);
        bottom: calc(clamp(2.375rem, 7.9vw, 3.75rem) *-1);
    }

    #sbsr-298 .cs-box-picture {
        /* Background image for cs-box */
        top: 0;
        left: 0;
        width: 100%;
        z-index: -1;
        height: 100%;
        display: block;
        overflow: hidden;
        position: absolute;
        background: #1A1A1A;
    }

    #sbsr-298 .cs-box-picture img {
        top: 0;
        left: 0;
        width: 100%;
        opacity: .75;
        height: 100%;
        object-fit: cover;
        position: absolute;
        mix-blend-mode: lighten;
    }

    #sbsr-298 .cs-number {
        z-index: 10;
        display: block;
        line-height: 1em;
        font-weight: 900;
        margin-bottom: 0.5rem;
        mix-blend-mode: screen;
        font-family: var(--titleFont);
        font-size: clamp(4.6875rem, 8vw, 6.25rem);
    }

    #sbsr-298 .cs-number:before {
        top: 50%;
        left: 50%;
        opacity: 1;
        content: '';
        z-index: -1;
        display: block;
        background: #FFF;
        position: absolute;
        transform: translate(-50%, -50%);
        width: clamp(11.5rem, 45vw, 18.375rem);
        height: clamp(11.5rem, 45vw, 18.375rem);
    }

    #sbsr-298 .cs-desc {
        width: 80%;
        z-index: 10;
        font-weight: 700;
        line-height: 1.2em;
        text-align: center;
        position: relative;
        text-transform: lowercase;
        font-family: var(--bodyFont);
        font-size: clamp(1rem, 4vw, 1.5625rem);
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #sbsr-298 {
        text-align: left;
    }

    #sbsr-298 .cs-container {
        gap: 10rem;
        max-width: 80rem;
        flex-direction: row;
        justify-content: space-between;
    }

    #sbsr-298 .cs-content {
        text-align: left;
        align-items: flex-start;
    }

    #sbsr-298 .cs-image-group {
        order: 2;
        margin: 0;
        width: 40vw;
        max-width: 32.5625rem;
        height: clamp(32.5rem, 51.9vw, 42rem);
    }

    #sbsr-298 .cs-box {
        left: auto;
        transform: none;
        bottom: clamp(3.875rem, 6.2vw, 5rem);
        width: clamp(15.6875rem, 24.5vw, 20.3125rem);
        height: clamp(15.6875rem, 24.5vw, 20.3125rem);
        left: calc(clamp(3.25rem, 5.5vw + 1.6rem, 6.375rem) *-1);
    }

    #sbsr-298 .cs-number:before {
        width: clamp(14.125rem, 22.7vw, 18.3125rem);
        height: clamp(14.125rem, 22.7vw, 18.3125rem);
    }
}

/* Dark Mode */
@media only screen and (min-width: 0rem) {
    body.dark-mode #sbsr-298 .cs-link {
        color: var(--secondaryLight);
    }

    body.dark-mode #sbsr-298 .cs-icon {
        filter: grayscale(1) brightness(2000%);
    }
}

/* More Services Section */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #services-342 {
        padding: var(--sectionPadding);
        background: var(--bg04);
    }

    #services-342 .cs-container {
        width: 100%;
        margin: auto;
        display: flex;
        max-width: 80rem;
        align-items: center;
        flex-direction: column;
        gap: clamp(3rem, 6vw, 4rem);
    }

    #services-342 .cs-content {
        width: 100%;
        display: flex;
        text-align: center;
        align-items: center;
        flex-direction: column;
    }

    #services-342 .cs-card-group {
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: clamp(1rem, 1.6vw, 1.25rem);
    }

    #services-342 .cs-item {
        z-index: 1;
        width: 100%;
        list-style: none;
        position: relative;
        max-width: 31.25rem;
        transition:
            box-shadow 0.3s,
            transform 0.3s;
    }

    #services-342 .cs-item:hover {
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        transform: translateY(-0.4375rem);
    }

    #services-342 .cs-item:hover .cs-picture img {
        opacity: 0.3;
        transform: scale(1.1);
    }

    #services-342 .cs-item:hover .cs-h3 {
        color: var(--primaryLight);
    }

    #services-342 .cs-item:before {
        top: 0;
        left: 0;
        opacity: 1;
        content: "";
        width: 100%;
        z-index: -1;
        height: 100%;
        display: block;
        position: absolute;
        box-sizing: border-box;
        background: transparent;
        border: 1px solid var(--borderColor);
    }

    #services-342 .cs-link {
        display: block;
        text-decoration: none;
        padding-bottom: clamp(1rem, 2.2vw, 1.5rem);
    }

    #services-342 .cs-picture {
        width: 100%;
        z-index: 10;
        height: 15rem;
        display: block;
        overflow: hidden;
        position: relative;
        background-color: var(--primaryLight);
        margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
    }

    #services-342 .cs-picture img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        transition:
            transform 0.6s,
            opacity 0.3s;
    }

    #services-342 .cs-h3 {
        font-weight: 700;
        line-height: 1.2em;
        margin: 0 0 0.75rem 0;
        transition: color 0.3s;
        color: var(--headerColor);
        padding: 0 clamp(1rem, 2vw, 1.5rem);
        font-size: clamp(1.25rem, 3vw, 1.5625rem);
    }

    #services-342 .cs-item-text {
        margin: 0;
        line-height: 1.5em;
        color: var(--bodyTextColor);
        padding: 0 clamp(1rem, 2.2vw, 1.5rem);
        font-size: clamp(0.875rem, 1.5vw, 1rem);
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #services-342 .cs-card-group {
        flex-direction: row;
        flex-wrap: wrap;
    }

    #services-342 .cs-item {
        width: clamp(31.85%, 30.5vw, 32.28%);
    }
}


/* Reviews Section */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #reviews-1672 {
        background: var(--bg01);
        padding: var(--sectionPadding);
    }

    #reviews-1672 .cs-container {
        width: 100%;
        margin: auto;
        display: flex;
        max-width: 80rem;
        align-items: center;
        flex-direction: column;
        gap: clamp(2.5rem, 4.5vw, 4rem);
    }

    #reviews-1672 .cs-content {
        width: 100%;
        display: flex;
        text-align: left;
        flex-direction: column;
        align-items: flex-start;
    }

    #reviews-1672 .cs-flex {
        margin-top: 2rem;
    }

    #reviews-1672 .cs-title {
        margin: 0rem;
    }

    #reviews-1672 .cs-card-group {
        margin: 0;
        padding: 0;
        width: 100%;
        display: grid;
        gap: clamp(1rem, 2.5vw, 1.25rem);
        grid-template-columns: repeat(12, 1fr);
    }

    #reviews-1672 .cs-item {
        width: 100%;
        display: flex;
        list-style: none;
        position: relative;
        grid-column: span 12;
        box-sizing: border-box;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        background: var(--itemColor);
        gap: clamp(1.5rem, 4vw, 3rem);
        transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
        padding: clamp(1.25rem, 3.15vw, 2.5rem) clamp(1.25rem, 3.15vw, 2.5rem);
    }

    #reviews-1672 .cs-item:hover {
        background: var(--itemColor);
        transform: translateY(-0.4375rem);
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 50px;
    }

    #reviews-1672 .cs-flex-group {
        gap: 0.75rem;
        display: flex;
        margin-top: auto;
        align-items: flex-start;
    }

    #reviews-1672 .cs-profile {
        height: auto;
        width: 3.25rem;
        display: block;
        border-radius: 50%;
        position: relative;
    }

    #reviews-1672 .cs-profile img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
    }

    #reviews-1672 .cs-name {
        margin: 0;
        display: block;
        font-weight: 700;
        margin-top: auto;
        font-size: 1.25rem;
        line-height: 1.2em;
        color: var(--headerColor);
    }

    #reviews-1672 .cs-job {
        margin: 0;
        display: block;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5em;
        color: var(--bodyTextColor);
    }

    #reviews-1672 .wrapper {
        gap: 1rem;
        display: flex;
        flex-direction: column;
    }

    #reviews-1672 .cs-item-stars {
        width: 6.75rem;
        height: auto;
    }

    #reviews-1672 .cs-review {
        margin: 0;
        z-index: 1;
        line-height: 1.5em;
        color: var(--bodyTextColor);
        font-family: var(--bodyFont);
        font-size: clamp(0.875rem, 1.6vw, 1.25rem);
    }

    #reviews-1672 .cs-quote {
        z-index: 0;
        right: 0rem;
        height: auto;
        bottom: 0rem;
        width: 5.375rem;
        position: absolute;
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #reviews-1672 .cs-item {
        grid-column: span 4;
    }
}

/* Gallery Section */
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #gallery-1446 {
        background: var(--bg01);
        padding: var(--sectionPadding);
        padding-top: 3rem;
    }

    #gallery-1446 .cs-container {
        width: 100%;
        margin: auto;
        display: flex;
        max-width: 80rem;
        position: relative;
        align-items: center;
        flex-direction: column;
        gap: clamp(3rem, 6vw, 4rem);
    }

    #gallery-1446 .cs-content {
        width: 100%;
        gap: 1.5rem;
        display: flex;
        text-align: left;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    #gallery-1446 .cs-title {
        margin: 0;
    }

    #gallery-1446 .cs-gallery {
        margin: 0;
        padding: 0;
        width: 100%;
        display: grid;
        position: relative;
        gap: clamp(1rem, 1.5vw, 1.25rem);
        grid-template-columns: repeat(auto-fit, minmax(19.0625rem, 1fr));
    }

    #gallery-1446 .cs-image {
        display: block;
        overflow: hidden;
        position: relative;
        min-height: clamp(16.25rem, 60vw, 20rem);
    }

    #gallery-1446 .cs-image img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
    }
}