/* index.php (home page) section-specific styles. Migrated out of test.css
   section by section -- see CSS-MIGRATION-TRACKER.md at repo root. */

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #0a0a0f 0%, #1a0a2e 100%);
}

/* Preserves original cascade order: this must come before the max-width:768px
   block below so mobile (<=768px) still wins with min-height:90vh there. */
@media (max-width: 900px) {
  .hero {
    min-height: 56vh;
  }

  .hero-inner {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
  opacity: 0.35;
  will-change: transform;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-1-rgb), 0.15) 0%,
    rgba(10, 10, 15, 0.8) 50%,
    rgba(var(--primary-2-rgb), 0.15) 100%
  );
  backdrop-filter: blur(2px);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.hero-shape.shape-1 {
  width: 500px;
  height: 500px;
  left: -10%;
  top: 10%;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  animation-delay: 0s;
}

.hero-shape.shape-2 {
  width: 400px;
  height: 400px;
  right: -8%;
  bottom: 15%;
  background: linear-gradient(90deg, var(--accent), rgba(var(--primary-2-rgb), 0.4));
  animation-delay: -5s;
}

.hero-shape.shape-3 {
  width: 350px;
  height: 350px;
  left: 50%;
  top: -10%;
  background: linear-gradient(180deg, rgba(var(--primary-1-rgb), 0.5), transparent);
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 0rem;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 1000px;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--overlay-purple-20),
    rgba(var(--primary-2-rgb), 0.2)
  );
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.2s both;
  box-shadow: var(--shadow-badge);
}
.eyebrow-dark {
  background: linear-gradient(
    135deg,
    var(--overlay-purple-20),
    rgba(var(--primary-2-rgb), 0.2)
  );
  border: 1px solid var(--glass);
  color: var(--text-black);
  padding: 0.5rem 1.25rem;
  box-shadow: var(--shadow-badge);
}

.eyebrow::before {
  content: "✨";
  font-size: 1rem;
}

/* Hero title */
.hero-title-main {
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  line-height: 1.1 !important;
  margin: 0 0 1rem;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  animation: fadeInUp 1s ease-out 0.4s both;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: var(--white) !important;
  display: block;
  content-visibility: auto;
}

