/*==================================================
  EXACT Mediic Service Section CSS for 4 Branches
  Directly sourced from D:\DO\mediic1\mediic\assets\css\style.css
  Strictly scoped to avoid affecting any existing styles
==================================================*/

/* Mediic___ Section___ Title (Top Area) */
.branches-cards-section .mediic-section-title {
  padding-bottom: 50px;
}

.branches-cards-section .mediic-section-title h4 {
  font-size: 15px;
  padding: 9px 26px 8px 40px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 18px;
  color: #007eff;
  background-color: rgba(255, 255, 255, 0.30196078431372547);
  border: 1px solid #ffffff;
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 12px;
}

.branches-cards-section .mediic-section-title h4:before {
  position: absolute;
  content: "";
  top: 14px;
  left: 24px;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #007eff;
}

.branches-cards-section .mediic-section-title h1 {
  font-size: 55px;
  font-weight: 700;
  line-height: 57px;
  color: #002570;
  margin: 0;
  text-transform: uppercase;
}

/* Shape */
.branches-cards-section .mediic-shape {
  position: absolute;
  top: -39px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
}

/* Service Section Container */
.branches-cards-section {
  padding: 120px 0 96px;
  margin: 0 40px 0 50px;
  background-image: linear-gradient(0deg,
      #e5f1ff 0%,
      #e5f1ff 38%,
      #ffffff 64%,
      #ffffff 100%);
  position: relative;
  z-index: 2;
  margin-bottom: -80px;
  border-radius: 30px;
}

.branches-cards-section .row.service-bg {
  padding: 0 160px 0;
  border-radius: 30px;
  position: relative;
}

.branches-cards-section .mediic-service-box {
  overflow: clip;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.branches-cards-section .category_container {
  --gap: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: calc(var(--gap) * 2);
  width: 100%;
  height: 100%;
}

.branches-cards-section .content {
  --active: 0;
  padding: 0 35px 27px;
  cursor: pointer;
  overflow: clip;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
  width: calc((100% / 4) - var(--gap));
  height: 505px;
  text-align: center;
  transition: width 0.5s ease-in-out;
}

.branches-cards-section .content:hover {
  --active: 1;
  width: calc(46% - var(--gap));
  text-align: left;
  padding: 0 35px 55px;
}

/* Specific background images only - so icons/arrows are not stretched */
.branches-cards-section .content img.professio_image,
.branches-cards-section .content img.profile_image {
  position: absolute;
  z-index: -20;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  border-radius: 20px;
}

.branches-cards-section .content .profile_image {
  background-color: rgba(255, 255, 255, 0.30196078431372547);
  border: 2px solid #ffffff;
  opacity: calc(1 - var(--active));
  transition: opacity 0.5s ease-in-out;
}

.branches-cards-section .content .professio_image {
  opacity: calc(0 - var(--active));
  transition: opacity 0.5s ease-in-out;
}

.branches-cards-section .content:hover .professio_image {
  opacity: 1 !important;
}

/* Semi-transparent gradient overlay on hover to ensure text readability over district photos */
.branches-cards-section .content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 37, 112, 0.2) 0%,
      rgba(0, 37, 112, 0.65) 50%,
      rgba(0, 24, 75, 0.92) 100%);
  border-radius: 20px;
  z-index: -10;
  opacity: var(--active);
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

/* Reset .service-content in branches section so it doesn't inherit Swiper's bottom:40px */
.branches-cards-section .service-content {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 10 !important;
  display: block !important;
}

.branches-cards-section .mediic-service-icon {
  position: static !important;
}

/* Medical Icon ON TOP */
.branches-cards-section .medical-icon {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  transition: all 0.5s ease;
  z-index: 25;
}

.branches-cards-section .content:hover .medical-icon {
  left: 35px;
  transform: translateX(0);
}

.branches-cards-section .medical-icon img {
  width: 90px !important;
  height: 90px !important;
  max-width: 90px !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: 26 !important;
  display: block;
  border-radius: 45px;
  object-fit: contain;
}

/* Service Title */
.branches-cards-section h3.service-title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  writing-mode: tb;
  transform: rotate(180deg);
  transition: 0.5s;
  margin: 0;
  color: #002570;
}

.branches-cards-section .content:hover h3.service-title {
  writing-mode: inherit;
  transform: rotate(0deg);
  color: #ffffff;
}

/* Wrapper & Quote */
.branches-cards-section .wrapper {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}

.branches-cards-section .content:hover .wrapper {
  grid-template-rows: 1fr;
}

.branches-cards-section .profile_quote {
  min-height: 0;
  width: auto;
  transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
  opacity: 0;
  transition: opacity 0.8s ease-in-out,
    transform 0.8s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}

