/* Sri Satyadeva Testimonial Slider v5.0.1 — fully scoped. */
.ssw-ts-section,
.ssw-ts-section *,
.ssw-ts-section *::before,
.ssw-ts-section *::after { box-sizing: border-box; }

.ssw-ts-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #f1f4e8;
  color: #17221a;
  font-family: "Inter", Arial, sans-serif;
  padding: 80px 0;
  clear: both;
}

.ssw-ts-section button,
.ssw-ts-section input,
.ssw-ts-section textarea,
.ssw-ts-section select { font: inherit; }

/* Neutralize common theme defaults without using !important, so Elementor Style controls can override them. */
.ssw-ts-section h1,
.ssw-ts-section h2,
.ssw-ts-section h3,
.ssw-ts-section h4,
.ssw-ts-section p,
.ssw-ts-section div,
.ssw-ts-section span { margin-block-start: 0; margin-block-end: 0; }

.ssw-ts-container {
  position: relative;
  z-index: 3;
  width: min(100%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.ssw-ts-wave { position: absolute; z-index: 0; inset: 0 0 auto 0; width: 100%; height: 180px; overflow: hidden; pointer-events: none; }
.ssw-ts-wave svg { display: block; width: 100%; height: 100%; }
.ssw-ts-wave-path { fill: #e9ebd9; fill-opacity: .55; }

.ssw-ts-decor { position: absolute; z-index: 1; bottom: -40px; width: 192px; height: 192px; border-radius: 50%; opacity: .10; filter: blur(48px); pointer-events: none; }
.ssw-ts-decor-one { left: -48px; background: #2d4739; }
.ssw-ts-decor-two { right: 40px; background: #4b7a33; }

.ssw-ts-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.ssw-ts-header.is-stacked { flex-direction: column; align-items: flex-start; }
.ssw-ts-heading-copy { min-width: 0; flex: 1 1 auto; max-width: 800px; }

.ssw-ts-title {
  display: block;
  margin: 0;
  padding: 0;
  color: #1a1f16;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(30px, 3.25vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.ssw-ts-description {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  color: #6b6f69;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 640px;
  overflow-wrap: anywhere;
}

.ssw-ts-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex: 0 0 auto; align-self: flex-end; }
.ssw-ts-nav button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #374037;
  box-shadow: 0 4px 20px -10px rgba(0,0,0,.14);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, opacity .2s ease;
  line-height: 0;
  text-decoration: none;
  text-shadow: none;
  list-style: none;
}
.ssw-ts-nav button:hover { background: #3c5535; color: #fff; transform: scale(1.05); }
.ssw-ts-nav button:focus-visible { box-shadow: 0 0 0 3px rgba(60,85,53,.22), 0 8px 20px -10px rgba(60,85,53,.28); outline: none; }
.ssw-ts-nav button[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; }
.ssw-ts-nav-icon,
.ssw-ts-inline-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 18px; height: 18px; font-size: 18px; line-height: 0; color: inherit; }
.ssw-ts-nav-icon::before,
.ssw-ts-nav-icon::after,
.ssw-ts-inline-icon::before,
.ssw-ts-inline-icon::after { content: none !important; display: none !important; }
.ssw-ts-nav-icon > svg,
.ssw-ts-inline-icon > svg,
.ssw-ts-elementor-icon > svg,
.ssw-ts-nav-icon i,
.ssw-ts-inline-icon i { display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; padding: 0; line-height: 1; font-size: inherit; }
.ssw-ts-elementor-icon { display: inline-flex; width: 100%; height: 100%; align-items: center; justify-content: center; }

.ssw-ts-viewport { width: 100%; overflow-x: auto; overflow-y: hidden; padding: 0 0 24px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.ssw-ts-viewport.has-scrollbar { scrollbar-width: auto; -ms-overflow-style: auto; }
.ssw-ts-viewport.no-scrollbar::-webkit-scrollbar { display: none; }
.ssw-ts-viewport.has-scrollbar::-webkit-scrollbar { height: 8px; }

.ssw-ts-track { display: flex; align-items: stretch; gap: var(--ssw-ts-gap, 24px); width: max-content; min-width: 100%; }
.ssw-ts-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--ssw-ts-gap, 24px) * (var(--ssw-ts-columns, 3) - 1))) / var(--ssw-ts-columns, 3));
  min-width: 0;
  width: calc((100% - (var(--ssw-ts-gap, 24px) * (var(--ssw-ts-columns, 3) - 1))) / var(--ssw-ts-columns, 3));
  max-width: calc((100% - (var(--ssw-ts-gap, 24px) * (var(--ssw-ts-columns, 3) - 1))) / var(--ssw-ts-columns, 3));
  min-height: 250px;
  padding: 28px;
  margin: 0;
  border-radius: 12px;
  background: #fbfcf8;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 4px 20px -10px rgba(0,0,0,.1);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.ssw-ts-card:hover { box-shadow: 0 12px 30px -14px rgba(0,0,0,.16); }