.accent-typed {
  background: linear-gradient(
    135deg,
    var(--primary-1),
    var(--primary-2),
    #f59e0b
  );
  background-size: 200% 200%;
  -webkit-background-clip: text !important;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4s ease infinite, fadeInUp 1s ease-out 0.4s both;
  position: relative;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Hero description */
.hero-lead {
  margin: 1.5rem auto 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  max-width: 750px;
  animation: fadeInUp 1s ease-out 0.6s both;
  font-weight: 400;
}

/* CTA buttons */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

@media (max-width: 768px) {
  .hero-video {
    display: none;
  }
  .hero_card {
    padding: 10px
  }
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1s both;
}

.stat {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  min-width: 160px;
  text-align: center;
  box-shadow: 0 8px 32px var(--overlay-black-10);
  transition: all var(--transition-base);
}

.stat:hover {
  transform: translateY(-5px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  box-shadow: 0 12px 40px var(--overlay-purple-20);
}

.stat strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }

  .hero-inner {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .hero-title-main {
    font-size: 2.25rem;
  }

  .hero-lead {
    font-size: 1rem;
    margin: 1rem auto 1.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat {
    min-width: 120px;
    padding: 1rem 1.25rem;
  }

  .stat strong {
    font-size: 2rem;
  }

  .stat span {
    font-size: 0.8rem;
  }

  .hero-shape.shape-1 {
    width: 300px;
    height: 300px;
    left: -20%;
  }

  .hero-shape.shape-2 {
    width: 250px;
    height: 250px;
    right: -15%;
  }

  .hero-shape.shape-3 {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-title-main {
    font-size: 1.875rem;
  }

  .eyebrow {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }

  .stat {
    width: 100%;
  }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title-main {
    font-size: 3.5rem;
  }

  .hero-lead {
    font-size: 1.125rem;
  }
}

/* ===== ABOUT / BEST PUBLISHERS ===== */
.best-publishers h2 {
  font-size: var(--fs-section-title) !important;
  line-height: 1.2 !important;
}

.best-publishers .pub-text {
  align-items: center;
  display: flex;
  margin-top: 30px;
}

.best-publishers img {
  height: 435px;
  -o-object-fit: scale-down;
  object-fit: scale-down;
  width: 100%;
}

@media (max-width: 991px) {
  .best-publishers .pub-text {
    justify-content: center;
    margin-top: 25px;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .best-publishers .pub-text {
    display: block;
    margin: 12px 0 0;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .best-publishers .pub-text {
    display: block;
    text-align: center;
  }
}

/* ===== STATS (Quick Glance bubbles) ===== */
.page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-py) 0; /* horizontal spacing comes from the .container nested inside */
  overflow: hidden;
}

.page-2 {
  background-image: url("../images/home/pan-bg.webp");
}

.stats-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stats-content h2 {
  font-size: var(--fs-section-title) !important;
  color: var(--heading-navy);
  margin-bottom: 30px;
  line-height: 1.2 !important;
  font-weight: 700;
}

.stats-content p {
  font-size: var(--fs-section-desc) !important;
  color: var(--text-gray);
  margin-bottom: 40px;
  line-height: 1.6 !important;
}

.buttons-start {
  display: flex;
  gap: 20px;
  justify-content: start;
  flex-wrap: wrap;
}

.stats-visual {
  position: relative;
  height: 600px;
}

.stat-bubble {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: float-bubbles 6s ease-in-out infinite;
  border: 10px solid var(--white);
  box-shadow: 0 10px 40px var(--overlay-black-10);
}

@keyframes float-bubbles {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.bubble-1 {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, #f8bbd0 0%, #f48fb1 100%);
  top: 0%;
  left: 0%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
  z-index: 3;
}

.bubble-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #e1bee7 0%, #ce93d8 100%);
  bottom: 10%;
  left: 0%;
  animation-delay: 1s;
  z-index: 2;
}

.bubble-3 {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, #f7c6fb 0%, #f7c6fb 100%);
  bottom: 0%;
  right: 0%;
  animation-delay: 2s;
  z-index: 2;
}

.bubble-4 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #e1bee7 0%, #ce93d8 100%);
  top: 5%;
  right: -0%;
  animation-delay: 1.5s;
  z-index: 1;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--stat-purple);
  margin-bottom: 10px;
}

.stat-label {
  font-size: clamp(0.9rem, 1.5vw, 0.3rem);
  color: var(--stat-purple);
  font-weight: 500;
}

.growth-badge {
  position: absolute;
  background: var(--white);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4caf50;
  box-shadow: 0 5px 20px var(--overlay-black-15);
  display: flex;
  align-items: center;
  gap: 5px;
}

.growth-1 {
  bottom: -10px;
  right: -10px;
}

.growth-2 {
  top: -10px;
  right: -10px;
}

.avatar {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa07a 100%);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.avatar-1 {
  top: -20px;
  right: 260px;
}

.avatar-2 {
  bottom: 200px;
  left: -120px;
}

.avatar-3 {
  bottom: -20px;
  right: 280px;
}

@media (max-width: 1024px) {
  .stats-visual {
    height: 500px;
  }

  .bubble-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    left: 5%;
  }

  .bubble-2 {
    width: 170px;
    height: 170px;
  }

  .bubble-3 {
    width: 180px;
    height: 180px;
  }

  .bubble-4 {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 768px) {
  .stats-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-content {
    text-align: center;
  }

  .buttons-start {
    justify-content: center;
  }

  .stats-visual {
    height: 600px;
    margin-top: 40px;
  }

  .bubble-1 {
    width: 250px;
    height: 250px;
    top: 20%;
  }

  .bubble-2 {
    width: 180px;
    height: 180px;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
  }

  .bubble-3 {
    width: 200px;
    height: 200px;
    bottom: 25%;
    right: 0;
  }

  .bubble-4 {
    width: 180px;
    height: 180px;
    top: 70%;
    left: 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .avatar {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .bubble-1 {
    width: 200px;
    height: 200px;
  }

  .bubble-2 {
    width: 180px;
    height: 180px;
  }

  .bubble-3 {
    width: 200px;
    height: 200px;
  }

  .bubble-4 {
    width: 180px;
    height: 180px;
    top: 70% !important;
  }
}

/* ===== PUBLISHING JOURNEY BANNER ===== */
.partnership-model {
  background-color: var(--accent-2);
}

.partnership-model h2 {
  font-size: var(--fs-section-title) !important;
  line-height: 1.2 !important;
}

.banner-num h5 {
  font-size: clamp(1rem, 1vw, 1.2rem) !important;
}

/* Mobile-only swipeable version of the 5-step journey (replaces the tall
   stacked icon grid below md so the section doesn't run long on phones).
   NOTE: this project's CSS bundle only ships a bare `.d-none` with no
   `.d-md-none` / `.d-md-flex` responsive variants, so the show/hide toggle
   between the desktop grid and this slider is done here explicitly instead
   of relying on Bootstrap display utilities. */
.journey-slider {
  display: none;
  position: relative;
}

@media (max-width: 767.98px) {
  .row.banner-num {
    display: none !important;
  }

  .journey-slider {
    display: block;
  }
}

.journey-slider__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 16px 16px 6px;
  margin: 0 -6px;
}

.journey-slider__track::-webkit-scrollbar {
  display: none;
}

/* Fade hints that there's more to swipe to on the right */
.journey-slider::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 16px;
  width: 48px;
  background: linear-gradient(to right, rgba(248, 239, 242, 0), #f8eff2);
  pointer-events: none;
}

.journey-step {
  flex: 0 0 auto;
  width: 42%;
  min-width: 148px;
  max-width: 170px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(158, 39, 169, 0.14);
  padding: 18px 12px 16px;
  overflow: hidden;
}

/* The step artwork is a tall portrait numeral graphic, not a square icon --
   constrain by height and let width follow, so it never overflows the card. */
.journey-step__icon {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.journey-step__label {
  margin: 0;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
}

.journey-slider__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.journey-slider__dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(158, 39, 169, .25);
  transition: background .2s ease, transform .2s ease;
}

.journey-slider__dots .dot.active {
  background: #9e27a9;
  transform: scale(1.35);
}

/* ===== CONTACT FORM (LET'S GET STARTED) ===== */
.contact-section {
  background: linear-gradient(to bottom, #000, #222);
  border-radius: var(--radius);
  color: var(--white);
  text-align: left;
  margin-bottom: 1rem;
}

.contact-section h2 {
  font-size: var(--fs-section-title) !important;
  line-height: 1.2 !important;
  color: var(--white) !important;
}

.contact-form {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.input-field {
  flex: 1;
  min-width: 150px;
  position: relative;
}

/* ===== ROADBLOCKS / PROCESS STEPS ===== */
@media (min-width: 768px) {
  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
}

.process-head .uperTitle {
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  .process-head .uperTitle br {
    display: none;
  }
}

.pan-point-title {
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--stat-purple) 0%, #9c27b0 50%, #c77dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0px 0px 30px 0px;
  letter-spacing: -2px;
  line-height: 0.9;
}

.pan-point-title .span {
  display: block;
  font-size: clamp(8rem, 10vw, 10rem);
}

.subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem) !important;
  color: var(--heading-navy);
  margin-bottom: 50px;
  font-weight: bold;
}

.process-head {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  margin-bottom: 2vh;
  background: rgba(var(--light-color), 1);
}

.process-step-2:nth-child(odd) {
  background: var(--primary-4);
}

.process-step-2:nth-child(2n) {
  background: var(--primary-5);
}

.process-step-2 {
  position: sticky !important;
  top: 30vh;
  z-index: 2;
  border-radius: 40px;
  min-height: 250px;
  align-items: center;
  color: var(--white) !important;
  box-shadow: 0 0 36px rgba(var(--dark-color), 0.3);
}

.number .heading {
  font-size: 100px;
  text-align: center;
  display: block;
  line-height: 1;
}

.process-step-2 h3 {
  font-size: 24px;
}

.process-step-2 p {
  font-size: var(--fs-16);
  color: var(--white) !important;
}

@media (max-width: 480px) {
  .pan-point-title {
    margin: 10px 0;
    font-size: 3rem;
  }

  .pan-point-title .span {
    font-size: 5rem;
  }
}

@media only screen and (min-width: 100px) and (max-width: 1200px) {
  .process-step-2 {
    margin: 0 auto;
  }
}

/* ===== CTA -- Premium Self-Publishing Partner (cta--1) ===== */
.cta--1 {
  background: var(--brand-purple-2);
  color: var(--white);
  text-align: start;
  margin: 5rem auto 2rem auto;
  position: relative;
  padding: var(--section-py) 0; /* horizontal spacing comes from the .container nested inside */
}

.cta--1 img {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cta--1::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  background-color: var(--brand-purple-2);
  opacity: 0.45;
  z-index: 2;
  pointer-events: none;
}

.cta--1 p {
  line-height: 1.6;
  font-size: var(--fs-section-desc) !important;
  color: var(--white) !important;
}

.cta--1 h2 {
  font-size: var(--fs-section-title) !important;
  line-height: 1.2 !important;
  color: var(--white) !important;
}

@media (max-width: 991px) {
  .cta--1::after {
    content: "";
    display: none;
  }

  .cta--1 img {
    display: none;
    height: auto;
  }
}

/* ===== TRUSTED PLATFORMS SLIDER ===== */
.trusted-section {
  text-align: center;
  padding: var(--section-py) 0;
  background-color: var(--white);
}

.trusted-title {
  font-size: var(--fs-section-title) !important;
  line-height: 1.2 !important;
}

.trusted-subtitle {
  max-width: 800px;
  margin: 0px auto 50px;
  color: var(--text-dark-gray);
  font-size: var(--fs-section-desc) !important;
}

.trusted-slider {
  margin-top: 30px !important;
}

.trusted-slider img {
  width: 140px;
  margin: auto;
  transition: all var(--transition-base);
  filter: grayscale(100);
}

.trusted-slider img:hover {
  filter: none;
}

@media (max-width: 768px) {
  .trusted-slider img {
    width: 100px;
  }
}

/* ===== SERVICES GRID ===== */
.page-wrap {
  padding: 20px var(--section-px);
}

.serv-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: auto;
  text-align: center;
}

