/* Reviews Component Styles */
.reviews-section {
  background: #fafafa;
  padding: 3rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  align-items: start;
}

/* Google Rating */
.google-rating {
  text-align: center;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.8rem;
  background: #ffffff; /* Google-style white badge */
  border-radius: 999px;
  color: #5f6368; /* Google neutral text color */
  border: 1px solid #dadce0;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}



.google-badge:hover {
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.google-badge i {
  color: #4285f4; /* Google blue */
  font-size: 1.9rem;
}

.google-badge span {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 700;
  color: #5f6368; /* Google neutral gray */
}

.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
}

.rating-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--heartland-blue);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rating-stars {
  display: flex;
  gap: 0.25rem;
}

.rating-stars i {
  color: #fbbf24;
  font-size: 1.5rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  transition: transform 0.2s ease;
}

.rating-stars i:hover {
  transform: scale(1.1);
}

.rating-subtitle {
  color: var(--gray-600);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

/* Testimonial Area */
.testimonial-area {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-wrapper {
  position: relative;
  min-height: 140px;
  padding: 1rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  padding-bottom: 1.5rem; /* Extra bottom padding for content */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-slide p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gray-700);
  font-style: italic;
}

.testimonial-slide .author {
  color: var(--gray-500);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Navigation */
.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav-dots {
  display: flex;
  gap: 0.75rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dot.active {
  background: var(--heartland-blue);
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(15, 46, 109, 0.3);
}

.dot:hover {
  background: var(--heartland-red);
  transform: scale(1.2);
}

/* CTA Buttons */
.reviews-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--heartland-red);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--heartland-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.more-reviews-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--heartland-blue);
  text-decoration: none;
  border: 2px solid var(--heartland-blue);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.more-reviews-button:hover {
  background: var(--heartland-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 46, 109, 0.2);
}

.more-reviews-button i {
  font-size: 1.125rem;
}

.leave-review-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--heartland-blue);
  color: white;
  text-decoration: none;
  border: 2px solid var(--heartland-blue);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.leave-review-button:hover {
  background: var(--heartland-red);
  border-color: var(--heartland-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.2);
}

.leave-review-button i {
  font-size: 1.125rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .reviews-section {
    padding: 2.5rem 0 6rem 0; /* Add extra bottom padding for mobile call bar */
  }
  
  .reviews-header h2 {
    font-size: 2rem;
  }
  
  .reviews-header p {
    font-size: 1rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .google-badge {
    font-size: 1.125rem;
    padding: 0.875rem 1.75rem;
    border-radius: 20px;
  }
  
  .google-badge i {
    font-size: 1.5rem;
  }
  
  .rating-display {
    padding: 0.75rem;
    gap: 1rem;
  }
  
  .rating-number {
    font-size: 2.75rem;
  }
  
  .rating-stars i {
    font-size: 1.25rem;
  }
  
  .testimonial-wrapper {
    min-height: 200px; /* Increased for longer testimonials */
    margin-bottom: 100px; /* Add space for mobile call bar */
    padding-bottom: 1rem; /* Extra padding at bottom */
  }
  
  .testimonial-slide p {
    font-size: 1rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .reviews-cta {
    margin-top: 2rem;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .cta-button,
  .more-reviews-button,
  .leave-review-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
  .testimonial-wrapper {
    min-height: 220px; /* Even more height for very small screens */
    margin-bottom: 120px; /* More space for mobile call bar */
  }
  
  .testimonial-slide {
    padding: 0.75rem;
    padding-bottom: 2rem; /* More bottom padding on small screens */
  }
  
  .testimonial-slide p {
    font-size: 0.95rem; /* Slightly smaller text on very small screens */
    line-height: 1.5;
  }
} 