.testimonials {
  background: #060810;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.testimonials-heading {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.testimonials-subheading {
  font-size: 1.5rem;
  font-weight: 300;
  color: #ccc;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 30px;
}

.testimonials-subheading span{
  color: #00E399;
  font-weight: bold;
}

.testimonial-slider {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap;
  overflow: hidden;
  max-width: 1500px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 50px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  width: 450px;
  flex-shrink: 0;
  opacity: 0.4;
  transform: scale(0.95);
  transition: all 0.4s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.5);
}

.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 25px;
  color: #ccc;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial-author div h4 {
  font-size: 1rem;
  font-weight: 600;
}

.stars {
  color: gold;
  font-size: 1rem;
}

.testimonial-nav {
  margin-top: 2rem;
}

.testimonial-nav button {
  background: transparent;
  border: 2px solid #00E399;
  color: #00E399;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.testimonial-nav button:hover {
  background: #00E399;
  color: #060810;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    align-items: center;
  }
  .testimonial-card {
    width: 90%;
    margin-bottom: 2rem;
  }
}