
html, body {
  margin: 0;
  padding: 0;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto; /* ✅ allow scrolling */
  font-family: Arial, sans-serif;
}
body {
    background-size: cover;        /* fills screen */
    background-position: center;   /* keeps it centered */
    background-repeat: no-repeat;  /* no tiling */
    background-attachment: fixed;  /* smooth scroll effect */
}



/* ================= GRID BACKGROUND IMAGE ================= */
.grid-bg {
  width: 100%;
  display: block;
}

/* ================= TITLE OVERLAY (DESKTOP DEFAULT) ================= */
/* ================= CONTAINER ================= */
.sticky-grid {
  position: relative;
  width: 120%;
    height: min(90vh, 900px);
  pointer-events: none;
}

/* ================= BACKGROUND IMAGE ================= */
.plan-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= TITLE OVERLAY ================= */
.grid-title {
  position: absolute;
  top: 45%;
  left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
}

.grid-title img {
  max-width: 140%;
  height: auto;
}

/* ================= FADE DOWN ANIMATION ================= */
.fade-down {
  animation: fadeDown 1.2s ease-out forwards;
}

@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ================================================= */
/* ================= MOBILE FIX ==================== */
/* ================================================= */

@media (max-width: 768px) {
  .sticky-grid {
    height: 45vh; /* reduce empty space */
  }

  .grid-title {
    top: 50px;              /* 🔥 move title UP */
    left: 50%;
    width: 100%;
    transform: translate(-55%, -50%);
    text-align: center;
  }

  .grid-title img {
    max-width: 150%;
  }
  .plan-bg{
    height: 25vh;
  }
  .title-bg{
    position:relative;
    top:-220px;
    width: 98%;
    left: -5%;
  }
}
@media (max-width: 480px) {
  .grid-title {
    top: 35%;              /* ⬆ even higher */
  }

  .grid-title img {
    max-width: 100%;
    transform: translateY(-20%);
  }
}
@media (max-width: 768px) {
  .fade-down {
    animation: fadeDownMobile 0.9s ease-out forwards;
  }

  @keyframes fadeDownMobile {
    0% {
      opacity: 0;
      transform: translate(-50%, -60%);
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }
}


.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.25rem;

  margin-top: clamp(-10px, -6vw, -24px); /* desktop overlap */
  position: relative;
  z-index: 20;

}

/* FAQ ITEM */
.faq-item {
  background: linear-gradient(180deg, #0b0817, #130c28);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

/* QUESTION ROW */
.faq-question {
  font-family: "Poppins";
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  cursor: pointer;
}

/* ICON */
.faq-question .icon {
  font-size: 25px;
  font-weight: 700;
  transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
}

.faq-answer p {
  color: #cfd0ff;
  font-size: 14px;
  margin: 16px 0;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

/* COLOR VARIANTS */
.faq-item[data-color="purple"] .icon {
  color: #8b5cf6;
}

.faq-item[data-color="green"] .icon {
  color: #22c55e;
}

.faq-item[data-color="yellow"] .icon {
  color: #facc15;
}

.faq-item[data-color="pink"] .icon {
  color: #ec4899;
}

/* ================= TABLET ================= */
@media (max-width: 768px) {
  .faq-accordion {
    margin-top: -80px; /* reduced overlap */
  }
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
  .faq-accordion {
    margin-top: -150px; /* remove overlap */
  }

  .faq-question {
    font-size: 14px;
  }
}


/* ============================= */
/* STATEMENT SECTION – TRUE CENTER */
/* ============================= */

.statement-section {
  position: relative;
  z-index: 10;
  padding-top: none;
  padding-bottom: 370px;
  background: transparent;
  opacity: 0;
  transform: translateY(-40px); /* fade DOWN */
  transition: opacity 0.8s ease, transform 0.8s ease;
}
/* WHEN VISIBLE */
.statement-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 🔥 REMOVE BOOTSTRAP SIDE OFFSET */
.statement-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* CENTER WRAPPER */
.statement-inner {
  max-width: 1100px;       /* wider = better optical center */
  margin: 0 auto;
  text-align: center;
}

/* EYEBROW */
.statement-eyebrow {
  margin-bottom: 16px;
  text-align: center;
  font-size: 30px;
}

/* 🔑 TRUE OPTICAL CENTER HEADING */
.statement-heading {
  display: inline-block;   /* shrink to text width */
  white-space: nowrap;
  margin: 0 auto;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  /* 🔥 OPTICAL ADJUSTMENT */
  transform: translateX(-1px);
}

@media (max-width: 425px) {
  .plan-bg {
    height: 30vh;
}
.title-bg{
  margin-top: 50px;
}
.faq-accordion {
transform: translateY(50px);
}

  /* ============================= */
/* STATEMENT SECTION – TRUE CENTER */
/* ============================= */

.statement-section{
  margin-top: 100px;
  margin-bottom: 100px;
}
/* EYEBROW */
.statement-eyebrow {
  margin-bottom: 16px;
  text-align: center;
  font-size: 15px;
}

/* 🔑 TRUE OPTICAL CENTER HEADING */
.statement-heading {
  font-size: 18px;
}
}
@media (max-width: 375px) {
  .statement-section{
  margin-top: 100px;
  margin-bottom: 60px;
}
.statement-heading {
  font-size: 15px;
  font-weight: 800;
}
}


/* ============================= */
@media (min-width: 375px) and (max-width: 428px) {
  .sticky-grid {
    height: 42vh;
  }

  .plan-bg {
    height: 32vh;
  }

  .grid-title {
    top: 100%;
    left: 50%;
    transform: translate(-55%, -50%);
  }

  .grid-title img {
    max-width: 145%;
  }

  .title-bg {
    margin-top: 50px;
  }

  .faq-accordion {
    transform: translateY(50px);
    padding: 3rem;
    max-width: 100%;
  }

  .faq-item {
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .faq-question {
    padding: 15px 18px;
    font-size: 14px;
  }

  .faq-question .icon {
    font-size: 22px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-answer p {
    font-size: 12px;
    margin: 12px 0;
  }

  .faq-item.active .faq-answer {
    max-height: 180px;
  }

  .statement-section {
    margin-top: 100px;
    margin-bottom: 80px;
    padding-bottom: 250px;
  }

  .statement-eyebrow {
    font-size: 14px;
  }

  .statement-heading {
    font-size: 17px;
    white-space: normal;
  }
}

/* iPhone 12 Pro Max, 13 Pro Max, 14 Plus (428px) */
@media (min-width: 426px) and (max-width: 428px) {
  .faq-question {
    font-size: 15px;
  }

  .faq-answer p {
    font-size: 13px;
  }

  .statement-heading {
    font-size: 18px;
  }
}
