/* ── Testimonials Section ── */
.nst-testi-section {
  background: #F7F9FC;
  padding: 80px 40px;
  width: 100%;
  overflow: hidden;
}

.nst-testi-inner {
  max-width: 1160px;
  margin: 0 auto;
}

/* Header */
.nst-testi-header {
  text-align: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.nst-testi-header.nst-hd-in {
  opacity: 1;
  transform: translateY(0);
}

.nst-testi-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #00B894;
  margin: 0 0 10px;
}

.nst-testi-h2 {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #0F4C81;
  margin: 0 0 10px;
  line-height: 1.2;
}

.nst-testi-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #6B7A8D;
  margin: 0;
}

/* Grid */
.nst-testi-grid {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

/* Base card */
.nst-testi-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px 28px;
  flex: 1;
  position: relative;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nst-testi-card.nst-card-in {
  opacity: 1;
  transform: translateY(0);
}

/* Side cards sit lower */
.nst-card-side {
  margin-bottom: 32px;
}

/* Middle card — raised and accented */
.nst-card-mid {
  border: 2px solid #00B894;
  box-shadow: 0 16px 48px rgba(15, 76, 129, 0.12);
  padding: 36px 30px;
  margin-bottom: 0;
  z-index: 1;
}

/* Hover states */
.nst-card-side:hover {
  border-color: #00B894;
  box-shadow: 0 8px 28px rgba(0, 184, 148, 0.10);
  transform: translateY(-4px);
}

.nst-card-mid:hover {
  box-shadow: 0 20px 56px rgba(15, 76, 129, 0.16);
  transform: translateY(-4px);
}

/* Badge on middle card */
.nst-testi-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #00B894;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Large quote mark */
.nst-testi-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.nst-card-mid .nst-testi-quote {
  color: #00B894;
  opacity: 0.25;
}

/* Stars */
.nst-testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.nst-testi-stars svg {
  width: 15px;
  height: 15px;
  display: block;
}

/* Review title */
.nst-testi-label-inline {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0F4C81;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.nst-label-featured {
  color: #00B894;
}

/* Review body text */
.nst-testi-body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #4A5568;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.nst-card-mid .nst-testi-body {
  font-size: 14.5px;
  color: #2B2B35;
}

/* Author row */
.nst-testi-author {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #F1F5F9;
  padding-top: 20px;
}

/* Avatar circle */
.nst-testi-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.nst-testi-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #2B2B35;
}

.nst-testi-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #8896A4;
  margin-top: 3px;
  letter-spacing: 0.2px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nst-testi-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .nst-card-side {
    margin-bottom: 0;
  }

  .nst-card-mid {
    order: -1;
  }

  .nst-testi-h2 {
    font-size: 26px;
  }
}

@media (max-width: 560px) {
  .nst-testi-section {
    padding: 56px 20px;
  }

  .nst-testi-grid {
    gap: 16px;
  }
}