.edb-testimonials-container {
    position: relative;
    background: url('img/testimonials-background.webp') no-repeat center center;
    background-size: cover;
    padding: 60px 20px;
    color: #fff;
    text-align: center;
    margin: auto;
}
.edb-testimonials-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

.edb-testimonial-slide-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.edb-testimonials-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.edb-testimonial-slide {
    display: none;
    font-size: 18px;
    line-height: 1.6;
    position: relative;
    padding: 20px 40px;
    transition: opacity 0.5s ease;
}

.edb-testimonial-slide.active {
    display: block;
    animation: fadein 0.8s;
}
.edb-testimonial-text {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 16px;
    opacity: 0.8;
    line-height: 32px;
    max-width: 900px;
    padding: 20px 40px;
    margin: 0 auto;
}

.edb-quote-icon {
    font-size: 50px;
    color: #ff5e5e;
    font-weight: bold;
    position: absolute;
}
.edb-quote-icon.left {
    left: 20px;
    top: 0;    
}

.edb-quote-icon.right {
    right: 20px;
    bottom: 0;
}

@media (max-width:640px){

    .edb-testimonial-text {
        padding: 20px 0;
    }

    .edb-quote-icon.left {
        left: 10px;
        top: -20px;
        transform: scale(0.6);
    }

    .edb-quote-icon.right {
        right: 10px;
        bottom: -20px;
        transform: scale(0.6);
    }
}

.edb-pagination-dots {
    text-align: center;
    margin-top: 30px;
}

.edb-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.edb-slider-outer {
    overflow: hidden;
    transition: height 0.4s ease;
}

.edb-dot.active {
    background: white;
}

.edb-testimonial-author {
    margin-top: 15px;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Poppins';
}

.edb-slider-nav {
    margin-top: 20px;
}

.edb-slider-nav button {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    font-weight: bold;
}
@keyframes fadein {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Swipe */

/* Allow vertical scroll, but we’ll listen for horizontal swipes */
.edb-slider-outer,
.edb-testimonials-slider {
  touch-action: pan-y;
}