.review-section {
  max-width: 700px;
  margin: 48px auto;
  padding: 36px 28px 28px 28px;
  background: linear-gradient(135deg, #e0ecff 0%, #f8fafc 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(0, 53, 128, 0.13);
  position: relative;
  overflow: hidden;
}

.review-section h2 {
  text-align: center;
  color: #184e77;
  font-size: 2.2rem;
  margin-bottom: 28px;
  letter-spacing: 1px;
  font-weight: 700;
}

#reviewForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  padding: 22px 18px 18px 18px;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(16, 54, 90, 0.07);
  margin-bottom: 38px;
  transition: box-shadow 0.18s;
}

#reviewForm input,
#reviewForm select,
#reviewForm textarea {
  padding: 11px 12px;
  border: 1.5px solid #b2c6e7;
  border-radius: 7px;
  font-size: 1.08rem;
  background: #f5f8fb;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
}

#reviewForm input:focus,
#reviewForm select:focus,
#reviewForm textarea:focus {
  border: 1.5px solid #5390d9;
  box-shadow: 0 0 0 2px #b6d0ff3a;
}

#reviewForm button {
  color: #fff;
  padding: 13px;
  border: none;
  border-radius: 7px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 54, 90, 0.10);
  letter-spacing: 0.5px;
  transition: background 0.15s, transform 0.13s;
}

#reviewForm button:hover {
  transform: translateY(-2px) scale(1.04);
}

#testimonials {
  margin-top: 10px;
  display: grid;
  gap: 26px;
}

.testimonial {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px 18px 24px;
  box-shadow: 0 2px 16px 0 rgba(60, 93, 154, 0.09);
  border-left: 5px solid #1976d2;
  position: relative;
  transition: box-shadow 0.22s, transform 0.16s;
}

.testimonial:hover {
  box-shadow: 0 6px 28px 0 rgba(25, 118, 210, 0.13);
  transform: translateY(-2px) scale(1.01);
}

.testimonial strong {
  font-size: 1.13rem;
  color: #184e77;
  letter-spacing: 0.4px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2px;
}

.testimonial .stars {
  color: #ffd700;
  font-size: 1.18em;
  margin-left: 0.6em;
  vertical-align: middle;
  letter-spacing: 1.5px;
}

.testimonial p {
  margin: 12px 0 7px 0;
  color: #28445c;
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.6;
}

.testimonial small {
  color: #74a4c6;
  font-size: 0.96em;
  font-weight: 500;
  letter-spacing: 0.7px;
}


@media (max-width: 650px) {
  .review-section {
    padding: 16px 2vw;
  }
  #reviewForm {
    padding: 10px 5vw 14px 5vw;
  }
  .testimonial {
    padding: 12px 8vw 10px 8vw;
  }
  #testimonials {
    gap: 16px;
  }
}