main {
    /* background: #e3e3e3; */
    position: relative;
    min-height: 1000px;
    margin-top: 141px;
    transition: filter 0.5s ease;
    /* Transition progressive pour le flou */
    color: white;
}

.blur {
    filter: blur(6px);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0% 10%;
}

.flash-success {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 47px;
    background: green;
}

.hero {
    margin-bottom: 50px;
}


.hero_content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero_content p {
    text-align: center;
    font-size: 32px;
    color: black;
}

.certif {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    background-color: rgb(79 172 189 / 22%);
    border-radius: 15px;
    padding: 16px;
    align-items: center;
}

.certif img {
    width: 100px;
}

.certif p {
    color: #2C3E50;
}


.cta_button,
.service_link {
    display: inline-block;
    text-align: center;
    width: 220px;
    padding: 15px 25px;
    margin-top: 30px;
    border-radius: 50px;
    background-color: rgb(79, 172, 189);
    color: white;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgb(79, 172, 189);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta_button:hover,
.service_link:hover {
    background-color: white;
    color: rgb(79, 172, 189);
    border-color: rgb(79, 172, 189);
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cta_button:active,
.service_link:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.services {
    width: 100%;
}

h2 {
    position: relative;
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: black;
}

h2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: rgb(79, 172, 189);
    bottom: 0px;
    left: 0px;
}

.service_cards {
    width: 100%;
}

.service_card {
    position: relative;
    display: flex;
    height: 342px;
    background-color: white;
    margin: 50px 0px;
    filter: drop-shadow(1px 2px 3px black);
}


.service_card:last-child {
    position: relative;
    flex-direction: row-reverse;
}

.service_card:last-child::before {
    content: '';
    position: absolute;
    top: -25px;
    width: 100%;
    height: 2px;
    background: grey;
}

.service_content {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: black;
}

.service_image {
    object-fit: cover;
    width: 25%;
}

.service_title {
    text-align: center;
    position: relative;
    font-size: 56px;
    color: #2C3E50;
}

.service_title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: rgb(79, 172, 189);
}

.service_text {
    text-align: center;
}

.service_text span {
    background: powderblue;
}


.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
}

.carousels {
    display: flex;
    justify-content: space-around;
}

.carousel1 {
    display: flex;
    overflow: hidden;
    width: 29%;
    min-width: 300px;
    border-radius: 9%;
}


.images {
    width: 100%;
    gap: 10%;
    display: flex;
    animation: slider 25s infinite ease-in-out;
}

@keyframes slider {
    0% {
        transform: translateX(0%);
    }
    6.6% {
        transform: translateX(-110%);
    }
    13.2% {
        transform: translateX(-220%);
    }
    19.8% {
        transform: translateX(-330%);
    }
    26.4% {
        transform: translateX(-440%);
    }
    33% {
        transform: translateX(-550%);
    }
    39.6% {
        transform: translateX(-660%);
    }
    46.2% {
        transform: translateX(-770%);
    }
    52.8% {
        transform: translateX(-880%);
    }
    59.4% {
        transform: translateX(-990%);
    }
    66% {
        transform: translateX(-1100%);
    }
    72.6% {
        transform: translateX(-1210%);
    }
    79.2% {
        transform: translateX(-1320%);
    }
    85.8% {
        transform: translateX(-1430%);
    }
    92.4% {
        transform: translateX(-1540%);
    }
    100% {
        transform: translateX(-1650%);
    }
}


.carousel_item {
    width: 100%;
    object-fit: cover;
    border-radius: 9%;
}


.feedback {
    width: 100%;
}



h1,
p {
    color: black;
}

h2 {
    color: #2C3E50;
}

@media screen and (max-width:750px) {
    .service_card {
        position: relative;
        flex-direction: column;
        align-items: center;
        gap: 1%;
        height: 606px;
        min-width: 274px;
    }

    .service_card:last-child {
        flex-direction: column;
    }


    .service_link {
        position: absolute;
        bottom: 20px;
    }

    .service_image {
        width: 100%;
    }
}