.branches-cards-section .content:hover .profile_quote {
  transform: none;
  opacity: 1;
}

.branches-cards-section .profile_quote p {
  font-size: 17px;
  line-height: 27px;
  padding: 0 0 28px;
  font-family: "DM Sans", sans-serif;
  color: #ffffff;
  margin: 0;
}

.branches-cards-section .content .mediic-button a {
  font-size: 15px;
  padding: 13px 25px;
  background-color: #1c8cff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0;
  color: #fff;
  border-radius: 30px;
  display: inline-block;
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.branches-cards-section .content .mediic-button a img {
  position: static !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  margin-left: 8px;
  vertical-align: middle;
  z-index: 2;
}

/* Service Bottom */
.branches-cards-section .service-bottom span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 55px 0 0;
  font-size: 16px;
  font-family: "DM Sans", sans-serif;
  color: #65677a;
}

.branches-cards-section .service-bottom span:before {
  position: absolute;
  content: "";
  left: -396px;
  bottom: 28px;
  width: 378px;
  height: 1px;
  background-color: #65677a;
  opacity: 0.3;
}

.branches-cards-section .service-bottom span:after {
  position: absolute;
  content: "";
  right: -396px;
  bottom: 28px;
  width: 378px;
  height: 1px;
  background-color: #65677a;
  opacity: 0.3;
}

.branches-cards-section .service-bottom span p {
  display: inline-block;
  margin: 0;
}

.branches-cards-section .service-bottom span a {
  display: inline-block;
  color: #007eff;
  text-decoration: underline;
}

/* Next Section Overlap */
.mediic-top-section.under-branches-overlap {
  padding-top: 170px !important;
  position: relative;
  z-index: 1;
}

/* Responsive Styles */
@media (max-width: 1400px) {
  .branches-cards-section .row.service-bg {
    padding: 0 60px 0;
  }

  .branches-cards-section .service-bottom span:before,
  .branches-cards-section .service-bottom span:after {
    width: 200px;
  }

  .branches-cards-section .service-bottom span:before {
    left: -220px;
  }

  .branches-cards-section .service-bottom span:after {
    right: -220px;
  }
}

@media (max-width: 1199px) {
  .branches-cards-section .mediic-section-title h1 {
    font-size: 42px;
    line-height: 48px;
  }

  .branches-cards-section .row.service-bg {
    padding: 0 30px 0;
  }

  .branches-cards-section .service-bottom span:before,
  .branches-cards-section .service-bottom span:after {
    display: none;
  }
}

@media (max-width: 991px) {
  .branches-cards-section {
    margin: 0 15px 0 15px;
    padding: 50px 0;
    margin-bottom: -50px;
  }

  .branches-cards-section .row.service-bg {
    padding: 0 10px 0;
  }

  .branches-cards-section .category_container {
    flex-direction: column;
    gap: 14px;
  }

  .branches-cards-section .content,
  .branches-cards-section .content:hover {
    width: 100% !important;
    height: auto;
    min-height: 200px;
    padding: 22px;
    text-align: left;
  }

  .branches-cards-section .medical-icon,
  .branches-cards-section .content:hover .medical-icon {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 12px;
    width: 70px;
    height: 70px;
  }

  .branches-cards-section .medical-icon img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
  }

  .branches-cards-section h3.service-title,
  .branches-cards-section .content:hover h3.service-title {
    writing-mode: horizontal-tb;
    transform: none;
    color: #ffffff;
    font-size: 20px;
  }

  .branches-cards-section .wrapper {
    grid-template-rows: 1fr;
  }

  .branches-cards-section .profile_quote {
    transform: none;
    opacity: 1;
  }

  .branches-cards-section .profile_quote p {
    font-size: 15px;
    line-height: 24px;
    padding: 0 0 16px;
  }

  .branches-cards-section .content .professio_image {
    opacity: 1 !important;
  }

  .branches-cards-section .content .profile_image {
    opacity: 0;
  }

  .mediic-top-section.under-branches-overlap {
    padding-top: 100px !important;
  }
}

@media (max-width: 575px) {
  .branches-cards-section {
    margin: 0 10px;
    padding: 40px 0;
  }

  .branches-cards-section .category_container {
    gap: 12px;
  }

  .branches-cards-section .content,
  .branches-cards-section .content:hover {
    min-height: 180px;
    padding: 18px;
  }

  .branches-cards-section .mediic-section-title h1 {
    font-size: 28px;
    line-height: 36px;
  }
}

/*==================================================
  SPECIALIZED DIABETIC SERVICES - Image Aspect Ratio & Hover Effects
==================================================*/
.service-section .single-service-box {
  border-radius: 20px;
  overflow: hidden;
  /* GPU compositing layer for smooth scrolling */
  will-change: transform;
  contain: layout style;
}

