/* =========================
   ABS Testimonial Carousel
   (Design close to your reference image)
   ========================= */

/* ✅ Swiper base fallback (if Elementor doesn't enqueue swiper CSS on frontend) */
/* ✅ Swiper safety (ONLY before init) */
.abs-tstc-swiper{ overflow:hidden; }

/* Before init (editor/rare cases) */
.abs-tstc-swiper:not(.swiper-initialized) .swiper-wrapper{ display:block; }
.abs-tstc-swiper:not(.swiper-initialized) .swiper-slide{ width:100%; }

.abs-tstc{
  position: relative;
}

/* Swiper spacing */
.abs-tstc .swiper{
  padding: 6px 2px 26px;
}

.abs-tstc-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(18, 32, 73, .08);
  border-radius: 14px;
  padding: 22px;
  transition: .25s ease;
  box-shadow: 0 8px 18px rgba(18, 32, 73, .06);
}

.abs-tstc-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(18, 32, 73, .10);
}

/* Quote icon top-right */
.abs-tstc-quote{
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(24, 56, 132, .75);
  line-height: 1;
}

.abs-tstc-quote i{
  font-size: 22px;
}

.abs-tstc-quote svg{
  width: 22px;
  height: 22px;
}

/* Head row */
.abs-tstc-head{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-right: 34px; /* quote space */
}

/* Photo */
.abs-tstc-photo{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid #fff;
  outline: 1px solid rgba(18,32,73,.10);
  outline-offset: 2px;
  box-shadow: 0 10px 22px rgba(18, 32, 73, .12);
  flex: 0 0 auto;
}

.abs-tstc-photo-fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 700;
  background: rgba(18,32,73,.06);
  color: rgba(18,32,73,.70);
}

/* Name + designation */
.abs-tstc-name{
  font-size: 15px;
  font-weight: 700;
  margin: 2px 0 2px;
  color: rgba(18,32,73,.92);
}

.abs-tstc-desig{
  font-size: 13px;
  margin: 0;
  color: rgba(18,32,73,.62);
}

/* Stars */
.abs-tstc-stars{
  display: inline-flex;
  gap: 4px;
  margin-top: 10px;
  color: #f2b01e;
  line-height: 1;
}

.abs-tstc-stars span{
  font-size: 14px;
}

/* Divider dotted like reference */
.abs-tstc-divider{
  margin: 14px 0 12px;
  border-bottom: 1px dashed rgba(18,32,73,.16);
}

/* Description */
.abs-tstc-desc{
  font-size: 14px;
  line-height: 1.55;
  color: rgba(18,32,73,.78);
}

/* Arrows */
.abs-tstc-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(18,32,73,.12);
  background: #fff;
  color: rgba(18,32,73,.85);
  box-shadow: 0 10px 22px rgba(18,32,73,.10);
  cursor: pointer;
  z-index: 5;
}

.abs-tstc-prev{ left: -12px; }
.abs-tstc-next{ right: -12px; }

.abs-tstc-nav:hover{
  transform: translateY(-50%) scale(1.02);
}

/* Dots */
.abs-tstc-pagination{
  margin-top: 14px;
  text-align: center;
}

.abs-tstc-pagination .swiper-pagination-bullet{
  width: 8px;
  height: 8px;
  opacity: .35;
}

.abs-tstc-pagination .swiper-pagination-bullet-active{
  opacity: 1;
}

/* Responsive */
@media (max-width: 767px){
  .abs-tstc .swiper{ padding-bottom: 18px; }
  .abs-tstc-prev{ left: -6px; }
  .abs-tstc-next{ right: -6px; }
}