/* Testimonials Carousel Styles */

.testimonials-carousel-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 0 3rem;
}

.testimonials-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--primary);
  color: white;
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
}

.dot:hover {
  background: var(--primary);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .testimonials-carousel-wrapper {
    padding: 0 2rem;
  }

  .carousel-nav {
    width: 2.5rem;
    height: 2.5rem;
  }
}