.card--prod {
  grid-column: span 3 / span 3;
  grid-row: span 4 / span 4;
  grid-column-start: 7;
  background-color: #d8c3f6 !important;
  color: var(--brand-purple-2);
}

.card--design {
  grid-column: span 3 / span 3;
  grid-row: span 4 / span 4;
  grid-column-start: 10;
  background-color: var(--brand-pink-bg) !important;
  color: var(--brand-pink);
}

.card--blue {
  grid-column: span 3 / span 3;
  grid-row: span 4 / span 4;
  grid-row-start: 4;
  background-color: #beeeff !important;
  color: var(--brand-blue);
}

.card--navy {
  grid-column: span 3 / span 3;
  grid-row: span 4 / span 4;
  grid-column-start: 4;
  grid-row-start: 4;
  background-color: #152532 !important;
  color: var(--brand-navy);
}

.serv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  isolation: isolate;
}

.hero_card {
  grid-column: span 6 / span 6;
  grid-row: span 3 / span 3;
  min-height: 300px;
  padding: 64px 48px;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-hero);
  width: 100%;
}

.hero_card h2 {
  margin: 0;
}

.card__media {
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #dfe3ec;
}

.card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card__title,
.gd__title,
.wcu__copy h3,
.review-title,
.modal-title {
  font-size: var(--fs-card-title) !important;
}

