/* ==================== Story Section ==================== */
.story-section {
  background: #FFFFFF;
}

.story-title {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 8px;
}

.story-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text-dark);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 48px;
}

.story-question {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background: linear-gradient(to bottom, #FFF3F0, #D1D1F7);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(255, 243, 240, 0.3);
  display: flex;
  flex-direction: column;
  aspect-ratio: 343 / 400;
}

.feature-card-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.feature-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.feature-card-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin: 16px 0 8px;
}

.feature-card-desc {
  font-size: 16px;
  color: var(--color-text-dark);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .story-title {
    font-size: 24px;
  }

  .story-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .story-question {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card {
    padding: 20px;
  }
}

/* ==================== Testimonials Section ==================== */
.testimonials-section {
  background: #F8F6FF;
}

.testimonials-title {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 16px;
}

.testimonials-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-dark);
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-carousel {
  display: flex;
  gap: 16px;
}

.testimonial-card {
  flex: 1;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 0 16px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.testimonial-quote {
  font-size: 40px;
  color: rgba(91, 75, 138, 0.3);
  font-family: serif;
  line-height: 1;
  margin-bottom: 0;
}

.testimonial-content {
  font-size: 16px;
  color: #121115;
  line-height: 1.5;
  flex: 1;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: #3D3366;
  margin-top: 16px;
}

.testimonials-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.testimonials-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #5B4B8A;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #5B4B8A;
  transition: opacity 0.2s;
}

.testimonials-nav-btn:disabled {
  border-color: #E8E4F0;
  color: #8B7BAB;
  cursor: not-allowed;
}

.testimonials-nav-btn .material-icons-outlined {
  font-size: 16px;
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.testimonials-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8E4F0;
}

.testimonials-dots .dot.active {
  background: #5B4B8A;
}

@media (max-width: 800px) {
  .testimonials-section {
    padding-left: 0;
    padding-right: 0;
  }

  .testimonials-section .section-content {
    max-width: 100%;
  }

  .testimonials-title,
  .testimonials-subtitle {
    padding: 0 16px;
  }

  .testimonials-subtitle {
    margin-bottom: 32px;
  }

  .testimonials-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 20%;
    gap: 16px;
  }

  .testimonials-carousel::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 60%;
    scroll-snap-align: center;
    min-height: 280px;
    transform: scale(0.85);
    transition: transform 0.3s;
  }

  .testimonial-card.active {
    transform: scale(1);
  }

  .testimonials-nav {
    display: flex;
  }
}

/* ==================== CTA Section ==================== */
.cta-section {
  background-color: #FFE8C8;
  background-image: url('/assets/assets/images/common/img_bg_cta.webp');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
}

.cta-content {
  max-width: var(--content-width-desktop);
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 32px;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .cta-section {
    padding: 60px 16px;
  }

  .cta-content {
    max-width: var(--content-width-mobile);
  }
}
