/* ========================================================
   Testimonials Section - Modern, Clean & Authentic ("Nyata")
   SIM Prima - Real Customer Experiences & Ratings
   ======================================================== */

.testimonials-section {
  padding: 94px 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  left: 2%;
  bottom: -118px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, #dce9f4 1.4px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: .8;
  pointer-events: none;
}

.testimonials-layout {
  position: relative;
  display: grid;
  grid-template-columns: .72fr 1.48fr;
  gap: 58px;
  align-items: start;
}

.testimonials-intro {
  padding-top: 17px;
}

.testimonials-intro h2 {
  font: 700 42px / 1.15 var(--display);
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 16px 0;
}

.testimonials-intro h2 em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--blue2);
  font-style: italic;
}

.testimonials-intro > p {
  max-width: 310px;
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonials-intro > .text-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: transform 0.15s ease, color 0.15s ease;
}

.testimonials-intro > .text-link:hover {
  color: #0f4c81;
  transform: translateX(3px);
  text-decoration: underline;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Card Styling */
.testimonial-card {
  min-height: 224px;
  background: #ffffff;
  padding: 22px 22px 20px;
  box-shadow: 0 10px 32px rgba(16, 41, 78, 0.05);
  border: 1px solid #e5edf5;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(16, 41, 78, 0.1);
  border-color: #cbdbe8;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2.5px;
  line-height: 1;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 50px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.trust-badge.blue {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.trust-badge.amber {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.testimonial-card blockquote {
  font: 400 13.5px / 1.75 var(--sans);
  color: #334e68;
  margin: 0 0 18px;
  flex: 1;
  font-style: normal;
}

.testimonial-author {
  border-top: 1px solid #edf2f7;
  padding-top: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font: 700 12px var(--display);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.av-1 { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); }
.av-2 { background: linear-gradient(135deg, #047857 0%, #10b981 100%); }
.av-3 { background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%); }
.av-4 { background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%); }
.av-5 { background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%); }

.testimonial-author div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.testimonial-author b {
  font-size: 13px;
  color: #10294e;
  font-weight: 700;
}

.testimonial-author small {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.verified-icon {
  color: #16a34a;
  font-weight: 800;
  font-size: 11px;
}

@media(max-width: 900px) {
  .testimonials-layout {
    grid-template-columns: .68fr 1.32fr;
    gap: 32px;
  }
  .testimonials-intro h2, .testimonials-intro h2 em {
    font-size: 38px;
  }
  .testimonial-card {
    padding: 18px;
  }
}

@media(max-width: 680px) {
  .testimonials-section {
    padding: 68px 0;
  }
  .testimonials-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .testimonials-intro {
    padding-top: 0;
  }
  .testimonials-intro h2, .testimonials-intro h2 em {
    font-size: 34px;
    margin: 12px 0;
  }
  .testimonials-intro > p {
    max-width: 450px;
    font-size: 13.5px;
  }
  .testimonials-grid {
    gap: 12px;
  }
  .testimonial-card {
    padding: 16px;
  }
  .testimonial-card blockquote {
    font-size: 13px;
    line-height: 1.7;
  }
}

@media(max-width: 380px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
