/* Base Styles */
.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Header Styles */
.testimonial-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #fe532c, #2c8dfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.testimonial-subtitle {
  font-size: 1.2rem;
  color: #575a7b;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-icon {
  font-size: 3rem;
  margin-top: 1.5rem;
  color: #fe532c;
  display: inline-block;
}

/* Slider Container */
.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  gap: 2rem;
  padding-bottom: 1rem;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

/* Testimonial Card */
.testimonial-card {
  min-width: 100%;
  scroll-snap-align: start;
  background: white;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #fe532c, #2c8dfe);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #575a7b;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 3rem;
  color: rgba(254, 83, 44, 0.1);
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f7ff;
}

.testimonial-author-info h4 {
  color: #1f194c;
  margin-bottom: 0.2rem;
}

.testimonial-author-info p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #f0f7ff;
  color: #2c8dfe;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: #2c8dfe;
  color: white;
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5e7eb;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: #2c8dfe;
  transform: scale(1.2);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .testimonial-card {
    min-width: calc(50% - 1rem);
  }
}

@media (min-width: 992px) {
  .testimonial-card {
    min-width: calc(33.333% - 1.33rem);
  }
  
  .testimonial-slider {
    padding: 0 2rem;
  }
}

/* Animation Classes */
.testimonial-card.animate-in {
  animation: testimonialFadeIn 0.8s ease forwards;
}

@keyframes testimonialFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}