body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: white;
}

h2 {
    color: rgb(11, 81, 104);
}

.logo-box {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
    margin-bottom: 20px;
}

.logo-box-part {
    align-self: flex-end;
}


a {
    text-decoration: none;
    color: #333;
}

.logo-main {
    width: 240px;
}

.logo-info-perso {
    width: 30px;
}

.nav-perso {
    background: linear-gradient(to bottom right, rgb(3, 51, 67), rgb(212, 234, 241));
    color: #fff;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}



section {
    padding: 50px 20px;
    text-align: center;
}

section h2 {
    margin-bottom: 20px;
}




#bande-top {
    height: 24vh;
    background-image: url("image/fond.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.badge-container {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    text-align: center;
    width: 300px;
    margin: 20px;
    border: 10px solid #417f8785;
    border-radius: 50% 20% / 10% 40%;
    color: rgb(7, 59, 77);
}




/* --------------card responsives services---------- */

.card-container {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 300px;
    margin: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.card h3 {
    padding: 10px;
    margin: 0;
}

.card p {
    padding: 0 10px 10px;
    margin: 0;
}

/* --------------card responsives services  end---------- */


/* --------------section about---------- */
#about {
    background: linear-gradient(to bottom right, rgb(244, 249, 251), rgb(126, 164, 175));
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-image {
    order: 2;
}

.about-image img {
    width: 200px;
}

.about-text {
    order: 1;
    text-align: left;
}

/* --------------section about end---------- */

/* --------------------------section contact infos------------------- */
.contact-info-container {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info {
    text-align: center;
    width: 300px;
    margin: 20px;
    color: rgb(7, 59, 77);
}

/* --------------------------section contact infos end------------------- */

.avis-client-container {
    text-align: center;
    background-color: rgba(145, 187, 198, 0.508);
    background-image: url("image/fond-avis.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 50px;
    padding-top: 30px;
    padding-bottom: 70px;
}

.avis-client-container h2 {
    padding-bottom: 10px;
}

.slider-container {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.slider {
    white-space: nowrap;
    transition: transform 0.5s ease;
}

.slide {
    display: inline-block;
    width: 100%;
}

.text-perso {
    color: rgb(11, 81, 104);
    font-size: 1.5em;
}

/* -----------------------------formulaire de contact--------------------- */
form {
    max-width: 350px;
    margin: 0 auto;
    text-align: left;
}

form label,
form input,
form textarea {
    display: block;
    margin-bottom: 10px;
    width: 100%;
}

form input,
form textarea {
    padding: 10px;
}

form button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #555;
}

/* -----------------------------formulaire de contact end--------------------- */

footer {
    background-color: rgba(42, 80, 90, 0.508);
    background-image: url("image/fond-footer.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 40px;
    text-align: center;
}


/* --------------------------------media query---------------------------- */

@media (min-width: 900px) {
    .about-content {
        flex-direction: row;
    }

    .about-text {
        margin-right: 10px;
        /* Ajoute un espacement entre l'image et le texte */
        flex-basis: 70%;
        /* Définit la largeur de la colonne du texte */
    }

    .about-image {
        flex-basis: 30%;
        /* Définit la largeur de la colonne de l'image */
    }
}



@media (max-width: 900px) {

    .disablemobile {
        display: none;
    }

    .logo-main {
        width: 120px;
    }
}