  html, body {
    overflow-x: hidden;
  }
  header{
    min-height: max-content;
    overflow-y: visible;
  }
  .top-bar {
    background-color: #f9f9f9;
    font-size: 14px;
    padding: 9px 0;
  }

  .top-bar .social-icons i {
    color: #1a1a5e;
    margin-right: 16px;
    font-size: 15px;
    cursor: pointer;
    padding-right: 10px;
    border-right: 1px #c8c8e7 solid;
  }

  .top-bar .contact-info i {
    margin-right: 16px;
  }

  .flag-icon {
    width: 22px;
    height: auto;
    margin-left: 8px;
  }
  .main-navbar {
    background-color: #fff;
    padding: 0;
    border-top: 1px solid #e1e1e1;
    position: relative;
    z-index: 999;
  }

  .navbar-brand {
    font-weight: bold;
    color: #1a1a5e;
    font-size: 20px;
  }

  .navbar-nav .nav-link {
    color: #1a1a5e;
    font-weight: bold;
    padding: 16px 12px;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
  }

  .navbar-nav .nav-link:hover {
    color: #a66dd4;
  }

  .order-btn {
    background-color: #a66dd4;
    color: #fff;
    border-radius: 0;
    font-weight: bold;
    padding: 10px 24px;
    margin-left: 12px;
    white-space: nowrap;
  }

  .order-btn:hover {
    background-color: #8252aa;
    color: #fff;
  }

/* Common Mega Dropdown Base */
.mega-dropdown-content {
  background: white;
  width: 100%;
  display: none;
  padding: 30px 0;
  border-top: 2px solid #eee;
  z-index: 9999;
  font-size: 15px;
  font-weight: 600;
}
.extra-dropdown{
  width: auto;
  margin-left: 60%;
  text-align: left;
  padding: 20px 30px;
}
/* Show State */
.mega-dropdown-content.show {
  display: block;
}

/* Desktop Positioning */
@media (min-width: 992px) {
  .mega-dropdown-content {
    position: fixed;
    top: 100px; /* Adjust if your navbar is taller */
    left: 0;
  }
}

