.custom-text-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px; /* Ajustez selon vos besoins */
}

.custom-text-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    opacity: 0;
    transition: all 1s ease;
}

.custom-text-slider .slide.active {
    left: 0;
    opacity: 1;
    z-index: 1;
}

.custom-text-slider .slide.previous {
    left: -100%;
    opacity: 0;
    z-index: 0;
}

.custom-text-slider .navigation {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 30px;
    z-index: 99999;
}

.custom-text-slider .navigation button {
    width: 30px;
    height: 30px;
    padding: 10px;
    cursor: pointer;
    border: none;
}

.prev {
    background: url("prev.png") no-repeat;
}

.next {
    background: url("next.png") no-repeat;
}

.custom-text-slider .navigation button:hover {
    /* Ajouter des styles pour le survol des boutons si nécessaire */
}

.border-slider {
    height: 2px;
    border-top: solid 2px #DF1D40;
    width: 100%;
    clear: both;
    position: absolute;
    bottom: 65px;
}

#temignages .custom-text-slider h2 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #DF1D40;
}

#temignages .custom-text-slider h2::before {
    content: "";
    display: inline-block;
    width: 40px; /* Largeur de l'image */
    height: 40px; /* Hauteur de l'image */
    background-image: url("quote.png"); /* Chemin vers votre image */
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px; /* Espace entre l'image et le texte */
    vertical-align: middle; /* Aligner l'image avec le texte */
}

#temignages .slide-text-field {
    text-transform: uppercase;
    color: #686868;
}
