/* ═══════════════════════════════════════
   TESTIMONIALS SECTION — Premium
═══════════════════════════════════════ */

.testimonial-section {
  padding: 90px 0;
  color: #fff;
  background-color: #0d0d0d;
  background-image: url('../images/bg-2.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.82);
}

.testimonial-section .container {
  position: relative;
  z-index: 1;
}

.testimonial-section .section-title h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.testimonial-section .section-title p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* Carousel wrapper */
#testimonialCarousel {
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: 3rem; /* space for indicators */
}

/* Individual slide */
.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s ease;
  margin: 0 1rem;
}

.testimonial-card:hover {
  border-color: rgba(32, 194, 14, 0.3);
}

/* Star rating */
.star-rating {
  color: #FFD700;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

/* Quote text */
.testimonial-card blockquote {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0 0 1.75rem;
  quotes: '\201C' '\201D';
  position: relative;
}

.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: rgba(32, 194, 14, 0.35);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.8rem;
  margin-right: 0.15rem;
}

/* Profile */
.testimonial-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.profile-pic {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(32, 194, 14, 0.5);
  margin-bottom: 0.5rem;
}

.testimonial-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #20C20E;
  margin: 0;
}

.testimonial-card span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
}

/* Carousel controls — green arrows */
.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  background: rgba(32, 194, 14, 0.15);
  border: 1px solid rgba(32, 194, 14, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-60%);
  transition: background 0.2s ease;
}

.carousel-control-prev {
  left: -16px;
}

.carousel-control-next {
  right: -16px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(32, 194, 14, 0.3);
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2320C20E' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
  width: 18px;
  height: 18px;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2320C20E' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 18px;
  height: 18px;
}

/* Indicators */
.carousel-indicators {
  bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-indicators .active {
  background-color: #20C20E;
  transform: scale(1.3);
}

/* ── Mobile ── */
@media (max-width: 767.98px) {
  .testimonial-section {
    padding: 60px 0;
    background-attachment: scroll;
  }

  .testimonial-card {
    padding: 2rem 1.5rem 1.5rem;
    margin: 0 0.25rem;
  }

  .carousel-control-prev {
    left: -8px;
  }

  .carousel-control-next {
    right: -8px;
  }
}

@media (max-width: 576px) {
  .testimonial-card blockquote {
    font-size: 0.9rem;
  }
}
