.testimonials-section {
  background-color: #1e1e1e;
  padding: 60px 0;
  color: #fff;
  font-family: 'Karla', sans-serif;
  overflow: hidden;
}

/* Heading styling */
.testimonials-heading {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.testimonials-heading h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.testimonials-heading .highlight {
  color: #e60000;
}

/* Carousel wrapper for edge fade */
.testimonials-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

/* Carousel row */
.testimonials-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 20px 10px 20px;
  -webkit-overflow-scrolling: touch;
  
  /* Hide scrollbar */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;               /* Chrome, Safari, Opera */
}

/* Fade shadows left and right */
.testimonials-carousel-wrapper::before,
.testimonials-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonials-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #1e1e1e, transparent);
}

.testimonials-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #1e1e1e, transparent);
}

/* Testimonial card design */
.testimonial-card {
  min-width: 300px;
  max-width: 350px;
  background-color: #2b2b2b;
  padding: 20px;
  border-radius: 12px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.testimonial-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #fff;
}

.testimonial-card .stars {
  color: gold;
  margin: 10px 0;
}

.testimonial-card p {
  color: #ccc;
  font-size: 0.95rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 30, 30, 0.7);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.8rem;
  border-radius: 50%;
  z-index: 999;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

.carousel-arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.testimonials-carousel-wrapper {
  position: relative;
  overflow: hidden;
  z-index: 1; /* Ensure wrapper doesn't hide buttons */
}

.testimonials-carousel.dragging {
  cursor: grabbing;
  scroll-behavior: auto !important; /* Disable smooth scroll during drag */
}

.testimonials-carousel {
  cursor: grab;
}

.testimonials-carousel.dragging {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
  margin-top:16px;
}

.review-card{
  border:1px solid rgba(0,0,0,0.12);
  border-radius:12px;
  padding:16px;
  background:#fff;
}

.review-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.review-name{
  font-weight:700;
}

.review-rating{
  font-weight:700;
}

.review-date{
  opacity:0.7;
  font-size:0.9rem;
  margin-top:4px;
}

.review-text{
  margin-top:10px;
  line-height:1.5;
  opacity:0.95;
}

.review-empty{
  text-align:center;
  opacity:0.7;
}


