/* Butz Slider Testimonials Styles */

.butz-testimonials-wrapper {
  width: 100%;
  position: relative;
}

.butz-testimonials-slider {
  position: relative;
  margin: 0 -15px;
}

.butz-testimonial-card-wrapper {
  padding: 0 15px;
}

.butz-testimonial-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  min-height: 200px;
}

.butz-testimonial-card.has-image {
  flex-direction: row;
}

.butz-testimonial-card.no-image {
  flex-direction: column;
}

/* Image Column */
.testimonial-image-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Content Column */
.testimonial-content-col {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-text {
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  padding: 0;
}

.testimonial-name {
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 8px;
  margin-top: 10px;
}

.testimonial-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #66cc66;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design - Mobile */
@media (max-width: 767px) {
  .butz-testimonial-card {
    flex-direction: column;
    padding: 30px 20px;
  }

  .butz-testimonial-card.has-image {
    flex-direction: column;
  }

  .testimonial-image-col {
    width: 100%;
    margin-bottom: 20px;
  }

  .testimonial-image img {
    width: 120px;
    height: 120px;
  }

  .testimonial-content-col {
    width: 100%;
    text-align: center;
  }

  .testimonial-text {
    text-align: left;
  }
}

/* Slick Slider Styles */
.butz-testimonials-wrapper .slick-prev,
.butz-testimonials-wrapper .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.butz-testimonials-wrapper .slick-prev:hover,
.butz-testimonials-wrapper .slick-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.butz-testimonials-wrapper .slick-prev {
  left: 10px;
}

.butz-testimonials-wrapper .slick-next {
  right: 10px;
}

.butz-testimonials-wrapper .slick-prev:before,
.butz-testimonials-wrapper .slick-next:before {
  font-size: 20px;
  line-height: 1;
  opacity: 1;
  color: white;
}

.butz-testimonials-wrapper .slick-prev:before {
  content: "←";
}

.butz-testimonials-wrapper .slick-next:before {
  content: "→";
}

/* Slick Dots */
.butz-testimonials-wrapper .slick-dots {
  position: relative;
  bottom: auto;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.butz-testimonials-wrapper .slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.butz-testimonials-wrapper .slick-dots li button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #000;
  border-radius: 50%;
  background-color: transparent;
  font-size: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.butz-testimonials-wrapper .slick-dots li.slick-active button {
  background-color: #000;
}

.butz-testimonials-wrapper .slick-dots li button:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Fix for slick slider items */
.butz-testimonials-wrapper .slick-slide {
  float: left;
}

.butz-testimonials-wrapper .slick-track {
  display: flex;
  align-items: stretch;
  padding: 30px 0;
}

.butz-testimonials-wrapper .slick-slide > div {
  height: 100%;
}

.butz-testimonial-card-wrapper {
  height: 100%;
  display: flex;
}

.butz-testimonial-card {
  height: 100%;
}
