/* Client reviews carousel (home page) */
.reviews-main {
  background-color: #ffffff;
  padding: 120px 30px 20px 30px;
  text-align: center;
}

.reviews-title {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 4px solid #4B2A7B;
  padding: 40px 5px;
  font-weight: 400;
  border-radius: 15px;
  color: #4B2A7B;
  width: clamp(50px, 100%, 1000px);
  margin: 0px auto 10px auto;
  transition: transform 0.3s ease;
  font-size: clamp(.5rem, 3vw, 1.5rem);
  background-color: #e6e6e6;
}

.reviews-title:hover {
  transform: scale(1.02);
}

.reviews-summary {
  font-family: 'Montserrat', sans-serif;
  color: #00446f;
  font-size: 18px;
  margin: 20px 0 0 0;
}

.reviews-summary .stars {
  color: #f5b301;
  letter-spacing: 2px;
}

.reviews-carousel {
  position: relative;
  max-width: 820px;
  margin: 30px auto 0 auto;
  padding: 0 56px;
  font-family: 'Montserrat', sans-serif;
}

.reviews-viewport {
  overflow: hidden;
  border-radius: 14px;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 2px solid #e2e8ee;
  border-radius: 14px;
  padding: 34px 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-card .stars {
  color: #f5b301;
  font-size: 22px;
  letter-spacing: 3px;
}

.review-card blockquote {
  margin: 14px 0 20px 0;
  color: #333;
  font-size: 17px;
  line-height: 1.6;
}

.review-card .reviewer {
  color: #00446f;
  font-weight: 800;
  font-size: 16px;
}

.review-card .reviewer-biz {
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.review-card .source {
  margin-top: 6px;
  font-size: 13px;
  color: #777;
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #00446f;
  background: #ffffff;
  color: #00446f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.reviews-arrow:hover {
  background: #fad962;
  border-color: #fad962;
}

.reviews-arrow.prev { left: 0; }
.reviews-arrow.next { right: 0; }

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.reviews-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #c9d3dc;
  cursor: pointer;
  padding: 0;
}

.reviews-dots button.active {
  background: #00446f;
}

.reviews-link {
  display: inline-block;
  margin-top: 22px;
  color: #00446f;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid #fad962;
  font-family: 'Montserrat', sans-serif;
}

.reviews-link:hover {
  background: #ffe68c;
}

@media (max-width: 768px) {
  .reviews-carousel {
    padding: 0 0 0 0;
  }
  .reviews-arrow {
    display: none;
  }
  .review-card {
    padding: 24px 20px;
  }
  .review-card blockquote {
    font-size: 15px;
  }
}
