/* ============================================================
   patient-reviews.css
   Styles for the "Patient Reviews" / Google Reviews section.

   NOTE: All class names are prefixed with "gmb-reviews-" so they
   do not collide with any existing classes on your website.
   ============================================================ */

.gmb-reviews-section {
  max-width: 90%;
  margin: 0 auto;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding: 0px 20px 80px;
  box-sizing: border-box;
}

.gmb-reviews-section * {
  box-sizing: border-box;
}

/* ---------- Heading ---------- */

.gmb-reviews-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: #14225a;
  margin: 0 0 30px 0;
}

/* ---------- Summary bar (rating + review button) ---------- */

.gmb-reviews-summary {
  background: #f3f4f6;
  border-radius: 14px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.gmb-reviews-google-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.gmb-reviews-google-logo .gmb-g-blue   { color: #4285F4; }
.gmb-reviews-google-logo .gmb-g-red    { color: #EA4335; }
.gmb-reviews-google-logo .gmb-g-yellow { color: #FBBC05; }
.gmb-reviews-google-logo .gmb-g-green  { color: #34A853; }
.gmb-reviews-google-logo .gmb-reviews-label { color: #1a1a1a; margin-left: 4px; }

.gmb-reviews-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gmb-reviews-score  { font-size: 26px; font-weight: 800; color: #1a1a1a; }
.gmb-reviews-stars  { color: #fbbc04; font-size: 20px; letter-spacing: 2px; }
.gmb-reviews-count  { color: #6b7280; font-size: 15px; }

.gmb-reviews-cta-btn {
  background: #1d4ed8;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.gmb-reviews-cta-btn:hover {
  background: #1e40af;
}

/* ---------- Carousel ---------- */

.gmb-reviews-carousel-wrap {
  position: relative;
}

.gmb-reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px 4px;
}
.gmb-reviews-track::-webkit-scrollbar {
  height: 6px;
}
.gmb-reviews-track::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.gmb-reviews-card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  background: #f3f4f6;
  border-radius: 14px;
  padding: 20px;
}

.gmb-reviews-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.gmb-reviews-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.gmb-reviews-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
}

.gmb-reviews-verified-badge {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.gmb-reviews-date {
  font-size: 12px;
  color: #6b7280;
  margin-top: 1px;
}

.gmb-reviews-card-stars {
  color: #fbbc04;
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.gmb-reviews-text {
  font-size: 18px;
  color: #374151;
  line-height: 1.5;
}

/* ---------- Nav arrows ---------- */

.gmb-reviews-nav-arrow {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #9ca3af;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gmb-reviews-nav-arrow:hover {
  background: #6b7280;
}
.gmb-reviews-nav-arrow.gmb-reviews-nav-left {
  left: -18px;
  right: auto;
}

/* ---------- Dots ---------- */

.gmb-reviews-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.gmb-reviews-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
}
.gmb-reviews-dot.gmb-reviews-dot-active {
  background: #6b7280;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .gmb-reviews-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .gmb-reviews-cta-btn {
    width: 100%;
    text-align: center;
  }
  .gmb-reviews-nav-arrow {
    display: none;
  }

  @media (max-width:480px) {
    .gmb-reviews-title{
              font-size: 27px;
    }
  }
}