.card__title {
  margin: 0;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.card__subtitle,
.gd__kicker,
.author-title {
  font-size: var(--fs-kicker);
}

.card__subtitle {
  margin: 0;
  font-weight: 600;
  color: #4b5061;
  letter-spacing: 0.2px;
}

.card__subtitle--cool {
  color: #c6d6ff;
}

.card__text {
  margin: 0 0 4px;
  font-size: var(--fs-14) !important;
  color: var(--text-muted);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn--purple {
  background: var(--brand-purple-2);
  color: var(--white);
}

.btn--pink {
  background-color: var(--brand-pink);
  color: var(--white);
}

.btn--blue {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(94, 168, 209, 0.35);
}

.btn--navy {
  background: var(--brand-navy);
  color: var(--white);
}

.btn--charcoal {
  background: var(--brand-charcoal);
  color: var(--white);
}

.card--global {
  grid-column: span 6 / span 6;
  grid-row: span 3 / span 3;
  grid-column-start: 7;
  grid-row-start: 5;
  background-color: var(--brand-pink-bg) !important;
  color: var(--brand-charcoal);
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  min-width: 0;
}

.gd__media {
  height: 100%;
  width: 100%;
  max-width: 250px;
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  object-fit: cover;
}

.gd__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gd__content {
  padding-right: 8px;
  min-width: 0;
}

.gd__title {
  margin: 0 0 6px;
  font-weight: 800;
  color: #3b2c3d;
}

.gd__kicker {
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: #7b7080;
  margin-bottom: 10px;
}

.gd__text {
  margin: 0 0 18px;
  font-size: var(--fs-16);
  color: #212020 !important;
}

/* ===== Tablet (max-width: 991px) ===== */
@media (max-width: 991px) {
  .serv-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
    gap: 20px;
  }

  .hero_card {
    grid-column: span 6;
  }

  .card--prod,
  .card--design,
  .card--blue,
  .card--navy,
  .card--global {
    grid-column: span 3;
    grid-row: auto;
  }

  .card--global {
    grid-column: span 6;
  }
}

/* ===== Mobile (max-width: 767px) ===== */
@media (max-width: 767px) {
  .serv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gd__media {
    max-width: 100%;
  }

  .hero_card,
  .card--prod,
  .card--design,
  .card--blue,
  .card--navy,
  .card--global {
    grid-column: span 1;
    grid-row: auto;
  }

  .card--global {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .gd__content {
    padding-right: 0;
  }
}

/* ===== CTA -- SUPPORT ===== */
.cta--support {
  background: var(--gradient-violet-soft);
  box-shadow: 0 16px 36px rgba(var(--light-color), 0.28);
  border-radius: 40px 0;
  padding: var(--section-py) 10px;
}

.cta--support .h2 {
  font-size: var(--fs-section-title) !important;
  /* font-size: var(--fs-section-desc); */
  line-height: .9 !important;
}

.cta--support p {
  font-size: var(--fs-section-desc);
}

@media (max-width: 768px) {
  .page-wrap {
    padding: 0px 20px 72px;
  }

  .gd__media {
    height: 200px;
    margin: auto;
  }
}

/* ===== PUBLISHING PLATFORMS STRIP ===== */
.platforms_publishing {
  width: 100%;
  background: var(--white);
  padding: var(--section-py) 0;
}

.platforms_publishing_items_wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.platforms_publishing_items_wrapper ul {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 39px;
  border-right: 1px solid #ddd8d8;
  padding-right: 40px !important;
}

.platforms_publishing_items_wrapper img {
  width: 100%;
}

.publishing_platforms_side_img img {
  width: 100%;
}

@media screen and (max-width: 1400px) {
  .platforms_publishing_items_wrapper ul {
    padding-right: 0;
    border: 0;
  }
}

@media screen and (max-width: 992px) {
  .platforms_publishing_items_wrapper {
    flex-wrap: nowrap;
    margin-bottom: 30px;
  }
}

/* ===== TESTIMONIALS INTRO ("Real Authors. Real Stories.") ===== */
.testimonials h2 {
  font-size: var(--fs-section-title) !important;
  line-height: 1.2 !important;
}

/* ===== SUCCESS STORIES (testimonial + book carousel) ===== */
.success-stories-section {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px var(--section-px) 80px;
  background-color: var(--white);
  position: relative;
  display: flex;
  gap: 5px;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--heading-navy);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 20px;
}

.content-wrapper {
  flex: 1;
  margin-left: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sliderSwiper {
  gap: 40px !important;
}

.testimonial-container {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-top {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.author-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-black);
  margin: 0;
}

.author-name .dot {
  color: var(--text-black);
  font-size: 1.6rem;
  margin-right: 4px;
}

.author-title {
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: var(--lh-relaxed);
  color: var(--text-dark-gray);
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.swiper-pagination {
  position: relative;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #ddd;
  opacity: 1;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--text-almost-black);
}

.books-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.nav-arrow {
  position: absolute;
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--heading-navy);
  transition: all var(--transition-base);
  padding: 10px;
}

.nav-arrow:hover {
  color: var(--text-almost-black);
  transform: scale(1.1);
}

.nav-arrow-left {
  left: 0;
}

.nav-arrow-right {
  right: 0;
}

.books-arc {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-wrapper {
  position: absolute;
  transition: all 0.6s var(--ease-smooth);
  perspective: 1000px;
}

.book-cover {
  width: 180px;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.6s var(--ease-smooth);
  object-fit: cover;
  display: block;
}

.book-wrapper:not(.active) .book-cover {
  filter: grayscale(100%) brightness(0.4);
  opacity: 0.4;
}

.book-wrapper.active .book-cover {
  filter: none;
  opacity: 1;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.book-position-1 {
  transform: translateX(-280px) translateY(40px) rotate(-25deg) scale(0.85);
  z-index: 1;
}

.book-position-2 {
  transform: translateX(-150px) translateY(20px) rotate(-15deg) scale(0.92);
  z-index: 2;
}

.book-position-3 {
  transform: translateX(0) translateY(0) rotate(0deg) scale(1);
  z-index: 3;
}

.book-position-4 {
  transform: translateX(150px) translateY(20px) rotate(15deg) scale(0.92);
  z-index: 2;
}

.book-position-5 {
  transform: translateX(280px) translateY(40px) rotate(25deg) scale(0.85);
  z-index: 1;
}

.book-wrapper.active {
  z-index: 10 !important;
}

@media (max-width: 1200px) {
  .vertical-text {
    font-size: 2.5rem;
  }

  .content-wrapper {
    margin-left: 80px;
  }

  .book-position-1 {
    transform: translateX(-240px) translateY(35px) rotate(-25deg) scale(0.85);
  }

  .book-position-2 {
    transform: translateX(-130px) translateY(18px) rotate(-15deg) scale(0.92);
  }

  .book-position-4 {
    transform: translateX(130px) translateY(18px) rotate(15deg) scale(0.92);
  }

  .book-position-5 {
    transform: translateX(240px) translateY(35px) rotate(25deg) scale(0.85);
  }
}

@media (max-width: 992px) {
  .testimonial-container {
    max-width: 650px;
  }

  .success-stories-section {
    flex-direction: column;
    padding: 40px var(--section-px);
  }

  .vertical-text {
    writing-mode: horizontal-tb;
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    font-size: 2rem;
    padding-left: 0;
    margin-bottom: 30px;
    text-align: center;
  }

  .content-wrapper {
    margin-left: 0;
  }

  .author-name {
    font-size: 1.75rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .book-cover {
    width: 150px;
  }

  .book-position-1 {
    transform: translateX(-200px) translateY(30px) rotate(-25deg) scale(0.8);
  }

  .book-position-2 {
    transform: translateX(-110px) translateY(15px) rotate(-15deg) scale(0.9);
  }

  .book-position-4 {
    transform: translateX(110px) translateY(15px) rotate(15deg) scale(0.9);
  }

  .book-position-5 {
    transform: translateX(200px) translateY(30px) rotate(25deg) scale(0.8);
  }
}

@media (max-width: 768px) {
  .testimonial-container {
    max-width: 550px;
  }

  .success-stories-section {
    padding: 30px var(--section-px);
  }

  .vertical-text {
    font-size: 2rem;
  }

  .author-name {
    font-size: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .books-container {
    min-height: 320px;
  }

  .books-arc {
    height: 320px;
  }

  .book-cover {
    width: 120px;
  }

  .book-position-1 {
    transform: translateX(-160px) translateY(25px) rotate(-25deg) scale(0.75);
  }

  .book-position-2 {
    transform: translateX(-90px) translateY(12px) rotate(-15deg) scale(0.88);
  }

  .book-position-4 {
    transform: translateX(90px) translateY(12px) rotate(15deg) scale(0.88);
  }

  .book-position-5 {
    transform: translateX(160px) translateY(25px) rotate(25deg) scale(0.75);
  }

  .nav-arrow svg {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 576px) {
  .testimonial-container {
    max-width: 100%;
  }

  .vertical-text {
    font-size: 1.5rem;
  }

  .author-name {
    font-size: 1.3rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .book-cover {
    width: 90px;
  }

  .books-arc {
    height: 260px;
  }

  .book-position-1,
  .book-position-5 {
    display: none;
  }

  .book-position-2 {
    transform: translateX(-100px) translateY(10px) rotate(-18deg) scale(0.85);
  }

  .book-position-4 {
    transform: translateX(100px) translateY(10px) rotate(18deg) scale(0.85);
  }

  .nav-arrow svg {
    width: 30px;
    height: 30px;
  }
}

/* ===== CTA BANNERS (story-shelves / discover / library / consultation / start) ===== */
@media (prefers-reduced-motion: no-preference) {
  .cta__content {
    animation: fadeInUp 0.6s ease-out forwards;
  }

  .cta__image {
    animation: fadeInUp 0.7s ease-out forwards;
  }
}

/* === Section 1: Ready to see your story on shelves === */
.cta--story-shelves {
  background-color: var(--cta-dark-bg);
  color: var(--white);
  padding: var(--section-py) 0;
  position: relative;
  margin: 5rem auto;
}

.cta--story-shelves .cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta--story-shelves .cta__title {
  font-size: var(--fs-section-title) !important;
  line-height: var(--lh-tight) !important;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--white) !important;
}

.cta--story-shelves .cta__subtitle {
  font-size: clamp(24px, 3vw, 42px) !important;
  font-style: italic;
  color: #ff6b35;
  font-weight: 600 !important;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta--story-shelves .cta__description {
  font-size: var(--fs-section-desc) !important;
  color: var(--cta-text-muted-blue) !important;
  line-height: var(--lh-relaxed) !important;
  margin-bottom: 32px;
  max-width: 580px;
}

.cta--story-shelves .cta__image-wrapper {
  display: flex;
  justify-content: flex-end;
}

.cta--story-shelves .cta__image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  position: absolute;
  bottom: 0;
  right: 0;
}

/* === Section 2: Discover How We Can Help === */
.cta--discover {
  background: var(--gradient-primary-violet);
  color: var(--white);
  padding: 10px 0;
  position: relative;
  margin-top: 8rem;
  margin-bottom: 3rem;
}

.cta--discover .cta__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  align-items: center;
}

.cta--discover .cta__content {
  align-items: center;
  text-align: start;
}

.cta--discover .cta__title {
  font-size: var(--fs-section-title) !important;
  line-height: var(--lh-tight) !important;
  margin-bottom: var(--space-24);
  letter-spacing: -0.02em;
  color: var(--white) !important;
}

.cta--discover .cta__description {
  font-size: var(--fs-section-desc) !important;
  line-height: var(--lh-relaxed) !important;
  margin-bottom: 36px !important;
  opacity: 0.95;
  color: var(--lavender-tint);
}

.cta--discover .cta__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.cta--discover .cta__image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-top: -130px;
}

/* === Section 3: Library Overlay Hero === */
.cta--library {
  position: relative;
  padding: 120px 0;
  min-height: 500px;
  color: var(--white);
  overflow: hidden;
}

.cta--library::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("Group 175.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.cta--library::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.85) 0%,
    rgba(var(--cta-violet-rgb), 0.75) 100%
  );
  z-index: 2;
}

.cta--library .container {
  position: relative;
  z-index: 3;
}

.cta--library .cta__content {
  max-width: 680px;
}

.cta--library .cta__title {
  font-size: var(--fs-section-title) !important;
  line-height: 1.15 !important;
  margin-bottom: var(--space-24);
  letter-spacing: -0.02em;
}

.cta--library .cta__description {
  font-size: var(--fs-section-desc) !important;
  line-height: var(--lh-relaxed) !important;
  margin-bottom: 36px;
  opacity: 0.95;
}

/* === Section 4: Schedule a Free Consultation === */
.cta--consultation {
  background: var(--gradient-primary-violet);
  padding: 10px 0;
  position: relative;
}

.cta--consultation .cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.cta--consultation .cta__title {
  font-size: var(--fs-section-title) !important;
  line-height: var(--lh-tight) !important;
  margin-bottom: var(--space-24);
  color: var(--white);
  letter-spacing: -0.02em;
}

.cta--consultation .cta__description {
  font-size: var(--fs-section-desc) !important;
  line-height: var(--lh-relaxed) !important;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 560px;
}

.cta--consultation .cta__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta--consultation .cta__image {
  width: 100%;
  max-width: 550px;
  height: auto;
  margin-top: -130px;
}

/* === Section 5: Start With Us === */
.cta--start {
  background-color: var(--cta-dark-bg);
  color: var(--white);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.cta--start .cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.cta--start .cta__title {
  font-size: var(--fs-section-title) !important;
  font-weight: 600 !important;
  line-height: var(--lh-tight) !important;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--white) !important;
}

.cta--start .cta__subtitle {
  font-size: clamp(18px, 2vw, 26px) !important;
  color: var(--cta-text-muted-blue);
  margin-bottom: 2rem !important;
  font-weight: 400;
}

.cta--start .cta__content {
  text-align: start;
}

.cta--start .cta__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta--start .cta__image {
  width: 100%;
  max-width: 600px;
  height: auto;
}

@media (max-width: 1280px) {
  .cta--story-shelves .cta__grid,
  .cta--discover .cta__grid,
  .cta--consultation .cta__grid,
  .cta--start .cta__grid {
    gap: 10px;
  }
}

@media (max-width: 1024px) {
  .cta--story-shelves .cta__grid,
  .cta--discover .cta__grid,
  .cta--consultation .cta__grid,
  .cta--start .cta__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta--discover,
  .cta--start {
    padding: 20px 0 20px 0;
    /* margin-top: 5rem; */
  }

  .cta--story-shelves {
    padding: 20px 0 470px 0;
  }

  .cta--consultation {
    padding: 20px 0 10px 0;
  }

  .cta--library {
    padding: 80px 0;
  }

  .cta--story-shelves .cta__image-wrapper,
  .cta--discover .cta__image-wrapper,
  .cta--consultation .cta__image-wrapper,
  .cta--start .cta__image-wrapper {
    justify-content: center;
    order: -1;
  }

  .cta--consultation .cta__image-wrapper {
    order: 1;
  }

  .cta--consultation .cta__image {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .cta--library {
    padding: 60px 0;
  }
}

@media (max-width: 600px) {
  .cta--library {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .cta--story-shelves .cta__title,
  .cta--discover .cta__title,
  .cta--library .cta__title,
  .cta--consultation .cta__title,
  .cta--start .cta__title {
    margin-bottom: 16px;
  }

  .cta--story-shelves .cta__description,
  .cta--discover .cta__description,
  .cta--library .cta__description,
  .cta--consultation .cta__description {
    margin-bottom: 24px;
  }
}

/* ===== FAQ ===== */
.faq-section {
  background-color: var(--white);
  padding: clamp(1rem, 3vw, 3rem) 0;
}

/* Bare tag selectors -- primarily for the FAQ's own #signupForm, but as
   global tag selectors they also style the Contact form's inputs earlier
   on the page (both forms rely on this, not just FAQ). */
label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--white);
  opacity: 0.5;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e6e6ee;
  font-size: var(--fs-14);
  background: var(--white);
  outline: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.12);
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.faq-header {
  margin: 0 auto 3rem;
  text-align: left;
}

.faq-header h2 {
  font-size: var(--fs-section-title) !important;
  color: var(--text-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.2 !important;
}

.faq-header p {
  color: var(--text-slate);
  font-size: var(--fs-section-desc) !important;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.faq-left {
  position: sticky;
  top: 10vh;
}

.faq-contact-card {
  background: linear-gradient(-35deg, #200d22 0%, #49204d 100%);
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3rem);
  border: 2px solid #38173a;
}

.faq-contact-card h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-navy);
  margin-bottom: 1rem;
}

.faq-contact-card p {
  color: var(--text-slate);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.faq-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  border-radius: 22px;
  background: var(--accent-violet);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  box-shadow: 0 18px 30px rgba(var(--accent-violet-rgb), 0.3);
}

.faq-email-btn:hover {
  background: #7a2fb8;
  transform: translateY(-2px);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: #7c3aed30;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.faq-item.is-active {
  background: var(--lavender-tint);
  box-shadow: 0 24px 60px rgba(var(--faq-shadow-rgb), 0.18);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  font-size: 1.15rem;
  color: var(--text-black);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.faq-question:focus-visible {
  outline: 3px solid rgba(var(--accent-violet-rgb), 0.35);
  border-radius: var(--radius);
  outline-offset: 6px;
}

.faq-toggle-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: #8878ad;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), background var(--transition-base);
}

.faq-toggle-icon::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #37303d;
  transition: transform var(--transition-base);
  transform-origin: center;
}

.faq-item.is-active .faq-toggle-icon::before {
  transform: rotate(-180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity var(--transition-base);
  opacity: 0;
  color: var(--text-slate);
  margin-top: 0;
}

.faq-item.is-active .faq-answer {
  opacity: 1;
  margin-top: 1rem;
  max-height: 500px;
}

.faq-answer p {
  font-size: var(--fs-16);
  line-height: var(--lh-relaxed);
}

@media (max-width: 960px) {
  .faq-left {
    position: relative !important;
  }

  .faq-header {
    margin: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: clamp(8rem, 6vw, 10rem);
  }

  .faq-contact-card {
    padding: clamp(1rem, 1vw, 3rem);
  }
}

@media (max-width: 640px) {
  .faq-header {
    text-align: center;
  }

  .faq-item {
    padding: 1rem 1.25rem;
  }

  .faq-question {
    font-size: 1.05rem;
  }

  .faq-toggle-icon {
    width: 34px;
    height: 34px;
  }
}

/* ===== HOW IT WORKS (#services .ex-sec) ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  text-align: center;
}

.intro-grid h2 {
  font-size: var(--fs-section-title) !important;
  line-height: 1.2 !important;
}

.intro-grid .highlight {
  color: var(--primary-4);
}

.intro-text h4 {
  color: #4b5563;
  font-weight: 400;
  font-size: var(--fs-section-desc) !important;
  line-height: var(--lh-relaxed) !important;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
}

.left-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.content-section {
  background: var(--gradient-violet-soft);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all var(--transition-smooth);
  text-align: center;
}

.content-section:hover {
  background-color: var(--primary-4);
}

.content-section .content-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.content-section .icon-box {
  width: 88px;
  height: 96px;
  background: var(--white);
  padding: 1rem;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.content-section .icon-box img {
  width: 100%;
}

.content-section h2 {
  font-size: 25px !important;
  font-weight: 700 !important;
  transition: color var(--transition-smooth);
  line-height: 1.2 !important;
}

.content-section p {
  color: #303030;
  font-size: var(--fs-16);
  line-height: 25px;
  font-weight: 500;
  transition: color var(--transition-smooth);
}

.content-section:hover h2,
.content-section:hover p {
  color: var(--white);
}

.right-section {
  width: 100%;
  position: sticky;
  top: 5rem;
  align-self: start;
  display: none;
}

.right-section img {
  width: 100%;
  border-radius: var(--radius);
  transition: opacity 0.5s ease;
}

@media (min-width: 768px) {
  .intro-grid {
    text-align: start;
    grid-template-columns: 1fr 1fr;
  }

  .content-section {
    text-align: left;
  }

  .content-section .content-header {
    flex-direction: row;
    text-align: left;
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .right-section {
    display: block;
  }
}

/* ===== WHY AUTHORS CHOOSE US ===== */
#why-choose-us {
  --wcu-text: #394b5e;
  --wcu-border: #c9cdd5;
  padding: 30px var(--section-px) 50px;
  background: radial-gradient(
      1200px 600px at 90% 0%,
      rgba(255, 170, 210, 0.35),
      transparent 60%
    ),
    radial-gradient(
      1200px 600px at 0% 100%,
      var(--overlay-black-10),
      transparent 55%
    ),
    #f7f8fb;
}

.wcu__wrap {
  max-width: 1220px;
  margin: 0 auto;
}

.wcu__title {
  text-align: center !important;
  font-weight: 600 !important;
  color: var(--wcu-text) !important;
  font-size: var(--fs-section-title) !important;
  line-height: 1.2 !important;
  margin: 0 0 25px !important;
  letter-spacing: -0.02em;
  width: 100% !important;
}

.wcu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.1);
}

