/* Testimonial Slider Specific Styles */
/* Divi's native slider styles handle all animation, arrows, and controls */

/* Hide all slides by default, show only first or active */
.et_pb_testimonial_slider .et_pb_slide {
    display: none !important;
    background: transparent !important;
}


.et_pb_testimonial_slider .et_pb_slide.et-pb-active-slide {
    display: block !important;
}
.et_pb_testimonial_slider .et_pb_testimonial_slider {
  .et-pb-slider-arrows,
  .et-pb-controllers {
    display: none;
  }
}

/* Testimonial content inside slider */
.et_pb_testimonial_slider .et_pb_testimonial_custom {
    margin-bottom: 0;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.et_pb_testimonial_slider .et_pb_slide .et_pb_container {
    padding: 60px 40px;
    margin: 0 auto;
}

.et_pb_testimonial_slider .et_pb_slider_container_inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Ensure stars and meta are visible on slider backgrounds */
.et_pb_testimonial_slider .testimonial-stars .star.filled {
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.et_pb_testimonial_slider .testimonial-stars .star.empty {
    color: rgba(255, 255, 255, 0.3);
}

.et_pb_testimonial_slider .testimonial-quote {
    color: #ffffff;
    font-size: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.et_pb_testimonial_slider .testimonial-quote:before {
    color: rgba(255, 255, 255, 0.2);
}

.et_pb_testimonial_slider .testimonial-meta {
    color: rgba(255, 255, 255, 0.9);
    border-top: none;
}

.et_pb_testimonial_slider .testimonial-author {
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .et_pb_testimonial_slider .et_pb_slide .et_pb_container {
        padding: 50px 30px;
    }
    
    .et_pb_testimonial_slider .testimonial-quote {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .et_pb_testimonial_slider .et_pb_testimonial_custom {
        min-height: 300px;
    }
    
    .et_pb_testimonial_slider .et_pb_slide .et_pb_container {
        padding: 40px 20px;
    }
    
    .et_pb_testimonial_slider .testimonial-quote {
        font-size: 16px;
    }
}
