/* ===========================================
   TESTIMONIALS V2 — Clean White Redesign
   =========================================== */

.testimonials-v2 {
  background: #FFFFFF;
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

/* Subtle top/bottom border lines */
.testimonials-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 128, 237, 0.12), transparent);
}

/* ========== HEADER ========== */

.testimonials-v2-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.testimonials-v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #2F80ED;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.testimonials-v2-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2F80ED;
  display: inline-block;
  animation: tv2-pulse 2s ease-in-out infinite;
}

@keyframes tv2-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.testimonials-v2-title {
  font-size: 48px;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.testimonials-v2-subtitle {
  font-size: 18px;
  color: #6B7280;
  margin: 0 0 36px;
  line-height: 1.5;
}

/* ========== STATS ROW ========== */

.testimonials-v2-stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: #F9FAFB;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 20px 40px;
}

.testimonials-v2-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.testimonials-v2-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.testimonials-v2-stat-stars {
  font-size: 14px;
  color: #F5B301;
  letter-spacing: 2px;
}

.testimonials-v2-stat-label {
  font-size: 13px;
  color: #9CA3AF;
  font-weight: 500;
}

.testimonials-v2-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
}

/* ========== MARQUEE ROWS ========== */

.testimonials-v2-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  margin-bottom: 20px;
}

.testimonials-v2-marquee:last-child {
  margin-bottom: 0;
}

.testimonials-v2-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.testimonials-v2-track-left {
  animation: tv2-scroll-left 45s linear infinite;
}

.testimonials-v2-track-right {
  animation: tv2-scroll-right 45s linear infinite;
}

.testimonials-v2-marquee:hover .testimonials-v2-track {
  animation-play-state: paused;
}

@keyframes tv2-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes tv2-scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ========== CARD ========== */

.tv2-card {
  width: 380px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tv2-card:hover {
  box-shadow: 0 8px 32px rgba(47, 128, 237, 0.1);
  border-color: rgba(47, 128, 237, 0.15);
  transform: translateY(-2px);
}

/* Card Top — Avatar + Name + Verified */
.tv2-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tv2-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EBF3FE 0%, #D6E8FF 100%);
  color: #2F80ED;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.tv2-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.tv2-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.tv2-location {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.3;
}

.tv2-verified {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2F80ED;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Stars */
.tv2-stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: #F5B301;
  margin-bottom: 12px;
}

/* Quote */
.tv2-quote {
  margin: 0 0 16px;
  color: #374151;
  font-size: 15px;
  line-height: 1.6;
  font-style: normal;
}

/* Service Tag */
.tv2-service-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #6B7280;
  background: #F3F4F6;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .testimonials-v2 {
    padding: 80px 0 64px;
  }

  .testimonials-v2-title {
    font-size: 40px;
  }

  .testimonials-v2-stats {
    gap: 24px;
    padding: 16px 28px;
  }

  .testimonials-v2-stat-number {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .testimonials-v2 {
    padding: 64px 0 48px;
  }

  .testimonials-v2-header {
    margin-bottom: 40px;
  }

  .testimonials-v2-title {
    font-size: 32px;
  }

  .testimonials-v2-subtitle {
    font-size: 16px;
  }

  .testimonials-v2-stats {
    gap: 20px;
    padding: 16px 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .testimonials-v2-stat-divider {
    display: none;
  }

  .tv2-card {
    width: 320px;
    padding: 22px;
  }

  .tv2-quote {
    font-size: 14px;
  }

  .testimonials-v2-marquee {
    margin-bottom: 14px;
  }
}

@media (max-width: 480px) {
  .testimonials-v2 {
    padding: 48px 0 40px;
  }

  .testimonials-v2-title {
    font-size: 28px;
  }

  .testimonials-v2-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .testimonials-v2-stats {
    padding: 14px 20px;
    gap: 16px;
  }

  .testimonials-v2-stat-number {
    font-size: 22px;
  }

  .testimonials-v2-stat-label {
    font-size: 11px;
  }

  .tv2-card {
    width: 280px;
    padding: 20px;
    border-radius: 16px;
  }

  .tv2-avatar {
    width: 38px;
    height: 38px;
    font-size: 13px;
    border-radius: 10px;
  }

  .tv2-name {
    font-size: 14px;
  }

  .tv2-quote {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-v2-track {
    animation: none !important;
  }
  .testimonials-v2-badge-dot {
    animation: none;
  }
}
