/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: var(--color-bg-primary, #09090b);
}

.testimonials-wrapper {
  overflow: hidden;
  margin-top: 40px;
}

.testimonials-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  background: var(--color-bg-card, #18181b);
  border: 1px solid var(--color-border, #27272a);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--color-primary, #6366f1);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.testimonial-quote {
  margin-bottom: 24px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--color-text-secondary, #a1a1aa);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border, #27272a);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text-primary, #ffffff);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary, #71717a);
}

/* Carousel controls */
.testimonials-section .carousel-controls {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  justify-content: flex-start;
}

/* Carousel buttons */
.testimonials-section .carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-section .carousel-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-track {
    gap: 20px;
  }

  .testimonial-card {
    flex: 0 0 calc(100% - 20px);
    padding: 30px 24px;
  }

  .testimonial-card::before {
    font-size: 3.5rem;
    top: 15px;
    right: 20px;
  }

  .testimonials-section .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .testimonials-section .carousel-controls {
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 50px 0;
  }

  .testimonials-wrapper {
    margin-top: 30px;
  }

  .testimonials-track {
    gap: 16px;
  }

  .testimonial-card {
    flex: 0 0 calc(100% - 16px);
    padding: 24px 20px;
  }

  .testimonial-card::before {
    font-size: 3rem;
    top: 12px;
    right: 16px;
  }

  .testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .testimonial-author {
    gap: 12px;
    padding-top: 16px;
  }

  .testimonial-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.8125rem;
  }

  .testimonial-name {
    font-size: 0.875rem;
  }

  .testimonial-role {
    font-size: 0.75rem;
  }

  .testimonials-section .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .testimonials-section .carousel-controls {
    gap: 0.4rem;
    margin: 0.75rem 0;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }
}
