/* Wrapper */
.awesome-testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Slider container */
.awesome-testimonials.slider {
  display: block;
}

/* Testimonial Card */
.testimonial-item {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  min-height: 280px;
}

/* Image column - square ratio */
.testimonial-image {
  flex: 0 0 50%;
  position: relative;
  background: #f4f4f4;
}

.testimonial-image::before {
  content: "";
  display: block;
  padding-top: 100%; /* keeps it square */
}

.testimonial-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content column */
.testimonial-content {
  flex: 0 0 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Quote Icon */
.testimonial-content .quote-icon {
  margin-bottom: 10px;
}

.testimonial-content .quote-icon svg {
  width: 40px;
  height: 40px;
  fill: #f39c12;
}

/* Text */
.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

/* Meta info */
.testimonial-meta strong {
  display: block;
  font-size: 18px;
  font-weight: bold;
}

.testimonial-meta span {
  font-size: 14px;
  color: #777;
}

/* Swiper Navigation */
.awesome-testimonials .swiper-button-next,
.awesome-testimonials .swiper-button-prev {
  color: #333;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s, color 0.3s;
}

.awesome-testimonials .swiper-button-next:hover,
.awesome-testimonials .swiper-button-prev:hover {
  background: #f39c12;
  color: #fff;
}

.awesome-testimonials .swiper-button-next::after,
.awesome-testimonials .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* Swiper Pagination Dots */
.awesome-testimonials .swiper-pagination {
  margin-top: 20px;
  text-align: center;
}

.awesome-testimonials .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
  border-radius: 50%;
  transition: background 0.3s;
}

.awesome-testimonials .swiper-pagination-bullet-active {
  background: #f39c12;
}

/* Grid layout - single column */
.awesome-testimonials.grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.awesome-testimonials.grid .testimonial-item {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .testimonial-item {
    flex-direction: column;
  }
  .testimonial-image,
  .testimonial-content {
    flex: 0 0 100%;
  }
  .testimonial-content {
    padding: 20px;
  }
}