.wcu__item {
  display: flex;
  align-items: center;
  padding: 38px 36px;
  min-height: 240px;
  gap: 18px;
}

.wcu__item:not(:nth-child(3n)) {
  border-right: 4px solid var(--wcu-border);
}

.wcu__item:nth-child(-n + 3) {
  border-bottom: 4px solid var(--wcu-border);
}

.wcu__icon {
  width: 100px;
  min-width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
}

.wcu__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wcu__copy h3 {
  margin: 0;
  color: #2d2d2d;
  font-weight: bold;
  line-height: 1.35;
  text-transform: none;
}

@media (max-width: 1080px) {
  #why-choose-us {
    padding: 20px var(--section-px) 40px;
  }

  .wcu__item {
    padding: 32px 28px;
    min-height: 120px;
  }

  .wcu__icon {
    width: 130px;
    min-width: 130px;
    height: 130px;
  }
}

@media (max-width: 1200px) {
  .wcu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wcu__item:not(:nth-child(3n)) {
    border: 0px solid var(--wcu-border);
  }

  .wcu__item:nth-child(-n + 3) {
    border-bottom: 0px solid var(--wcu-border);
  }
}

@media (max-width: 760px) {
  .wcu__grid {
    grid-template-columns: 1fr;
  }

  .wcu__item:last-child {
    border-bottom: none;
  }

  .wcu__icon {
    width: 96px;
    min-width: 96px;
    height: 96px;
  }

  .wcu__item {
    border-right: none !important;
    border-bottom: 1px solid var(--wcu-border);
    text-align: left;
    flex-direction: row;
  }
}

