:root {
  --google-blue: #4285F4;
  --star-color: #FBBC04;
  --text-main: #202124;
  --text-muted: #70757a;
}

.reviews-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

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

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
}

.user-info .user-name {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}

.user-info .review-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.google-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
}

/* Star Rating System */
.star-rating {
  display: inline-block;
  font-family: Times; 
  font-size: 20px;
  margin-bottom: 10px;
}

.star-rating::before {
  content: "★★★★★";
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--star-color) calc(var(--rating) * 20%), #e0e0e0 calc(var(--rating) * 20%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #3c4043;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Truncate long reviews */
  -webkit-box-orient: vertical;
  overflow: hidden;
}