/* ---------- Client Review Section (Full Image View) ---------- */
.reviews-section {
  background: #f8fafc;
  padding: 60px 20px;
  color: #222;
  text-align: center;
  font-family: "Segoe UI", Roboto, sans-serif;
}

.reviews-container {
  max-width: 1100px;
  margin: 0 auto;
}

.reviews-section h2 {
  font-size: 2rem;
  color: #1e40af;
  margin-bottom: 15px;
}

.reviews-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
  color: #444;
}

.reviews-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-card img {
  width: 100%;
  height: auto; /* keeps full image visible */
  display: block;
  object-fit: contain; /* ensures the whole image shows */
  background: #f1f5f9; /* light background for smaller images */
  padding: 8px; /* adds spacing so text edges don’t touch */
  border-radius: 10px;
}

.review-card figcaption {
  padding: 10px 12px;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  border-top: 1px solid #eee;
}
/* ------------------------------------------------------------ */

/* Responsive tweak for smaller screens */
@media (max-width: 600px) {
  .reviews-section {
    padding: 40px 15px;
  }

  .review-card img {
    padding: 5px;
  }

  .review-card figcaption {
    font-size: 0.9rem;
  }
}
