selector.elem-swiper {
  overflow: hidden !important;
  max-width: 100%;
}

selector .swiper-wrapper {
  max-width: 100%;
}

.elem-slider-wrapper {
  width: 100%;
  background-color: transparent !important;
  padding: 0px 15px;
  overflow: hidden;
}

.elem-swiper {
  max-width: 1200px;
  padding-top: 50px !important;
  padding-bottom: 20px !important;
}

.elem-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
}

/* ====================================
   DEFAULT / INACTIVE CARD STYLE
   ==================================== */
.elem-swiper .testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 45px 30px 40px 30px; 
  text-align: center;
  width: 100%;
  max-width: 360px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease-in-out;
  transform: scale(0.88);
  opacity: 0.5;
}

/* ====================================
   CIRCULAR LOGO (Sitting inside cutout)
   ==================================== */
.elem-swiper .avatar {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px; 
  height: 56px; 
  border-radius: 12px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  z-index: 10;
  box-sizing: border-box;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

.elem-swiper .avatar img {
 max-width: 86%;
    max-height: 76%;
    object-fit: contain;
}

.elem-swiper .avatar-bb { background-color: transparent; }
.elem-swiper .avatar-jo { background-color: transparent; }
.elem-swiper .avatar-rc { background-color: transparent; }
.elem-swiper .avatar-so { background-color: transparent; }
.elem-swiper .avatar-ts { background-color: transparent; }

.elem-swiper .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.elem-swiper .testimonial-text {
  color: #718096;
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 450;
  margin-bottom: 20px;
  font-family: "Inter", sans-serif !important;
}

/* ====================================
   BOTTOM FOOTER STYLE
   ==================================== */
.elem-swiper .card-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  justify-content: center;
  width: 100%;
}

.elem-swiper .footer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  background-color: #ffffff !important;
  box-sizing: border-box;
  flex-shrink: 0;
}

.elem-swiper .footer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50% !important;
  padding: 2px;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}

.elem-swiper .author-info {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: right;
}

.elem-swiper .author-name {
  color: #2d3748;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  font-family: "Inter", sans-serif !important;
}

.elem-swiper .company-name {
  color: #a0aec0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "Inter", sans-serif !important;
}

/* ====================================
   ACTIVE CARD STYLE
   ==================================== */
.elem-swiper .swiper-slide-active .testimonial-card {
  background: #1e50d4 !important;
  transform: scale(1.02) !important;
  opacity: 1 !important;
  box-shadow: 0 20px 40px rgba(30, 80, 212, 0.24) !important;
}

.elem-swiper .swiper-slide-active .avatar {
  transform: translateX(-50%) scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.elem-swiper .swiper-slide-active .footer-avatar {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.elem-swiper .swiper-slide-active .testimonial-text {
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
}

.elem-swiper .swiper-slide-active .author-name {
    font-side15.5px;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans',sans-serif;
}

.elem-swiper .swiper-slide-active .company-name {
  color: #FF93A4 !important;
}

/* ====================================
   BOTTOM CONTROLS
   ==================================== */
.elem-slider-wrapper .controls-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 40px auto 0 auto !important;
  gap: 15px !important;
  width: fit-content !important;
  max-width: 320px !important;
}

.elem-slider-wrapper .nav-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #1e50d4 !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
}

.elem-slider-wrapper .nav-btn:hover {
  background: #f7fafc !important;
}

.elem-slider-wrapper .nav-btn.swiper-button-disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

.elem-slider-wrapper .nav-btn svg {
  width: 16px !important;
  height: 16px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.5 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.elem-slider-wrapper .custom-pagination {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

.elem-slider-wrapper .swiper-pagination-bullet {
  width: 6px !important;
  height: 6px !important;
  background: #cbd5e0 !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  margin: 0 !important;
}

.elem-slider-wrapper .swiper-pagination-bullet-active {
  width: 20px !important;
  height: 6px !important;
  border-radius: 3px !important;
  background: #1e50d4 !important;
}