.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-dark-900);
  color: var(--text-white);
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-title {
  font-size: 38px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: -0.8px;
}

.testimonials-subtitle {
  font-size: 15px;
  color: var(--text-muted-dark);
}

/* Carousel Container Layout */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-smooth);
}

.carousel-arrow:hover {
  background: var(--primary-pink);
  border-color: var(--primary-pink);
  box-shadow: 0 4px 15px rgba(255, 44, 85, 0.4);
}

.arrow-prev {
  left: -24px;
}

.arrow-next {
  right: -24px;
}

/* Cards Track Slider */
.testimonials-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 12px 6px 24px 6px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  position: relative;
  flex: 0 0 295px;
  height: 410px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #11131F;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 44, 85, 0.2);
  border-color: rgba(255, 44, 85, 0.5);
}

.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 12, 0.95) 0%, rgba(8, 9, 12, 0.35) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.play-circle-sm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  padding-left: 2px;
  transition: var(--transition-smooth);
  z-index: 3;
}

.testimonial-card:hover .play-circle-sm {
  background: #FFFFFF;
  transform: translate(-50%, -50%) scale(1.15);
  color: var(--primary-pink);
}

.testimonial-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.testimonial-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.tag-green {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-cyan {
  background: rgba(6, 182, 212, 0.2);
  color: #06B6D4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tag-teal {
  background: rgba(20, 184, 166, 0.2);
  color: #14B8A6;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.tag-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tag-pink {
  background: rgba(255, 44, 85, 0.2);
  color: #FF2C55;
  border: 1px solid rgba(255, 44, 85, 0.3);
}

.tag-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.tag-rose {
  background: rgba(244, 63, 94, 0.2);
  color: #FB7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.tag-amber {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.testimonial-quote {
  font-size: 13.5px;
  color: #E2E8F0;
  line-height: 1.45;
  font-weight: 500;
}

.testimonial-client-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-pink);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 260px;
    height: 370px;
  }
  .carousel-arrow {
    display: none;
  }
}

