.testimonial-section {
  padding: 100px 20px;
  background: #0e0e0e;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-heading h2 {
  font-size: 2.8rem;
  color: #00c2ff;
  margin-bottom: 40px;
  margin-top: -100px;
}

.testimonial-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.carousel-btn {
  background: none;
  color: #00c2ff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 2;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  max-width: 100%;
}

.testimonial-card {
  flex: 0 0 80%;
  max-width: 500px;
  background: #1a1a1a;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: left;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.testimonial-card:hover {
  transform: scale(1.02);
  background-color: #222;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.client-name {
  color: #00c2ff;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.client-role {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 10px;
}

.stars {
  color: gold;
  font-size: 1rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

/* Hide scrollbar */
.testimonial-track::-webkit-scrollbar {
  display: none;
}
.testimonial-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  display: flex;
  overflow-x: scroll;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 90%;
  }
}


@media (max-width: 575px) {
  .testimonial-heading h2 {
    font-size: 2rem;
    margin-top: -100px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 95%;
  }

  .testimonial-heading h2 {
    font-size: 1.5rem;
  }
}