/* ── Xyntara Testimonials Page Styles ── */
.testimonials-hero {
  background: linear-gradient(135deg, #056cb8 0%, #0a8fd4 100%);
  padding: 95px 20px 80px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonials-hero::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -120px;
  right: -80px;
  pointer-events: none;
}
.testimonials-hero::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -60px;
  left: -40px;
  pointer-events: none;
}
.testimonials-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.testimonials-hero .section-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.testimonials-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.25;
}
.testimonials-hero h1 span {
  color: var(--yellow, #ffc107);
}
.testimonials-hero p.lead-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* Stats Row */
.testi-stats-container {
  max-width: 1100px;
  margin: -40px auto 40px;
  padding: 0 15px;
  position: relative;
  z-index: 3;
}
.testi-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.testi-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef2f6;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testi-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.testi-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue, #056cb8);
  line-height: 1.2;
  margin-bottom: 6px;
}
.testi-stat-num .star {
  color: #f59e0b;
  font-size: 22px;
}
.testi-stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* Filter Toolbar */
.testi-filter-bar {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  border: 1.5px solid #e8eef5;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.testi-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 260px;
  max-width: 460px;
}
.testi-search-wrap {
  position: relative;
  flex: 1;
}
.testi-search-wrap input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}
.testi-search-wrap input:focus {
  border-color: var(--blue, #056cb8);
}
.testi-search-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 13px;
}
.testi-search-btn {
  padding: 10px 18px;
  background: var(--blue, #056cb8);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.testi-search-btn:hover {
  background: #04528c;
}
.testi-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-filter-select {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  font-size: 13px;
  background: #fff;
  color: #334155;
  outline: none;
  cursor: pointer;
}
.testi-top-info {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

/* Testimonials Page Grid */
.testimonials-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
  transition: opacity 0.25s ease;
}

/* Review Badge */
.testi-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid #bbf7d0;
  position: absolute;
  top: 22px;
  right: 22px;
}

/* CTA Box */
.testi-cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 48px 36px;
  color: #fff;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.testi-cta-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.testi-cta-card p {
  font-size: 14.5px;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.testi-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.testi-btn-primary {
  padding: 12px 24px;
  background: var(--blue, #056cb8);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.testi-btn-primary:hover {
  background: #0a8fd4;
  color: #fff;
  transform: translateY(-2px);
}
.testi-btn-secondary {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}
.testi-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .testimonials-hero h1 { font-size: 28px; }
  .testi-filter-bar { flex-direction: column; align-items: stretch; }
  .testi-search-form { max-width: 100%; }
  .testi-stats-container { margin-top: -24px; }
}
