.new-google-rating {
  display: flex;
  flex-direction: column;
  /* gap: 0.5rem; */
}

.new-google-top-section {
  display: flex;
  flex-direction: row;
  gap: 50px;
  margin-left: 20px;
}

.star-on-google h3 {
  font-size: 30px;
  color: #333333;
}

.star-on-google span {
  font-size: 14.8px;
  color: #8f8f8f;
  /* line-height: 25px; */
}

.star-on-google {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rating-on-google {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.line-bt-row {
  border: 1px solid #cecece !important;
  height: 130px;
  position: relative;
  top: -30px;
}
.dashed-bt-row {
  border: 1px dashed #cecece;
}

/* slider */

.new-google-bottom-section {
  display: flex;
  flex-direction: row;
  /* margin-top: 20px; */
  overflow-x: auto; /* changed from hidden to auto */
  width: 100%;
}

.new-google-slider-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  padding: 1rem 0;
  /* white-space: nowrap; */
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; /* IE & Edge */
  scrollbar-width: none; /* Firefox */
}

.new-google-slider-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 0.5rem;
  scroll-behavior: smooth;
  cursor: pointer;
   align-items: flex-start; /
}

.new-google-card {
  flex: 0 0 455px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.25rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  /* height: 220px; */
  /* overflow: hidden; */
  /* width: 620px; */
}

.new-google-rating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.new-google-title {
  font-weight: 600;
  font-size: 18px;
}

.new-google-rating-badge {
  background-color: #f9ad1c;
  color: #ffffff;
  padding: 6px 6px;
  border-radius: 4px;
  font-size: 12px;
  /* font-weight: 600; */
}

.new-google-rating-date {
  font-size: 16px;
  color: #00000080;
  /* margin-bottom: 0.75rem; */
}

.new-google-rating-text {
  color: #212121;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
  word-break: normal; /* ✅ Don't break in the middle of words */
  overflow-wrap: break-word; /* ✅ Wrap whole words properly if needed */
  hyphens: none; /* ✅ Avoid browser adding auto hyphens */
}

.new-google-slider-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

@media only screen and (max-width: 768px) {
  .new-google-top-section {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .new-google-card {
    flex: 0 0 calc(100vw - 40px); /* full width minus padding (20px left + right) */
    margin: 0; /* ensure no extra margin adds offset */
  }
  .rating-star img{
    width: 206px;
    height: 36px;
  }
  .new-google-slider-wrapper {
    max-width: 100%; /* Full width on mobile */
  }

  .new-google-card {
    flex: 0 0 calc(100vw - 40px); /* 1 review visible on mobile */
    margin: 0;
  }
}

.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  padding-bottom: 1rem;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #CECECEA6;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  /* background-color: #0070f3; */
  box-shadow: 0px 4px 4px 0px #00000040;

}

.dot:hover {
  /* background-color: #005bb5; */
  box-shadow: 0px 4px 4px 0px #00000040;

}


.new-google-slider-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
  width: 100%;
  max-width: 1413px; /* 455px * 3 + 24px * 2 = 1413px for 3 cards on desktop */
  margin: 0 auto; /* Center the slider */
}
.new-google-slider-wrapper::-webkit-scrollbar {
  display: none;
}