/* ── Testimonials section ── */
#testimonials.testimonial-area {
  position: relative;
  background: url(../images/resource/faq2.jpg) center center / cover no-repeat !important;
  overflow: hidden;
  height: auto !important;
  padding: 100px 0 !important;
}

#testimonials.testimonial-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 43, 0.55);
  z-index: 0;
  pointer-events: none;
}

#testimonials.testimonial-area > .container {
  position: relative;
  z-index: 1;
}

#testimonials .dreamit-section-title h5 {
  color: var(--sdg-red) !important;
}

#testimonials .dreamit-section-title h5::before {
  background: var(--sdg-red) !important;
}

#testimonials .testimonial-eyebrow-accent {
  position: relative;
  display: inline-block;
  color: var(--sdg-red) !important;
}

#testimonials .testimonial-eyebrow-accent::after {
  content: "";
  position: absolute;
  left: -12px;
  top: -16px;
  background: url(../images/resource/section1.png);
  width: 63px;
  height: 63px;
  display: inline-block;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

#testimonials .dreamit-section-title::after {
  display: none !important;
}

#testimonials .dreamit-section-title h1 {
  color: #ffffff;
}

#testimonials .dreamit-section-title h1 span.color2 {
  background: var(--sdg-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

#testimonials .testimonial_list.owl-carousel .owl-stage {
  display: flex !important;
  align-items: stretch;
}

#testimonials .testimonial_list.owl-carousel .owl-stage:after {
  display: none;
}

#testimonials .testimonial_list .owl-item {
  display: flex !important;
  align-items: stretch;
  float: none !important;
  height: auto !important;
}

#testimonials .testimonial-slide {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  padding: 8px 12px 32px;
  box-sizing: border-box;
}

#testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 340px;
  padding: 32px 28px 28px;
  box-sizing: border-box;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid rgba(48, 128, 255, 0.15);
  box-shadow:
    0 10px 30px rgba(48, 128, 255, 0.08),
    0 4px 12px rgba(162, 28, 175, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#testimonials .testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 15px 40px rgba(48, 128, 255, 0.14),
    0 8px 20px rgba(251, 44, 54, 0.08);
}

#testimonials .testimonial-card__stars {
  margin-bottom: 18px;
  font-size: 14px;
  letter-spacing: 2px;
}

#testimonials .testimonial-card__stars i {
  color: #f5a623;
}

#testimonials .testimonial-card__quote {
  flex: 1 1 auto;
  color: var(--sdg-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 22px;
  font-style: italic;
}

#testimonials .testimonial-card__author {
  flex-shrink: 0;
  margin-top: auto;
}

#testimonials .testimonial-card__author h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  padding-bottom: 10px;
  position: relative;
}

#testimonials .testimonial-card__author h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  border-radius: 1px;
}

#testimonials .testimonial-card__author span {
  color: var(--sdg-muted);
  font-size: 14px;
  font-weight: 600;
}

#testimonials .testimonial-card--blue {
  border-color: rgba(48, 128, 255, 0.22);
}

#testimonials .testimonial-card--blue .testimonial-card__author h4 {
  color: var(--sdg-blue-dark);
}

#testimonials .testimonial-card--blue .testimonial-card__author h4::after {
  background: var(--sdg-blue);
}

#testimonials .testimonial-card--purple {
  border-color: rgba(162, 28, 175, 0.2);
}

#testimonials .testimonial-card--purple .testimonial-card__author h4 {
  color: var(--sdg-purple);
}

#testimonials .testimonial-card--purple .testimonial-card__author h4::after {
  background: var(--sdg-purple);
}

#testimonials .testimonial-card--red {
  border-color: rgba(251, 44, 54, 0.2);
}

#testimonials .testimonial-card--red .testimonial-card__author h4 {
  color: var(--sdg-red);
}

#testimonials .testimonial-card--red .testimonial-card__author h4::after {
  background: var(--sdg-red);
}

/* Owl dots — brand (style.css sets .owl-dot directly, not span) */
#testimonials .testimonial_list .owl-dots {
  margin-top: 8px;
}

#testimonials .testimonial_list .owl-dot {
  background: rgba(48, 128, 255, 0.25) !important;
  transition: background 0.3s ease, width 0.3s ease;
}

#testimonials .testimonial_list .owl-dot.active,
#testimonials .testimonial_list .owl-dot:hover {
  background: var(--sdg-blue) !important;
}

#testimonials .testimonial_list .owl-dot span {
  background: rgba(48, 128, 255, 0.25) !important;
  transition: background 0.3s ease, transform 0.3s ease;
}

#testimonials .testimonial_list .owl-dot.active span,
#testimonials .testimonial_list .owl-dot:hover span {
  background: var(--sdg-blue) !important;
  transform: scale(1.15);
}

@media (max-width: 991px) {
  #testimonials .testimonial-card {
    min-height: 320px;
  }
}
