/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.snet-fullwidth .testimonials {
  background: linear-gradient(135deg, #f9fff9 0%, #f0f4ff 100%);
  color: #222;
  padding: clamp(3rem, 6vw, 6rem) 0;
  width: 100%;
  box-sizing: border-box;
}

.testimonials .section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: #0f5ea8;
  margin-bottom: 0.8rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.testimonials .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #00e291;
  border-radius: 2px;
}

.testimonials .section-description {
  max-width: 700px;
  margin: 1rem auto 0.75rem;
  color: #1f2937;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}

/* --------------------------------------------------
   Carousel - Stabilized
-------------------------------------------------- */
.testimonials .carousel {
  position: relative;
}

.testimonials .carousel-inner {
  overflow: hidden;
}

.testimonials .carousel-item {
  position: relative;
  min-height: 530px;
  padding: 60px 0 20px;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------
   Card
-------------------------------------------------- */

.testimonial-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial-content {
  background: #fff;
  border-radius: 28px;
  text-align: center;
  padding: 70px 40px 40px;
  box-shadow: 0 20px 50px rgba(15, 94, 168, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.04);
}

/* --------------------------------------------------
   Avatar
-------------------------------------------------- */

.testimonial-avatar-wrap {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  text-align: center;
}

.testimonial-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------
   Author
-------------------------------------------------- */

.testimonial-name {
  margin: 0 0 8px;
  color: #0f5ea8;
  font-size: 1.3rem;
  font-weight: bold;
}

.testimonial-location {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* --------------------------------------------------
   Rating
-------------------------------------------------- */

.testimonial-stars {
  color: #ffc107;
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

/* --------------------------------------------------
   Quote
-------------------------------------------------- */

.testimonial-quote {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-quote p,
.testimonial-quote .quote-text {
  margin: 0;
  line-height: 1.9;
  font-style: italic;
  color: #444;
}

/* --------------------------------------------------
   Quote Icons
-------------------------------------------------- */

.testimonials .quote-icon-left,
.testimonials .quote-icon-right {
  position: absolute;
  font-size: 28px;
  color: rgba(104, 164, 196, 0.25);
}

.testimonials .quote-icon-left {
  top: -10px;
  left: -10px;
}

.testimonials .quote-icon-right {
  bottom: -10px;
  right: -10px;
}

/* --------------------------------------------------
   Indicators
-------------------------------------------------- */

.testimonials .carousel-indicators {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
}

.testimonials .carousel-indicators button {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 94, 168, 0.25);
  transition: all 0.3s ease;
}

.testimonials .carousel-indicators .active {
  background: #0f5ea8;
  transform: scale(1.2);
}

/* --------------------------------------------------
   Empty State
-------------------------------------------------- */
.testimonials .carousel-item .testimonial-empty {
  background: none;
  min-height: auto;
  height: auto;
  padding: 2rem 0;
  box-shadow: none;
  margin: 0 auto;
  max-width: 600px;
  font-size: 1rem;
  color: #666;
}

.testimonials .carousel-item:has(.testimonial-empty) {
  min-height: 0;
  height: auto;
  padding: 1rem 0;
}

/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 768px) {
  .testimonials .carousel-item {
    padding: 40px 0 15px;
  }

  .testimonial-content {
    padding: 55px 18px 25px;
    border-radius: 22px;
  }

  .testimonials .author-img {
    width: 70px;
    height: 70px;
  }

  .testimonial-avatar-wrap {
    top: -35px;
  }

  .testimonial-name {
    font-size: 1.05rem;
  }

  .testimonial-location {
    font-size: 0.85rem;
  }

  .testimonial-stars {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  .testimonial-quote {
    padding: 0 12px;
  }

  .testimonial-quote p,
  .testimonial-quote .quote-text {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .quote-icon-left,
  .quote-icon-right {
    font-size: 18px;
    opacity: 0.4;
  }
}
