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

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #services-943 .four-images {
        display: flex;
        justify-content: space-between; /* space evenly between images */
        flex-wrap: wrap;                 /* wrap to next line on small screens */
        gap: 1rem;                       /* optional spacing between images */
        width: 100%;                     /* ensure container fits parent */
        box-sizing: border-box;
    }

    #services-943 .four-images img {
        width: calc(25% - 0.75rem); /* 25% minus half the gap on each side */
        height: auto;                /* keep aspect ratio */
        object-fit: cover;           /* optional: crop if needed */
    }

    #services-943 {
        padding: var(--sectionPadding);
        position: relative;
        z-index: 1;
    }
    #services-943 .cs-container {
        width: 100%;
        /* changes to 1440px at tablet */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #services-943 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        max-width: 50rem;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #services-943 .cs-title,
    #services-943 .cs-text {
        max-width: 100%;
    }
    #services-943 .cs-card-group {
        margin: 0;
        padding: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        /* 16px - 20px */
        gap: clamp(1rem, 2vw, 1.25rem);
    }
    #services-943 .cs-item {
        width: 100%;
        text-align: center;
        list-style: none;
        /* margin top value to match the negative margin value of the .cs-icon-wrapper */
        margin: 2.75rem 0 0 0;
        /* 24px - 64px bottom */
        /* 24px - 40px left & right */
        padding: 0 clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 6vw, 4rem);
        background-color: #f7f3ee;
        color: var(--bodyTextColorWhite);
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        grid-column: span 12;
        grid-row: span 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
        min-height: 20rem;
    }
    #services-943 .cs-item:hover .cs-h3 {
        color: var(--primary);
    }
    #services-943 .cs-item:hover .cs-item-text {
        color: var(--primary);
        opacity: 0.9;
    }
    #services-943 .cs-item:hover .cs-background {
        opacity: 1;
    }
    #services-943 .cs-icon-wrapper {
        width: 5.5rem;
        height: 5.5rem;
        margin: -2.75rem 0 2.25rem 0;
        background-color: var(--primary);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #services-943 .cs-icon {
        /*width: 2.5rem;*/
        /*height: auto;*/
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    #services-943 .cs-h3 {
        /* 20px - 25px */
        font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
        line-height: 1.2em;
        font-weight: bold;
        margin: 0 0 0.75rem 0;
        color: var(--bodyTextColorWhite);
    }
    #services-943 .cs-item-text {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        max-width: 18.75rem;
        margin: 0 0 2rem 0;
        padding: 0;
        color: var(--bodyTextColor);
    }
    #services-943 .cs-link {
        text-decoration: none;
        font-size: 0.8rem;
        line-height: 1.2em;
        font-weight: bold;
        margin: 0;
        padding: 0;
        color: var(--primary);
        position: relative;
        transition: color 0.3s;
    }
    #services-943 .cs-link:hover {
        color: #fff;
    }
    #services-943 .cs-link:before {
        /* underline */
        content: "";
        width: 100%;
        height: 1px;
        background: currentColor;
        opacity: 1;
        position: absolute;
        display: block;
        bottom: 0rem;
        left: 0;
    }
    #services-943 .cs-background {
        width: 80%;
        height: 80%;
        /*opacity: 0;*/
        display: block;
        position: absolute;
        top: 10%;
        left: 10%;
        z-index: -1;
        transition: opacity 0.3s;
        object-fit: cover;
    }
    /*#services-943 .cs-background:before {*/
    /*    !* background color overlay *!*/
    /*    content: "";*/
    /*    position: absolute;*/
    /*    display: block;*/
    /*    height: 100%;*/
    /*    width: 100%;*/
    /*    background: #1a1a1a;*/
    /*    opacity: 0.84;*/
    /*    top: 0;*/
    /*    left: 0;*/
    /*    z-index: 1;*/
    /*}*/
    #services-943 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* Makes img tag act as a background image */
        object-fit: cover;
    }
    #services-943 .cs-waves {
        width: 100%;
        height: 13.875rem;
        background-color: var(--primaryLight2);
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
    }
    #services-943 .cs-waves img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #services-943 .cs-container {
        max-width: 90rem;
    }
    #services-943 .cs-item {
        grid-column: span 6;
    }
}
/* Large Desktop - 1024px */
@media only screen and (min-width: 81.25rem) {
    #services-943 .cs-item {
        grid-column: span 3;
    }
}
#services-943 {
    position: relative;
    overflow: hidden;
}

#services-943 .decor {
    position: absolute;
    z-index: 0;
    width: 100px;
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#services-943 .decor:hover {
    transform: scale(1.1);
    opacity: 1;
}

#services-943 .top-left {
    top: 150px;
    left: 400px;
}

#services-943 .bottom-left {
    bottom: 50px;
    left: 550px;
}

#services-943 .top-right {
    top: 150px;
    right: 400px;
}

#services-943 .bottom-right {
    bottom: 50px;
    right: 550px;
}

#services-943 .cs-content {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    #services-943 .decor {
        width: 60px;
        opacity: 0.6;
    }
}
.cs-button-container {
    text-align: center;
    margin-top: 40px;
}

.cs-button-solid {
    display: inline-block;
    background-color: #FFD93D; /* cheerful yellow to match your design */
    color: #333;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cs-button-solid:hover {
    background-color: #FFC300;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}




