/* ================= TESTIMONIALS PAGE ================= */

.testimonials-hero {
  padding: 120px 24px;
  background: #ffffff;
}

.testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

/* LEFT */
.testimonials-text h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.testimonials-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  max-width: 520px;
}

/* RIGHT STACKED IMAGES */
.testimonials-visual {
  position: relative;
  height: 420px;
}

.testimonials-visual .img {
  position: absolute;
  width: 300px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  background: #fff;
}

/* Positioning */
.img-top {
  top: 0;
  right: 80px;
  z-index: 3;
}

.img-middle {
  top: 160px;
  left: 30px;
  z-index: 2;
}

.img-bottom {
  top: 160px;
  right: 0px;
  z-index: 1;
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .testimonials-visual {
    height: 360px;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 640px) {
  .testimonials-hero {
    padding: 96px 20px;
  }

  .testimonials-text h1 {
    font-size: 32px;
  }

  .testimonials-visual {
    height: 300px;
  }

  .testimonials-visual .img {
    width: 220px;
  }
}

/* ================= STORIES CAROUSEL ================= */

.stories {
  padding: 120px 24px;
  background: #ffffff;
  text-align: center;
}

.stories-container {
  max-width: 1280px;
  margin: 0 auto;
}

.stories h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.stories-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 64px;
}

/* Wrapper */
.stories-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Carousel viewport */
.stories-carousel {
  overflow: hidden;
  width: 100%;
}

/* Track */
.stories-track {
  display: flex;
  gap: 32px;
  transition: transform 0.4s ease;
}

/* Card */
.story-card {
  min-width: 360px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.story-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.story-card h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.story-card p {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 24px;
}

/* Arrows */
.carousel-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #5b5af0;
  font-size: 34px;
  cursor: pointer;
}

.carousel-btn.left {
  left: -22px;
}

.carousel-btn.right {
  right: -22px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .story-card {
    min-width: 280px;
  }

  .carousel-btn.left {
    left: -10px;
  }

  .carousel-btn.right {
    right: -10px;
  }
}

/* ================= SURVEY SECTION ================= */

.survey {
  padding: 120px 24px;
  background: #f7f7f7;
  text-align: center;
}

.survey-container {
  max-width: 1280px;
  margin: 0 auto;
}

.survey h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.survey-description {
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  max-width: 760px;
  margin: 0 auto 72px;
}

/* Grid */
.survey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: flex-start;
}

/* Item */
.survey-item h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 28px;
}

.survey-item svg {
  max-width: 100px;
  width: 100%;
  margin-bottom: 20px;
}

.survey-percent {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #5b5af0; /* primary */
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
  .survey-grid {
    gap: 64px;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 640px) {
  .survey {
    padding: 96px 20px;
  }

  .survey h2 {
    font-size: 30px;
  }

  .survey-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= CTA BAND ================= */

.cta-band {
  background: #5b5af0; /* primary brand color */
  padding: 120px 24px;
  text-align: center;
}

.cta-container {
  max-width: 1280px;
  margin: 0 auto;
}

.cta-container h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: #ffffff;
  color: #5b5af0;
  padding: 18px 44px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ================= MOBILE ================= */
@media (max-width: 640px) {
  .cta-band {
    padding: 96px 20px;
  }

  .cta-container h2 {
    font-size: 26px;
  }

  .cta-button {
    padding: 16px 36px;
  }
}