/* Counter animation (hero stats counters) */
.counter {
  animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===== TRUSTPILOT REVIEW WIDGET =====
   Moved out of index.php's inline <style> block. That block's own :root
   redeclared --text-muted with a different value (#6b6b6b) than the sitewide
   token in variables.css (#6b7280); since both targeted :root, the inline
   block (loaded later in the cascade) silently overrode the sitewide token
   for the whole page. Renamed to --review-text-muted here to remove that
   collision -- the review widget's own color is unchanged. */
:root {
  --primary-color: #00b67a;
  /* Trustpilot green-ish */
  --text-color: #1e1e1e;
  --review-text-muted: #6b6b6b;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
}

/* Slider Styles */
.review-slider {
  margin: 20px -15px;
  /* Compensate for slide padding */
}

.slide {
  padding: 0 15px;
  height: 100%;
}

.review-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 260px;
  /* Fixed height for uniformity */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.stars {
  color: var(--primary-color);
  font-size: 14px;
}

.review-date {
  font-size: 12px;
  color: var(--review-text-muted);
}

.review-title {
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.review-preview {
  font-size: 14px !important;
  color: var(--review-text-muted);
  line-height: 1.6 !important;
  margin: 0;
  flex-grow: 1;
  /* Pushes footer down */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* Limit to 3 lines */
  -webkit-box-orient: vertical;
}

.see-more {
  display: inline-block;
  color: var(--text-color);
  font-weight: 600;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
}

.see-more:hover {
  color: var(--primary-color);
}

.reviewer-name {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
}

/* Slick Arrow Customization */
.slick-prev:before,
.slick-next:before {
  color: var(--text-color) !important;
  font-size: 24px !important;
  opacity: 0.5 !important;
}

.slick-prev:hover:before,
.slick-next:hover:before {
  opacity: 1 !important;
}

/* Default Slick arrows sit at left/right: -25px, which pushes them past
   the page edge (review-slider already has a -15px compensating margin)
   and causes horizontal overflow on smaller screens. Pull them back
   inside the slider bounds instead of clipping them with overflow:hidden,
   which would just hide the arrows entirely. */
.review-slider {
  position: relative;
  z-index: 1;
}

.slick-prev,
.slick-next {
  z-index: 2;
}

.slick-prev {
  left: 0 !important;
}

.slick-next {
  right: 0 !important;
}

@media (max-width: 600px) {
  .slick-prev,
  .slick-next {
    width: 28px !important;
    height: 28px !important;
    background: var(--card-bg) !important;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .slick-prev {
    left: 5px !important;
  }

  .slick-next {
    right: 5px !important;
  }
}

/* Modal Styles */
.modal-overlay {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--review-text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: var(--text-color);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.modal-stars {
  color: var(--primary-color);
  font-size: 18px;
}

.modal-date {
  font-size: 14px;
  color: var(--review-text-muted);
}

.modal-title {
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--text-color);
}

.modal-body {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-author {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
  .review-card {
    height: auto;
  }
   .hero_card {
    padding: 10px
  }
}
