/* ============================================
   Our Customer Reviews - Premium Testimonial
   White + Yellow fintech theme
   ============================================ */

.testimonials-section {
  background: #ffffff;
  padding: 4.5rem 0 5rem;
  position: relative;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Heading ---- */
.testimonials-section .testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-section .testimonials-header .testimonials-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #111;
  margin: 0 0 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.testimonials-section .testimonials-header .testimonials-title .title-icon {
  color: #ffcc00;
  font-size: 1.25em;
  line-height: 1;
}

.testimonials-section .testimonials-header .testimonials-title .title-accent {
  color: #ffcc00;
}

.testimonials-section .testimonials-header .testimonials-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0;
  font-weight: 400;
}

/* ---- Grid ---- */
.testimonials-section .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

/* ---- Card ---- */
.testimonials-section .testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(255, 204, 0, 0.35);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 204, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonials-section .testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 0 24px rgba(255, 204, 0, 0.15);
  border-color: rgba(255, 204, 0, 0.5);
}

/* ---- Card top row: avatar + name/service + stars ---- */
.testimonials-section .testimonial-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testimonials-section .testimonial-avatar-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffcc00;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.25rem;
}

.testimonials-section .testimonial-meta {
  flex: 1;
  min-width: 0;
}

.testimonials-section .testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.testimonials-section .testimonial-service {
  font-size: 0.8125rem;
  color: #666;
  margin: 0;
  line-height: 1.3;
}

.testimonials-section .testimonial-stars {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.testimonials-section .testimonial-stars .fa-star {
  color: #ffcc00;
}

.testimonials-section .testimonial-stars .far.fa-star {
  color: #e0e0e0;
}

/* ---- Review text ---- */
.testimonials-section .testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #333;
  margin: 0;
  padding-left: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 0 4rem;
  }

  .testimonials-section .testimonials-header {
    margin-bottom: 2rem;
  }

  .testimonials-section .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonials-section .testimonial-card {
    padding: 1.5rem;
  }

  .testimonials-section .testimonial-card-top {
    flex-wrap: wrap;
  }

  .testimonials-section .testimonial-stars {
    width: 100%;
    margin-top: 0.25rem;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .testimonials-section .testimonials-title {
    font-size: 1.5rem;
  }

  .testimonials-section .testimonial-avatar-wrap {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}
