.review {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* Stack quote + name vertically */
  padding: 40px 60px;
  background-size: cover;
  background-position: center;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 40px;
  color: #222;
  min-height: 200px;

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

.review:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.review::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.15)
  );
  z-index: 0;
}

.review-quote,
.review-name {
  position: relative;
  z-index: 1;
}

.review-quote {
  font-size: 1.3rem;
  font-weight: 600;
  max-width: 80%;
  margin: 0 auto 30px auto;
  position: relative;
  line-height: 1.6;
  color: #003366;
}

.review-quote::before {
  content: "“";
  font-size: 3rem;
  color: #003366;
  position: absolute;
  left: -20px;
  top: -10px;
  opacity: 0.5;
}

.review-quote::after {
  content: "”";
  font-size: 3rem;
  color: #003366;
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.5;
}

.review-name {
  position: absolute;
  bottom: 10px;
  right: 20px; /* or left: 20px; if you prefer */
  font-family: 'Source Serif Pro', serif;
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 20px;
  color: #003366;
}
