/* ── Testimonials Carousel Styles ── */

.testimonials-section {
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.testimonials-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.testimonials-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 20px 0;
}

.testimonial-card {
  flex: 0 0 calc(100% - 48px);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 129, 230, 0.2);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(1, 14, 63, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Dark mode version for sections with bg-dark or bg-purple */
.bg-dark .testimonial-card, 
.bg-purple .testimonial-card {
  background: rgba(48, 26, 88, 0.3);
  border-color: rgba(168, 129, 230, 0.3);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple-light);
}

.testimonial-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 24px;
  position: relative;
  font-style: italic;
}

.bg-dark .testimonial-quote,
.bg-purple .testimonial-quote {
  color: rgba(255, 255, 255, 0.85);
}

.testimonial-quote::before {
  content: '“';
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  color: var(--purple-light);
  opacity: 0.2;
  position: absolute;
  top: -30px;
  left: -10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.bg-dark .testimonial-name,
.bg-purple .testimonial-name {
  color: #fff;
}

/* Navigation */
.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(172, 175, 188, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: var(--purple-light);
  width: 30px;
  border-radius: 5px;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(168, 129, 230, 0.3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--purple-light);
}

.nav-arrow:hover {
  background: var(--purple-light);
  color: #fff;
}

/* responsive */
@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}
