/* --- Preferred Tenable-style adjustments --- */
.testimonial-swiper,
.testimonial-swiper .swiper-wrapper {
  padding-top: 48px;   /* add breathing room so active slide doesn't hit top */
  padding-bottom: 80px;
}

/* slide inner container - we grow it on active slide */
.testimonial-swiper .swiper-slide .slide-inner {
  max-width: 720px;                /* normal card width */
  margin: 0 auto;
  transition: max-width 0.45s ease, opacity 0.45s ease, margin-top 0.35s ease, transform 0.6s ease;
  box-sizing: border-box;
}

/* active slide becomes actually larger */
.testimonial-swiper .swiper-slide-active .slide-inner {
  max-width: 1000px;   /* 🔥 increased from 920px → makes center bigger */
  z-index: 3;
}

/* base slide look */
.testimonial-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.45;
  pointer-events: none; /* allow only center to be clickable if you want */
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform: perspective(1000px) rotateY(0deg) scale(0.9);
}

/* active slide */
.testimonial-swiper .swiper-slide-active {
  opacity: 1;
  pointer-events: auto;
  transform: perspective(1000px) rotateY(0deg) scale(1.3) !important; /* bigger center */
  z-index: 999;
}

/* neighbors - 3D tilt */
.testimonial-swiper .swiper-slide-next {
  opacity: 0.4;
  transform: perspective(1000px) rotateY(-20deg) scale(0.9) !important;
}
.testimonial-swiper .swiper-slide-prev {
  opacity: 0.4;
  transform: perspective(1000px) rotateY(20deg) scale(0.9) !important;
}

/* image behavior */
.testimonial-swiper .slide-inner img {
  width: 100%;
  height: auto;               /* do not force crop */
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

/* ensure nav/pagination have space below */
.testimonial-swiper { position: relative; }

.testimonial_banner { padding:90px 20px; }

/* add shadow/fade effect to prev & next slides */
.testimonial-swiper .swiper-slide-prev::after,
.testimonial-swiper .swiper-slide-next::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(to left, rgba(0,0,0,0.25), rgba(0,0,0,0));
  pointer-events: none;
  transition: opacity 0.4s ease;
  opacity: 0.7;
}

/* make sure right side gradient flips direction */
.testimonial-swiper .swiper-slide-next::after {
  background: linear-gradient(to right, rgba(0,0,0,0.10), rgba(0,0,0,0));
}

/* ✅ Step 1: Push dots + arrows further down */
.testimonial-swiper .swiper-pagination {
  position: relative;
  margin-top: 24px;  /* space below the images */
  text-align: center;
}

.testimonial-swiper .swiper-button-prev,
.testimonial-swiper .swiper-button-next {
  width: 70px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #EFB113;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    font-family: "Helvetica Neue", Arial, sans-serif;
    padding: 0;
    margin: 10px;
    transform: none !important;
    position: static !important;
    cursor: pointer;
    transition: transform .12s ease, background-color .15s ease, color .15s ease;
    z-index: 1000;
    overflow: visible;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 18px !important;
    font-weight: 100;
    color: #EAF2F0;
}

.swiper-pagination-bullet-active {
    background: #EFB113 !important;  
    }

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 20%;
    margin: 50px auto 0px auto;
}

/* responsive */
@media (max-width: 767px) {
  .testimonial-swiper .swiper-slide .slide-inner { max-width: 95%; }
  .testimonial-swiper .swiper-slide-active .slide-inner { max-width: 95%; }
  .testimonial-swiper { padding-top: 28px; padding-bottom: 70px; }
  
  /* reset 3D + scaling for mobile (flat view) */
  .testimonial-swiper .swiper-slide {
    transform: scale(0.9) !important;
  }
  .testimonial-swiper .swiper-slide-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1.0) !important;
    z-index: 999;
  }
  .testimonial-swiper .swiper-slide-next,
  .testimonial-swiper .swiper-slide-prev {
    opacity: 0.7;
    transform: scale(0.9) !important;
  }
  
  .testimonial-controls {
    width: 100% !important;
    margin: 0px !important;
    }


}