/* ============================================================
   TESTIMONIALS SECTION — append to style.css
   ============================================================ */

/* =====================
   TESTIMONIALS CAROUSEL
   ===================== */
.testimonials-section {
  overflow: hidden;
}

.testimonials-track-wrap {
  position: relative;
  margin: 0 -24px;
  padding: 20px 0 40px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(0, 245, 255, 0.08);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial-card.featured {
  border-color: rgba(0, 245, 255, 0.25);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 245, 255, 0.03) 100%);
}

.testimonial-card.featured::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  border-radius: 16px 16px 0 0;
}

/* Stars */
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-stars i {
  font-size: 0.75rem;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 4px rgba(0, 245, 255, 0.4));
}

.testimonial-stars i.empty {
  color: var(--text-muted);
  filter: none;
}

/* Quote text */
.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 28px;
  font-style: italic;
}

/* Author */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-glow);
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.testimonial-avatar .initials {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.testimonial-info {
  flex: 1;
  min-width: 0;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-company {
  color: var(--neon-cyan);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  margin-top: 2px;
}

/* Nav Controls */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.testimonials-btn {
  width: 44px;
  height: 44px;
  background: rgba(0, 245, 255, 0.06);
  border: 1px solid var(--border-glow);
  border-radius: 50%;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.testimonials-btn:hover {
  background: rgba(0, 245, 255, 0.14);
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.25);
  transform: scale(1.05);
}

.testimonials-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* Dots */
.testimonials-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonials-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.testimonials-dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

/* Trust bar */
.testimonials-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  line-height: 1;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

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

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 calc(100% - 0px);
    min-width: unset;
  }
  .testimonials-trust { gap: 20px; }
  .trust-divider { height: 30px; }
}