/* Mobile Positioning */
@media (max-width: 991.98px) {
  .mega-dropdown-content {
    position: fixed;
    top: 70px; /* Adjust based on your mobile navbar height */
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    display: none;
    padding: 20px 15px;
    border-top: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .mega-dropdown-content.show {
    display: block;
  }
  .extra-dropdown{
    position: fixed;
    top: 70px; /* Adjust based on your mobile navbar height */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    margin-left: auto;
    text-align: left;
    padding: 20px 30px;   
}
}








  @media (max-width: 991.98px) {
    .top-bar{
      display: none;
    }
    .order-btn {
      width: 95%;
    }
    .navbar{
      padding-top: 10px;
    }

  }


    /* ******************************************************* */
    /* Hero */

      .ebook-section {
    background: url('book-bg.png') center no-repeat;
      position: relative;
      height: 79vh;
    }
    .ebook-section h2 {
      font-size: 2.25rem;
      font-weight: 700;
      color: #1a1a5e;
    }

    .ebook-section p {
      font-size: 15px;
    }

    .ebook-form input[type="email"] {
      max-width: 300px;
      background-color: #f7f7f7;
      border: none;
      height: 48px;
      font-size: 14px;
    }

    .ebook-form button {
      background-color: #a66dd4;
      height: 48px;
      font-weight: 600;
      font-size: 14px;
      color: white;
      border: none;
    }

    .amazon-btn {
      background-color: #a66dd4;
      color: white;
      font-weight: 600;
      font-size: 14px;
      height: 45px;
    }
    .ebook-image-wrapper {
      position: relative;
      z-index: 2;
    }

    @media (max-width: 991.98px) {
      .ebook-section {
      height: 99vh;
        /*margin-bottom: 175px;*/
      }
    }
    /* ******************************************************* */
    /* Learning */
    .learning-section {
      background-color: #f9f9fb;
      text-align: center;
      padding: 80px 0;
    }

    .learning-section h2 {
      color: #1a1a5e;
      font-size: 2.25rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .learning-section p.lead {
      color: #766c7d;
      max-width: 600px;
      margin: 0 auto 60px;
      font-size: 15px;
    }

    .learning-item {
      position: relative;
      padding: 0 15px;
    }

    .learning-circle {
      width: 55px;
      height: 55px;
      background: #ddbaff;
      border-radius: 50%;
      margin: 0 auto 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      box-shadow: 0 0 0 9px #ecd2ff;
    }

    .learning-circle span {
      background: #bc7dff;
      color: white;
      font-weight: 600;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      font-size: 14px;
    }

    .learning-title {
      font-weight: 600;
      color: #1a1a5e;
      font-size: 16px;
      margin-bottom: 10px;
    }

    .learning-desc {
      font-size: 14px;
      color: #6c757d;
      line-height: 1.6;
    }

    .divider-line {
      width: 60px;
      height: 1px;
      background-color: #e0e0e0;
      margin: 0 auto 40px;
    }


    @media (min-width: 768px) {
        .learning-section{
            margin-top: 100px;
        }
      .divider-line {
        display: none;
      }
    }
    /* Whats inside */
    .whats-inside-section {
  background-color: #f0f0f0;
  position: relative;
}

.triangle-divider {
  width: 0;
  height: 0;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
  border-bottom: 55px solid #f0f0f0;
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.section-title {
  color: #1a1a5e;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #6c757d;
  font-size: 15px;
  line-height: 1.6;
}
.chapter-preview-section {
  background-color: #ffffff;
}

.device-wrapper {
  position: relative;
  max-width: 100%;
}

.device-wrapper img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.scrolling-text {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 7%;
  right: 7%;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.text-content {
  animation: scroll-text 20s linear infinite;
  padding-right: 10px;
}

@keyframes scroll-text {
  0% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Accordion Styles */
.accordion-button {
  background: #fff;
  color: #1a1a5e;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  padding: 16px 20px;
  transition: all 0.3s ease;
}
.accordion-button:focus{
  background: none;
  box-shadow: none;
  color: #a66dd4;
}
.accordion-button:hover{
    color: #a66dd4;
}
.accordion-button::after {
  content: '+';
  font-size: 20px;
  transform: none !important;
  margin-left: auto;
}


.accordion-body {
  font-size: 14px;
  color: #555;
  padding: 16px 20px;
  background-color: #fafafa;
}

.accordion-item {
  border: none;
  margin-bottom: 15px;
}
.accordion-button::after {
  display: none !important;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .scrolling-text {
    font-size: 13px;
  }

  .accordion-item {
    font-size: 14px;
    padding: 16px;
  }
}
/* CTA  */
.cta-sample-section {
  background: url('cta.jpg') no-repeat center center/cover;
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-sample-section .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  min-height: 450px;
  padding: 100px 15px;
}

.cta-heading {
  font-size: 2rem;
  font-weight: 700;
}

.cta-form input[type="email"] {
  max-width: 350px;
  height: 50px;
  padding: 12px 16px;
  font-size: 14px;
  border: none;
  outline: none;
}

.access-btn {
  background-color: #c293f3;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  font-size: 14px;
  height: 50px;
  white-space: nowrap;
}

.access-btn:hover {
  background-color: #a66dd4;
}

/* Stats  */
.stats-section {
  background-color: #fff;
  position: relative;
}

.stats-triangle {
  width: 0;
  height: 0;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
  border-bottom: 55px solid #ffffff;
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #c293f3;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a5e;
}
 /* Testimonials */
 .testimonial-section{
    background-color: #f2f2f2
 }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a5e;
}

.section-subtitle {
  font-size: 15px;
  color: #6c757d;
}

.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.testimonial-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.text-purple {
  color: #c293f3;
  font-size: 18px;
}
.testimonial-swiper {
  position: relative; /* IMPORTANT: parent must be relative */
  padding-bottom: 60px; /* enough space for arrows */
}
.swiper-button-next,
.swiper-button-prev {
  color: #1a1a5e;
  top: auto;
  bottom: 0;
  transform: none;
  z-index: 10;
  width: 40px;
  height: 40px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.swiper-button-prev i,
.swiper-button-next i {
  font-size: 18px;
  color: #1a1a5e;
}

.swiper-button-prev::after {
  content: ''; /* fa-arrow-left */
}

.swiper-button-next::after {
  content: ''; /* fa-arrow-right */
}

.swiper-button-prev {
  left: 45%;
}

.swiper-button-next {
  right: 45%;
}
@media (max-width: 768px){
  .swiper-button-next,.swiper-button-prev{
    display: none;
  }
}

/* Pricing */
.pricing-section {
  background-color: #1a1a5e;
  color: #fff;
}

.pricing-left {
  background-color: #1a1a5e;
}

.pricing-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.pricing-subtitle {
  font-size: 15px;
  color: #ddd;
  margin-bottom: 30px;
}

.view-all-btn {
  color: #ffffff;
  font-weight: 600;
  padding: 10px 24px;
  border: none;
  border-radius: 0;
  background-color: #a66dd4;
  border: 2px solid #a66dd4;
}

.view-all-btn:hover {
  background-color: #1a1a5e;
  color: #fff;
  border: 2px solid #a66dd4;
}

.pricing-cards-wrapper {
  padding: 40px 20px;
  gap: 24px;
}

.pricing-card {
  background: #fff;
  width: 270px;
  padding: 0 0 25px;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  color: #1a1a5e;
  text-align: center;
}


.card-header {
    background-color: #f0f0f0;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  padding: 10px;
  min-width: 100%;
}

.bg-purple {
  background-color: #c293f3 !important;
}

.pricing-img {
  max-width: 100px;
  margin-bottom: 20px;
}

.price {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a5e;
  margin-bottom: 20px;
}

.features {
  list-style: none;
  padding: 0 20px;
  margin-bottom: 24px;
  text-align: left;
}

.features li {
  margin-bottom: 10px;
  font-size: 14px;
}

.text-purple {
  color: #c293f3;
}

.order-btn {
  background-color: #fff;
  border: 2px solid #c293f3;
  color: #c293f3;
  padding: 10px 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.order-btn:hover {
  background-color: #c293f3;
  color: #fff;
}

.featured{
    transform: scale(1.2);
}
@media (max-width: 768px){
  .featured{
    transform: none;
  }
}
/* Bio Section */
.bio-section {
  background-color: #fff;
}

.bio-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a5e;
  line-height: 1.4;
  max-width: 350px;
}

.bio-subtext {
  font-size: 17px;
  color: #6c757d;
  text-align: justify;
  max-width: 300px;
}

.signature-img {
  max-width: 200px;
  height: auto;
}

.bio-photo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
/* Interested */
.interested-section {
  background-color: #f9f9f9;
}

.interested-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a5e;
}

.interested-subtitle {
  font-size: 15px;
  color: #6c757d;
}

.interested-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: 0.3s ease;
}

.interested-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.book-title {
  color: #1a1a5e;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}

.book-price {
  color: #1a1a5e;
  font-size: 14px;
  font-weight: 500;
}
/* Order  */
.order-section {
    background: url('book-bg.png') center no-repeat;
  position: relative;
  overflow: hidden;
  height: 79vh;
}

.order-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a5e;
  line-height: 1.4;
}

.order-subtext {
  font-size: 15px;
  color: #6c757d;
}

.btn-kindle {
  background-color: #c293f3;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 0;
}

.btn-kindle:hover {
  background-color: #a972e6;
  color: #fff;
}

.btn-hardcover {
  background-color: #1a1a5e;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 0;
}

.btn-hardcover:hover {
  background-color: #000048;
  color: #fff;
}

.order-book-wrapper {
  position: relative;
  z-index: 1;
}

/* Footer  */
.footer-section {
  background-color: #000;
  color: #fff;
  font-size: 14px;
}

.footer-nav a,
.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-nav a:hover,
.footer-section a:hover {
  color: #c293f3;
}

.footer-top {
  border-color: #222;
}

.footer-section .social-icons a {
  color: #fff;
  font-size: 16px;
  transition: 0.3s;
}

.footer-section .social-icons a:hover {
  color: #c293f3;
}

.footer-section h6 {
  font-size: 15px;
  color: #fff;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section p {
  color: #bbb;
  line-height: 1.6;
}
