﻿ 
    #aggregate-rating{
display:flex;
justify-content:space-between;
align-items:center;
background:#f3f3f3;
padding:20px 25px;
border-radius:10px;
margin-bottom:30px;
}

 
#total-reviews{
color:#666;
margin-left:5px;
}

#aggregate-rating a{
background:#1a73e8;
color:#fff;
padding:10px 18px;
border-radius:20px;
text-decoration:none;
font-weight:600;
}

#aggregate-rating a:hover{
background:#1558b0;
} .slickTalks-1 {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
}

.testimonial-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.05);
  margin: 10px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.testimonial-author {
  display: flex;
  align-items: center; /* vertically center items */
  gap: 10px; /* space between elements */
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin:0 !important;
}

.testimonial-author h5 {
  display: flex;
  align-items: center;
  margin: 0;
}

 
 
.testimonial-item p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #444;
  flex-grow: 1;
  overflow: hidden;
  max-height: 72px; /* approx 4 lines */
  position: relative;
  font-weight:normal;
  text-align:left;
}
.google-verified-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-left: 4px; /* small spacing after reviewer name */
}
.testimonial-item p.expanded {
  max-height: none;
}

.read-more {
  color: #1a73e8;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  margin-top: 6px;
  display: inline-block;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .testimonial-item {
    min-height: auto;
  }
}
.slick-slide {
    padding: 15px;
}
.slickTalks-1 {
    margin: 0 -15px;
}
/* Review card */
.testimonial-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    min-height: 230px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Author section */
.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

 
/* Name */
.testimonial-author h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #202124;
}

 

/* Review text */
.testimonial-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-top: 10px;
}

/* Optional: keep card heights balanced */
.testimonial-item p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow-y: scroll !important;
      padding-right: 8px;           
    max-height: calc(1.2em * 5);   
}
.testimonial-item p::-webkit-scrollbar {
    width: 6px;                   /* very thin */
}

.testimonial-item p::-webkit-scrollbar-track {
    background: transparent;       /* optional background */
    margin: 4px 0;                 /* padding from top/bottom */
}

.testimonial-item p::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3); /* thumb color */
    border-radius: 3px;                 /* round edges */
}

/* Optional: hover effect */
.testimonial-item p::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.5);
}
/* Improve slider dots spacing */
.slick-dots {
    margin-top: 15px;
}
.testimonial-author{
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* allows next line */
    gap:6px;
}

 

.testimonial-author h5{
    display:flex;
    align-items:center;
    margin:0;
    gap:4px;
}
.rating{
    width:50%;
    display:flex;      /* makes stars horizontal */
    gap:2px;           /* optional spacing */
}
.review-meta {
    width:100%;
    display: flex;
    justify-content: space-between; /* left-right alignment */
    align-items: center;           /* vertically centered */
    margin-top: 4px;               /* spacing from author name */
}

.review-time {
    width:50% !important;
    color: #8f8c8c !important;
    font-weight: normal !important;
    font-size: 12px !important;
}

.testimonial-author .rating {
    color: #fbbc04;
    font-size: 1.1rem;
    white-space: nowrap;
    user-select: none;
}
.star{
    display:inline-block;
}
 

.author-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.google-logo {
 
    height: 18px;
}

.author-name {
    font-weight: bold;
    margin: 0;
}

.verified-badge {
    width: 14px;
    height: 14px;
}
.author-img{
    position:relative;
    display:inline-block;
}

.author-img img{
    width:40px;
    height:40px;
    border-radius:50%;
}

.author-img .google-verified-icon{
    position:absolute;
    right:-4px;
    bottom:-2px;
}
.review-text {
      display: block;
    max-height: none !important;
    overflow: visible !important;
}
.review-text .read-more {
    display: inline-block;
    margin-left: 4px;
}
.slick-slide {
     height: auto !important;
    overflow: visible !important;      /* let slide grow with content */
}
.testimonial-item, .slick-slide {
    height: auto !important;
}   
#avg-rating {
    font-size: 2.2rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 4px; /* spacing between number and stars */
}

#avg-rating .rating-number {
    color: #000; /* black for number */
}

#avg-rating .rating-stars {
    color: #f39c12; /* Google yellow */
}
 