a:focus-visible {
  outline: none;
}

.service-pagination {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}

.service-slider img.service-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 10px;
}







.service-slider {
  position: relative;
}

.service-image {
  width: 100%;
  height: auto;
  display: block;
}

/* .service-title {
  position: absolute;
  inset: 0;
} */


.rotate-box {
  position: absolute;
  left: 12px;
  bottom: 0;

  width: 70px;
  height: 360px;
      z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;
}

.service-slider .rotate-box h4 {
  margin: 0;
  padding: 11px 90px 11px 11px;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  white-space: nowrap;
  transform: rotate(-90deg);
  font-size: var(--font-28);
  font-family: var(--copperplate);
  /* transition: 0.3s ease all; */
}

.service-slider.swiper-slide-prev{
  position: relative;
}

.service-slider.swiper-slide-prev::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(91deg, rgba(0, 0, 0, 0.32) 30.45%, rgba(0, 0, 0, 0.268952) 44.44%, rgba(0, 0, 0, 0.16) 55.43%, rgba(0, 0, 0, 0) 66.75%);
  height: 100%;
  width: 150px;
  z-index: 3;
  border-radius: 10px;
}

.service-slider.swiper-slide-active::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.48) 28.85%, rgba(0, 0, 0, 0.403429) 53.85%, rgba(0, 0, 0, 0.12) 79.33%, rgba(0, 0, 0, 0) 100%);
  height: 150px;
  width: 100%;
  z-index: 3;
  border-radius: 10px;
}

.service-slider.swiper-slide-next::before{
 content: '';
  position: absolute;
  right: 0;
  top: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.2) 34.6%, rgba(0, 0, 0, 0.134476) 50.54%, rgba(0, 0, 0, 0.04) 63.06%, rgba(0, 0, 0, 0) 75.95%);
  height: 100%;
  width: 150px;
  z-index: 3;
  border-radius: 10px;
}

.service-slider.swiper-slide-next .rotate-box {
  left: unset;
  right: 12px;
}

.service-slider.swiper-slide-active .rotate-box {
  width: 100%;
  height: auto;
  left: 0;
  bottom: 15px;
}

.service-slider.swiper-slide-active .rotate-box h4 {
  transform: rotate(0deg);
  width: 100%;
  text-align: center;
  padding: 11px;
  margin: 0px 10px;
      line-height: 100%;
}

.service-swiper-pagination{
  text-align: center;
}

.service-card-link{
  transition: 0.3s ease all;
}

.rotate-box h4:hover{
  transition: 0.3s ease all;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #000000;
}


@media only screen and (max-width: 768px) {}

@media only screen and (max-width: 640px) {

  .testimonial-content,
  .testimonial-video {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .testimonial-video {
    height: auto;
  }

  .testimonial-video img {
    object-fit: cover;
  }


}