/* ==========================================================================
   CUSTOMER STORIES CAROUSEL & STRATEGY GUIDE STYLESHEET
   100% Offline | Zero External Dependencies
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Carousel Section Container
   -------------------------------------------------------------------------- */
.stories-carousel-section {
  width: 100%;
  background-color: #ffffff;
  padding: 70px 0 40px;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.stories-section-title {
  text-align: center;
  font-size: 2.15rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0 auto 52px auto;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* --------------------------------------------------------------------------
   2. Slide Layout & Typography
   -------------------------------------------------------------------------- */
.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 56px;
  align-items: center;
  box-sizing: border-box;
  padding: 16px 20px 20px 20px;
}

.slide-content {
  display: flex;
  flex-direction: column;
}

.slide-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
}

.slide-quote {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #374151;
  margin: 0 0 24px 0;
  padding: 0;
  font-style: normal;
  border: none;
}

.slide-author {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
}

.author-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-slide-primary {
  background-color: #6a32f4;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(106, 50, 244, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-slide-primary:hover {
  background-color: #5521db;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(106, 50, 244, 0.35);
}

.btn-slide-secondary {
  background-color: transparent;
  color: #111827;
  border: 1.5px solid #111827;
  padding: 11px 26px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-slide-secondary:hover {
  background-color: #111827;
  color: #ffffff;
  transform: translateY(-1px);
}

.slide-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.slide-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   3. Circular Navigation Arrows (< and >)
   -------------------------------------------------------------------------- */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
  border-color: #6a32f4;
  color: #6a32f4;
  box-shadow: 0 4px 16px rgba(106, 50, 244, 0.2);
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn.prev {
  left: -22px;
}

.carousel-nav-btn.next {
  right: -22px;
}

/* --------------------------------------------------------------------------
   4. Pagination Dots
   -------------------------------------------------------------------------- */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #94a3b8;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.dot-btn:hover {
  border-color: #6a32f4;
}

.dot-btn.active {
  background-color: #6a32f4;
  border-color: #6a32f4;
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   5. Strategy Guide Banner Section (100% Full Width Edge-to-Edge)
   -------------------------------------------------------------------------- */
.strategy-banner-section {
  width: 100%;
  background-color: #6431f4;
  background-image: url('bg-strategy-guide.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 60px 0;
  color: #ffffff;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.strategy-banner-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.strategy-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.strategy-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 16px 0;
}

.strategy-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 30px 0;
}

.btn-strategy-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-strategy-download:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* --------------------------------------------------------------------------
   6. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .stories-section-title {
    font-size: 1.85rem;
    margin-bottom: 36px;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 10px 10px;
  }
  
  .slide-title {
    font-size: 1.85rem;
  }
  
  .carousel-nav-btn.prev {
    left: 2px;
  }
  
  .carousel-nav-btn.next {
    right: 2px;
  }

  .strategy-banner-section {
    padding: 45px 0;
  }

  .strategy-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 640px) {
  .carousel-container,
  .strategy-banner-container {
    padding: 0 16px;
  }

  .slide-title {
    font-size: 1.5rem;
  }

  .slide-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-slide-primary,
  .btn-slide-secondary {
    width: 100%;
    text-align: center;
  }

  .strategy-banner-section {
    padding: 35px 0;
  }

  .strategy-title {
    font-size: 1.45rem;
  }

  .btn-strategy-download {
    width: 100%;
    text-align: center;
  }
}
