/* Testimonials Grid Styles - Exact Figma Match */
.testimonials-grid {
  /* margin-top: 60px; */
}

.testimonial-card {
    position: relative;
    height: 100%;
       min-height: auto;
    padding: 38px 29px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

/* Stars Row - No Gaps Between Stars */
.testimonial-card__stars {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  font-size: 24px;
  line-height: 1;
  position: relative;
  z-index: 2;
  letter-spacing: -2px;
}

.testimonial-card__stars span {
  margin: 0;
  padding: 0;
}

/* Background Quote Mark - Large and Subtle */
.testimonial-card__quote-bg {
    position: absolute;
    /* top: 20px; */
    right: 24px;
    font-size: 120px;
    line-height: 0.8;
    /* opacity: 0.06; */
    font-family: Georgia, serif;
    font-weight: 400;
    z-index: 1;
    pointer-events: none;
    color: inherit;
}

/* Author Section */
.testimonial-card__author {
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

.testimonial-card__author h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 2px 0;
  line-height: 1.4;
  color: inherit;
  color: #3E3050;
}

.testimonial-card__role {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  opacity: 0.65;
  line-height: 1.4;
  color: inherit;
  color: #3E3050;
}

/* Testimonial Text */
.testimonial-card__text {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 4rem;
  padding-bottom: 25px;
    
  flex: 1;
  position: relative;
  z-index: 2;
  color: inherit;
  font-weight: 400;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Color Variants - Exact Figma Colors */
.testimonial-card--pink {
  background: #FFE4F1;
  color: #1a1a1a;
}

.testimonial-card--pink .testimonial-card__stars {
  color: #ec4899;
}

.testimonial-card--purple {
  background: #E9E4FF;
  color: #1a1a1a;
}

.testimonial-card--purple .testimonial-card__stars {
  color: #8b5cf6;
}

.testimonial-card--green {
  background: #D1FAE5;
  color: #1a1a1a;
}

.testimonial-card--green .testimonial-card__stars {
  color: #10b981;
}

.testimonial-card--orange {
  background: #FFE8D5;
  color: #1a1a1a;
}

.testimonial-card--orange .testimonial-card__stars {
  color: #f97316;
}

.testimonial-card--blue {
  background: #DBEAFE;
  color: #1a1a1a;
}

.testimonial-card--blue .testimonial-card__stars {
  color: #3b82f6;
}

.testimonial-card--yellow {
  background: #FEF9C3;
  color: #1a1a1a;
}

.testimonial-card--yellow .testimonial-card__stars {
  color: #eab308;
}

/* Load More Button */
.testimonials__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #8b5cf6;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
}

.testimonials__cta:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
  color: #fff;
}

.testimonials__cta b {
  font-weight: 700;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 1199px) {
  .testimonial-card {
    min-height: 300px;
    padding: 24px 20px;
  }

  .testimonial-card__quote-bg {
    font-size: 100px;
  }
}

@media (max-width: 767px) {
  .testimonials-grid {
    margin-top: 40px;
  }

  .testimonial-card {
    min-height: 280px;
    padding: 20px 18px;
  }

  .testimonial-card__stars {
    font-size: 14px;
    letter-spacing: -1px;
  }

  .testimonial-card__quote-bg {
    font-size: 80px;
    right: 18px;
    top: 18px;
  }

  .testimonial-card__author h3 {
    font-size: 15px;
  }

  .testimonial-card__role {
    font-size: 12px;
  }

  .testimonial-card__text {
    font-size: 13px;
    line-height: 1.55;
  }
}

@media (max-width: 575px) {
  .testimonial-card {
    min-height: auto;
  }
}
