/* Testimonial Carousel Enhancement Styles */

.testimonials-wrapper {
  position: relative;
  padding-bottom: 50px; /* Space for indicators */
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Navigation elements removed */

/* Testimonials static grid layout */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
}

/* Navigation buttons removed */

.testimonial-card {
  flex: 0 0 auto;
  width: calc(33.333% - 20px);
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
  margin-bottom: 30px;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.next-testimonial, .prev-testimonial {
  transition: all 0.3s ease;
}

.next-testimonial:hover, .prev-testimonial:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.next-testimonial.disabled, .prev-testimonial.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .testimonial-card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 992px) {
  .testimonial-card {
    width: calc(100% - 20px);
  }
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card.animate {
  animation: fadeInUp 0.7s ease forwards;
}

/* Grid layout animations */
.testimonials-section {
  overflow: hidden;
}

.testimonials-slider {
  margin: 0 -15px;
}

.testimonials-wrapper {
  padding: 30px 0;
}
