/* LHR - FINAL POLISHED UI STYLES */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

.lhr-reviews-wrapper {
  font-family: "Poppins", sans-serif;
  background: #f9fafb; /* Lighter background */
  padding: 3rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
  max-width: 800px; /* Adjusted width */
}

.lhr-reviews-wrapper h3 {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  color: #111827;
  margin-bottom: 2.5rem;
}

.lhr-carousel {
  position: relative;
  overflow: hidden;
}
.lhr-slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.lhr-slide {
  flex-shrink: 0;
  width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.lhr-review-card {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  min-height: 250px;
  display: flex;
  flex-direction: column; /* Use flexbox for vertical alignment */
  justify-content: space-between; /* Pushes content and author apart */
  position: relative;
}

/* Decorative Quote Icon */
.lhr-review-card::before {
  content: "“";
  position: absolute;
  top: 0.75rem;
  left: 1.5rem;
  font-size: 4rem; /* Slightly smaller */
  color: #f3f4f6; /* Very light gray */
  font-family: serif;
  line-height: 1;
  z-index: 1;
}

/* Grouping the main content */
.lhr-review-content {
  z-index: 2;
  position: relative;
}

.lhr-star-rating {
  display: flex;
  color: #f59e0b;
  margin-bottom: 1rem;
}
.lhr-star-rating svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.lhr-review-card blockquote {
  color: #374151;
  font-size: 1.125rem;
  line-height: 1.75;
  border: none;
  padding: 0;
  margin: 0;
}

/* ==================================================================== */
/* FIX: Changed alignment for the author name */
/* ==================================================================== */
.lhr-review-card cite {
  display: block;
  margin-top: 1.5rem;
  text-align: left; /* Reset text alignment */
  font-style: normal;
  z-index: 2;
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6; /* Separator line */
}

.lhr-review-card .author {
  font-weight: 700;
  font-size: 1.125rem;
  color: #052e16;
}
/* ==================================================================== */

.lhr-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  padding: 0.75rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.lhr-carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
}
.lhr-carousel-btn.prev {
  left: -1rem;
}
.lhr-carousel-btn.next {
  right: -1rem;
}
.lhr-carousel-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #374151;
}

.lhr-cta-container {
  margin-top: 2.5rem;
  text-align: center;
}
.lhr-cta-btn {
  display: inline-block;
  background: linear-gradient(to right, #2563eb, #3b82f6);
  color: #ffffff;
  font-weight: 500;
  font-size: 1.125rem;
  padding: 0.875rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}
.lhr-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 10px rgba(37, 99, 235, 0.3);
}
