.kbm-services-slider-wrap {
  width: 100%;
  padding: 20px 0 50px;
  overflow: visible;
}

.kbm-services-swiper {
  width: 100%;
  padding-bottom: 40px !important;
  overflow: hidden;
}

.swiper-slide {
  padding: 8px 0;
}

/* === Each Card === */
.kbm-slide-inner {
  background-color: transparent;
  background-image: linear-gradient(208deg, var(--global-palette10) 0%, var(--global-palette2) 86%);
  border-radius: 10px;
  padding: 28px 24px 30px;
  height: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.kbm-slide-inner:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
  transform: translateY(-4px);
}

/* === Image === */
.kbm-slide-image {
  margin-bottom: 18px;
}

.kbm-slide-image img {
  width: 100%;
  max-width: 166px;
  height: auto;
  display: block;
  clip-path: polygon(45px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 45px);
}

/* === Title === */
.kbm-slide-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--global-palette3, #ffffff);
  margin-bottom: 12px;
  line-height: 1.3;
}

/* === Body Text === */
.kbm-slide-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--global-palette3, #ffffff);
  margin: 0;
}

/* === Pagination Dots === */
.kbm-services-swiper .swiper-pagination {
  bottom: 0;
}

.kbm-services-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #62606b;
  opacity: 1;
}

.kbm-services-swiper .swiper-pagination-bullet-active {
  background: var(--global-palette10);
  transform: scale(1.3);
}


/* Testimonial Slider */
.testimonial-section-wrapper {
  position: relative;
  padding: 30px 0;
}

.testimonial-section-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--e-global-color-primary);
  opacity: 0.8;
}

.testimonial-container {
  position: relative;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ─── Swiper wrapper ─── */
.kbm-testimonial-slider {
  position: relative;
  overflow: hidden;
}

/* ─── Single slide ─── */
.kbm-testimonial {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  text-align: center;
}

/* Paragraph: 200 px side margins on desktop (mirrors Elementor) */
.kbm-testimonial p {
  color: #D3C9C1;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0 200px 0 200px;
}

/* HR divider: hidden (0 × 0) exactly like Elementor */
.kbm-divider {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
}

/* Author block */
.kbm-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  /* replaces collapsed border-hr spacing */
}

.kbm-author strong {
  display: block;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 5px;
}

.kbm-author span {
  display: block;
  color: #FA982F;
  font-size: 14px;
}

/* ─── Navigation buttons ─── */
/* Reset Swiper defaults then re-style to match Elementor */
.kbm-prev,
.kbm-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  width: auto;
  height: auto;
  background: transparent !important;
  border: none !important;
  color: #FA982F;
  font-size: 35px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s, border 0.3s;
  padding: 0;
  margin: 0;
  user-select: none;
}

.kbm-prev {
  left: 0;
}

/* left: 0% → flush to container edge */
.kbm-next {
  right: 0;
}

/* On hover: white + transparent 1px border (exact Elementor rule) */
.kbm-prev:hover,
.kbm-next:hover {
  color: #ffffff;
  outline: 1px solid transparent;
  border-color: #FFFFFF;
}

/* Disabled state */
.kbm-prev.swiper-button-disabled,
.kbm-next.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* SVG chevron circles — same visual as icon-chevron-left/right-circle */
.kbm-prev svg,
.kbm-next svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Slider outer wrap — needed for absolute image ─── */
.kbm-slider-wrap {
  position: relative;
}

/* ─── Centre image: absolute, centred over the slider ─── */
.kbm-center-image {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  text-align: center;
}

.kbm-center-image img {
  width: 150px;
  height: auto;
  display: block;
}


/* ─── Tablet (≤ 1024 px) ─── */
@media (max-width: 1024px) {
  .kbm-testimonial p {
    margin: 0 100px;
  }
}

/* ─── Mobile (≤ 767 px) ─── */
@media (max-width: 767px) {
  .testimonial-container {
    padding: 0;
  }

  .testimonial-section-wrapper {
    margin-top: 0;
    margin-bottom: 0;
  }

  .kbm-prev,
  .kbm-next {
    display: none;
  }

  .kbm-center-image img {
    width: 120px;
  }

  .kbm-testimonial p {
    margin: 0;
    font-size: 15px;
  }
}