/* ===============================
   GOOGLE REVIEWS SECTION
=================================*/

.google-reviews-wrapper {
  max-width: 900px;
  margin: 80px auto;
  /*font-family: 'Segoe UI', sans-serif;*/
  padding: 0 15px;
}


/* ===============================
   TOP SUMMARY BAR
=================================*/

.gr-summary {
    background: #ffffff;
    padding: 25px 35px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.gr-google-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.google-text {
  font-weight: 600;
  background: linear-gradient(90deg,#4285F4,#EA4335,#FBBC05,#34A853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gr-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gr-avg {
  font-size: 22px;
  font-weight: bold;
}

.gr-stars {
  color: #fbbc04;
  font-size: 25px;
  text-align: center;
  letter-spacing: 2px;
}

.gr-count {
  color: #666;
  font-size: 14px;
}

.google-reviews-wrapper .gr-btn {
  background: #1a73e8;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
}

.gr-btn:hover {
  background: #1558b0;
}


/* ===============================
   SLIDER CONTAINER
=================================*/

.gr-slider-container {
  position: relative;
  margin-top: 30px;
}

.gr-viewport {
  overflow: hidden;
  width: 100%;
}

.gr-slider {
    display: flex;
    gap: 25px;
    transition: transform 0.4s ease;
    will-change: transform;
    margin: 20px;
}

/* ===============================
   REVIEW CARD
=================================*/

.gr-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    flex: 0 0 calc(50% - 12.5px);
    /* max-width: calc(50% - 12.5px); */
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}


/* ===============================
   USER HEADER
=================================*/

.gr-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.gr-avatar-wrap {
  position: relative;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}

.google-reviews-wrapper .gr-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.gr-avatar-wrap .gr-google-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.gr-name {
  font-weight: 600;
  font-size: 15px;
}

.gr-time {
  font-size: 13px;
  color: #777;
}


/* ===============================
   STAR ROW INSIDE CARD
=================================*/

.gr-card-stars {
  color: #fbbc04;
  margin: 8px 0 12px 0;
  font-size: 25px;
  text-align: center;
  letter-spacing: 2px;
}


/* ===============================
   REVIEW TEXT (FIXED HEIGHT + WRAP)
=================================*/

.gr-text {
 /* font-size: 14px;
  color: #444;
  line-height: 1.6;

  word-wrap: break-word;
  white-space: normal;

  max-height: 65px;
  overflow: hidden;*/
}

.gr-text {
  font-size: 14px;
  line-height: 1.6;
  max-height: 112px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  position: relative;
}

.gr-text.expanded {
  max-height: 500px; /* large enough */
}

.read-more-btn {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: #1a73e8;
  cursor: pointer;
  font-weight: 500;
}

.read-more-btn:hover {
  text-decoration: underline;
}


/* ===============================
   NAV BUTTONS
=================================*/
.google-reviews-wrapper button.gr-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
    color: black;
    padding: 0;
}

.gr-slider-container .gr-nav:hover {
    background: #fbbc04;
    color: white;
}

.google-reviews-wrapper button.gr-nav.prev {
  left: -18px;
}

.google-reviews-wrapper button.gr-nav.next {
  right: -18px;
}


/* ===============================
   DOTS
=================================*/

.gr-dots {
  text-align: center;
  margin-top: 25px;
}

.gr-dot {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.gr-dot.active {
  background: #333;
}

.centered-txt{
  text-align: center;
}

.star {
  font-size: 18px;
  margin-right: 3px;
}

.star.full,
.star.half {
  color: #fbbc04;
}

.star.empty {
  color: #ddd;
}

/* ===============================
   RESPONSIVE
=================================*/

@media(max-width: 992px){
  .gr-card {
    flex: 0 0 100%;
    max-width: 220px;
}

.gr-left {
    margin: auto;
}

a.gr-btn {
    margin: auto;
}

  .gr-nav.prev {
    left: 5px;
  }

  .gr-nav.next {
    right: 5px;
  }
}