.ssw-ts-card-inner { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 100%; text-align: left; }

.ssw-ts-quote-mark {
  position: absolute;
  z-index: 0;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  color: #415e3c;
  opacity: .30;
  line-height: 0;
  pointer-events: none;
}
.ssw-ts-quote-mark .ssw-ts-inline-icon { width: 100%; height: 100%; font-size: 52px; }

.ssw-ts-quote-text {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 0 0 0 48px;
  color: #4a4f48;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ssw-ts-customer { display: flex; align-items: center; width: 100%; min-width: 0; gap: 16px; margin: 32px 0 0 48px; }
.ssw-ts-avatar { display: block; width: 40px; height: 40px; min-width: 40px; flex: 0 0 40px; margin: 0; padding: 0; border-radius: 50%; object-fit: cover; object-position: center center; background: #dfe6db; }
.ssw-ts-avatar-fallback { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #415e3c; font-family: "Inter", Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 1; }
.ssw-ts-customer-copy { flex: 1 1 auto; min-width: 0; max-width: 100%; }

/* Use a DIV, not H3/H4, so theme heading defaults cannot make customer names huge. */
.ssw-ts-customer-name {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 5px;
  padding: 0;
  color: #2d332b;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}
.ssw-ts-stars { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; min-height: 16px; margin: 0; padding: 0; color: #f4b619; }
.ssw-ts-star { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin: 0; padding: 0; color: inherit; line-height: 0; }
.ssw-ts-star::before,
.ssw-ts-star::after { content: none !important; display: none !important; }
.ssw-ts-star .ssw-ts-inline-icon { width: 100%; height: 100%; font-size: 16px; }
.ssw-ts-star > i,
.ssw-ts-star > svg { display: block; width: 100%; height: 100%; margin: 0; padding: 0; }
.ssw-ts-star-filled { color: #f4b619; }
.ssw-ts-star-empty { color: #c8ccc5; }

@media (max-width: 1024px) {
  .ssw-ts-section { padding: 58px 0; }
  .ssw-ts-container { max-width: 100%; padding-left: 18px; padding-right: 18px; }
  .ssw-ts-header { gap: 24px; }
  .ssw-ts-title { font-size: clamp(30px, 5vw, 42px); }
  .ssw-ts-card { min-height: 240px; }
}

@media (max-width: 767px) {
  .ssw-ts-section { padding: 44px 0; }
  .ssw-ts-container { width: 100%; max-width: none; padding-left: 14px; padding-right: 14px; }
  .ssw-ts-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
  .ssw-ts-header.is-stacked { gap: 14px; }
  .ssw-ts-heading-copy { width: 100%; max-width: 100%; }
  .ssw-ts-title { font-size: 30px; line-height: 1.12; }
  .ssw-ts-description { max-width: 100%; font-size: 13px; }
  .ssw-ts-nav { width: 100%; justify-content: flex-end; align-self: auto; }
  .ssw-ts-viewport { padding-bottom: 18px; }
  .ssw-ts-track { gap: var(--ssw-ts-gap, 24px); }
  .ssw-ts-card { min-height: 240px; padding: 24px 22px; }
  .ssw-ts-quote-mark { top: 18px; left: 18px; width: 44px; height: 44px; }
  .ssw-ts-quote-text { min-height: 90px; padding-left: 42px; font-size: 14px; }
  .ssw-ts-customer { margin-left: 0; gap: 14px; margin-top: auto; }
  .ssw-ts-nav button { width: 38px; height: 38px; }
  .ssw-ts-nav-icon, .ssw-ts-inline-icon { width: 17px; height: 17px; font-size: 17px; }
  .ssw-ts-avatar { width: 40px; height: 40px; flex-basis: 40px; }
  .ssw-ts-customer-name { font-size: 14px; line-height: 1.35; }
  .ssw-ts-section[data-mobile-slider="no"] .ssw-ts-viewport { overflow: visible; }
  .ssw-ts-section[data-mobile-slider="no"] .ssw-ts-track { display: grid; grid-template-columns: 1fr; width: 100%; }
  .ssw-ts-section[data-mobile-slider="no"] .ssw-ts-card { width: 100%; max-width: none; min-width: 0; }
}

@media (max-width: 390px) {
  .ssw-ts-title { font-size: 27px; }
  .ssw-ts-container { padding-left: 12px; padding-right: 12px; }
  .ssw-ts-card { padding: 22px 18px; }
  .ssw-ts-quote-mark { width: 38px; height: 38px; top: 16px; left: 16px; }
  .ssw-ts-quote-text { padding-left: 36px; }
  .ssw-ts-customer { gap: 12px; }
  .ssw-ts-decor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ssw-ts-nav button,
  .ssw-ts-card { transition: none; }
  .ssw-ts-viewport { scroll-behavior: auto; }
}
