/* ============================================================
   MODERNXD CSS FIX — Testimonials + About Section
   Add this inside your <style> tag in header.php (or style.css)
   ============================================================ */

/* ── TESTIMONIALS GRID ──────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 1024px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.testi-card {
  background: #fff;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(13, 66, 120, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}

.testi-card:hover {
  box-shadow: 0 8px 28px rgba(13, 66, 120, 0.13);
  transform: translateY(-3px);
}

.testi-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testi-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: var(--muted, #64748b);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border, #e2e8f0);
}

.testi-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue, #0d4278);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy, #0a2540);
}

.testi-role {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: var(--muted, #64748b);
  line-height: 1.4;
}

/* ── ABOUT PAGE — STATS STRIP ────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: #fff;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(13, 66, 120, 0.07);
}

@media (max-width: 768px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-block {
  text-align: center;
  padding: 0.5rem;
}

.stat-n {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--blue, #0d4278);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-l {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}

/* ── ABOUT PAGE — BODY LAYOUT ────────────────────────────────── */
.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1380px;
  margin: 0 5vw;
  padding: 4rem 0;
}

@media (max-width: 900px) {
  .about-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0;
  }
}

/* ── ABOUT PAGE — VERTICAL LIST ──────────────────────────────── */
.vert-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vert-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg, #f8fafc);
  border: 1.5px solid var(--border, #e2e8f0);
  border-left: 4px solid var(--blue, #0d4278);
  border-radius: 10px;
  transition: box-shadow 0.2s;
}

.vert-item:hover {
  box-shadow: 0 4px 16px rgba(13, 66, 120, 0.1);
}

.vert-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.vert-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--navy, #0a2540);
  margin-bottom: 0.2rem;
}

.vert-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: var(--muted, #64748b);
  line-height: 1.5;
}

/* ── ABOUT PAGE — HERO ───────────────────────────────────────── */
.about-hero {
  padding: 5rem 5vw 4rem;
  text-align: center;
}

/* ── RESPONSIVE: Brands Grid ─────────────────────────────────── */
@media (max-width: 900px) {
  .brands-grid-3col {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
