/* =========================================
   LEANIMISE TESTIMONIALS — FINAL VERSION
   ========================================= */

.lnm-testimonials {
  padding: 80px 0 60px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}



/* ---------- Swiper container ---------- */
.lnm-swiper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 40px;
}

.lnm-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.lnm-swiper .swiper-slide {
  width: 433px !important;
  margin-right: 24px !important;
  display: flex;
  justify-content: center;
}

/* ---------- Testimonial Card ---------- */
.lnm-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: none;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  height: auto;
  transition: transform 0.25s ease;
}

.lnm-card:hover {
  transform: translateY(-4px);
}

/* ---------- Avatar ---------- */
.lnm-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
}

.lnm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ---------- Text (exact from Figma reference) ---------- */
.lnm-text {
  font-size: 15px;
  font-weight: 400;
  color: #1e1e1e;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
}

/* ---------- Controls ---------- */
.lnm-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
  position: relative;
}

/* Centering everything (arrows + dots inline) */
.lnm-controls .lnm-prev,
.lnm-controls .lnm-next,
.lnm-controls .swiper-pagination {
  position: relative;
}

/* ---------- Arrows ---------- */
.lnm-prev,
.lnm-next {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #a0a0a0;
  transition: color 0.25s ease, background 0.25s ease;
}

.lnm-prev:hover,
.lnm-next:hover {
  color: #0059ff;
  background: rgba(0, 0, 0, 0.05);
}

.lnm-controls svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---------- Dots Pagination ---------- */
.lnm-controls .swiper-pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c5c5c5;
  opacity: 1;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.swiper-pagination-bullet-active {
  width: 36px;
  background: #0059ff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .lnm-swiper .swiper-slide {
    width: 360px !important;
    margin-right: 20px !important;
  }
}

@media (max-width: 767px) {
  .lnm-swiper .swiper-slide {
    width: 85% !important;
    margin-right: 0 !important;
  }

  .lnm-controls {
    margin-top: 24px;
  }
}
