/* Testimonial Section */
.testimonials-section {
  background: var(--cd-bg);
  padding: 80px 0;
}

.testimonials-section .section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-section .section-heading span {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--cd-gold);
  margin-bottom: 10px;
}

.testimonials-section .section-heading h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--cd-ink);
  margin-bottom: 15px;
}

.testimonials-section .section-heading p {
  color: var(--cd-muted);
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-carousel .testimonial-card {
  background: var(--cd-card);
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  padding: 30px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  display: inline-block;
  margin-bottom: 20px;
}

.testimonial-avatar .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(196, 154, 108, 0.22);
}

.testimonial-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--cd-ink);
  margin: 10px 0;
}

.testimonial-card span {
  font-size: 14px;
  color: var(--cd-muted);
}

.testimonial-quote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1f2937;
  margin: 20px 0;
  font-style: italic;
}

.testimonial-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.testimonial-details li {
  font-size: 14px;
  color: var(--cd-muted);
  background: #f8f5ef;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--cd-line);
}

/* Owl Carousel styles */
.owl-carousel .owl-item {
  transition: transform 0.3s ease;
}

.owl-carousel .owl-item.active .testimonial-card {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 20px;
  }
  .testimonial-avatar .avatar {
    width: 60px;
    height: 60px;
  }
  .testimonials-section .section-heading h2 {
    font-size: 28px;
  }
}