.service-section .single-service-box .service-thumb {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
}

.service-section .single-service-box .service-thumb:before {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 95px;
  height: 95px;
  background: url(../images/resource/srvce-shp.png) no-repeat top right;
  background-size: 95px 95px;
  z-index: 3;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  display: block !important;
}

.service-section .single-service-box:hover .service-thumb:before {
  opacity: 1;
  transform: translateY(0);
}

.service-section .single-service-box .service-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

.service-section .single-service-box .service-icon a i {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  width: 50px !important;
  height: 50px !important;
  line-height: 50px !important;
  border-radius: 50% !important;
  text-align: center;
  background-color: #007eff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px !important;
  color: #fff !important;
  opacity: 0;
  transform: translateY(-8px) rotate(-45deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-section .single-service-box:hover .service-icon a i {
  opacity: 1 !important;
  transform: translateY(0) rotate(0deg) scale(1.05);
  background-color: #0056d6 !important;
  box-shadow: 0 6px 20px rgba(0, 126, 255, 0.6);
}

@media (max-width: 991px) {
  .service-section .single-service-box .service-thumb:before {
    opacity: 1;
    transform: none;
  }
  .service-section .single-service-box .service-icon a i {
    opacity: 1 !important;
    transform: none;
  }
}

.service-section .single-service-box .service-thumb img {
  width: 100%;
  aspect-ratio: 385 / 480;
  height: 480px;
  max-height: 480px;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  /* Prevent layout shifts */
  transform: translateZ(0);
}

.service-section .single-service-box .service-thumb img[src*="dr-durai"] {
  object-position: center 15%;
}

.service-section .single-service-box:hover .service-thumb img {
  transform: scale(1.06);
}

@media (max-width: 991px) {
  .service-section .swiper {
    /* Smooth touch scrolling */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    will-change: transform;
  }

  .service-section .single-service-box .service-thumb img {
    height: 380px;
    aspect-ratio: 385 / 480;
    /* Disable hover scale on touch — no lag */
    transition: none;
  }

  /* Disable heavy AOS animations inside swiper on mobile */
  .service-section .swiper-slide [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 767px) {
  .service-section .single-service-box .service-thumb img {
    height: 340px;
    aspect-ratio: 385 / 480;
  }
}

/*==================================================
  Appointment Form & Badges Enhanced Styling
==================================================*/
.mediic-appoinment .form-box select {
  width: 100%;
  height: 60px;
  margin-bottom: 20px;
  padding: 0 45px 0 20px;
  outline: 0;
  display: inline-block;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 37, 112, 0.45);
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  color: #002570;
  font-size: 15px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23002570' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px;
  transition: all 0.3s ease;
}

.mediic-appoinment .form-box input[type="date"] {
  color: #002570;
  cursor: pointer;
}

.mediic-appoinment .form-box select:focus,
.mediic-appoinment .form-box input:focus,
.mediic-appoinment .form-box textarea:focus {
  border-color: #007eff;
  box-shadow: 0 0 0 3px rgba(0, 126, 255, 0.18);
  background-color: #ffffff;
}

.appointment-meta-badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed rgba(0, 37, 112, 0.2);
  width: 100%;
}

.appointment-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
}

.appointment-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 126, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007eff;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.appointment-badge-item:hover .appointment-badge-icon {
  transform: translateY(-2px);
  background: #007eff;
  color: #ffffff;
}

.appointment-badge-text {
  white-space: nowrap;
}

.appointment-badge-text span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  font-weight: 600;
  line-height: 1.3;
}

.appointment-badge-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #002570;
  display: block;
  line-height: 1.4;
}

.appointment-badge-text a {
  font-size: 14.5px;
  font-weight: 700;
  color: #002570;
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  line-height: 1.4;
}

.appointment-badge-text a:hover {
  color: #007eff;
}

@media (max-width: 575px) {
  .appointment-meta-badges {
    flex-wrap: wrap !important;
    gap: 14px;
  }

  .appointment-badge-text {
    white-space: normal;
  }
}

/*==================================================
  Team Doctors Image Aspect Ratio & Link Styling
==================================================*/
.team-single-box .team-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.team-single-box .team-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
}

.team-content h2 a {
  color: #002570;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-content h2 a:hover {
  color: #007eff;
}

.team-single-box .social-icon ul li a i.bi {
  width: 42px;
  line-height: 42px;
  height: 42px;
  border-radius: 21px;
  background-color: #ffffff;
  color: var(--primary-color);
  transition: 0.5s;
  display: inline-block;
  text-align: center;
}

.team-single-box .social-icon ul li a:hover i.bi,
.team-single-box .social-icon ul li a:hover i.fab {
  background-color: #002570;
  color: #ffffff;
}

