/* ================= TESTIMONIALS (MATCH HERO) ================= */

.testimonials-section {
  margin: 30px auto;
}

/* Main wrapper — DARK like hero */
.testimonials-card {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 28px;
  background: radial-gradient(
    80% 95% at 50% 0%,
    #94a3b8 0%,
    #0f172a 55%,
    #020617 100%
  );
  box-shadow: 0 30px 70px rgba(15,23,42,0.45);
  color: #e5e7eb;
}

/* Tag */
.testimonials-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  padding: 6px 14px;
  border-radius: 999px;
}

/* Heading */
.testimonials-title {
  font-size: 30px;
  margin: 10px 0 6px;
  color: #ffffff;
}

/* Accent underline */
.testimonials-underline {
  width: 46px;
  height: 4px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Testimonial card — GLASS */
.testimonial-item {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 18px;
  position: relative;
  color: #0f172a;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Green accent border */
.testimonial-item::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  pointer-events: none;

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* Hover */
.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.28);
}

/* Header */
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.testimonial-head img,
.avatar-text {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Name */
.testimonial-head h4 {
  margin: 0;
  font-size: 15px;
  color: #0f172a;
}

/* Location */
.testimonial-head span {
  font-size: 13px;
  color: #64748b;
}

/* Stars */
.stars {
  margin-left: auto;
  color: #22c55e;
  font-size: 14px;
}

/* Text */
.testimonial-item p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= METRICS (MATCH HERO STYLE) ================= */

.metrics-section {
  margin: 28px auto 42px;
}

.metrics-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Metric card — clean glass */
.metric-box {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
  position: relative;

  border: 1px solid rgba(226,232,240,0.9);
  box-shadow: 0 18px 40px rgba(15,23,42,0.14);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Accent top bar (green only here) */
.metric-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Hover (subtle, premium) */
.metric-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15,23,42,0.22);
}

/* Number */
.metric-box h3 {
  font-size: 30px;
  margin: 0;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Label */
.metric-box p {
  font-size: 14px;
  color: #64748b;
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .metrics-inner {
    grid-template-columns: 1fr 1fr;
  }
}
