.services_container {
    background-color: var(--grey);
    border-radius: 20px;
    padding: 40px 80px;
    box-sizing: border-box;
    overflow-x: hidden;
}   

.inner_services_container {
    padding: 40px;
    overflow-x: unset;
}

.services_container::-webkit-scrollbar,
.services_container::-webkit-scrollbar-track,
.services_container::-webkit-scrollbar-thumb {
    display: none;
}

.owner_section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.owner_image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: var(--green);
    overflow: hidden;
    width: 480px;
    border-radius: 10px;
    margin-right: 40px;
}

.owner_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.owner_quote_wrapper {
    width: calc(100% - 480px - 40px);
}

.owner_quote_wrapper h3 {
    margin-bottom: 0;
    margin-top: 20px;
    margin-left: auto;
    width: max-content;
}

.owner_quote_wrapper h4 {
    margin: 10px 0 -5px;
    margin-left: auto;
    width: max-content;
}

.owner_quote {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.owner_quote i {
    color: var(--brown);
    font-size: 35px;
}

.owner_quote .fa-quote-left {
    margin-right: 25px;
}

.owner_quote .fa-quote-right {
    margin-top: auto;
    margin-left: 10px;
}

.owner_quote p {
    margin: 40px auto;
}

.separator {
    width: 100%;
    height: 2px;
    background-color: var(--black);
    margin: 40px 0;
}

.services_slider {
    display: flex;
    align-items: stretch;
    width: calc(100% + 160px);
    margin-left: -80px;
    overflow-x: auto;
    overflow-y: hidden;
    /* white-space: nowrap;  */
    -webkit-overflow-scrolling: touch; 
    cursor: grab;
    user-select: none; 
    -webkit-user-select: none;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.services_slider a,
.services_slider .explore_thumbnail
.services_slider .explore_thumbnail img {
  -webkit-user-drag: none;  /* Chrome, Safari, Edge */
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  pointer-events: auto;     /* Keep clicks working */
  user-select: none;
}

.services_slider::-webkit-scrollbar,
.services_slider::-webkit-scrollbar-track,
.services_slider::-webkit-scrollbar-thumb {
    display: none;
}

.services_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services_heading h3 {
    margin: -10px 0 30px 0;
}

.services_heading .square_buttons {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.services_heading .square_button {
    background-color: var(--white);
    color: var(--black);
}

.services_heading .square_button:first-of-type {
    margin-right: 20px;
}

.service_card {
    width: 370px;
    background-color: var(--white);
    color: var(--black);
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 20px;
    transition: 0.3s all ease-in-out;
    -webkit-user-drag: none;  /* Chrome, Safari, Edge */
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;    
    pointer-events: auto;     /* Keep clicks working */
    user-select: none;
}

.services_slider .service_card:first-of-type {
    margin-left: 80px;
}

.services_slider .image_card:first-of-type {
    margin-left: 0px;
}

.services_slider .service_card:last-of-type {
    margin-right: 20px;
}

.services_slider .image_card:last-of-type,
.services_slider .review_card:last-of-type {
    margin-right: 80px;
}

.services_slider .image_card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: var(--green);
    overflow: hidden;
}

.services_slider .image_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.service_card .square_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    background-color: var(--green);
    text-align: center;
    color: var(--white);
    font-size: 16px;
    opacity: 1;
    border-radius: 5px;
    transition: 0.3s all ease-in-out;
}

.service_card h4 {
    margin: 80px 0 20px 0;
    transition: 0.3s all ease-in-out;
}

.service_card h5 {
    font-size: 16px;
    width: max-content;
    margin: 20px 0 0 auto;
    text-transform: uppercase;
    transition: 0.3s all ease-in-out;
}

.service_card h5 i {
    margin-left: 8px;
}

.services_slider a:hover {
    background-color: var(--green);
    color: var(--white);
    transition: 0.3s all ease-in-out;
}

.services_slider a:hover h4,
.services_slider a:hover h5 {
    color: var(--white);
    transition: 0.3s all ease-in-out;
}

.services_slider a:hover .square_icon {
    background-color: var(--black);
    transition: 0.3s all ease-in-out;
}

@media (max-width: 1250px) {
    .services_container {
        padding: 25px;
    }

    .services_slider {
        width: calc(100% + 100px);
        margin-left: -50px;
    }

    .services_slider .service_card:first-of-type {
        margin-left: 50px;
    }

    .services_slider .image_card:first-of-type {
        margin-left: 0px;
    }

    .services_slider .service_card:last-of-type {
        margin-right: 20px;
    }

    .services_slider .image_card:last-of-type,
    .services_slider .review_card:last-of-type {
        margin-right: 50px;
    }
}

@media (max-width: 1050px) {
    .owner_section {
        flex-direction: column-reverse;
    }

    .owner_quote_wrapper {
        width: 100%;
        margin-bottom: 40px;
    }

    .owner_image {
        width: 100%;
        max-height: 500px;
    }
}

@media (max-width: 800px) {
    .services_container {
        padding: 20px;
    }

    .services_slider {
        width: calc(100% + 80px);
        margin-left: -40px;
    }

    .services_slider .service_card:first-of-type {
        margin-left: 40px;
    }

    .services_slider .image_card:first-of-type {
        margin-left: 0px;
    }

    .services_slider .service_card:last-of-type {
        margin-right: 20px;
    }

    .services_slider .image_card:last-of-type,
    .services_slider .review_card:last-of-type {
        margin-right: 40px;
    }
}

@media (max-width: 600px) {
    .services_container {
        padding: 20px;
    }

    .owner_quote {
        flex-direction: column;
    }

    .owner_quote p {
        width: 100%;
        margin: 20px auto 10px;
    }
    
    .owner_quote .fa-quote-right {
        margin-left: auto;
    }
}

@media (max-width: 420px) {
    .services_heading {
        flex-direction: column;
    }

    .service_card {
        width: 330px;
    }
}