/*==================================================
  Subscribe Section Polish
==================================================*/
.mediic-subscribe .subscribe-icon {
  flex-shrink: 0;
}

.mediic-subscribe .subscribe-title h1 {
  font-size: 28px;
  line-height: 38px;
}

@media (max-width: 991px) {
  .mediic-subscribe .subscribe-title h1 {
    font-size: 22px;
    line-height: 32px;
    padding-left: 20px;
  }
}

@media (max-width: 767px) {
  .mediic-subscribe .subscribe-content {
    flex-direction: column;
    text-align: center;
  }

  .mediic-subscribe .subscribe-title h1 {
    padding-left: 0;
    padding-top: 18px;
    font-size: 20px;
    line-height: 28px;
  }

  .mediic-subscribe .mediic-button.text-right {
    text-align: center !important;
    margin-top: 25px;
  }
}

/*==================================================
  Testimonial Google Reviews Section Polish
==================================================*/
.testimonial-google-subtitle {
  color: #ffba00;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.testimonial-section .testi-thumb .testi-content {
  width: auto;
  max-width: 380px;
  height: auto;
  min-height: 190px;
  padding: 24px 28px 24px;
}

.testi-google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.testi-google-badge .testi-rating-val {
  color: #ffba00;
  font-weight: 700;
  font-size: 15px;
}

.testi-google-badge .testi-rating-count {
  color: #ffffff;
  font-size: 13px;
  opacity: 0.9;
}

.testimonial-section .testi-thumb .testi-content h4 {
  font-size: 21px;
  line-height: 28px;
  font-weight: 600;
  padding: 0 0 16px;
  margin: 0;
  color: #ffffff;
}

.testimonial-section .testi-single-box {
  padding: 36px 32px 30px !important;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-section .testi-content-2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.testimonial-section .testi-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.testimonial-section .google-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.testimonial-section .google-badge-tag span {
  font-size: 12px;
  /* color: #ffffff; */
  font-weight: 600;
  letter-spacing: 0.2px;
}

.testimonial-section ul.testi-rating {
  margin: 0 0 10px;
  padding: 0;
}

.testimonial-section ul.testi-rating li {
  padding: 8px 0 6px !important;
  font-size: 17px !important;
  color: #ffba00 !important;
  display: inline-block;
}

.testimonial-section .testi-desc p {
  font-size: 15px !important;
  line-height: 25px !important;
  /* color: rgba(255, 255, 255, 0.92) !important; */
  font-style: italic;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-section .user-info {
  padding: 16px 0 0 !important;
  margin-top: auto !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
}

.testimonial-section .people-pic img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 24px;
  border: 2px solid #ffba00;
  object-fit: cover;
  margin-right: 14px;
}

.testimonial-section .user-name h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  /* color: #ffffff !important; */
  margin: 0 0 2px;
}

.testimonial-section .user-name h6 {
  font-size: 13px !important;
  color: #ffba00 !important;
  font-weight: 500 !important;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.testimonial-section .user-name h6 i.bi {
  font-size: 13px;
  color: #ffba00;
}

@media (max-width: 991px) {
  .testimonial-section {
    padding: 50px 20px 80px;
    overflow: hidden;
  }

  .testimonial-section .testi-thumb {
    margin-bottom: 35px;
  }

  .testimonial-section .testi-thumb img {
    width: 100%;
    border-radius: 24px;
    display: block;
    margin-bottom: 0;
  }

  .testimonial-section .testi-thumb .testi-content {
    position: relative;
    top: auto;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    margin: 20px 0 0 0;
    border-radius: 20px;
    padding: 24px 22px;
    box-sizing: border-box;
  }

  .testimonial-section .testi-single-box {
    min-height: auto;
    margin-top: 0 !important;
  }

  .mediic-top-section.style-2 .mediic-shape {
    display: none !important;
  }

  .testimonial-google-subtitle {
    font-size: 13px;
    letter-spacing: 1px;
  }
}

@media (max-width: 767px) {
  .testimonial-section {
    padding: 35px 15px 65px;
  }

  .testimonial-section .testi-thumb .testi-content {
    margin-top: 16px;
    border-radius: 18px;
    padding: 20px 18px;
    box-sizing: border-box;
  }

  .testimonial-section .testi-thumb .testi-content h4 {
    font-size: 19px;
    line-height: 26px;
    padding-bottom: 14px;
  }

  .testi-google-badge {
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 12px;
  }

  .testimonial-section .testi-single-box {
    padding: 26px 18px 22px !important;
    min-height: auto;
    margin-top: 0 !important;
  }

  .testimonial-section .testi-desc p {
    font-size: 14px !important;
    line-height: 23px !important;
    -webkit-line-clamp: 7;
  }

  .testimonial-google-subtitle {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
}