.container_services_hp{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
}

.services_single{
    background-color: white;
    width: calc(33% - 15px);
    transition: 0.3s;
    min-height: 550px;
}

.container_top_services{
    position: relative;
}

.services_title_single{
    position: absolute;
    bottom: 20px;
    padding: 0px 25px;
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    z-index: 2;
    font-family: 'Montserrat';
    line-height: 1.2;
}

.container_top_services img{
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.container_content_services{
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services_texte{
    line-height: 1.4;
    font-size: 1rem;
    flex: 1;
}

.services_single:hover {
    box-shadow: 5px 5px 15px 2px rgba(26,26,26,0.15);
}

.services_single_container {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.services_single:hover .container_top_services:after{
    opacity: 1;
}

.services_single:hover .btn_know_more {
    color: var(--color_vert);
}

.container_top_services:before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(26,26,26,1) 0%, rgba(255,255,255,0) 25%);
    opacity: 1;
    transition: 0.3s;
}

.container_top_services:after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(74,178,151,1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: 0.3s;
}


.btn_know_more{
    position: relative;
    text-align: end;
    text-transform: uppercase;
    color: var(--color_noir2);
    margin-bottom: 0;
    font-size: 0.9rem;
    padding-right: 15px;
    font-weight: 500;
    font-family: 'Montserrat';
    line-height: 1;
}

.btn_know_more:before {
    content: "";
    display: block;
    position: absolute;
    right: 1px;
    -webkit-mask: url("/wp-content/uploads/2023/05/arrow.svg") no-repeat 50% 50%;
    mask-size: contain;
    background-color: var(--color_noir2);
    width: 10px;
    height: 10px;
}

.btn_know_more:after {
    content: "";
    display: block;
    position: absolute;
    right: -3px;
    -webkit-mask: url("/wp-content/uploads/2023/05/arrow.svg") no-repeat 50% 50%;
    mask-size: contain;
    background-color: var(--color_noir2);
    width: 10px;
    height: 10px;
}

.btn_know_more:after,
.btn_know_more:before {
    top: 50%;
    transform: translateY(-50%);
}


.services_single:hover .container_btn_know_more {
    transform: translate(5px, 0px);
}

.container_btn_know_more {
    transition: 0.3s;
}

@media screen and (max-width:1120px) {
    .services_single {
        width: 30%;
    }
}

@media screen and (max-width:992px) {
    .services_single {
        width: 48%;
        height: 625px;
    }

    .container_services_hp{
        justify-content: space-around;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .services_texte {
        line-height: 1.4;
    }

    .services_single {
        height: auto;
        width: 75%;
    }

    .services_title_single{
        left: 0px;
    }
}

@media screen and (max-width: 492px) {
    .services_texte {
        line-height: 1.5;
        font-size: 1.1rem;
    }

    .services_single {
        width: 100%;
    }
}