*,
*::before,
*::after {
  box-sizing: border-box;
}

body{

    font-family: 'Poppins', sans-serif;
}

.expert .contenu .box {
    width: 250px;
    margin: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.expert .contenu .box .imbox {
    flex: 1;
}

.expert .contenu .box .text {
    padding: 10px;
    text-align: center;
}

.expert .contenu .box h3 {
    color: #000;
    font-size: 1em;
    font-weight: 600;
    margin-top: 10px;
}

h2{

    margin-bottom: 150px;
}




.slider-nav {
    text-align: center;
    margin-top: 20px;
    
}

.slider-nav button {
    background-color: #dc8fd3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 40%;
    border: solid #000;
}

.slider-nav button:hover {
    background-color: #b377ac;
}

/* Votre CSS existant ici */

/* Votre CSS existant ici */

.box {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.box img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.slider-nav {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 150px;
}

.slider-nav button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #dc8fd3;
    color: #fff;
    text-decoration: none;
    border-radius: 5px; 
    transition: background-color 0.3s; 
  }

.slider-nav button:hover {
    background-color: #b377ac;
}


.titre-texte{
    color: #000;
    font-size: 2em;
    font-weight: 300px;
    text-transform: capitalize;
    margin-top: 250px;
    text-align: center;

}

 h2{

    text-align: center;
}



.titre-texte span{
    color: #dc8fd3;
    font-size: 1.5em;
    font-weight: 700px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 10px;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: 0.5s;
    background-color: black; /* Ajout de la couleur de fond */
}

.logo {
    color: #fff;
    font-weight: bold;
    font-size: 2em;
    text-decoration: none;
}

.logo span {
    color: #dc8fd3;
}

header .navbar li a:hover {
    color: #dc8fd3;
    border-bottom: 2px solid #b377ac;
}

.navbar {
    display: flex;
    position: relative;
}

.navbar li {
    list-style: none;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 700;
}


.btn-reserve:hover {
    background: #2b138b;
    transition: ease-out;
}

.expert {
    margin-top: -100px;
}

.expert .contenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.expert .contenu .box {
    width: 250px;
    margin: 15px;
}

.expert .contenu .box img {
    top: 0;
    left: 0;
    object-fit: contain;
    border-radius: 20px;
    width: 200px;
    margin: 20px;
    padding: 20px;
    border: 10px solid #000000;
    box-shadow: 20px 15px 35px rgba(0, 0, 0, 0.8);
}

.expert .contenu .box h3 {
    color: #111;
    font-weight: 400;
    text-align: center;

}


