.testimonial-section{
  padding: 20px 0 10px;
  overflow: hidden;
}

.testimonial-title{
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
}

.testimonial-wrapper{
  overflow: hidden;
  width: 100%;
}

.testimonial-track{
  display: flex;
  gap: 30px;
  width: max-content;
}

.testimonial-card{
  width: 320px;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  color: var(--text);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.testimonial-card:hover{
  border: 1px solid rgba(130,100,255,0.6);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.25),
    0 0 40px rgba(130,100,255,0.18);
}

.testimonial-card p{
  margin: 2px 0;
  line-height: 1.7;
  color: var(--muted);
}

.stars{
  color: #ffd700;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 3px;
}

.user{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.user img{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.user h4{
  font-size: 14px;
  margin: 0;
  color: var(--text);
}

.user span{
  font-size: 12px;
  color: var(--muted);
  opacity: 0.9;
}

/* Light mode */
body.light .testimonial-card{
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: 0 18px 45px rgba(44, 62, 99, 0.10);
}

body.light .testimonial-card p{
  color: #52637d;
}

body.light .user h4{
  color: #15243b;
}

body.light .user span{
  color: #6b7b93;
}