/* ============================= */
/* TESTIMONIALS SLIDER    */
/* ============================= */

.testimonials-section {
  position: relative;
  text-align: center;
  width: 100%;
  overflow: hidden;

}

.slider-testimonials-container {
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 auto;
  position: relative;
  border-radius: 0;
  padding: 0;
}


.slider-testimonials-section-header {

  padding-top: 0.7rem;
}

.slider-title {
  display: inline-block;
  font-size: clamp(1.1rem, 4.5vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}
.slider-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: clamp(0.18rem, 0.5vw, 0.32rem);
    border-radius: clamp(1rem, 3vw, 1.5rem);
    bottom: clamp(-0.5em, -1.5vw, -0.3em);
    left: 0;
    background-image: linear-gradient(90deg, var(--white) 0%, var(--white) 100%);

}

.slider-testimonials {
  position: relative;

}

.viewport {
  overflow: hidden;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.viewport.grabbing {
  cursor: grabbing;
}


.slider-testimonials::before,
.slider-testimonials::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15px;
  z-index: 10;
  pointer-events: none;
}

.slider-testimonials::before {
  right: 0;
}

.slider-testimonials::after {
  left: 0;
}

.track {
  display: flex;
  gap: 0.4rem;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0;
  margin: 0;
  list-style: none;
}

.track.no-anim {
  transition: none;
}


.slide {
  flex: 0 0 60vw;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.slide img {
  width: 100%;
  border-radius: 8px;
  pointer-events: none;
  display: block;
  aspect-ratio: 1.5 / 1;
}



.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.7rem;

}


.nav {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
  position: relative;
}

.nav::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--helperColor);

  display: flex;
  align-items: center;
  justify-content: center;

}

.nav.prev::before {
  content: "\f054"; 
}

.nav.next::before {
  content: "\f053"; 
}




.dots {
  display: none;
}



.google-reviews-btn-wrapper {
  text-align: center;
padding: 0.7rem;
}

.google-reviews-btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.4rem, 1.5vw, 0.625rem);
 
   padding:0.1rem;
  border-radius: clamp(1.5rem, 5vw, 3rem);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: opacity 0.2s ease;
}
.google-reviews-btn span{

 
   padding-right:0.5rem;

}


.google-reviews-btn-wrapper i {
  border-radius: 50%;
  padding: clamp(0.6rem, 0.9vw, 0.4rem);
  font-size: 1rem;
}

/* ======================== */
/* Small Tablet — 481px+    */
/* ======================== */

@media (min-width: 481px) {
  .slide {
    flex: 0 0 40vw;
  }
}

/* ======================== */
/* Medium Tablet — 601px+   */
/* ======================== */

@media (min-width: 601px) {
  .slide {
    flex: 0 0 35vw;
  }
}

/* ======================== */
/* Large Tablet — 769px+    */
/* ======================== */

@media (min-width: 769px) {
  .slider-testimonials {
    padding:  1.3rem 0;
  }

  .slider-controls {
    margin-top: 1.5rem;
    gap: 1.8rem;
  
  }

  .google-reviews-btn-wrapper {
    padding-bottom: 1.9rem;
  }

  .slider-testimonials-section-header {
    padding-top: 1.2rem;
  }

  .slide {
    flex: 0 0 30vw;
  }

}

/* ======================== */
/* Small Desktop — 1025px+  */
/* ======================== */

@media (min-width: 1025px) {
  .slide {
    flex: 0 0 22.5vw;
  }


    .slider-controls {
    margin-top: 1.7rem;
    gap: 1.8rem;
  
  }

  .google-reviews-btn-wrapper {
   
    padding-bottom: 2.2rem;
  }

}

/* ======================== */
/* Large Desktop — 1441px+  */
/* ======================== */

@media (min-width: 1441px) {
  .slide {
    flex: 0 0 16vw;
  }
}

/* ======================== */
/* Theme — Dark             */
/* ======================== */

.dark-testimonials {
 box-shadow: 
  0 -4px 6px rgba(0, 0, 0, 0.18), 
  0 4px 6px rgba(0, 0, 0, 0.18); 
}
.dark-testimonials {
  background-color: var(--helperColor);
  color: var(--white);
}

.dark-testimonials .slider-title {
  color: var(--white);
}

.dark-testimonials .slider-testimonials::before {
  background: linear-gradient(to left, var(--helperColor) 0%, transparent 50%);
}

.dark-testimonials .slider-testimonials::after {
  background: linear-gradient(to right, var(--helperColor) 0%, transparent 50%);
}

.dark-testimonials .nav {
  background-color: var(--white);
  color: var(--helperColor);
}

.dark-testimonials .dots button {
  background-color: var(--white);
}

.dark-testimonials .google-reviews-btn {
  background-color: var(--white);
  color: var(--helperColor);
}

.dark-testimonials .google-reviews-btn-wrapper i {
  color: var(--white);
  background-color: var(--helperColor);
}

/* ======================== */
/* Related Card             */
/* ======================== */

.related2-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.75rem;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: clamp(0.8rem, 2.5vw, 1.2rem);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.related2-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.related2-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: clamp(0.5rem, 1.5vw, 0.8rem);
  pointer-events: none;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.related2-card h3 {
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 700;
  margin: 0;
  color: var(--white);
  line-height: 1.4;
}

.related2-card p {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  margin: 0;
  opacity: 0.8;
  color: var(--white);
  line-height: 1.5;
}

.related2-card a {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 2rem;
  padding: 0.3rem 0.9rem;
  align-self: center;
  margin-top: auto;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.related2-card a:hover {
  background-color: var(--white);
  color: var(--helperColor);
}