/* ============================================================
 *  Testimonials Section
 *  Reference: abhishektewari.github.io/Travelling/
 *  Exact pixel match
 * ============================================================ */

.home_sec_testi {
  isolation: isolate;
  /* padding: 15px 36px; */
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.home_sec_testi__inner {
  z-index: 1;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* ── Header ── */
.home_sec_testi__header {
  text-align: center;
  margin-bottom: 54px;
}

.home_sec_testi__tagline {
  display: inline-flex;
  font-family: "Poppins", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 12.6px;
  font-weight: 600;
  color: #f97316;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14.4px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: 50px;
  padding: 7.2px 21.6px;
}

.home_sec_testi__heading {
  font-family: "Poppins", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 43.2px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10.8px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.home_sec_testi__subtitle {
  font-size: 18px;
  color: #64748b;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Swiper ── */
.home_sec_testi__swiper {
  overflow: hidden;
  padding: 9px 0 18px;
  width: 100%;
}

.home_sec_testi__swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: auto;
  padding: 10px;
}

/* ── Card ── */
.home_sec_testi__card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 10px;
  width: 100%;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.3s;
}

.home_sec_testi__card:hover {
  border-color: var(--card-color, #f97316);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--card-color, #f97316) 12%, transparent);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
}

/* ── Stars ── */
.home_sec_testi__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.home_sec_testi__stars svg {
  flex-shrink: 0;
}

/* ── Text ── */
.home_sec_testi__text {
  font-size: 16.56px;
  color: #475569;
  line-height: 27.324px;
  margin: 0 0 22.5px;
  flex: 1;
  font-style: italic;
}

/* ── Author ── */
.home_sec_testi__author {
  display: flex;
  gap: 15.3px;
  align-items: center;
  margin-top: auto;
}

.home_sec_testi__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12.96px;
  color: #ffffff;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.home_sec_testi__info {
  display: flex;
  flex-direction: column;
  gap: 1.8px;
}

.home_sec_testi__name {
  font-size: 16.2px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.home_sec_testi__meta {
  font-size: 12.96px;
  color: #94a3b8;
  line-height: 1.4;
}

/* ── Pagination ── */
.home_sec_testi__swiper .swiper-pagination {
  position: relative;
  bottom: 0 !important;
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.home_sec_testi__swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 0.9;
  border-radius: 999px;
  transition: width 0.3s;
  margin: 0 4px !important;
}

.home_sec_testi__swiper .swiper-pagination-bullet-active {
  width: 50px;
  background: #f97316;
  border-radius: 999px;
}

/* ── Aggregate ── */
.home_sec_testi__aggregate {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-top: 27px;
  padding: 13.5px 27px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  backdrop-filter: blur(10px);
}

.home_sec_testi__aggregate-stars {
  display: flex;
  gap: 2px;
}

.home_sec_testi__aggregate-text {
  font-size: 15.3px;
  color: #64748b;
  line-height: 1.5;
}

.home_sec_testi__aggregate-text strong {
  font-weight: 700;
  color: #f97316;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .home_sec_testi {
    padding: 15px 16px;
  }

  .home_sec_testi__header {
    margin-bottom: 32px;
  }

  .home_sec_testi__tagline {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding: 5px 14px;
  }

  .home_sec_testi__heading {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .home_sec_testi__subtitle {
    font-size: 15px;
  }

  .home_sec_testi__card {
    padding: 24px;
  }

  .home_sec_testi__text {
    font-size: 15px;
    line-height: 24px;
  }

  .home_sec_testi__aggregate {
    padding: 10px 16px;
    gap: 4px;
    border-radius: 50px;
  }

  .home_sec_testi__aggregate-text {
    font-size: 13px;
  }
}