/* css/testimonials.css */
/* ✅ Compact, Uniform Testimonial Cards */
.testimonial-card {
  height: auto;
  min-height: 280px;
  max-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 20px !important;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-quote {
  margin-bottom: 12px;
}

.testimonial-quote svg {
  width: 28px;
  height: 28px;
  fill: #0ea5e9;
  opacity: 0.8;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #334155;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0ea5e9;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
}

.testimonial-role {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 2px;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

/* ✅ Ensure Swiper slides are consistent */
.testimonials-slider .swiper-slide {
  height: auto;
  display: flex;
}

/* ✅ Mobile adjustments */
@media (max-width: 768px) {
  .testimonial-card {
    min-height: 260px;
    padding: 16px !important;
  }
  .testimonial-text {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
  }
  .testimonial-avatar {
    width: 40px;
    height: 40px;
  }
}