/* Google Reviews Styles */
.reviews-section {
  background-color: #f9f9f9;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('rwanda.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.reviews-title {
  color: #254653;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.review-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  width: 320px;
  text-align: left;
  transition: all 0.4s ease;
  animation: fadeIn 0.8s ease-out;
  border-bottom: 3px solid transparent;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  border-bottom: 3px solid #f0a500;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation for multiple cards */
.review-card:nth-child(2) {
  animation-delay: 0.2s;
}

.review-card:nth-child(3) {
  animation-delay: 0.4s;
}

.review-card:nth-child(4) {
  animation-delay: 0.6s;
}

.review-card:nth-child(5) {
  animation-delay: 0.8s;
}

.review-card:nth-child(6) {
  animation-delay: 1s;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.reviewer-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.reviewer-info {
  flex-grow: 1;
}

.reviewer-name {
  font-weight: 600;
  color: #254653;
  margin: 0 0 5px 0;
}

.review-date {
  font-size: 0.8rem;
  color: #777;
}

.stars {
  color: #f0a500;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.review-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-size: 0.8rem;
  color: #555;
}

.google-badge img {
  width: 20px;
  margin-right: 5px;
  display: inline-block;
}

.review-link {
  color: #4285f4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.review-link:hover {
  color: #0f64dc;
  text-decoration: underline;
}

.all-reviews-link {
  display: inline-block;
  margin-top: 40px;
  background-color: #254653;
  color: white;
  padding: 15px 35px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid #254653;
}

.all-reviews-link:hover {
  background-color: #f0a500;
  color: white;
  border-color: #f0a500;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive design for reviews */
@media (max-width: 768px) {
  .reviews-grid {
    flex-direction: column;
    align-items: center;
  }

  .review-card {
    width: 90%;
    max-width: 350px;
  }
}
