:root {
  --accent: #b87a7a;
  /* soft off-white background tone */
  --bg-offwhite: #fdf6f2;
  --text-main: #111111;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: #ffffff;
  overflow-x: hidden;
}

main {
  padding-top: 80px; /* header height offset */
  position: relative;
}


/* HEADER / NAV */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6vw;
  background: var(--bg-offwhite);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(253, 246, 242, 0.65);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  color: var(--accent);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-nav {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(184, 122, 122, 0.3);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-nav::after {
  display: none;
}

.btn-nav:hover {
  background: #a46464;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(184, 122, 122, 0.4);
}

/* Mobile menu overlay (hidden on desktop) */
.nav-overlay {
  display: none;
}

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(184, 122, 122, 0.1);
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* GLOBAL SECTIONS */

.section {
  padding: 80px 6vw;
  position: relative;
  z-index: 1;
}

.section:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: 2.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header p {
  color: #555;
  line-height: 1.6;
}

/* HOME SECTION */

.section-home {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  margin-top: -80px;
  padding-top: 130px;
  padding-bottom: 110px;
  background: #fff7f3;
  overflow: hidden;
}

.section-home::before,
.section-home::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.section-home::before {
  width: 140%;
  height: 65%;
  left: -20%;
  bottom: -35%;
  background: #fde4d5;
  border-radius: 50% 50% 0 0;
}

.section-home::after {
  width: 125%;
  height: 55%;
  right: -10%;
  top: -25%;
  background: radial-gradient(circle at top right, #fbeee5 0, #fff7f3 40%, transparent 70%);
}


.home-content {
  display: grid;
  grid-template-columns: auto auto;
  gap: 24px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.home-content > .home-actions {
  justify-self: end;
}

.home-content > .home-visual {
  justify-content: flex-start;
}

.home-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 12px;
}

.home-title {
  font-size: clamp(3rem, 4.8vw, 4rem);
  margin: 0 0 18px;
  color: #2e1b16;
  line-height: 1.15;
}

.home-title-accent {
  display: inline-block;
  color: var(--accent);
  position: relative;
}

.home-title-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2em;
  width: 100%;
  height: 0.5em;
  background: rgba(184, 122, 122, 0.18);
  z-index: -1;
  border-radius: 999px;
}

.home-subtitle {
  margin: 0 0 26px;
  max-width: 520px;
  line-height: 1.8;
  color: #5b4a41;
  font-size: 1.02rem;
}

.home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.home-actions-note {
  font-size: 0.85rem;
  color: #7b6a61;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  border: none;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(184, 122, 122, 0.35);
  background: #a46464;
}

.home-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
}

.hero-photo-shell {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 0;
  width: min(480px, 92vw);
}

.hero-photo {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  border: none;
  border-radius: 0;
  display: block;
  /* Soft cast shadow to bottom-right (light from top-left), layered and fading */
  filter:
    drop-shadow(6px 8px 6px rgba(0, 0, 0, 0.22))
    drop-shadow(12px 16px 14px rgba(0, 0, 0, 0.18))
    drop-shadow(20px 26px 24px rgba(0, 0, 0, 0.12))
    drop-shadow(28px 36px 36px rgba(0, 0, 0, 0.06));
}

.hero-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}

.hero-floating-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero-floating-card--top {
  top: -10%;
  left:50%;
  transform: translateX(-16%);
}

.hero-floating-card--bottom {
  bottom: 1%;
  right: -10%;
}

.hero-card-icon,
.hero-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffe9e9, #b87a7a);
}

.hero-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left:10px;
}

.hero-card-title {
  margin: 0 ;
  font-size: 0.86rem;
  font-weight: 700;
  color: #3b2a22;
}

.hero-card-subtitle {
  margin: 0;
  font-size: 0.78rem;
  color: #8b7a71;
}

/* CHAPTERS SECTION */

.section-chapters {
  position: relative;
  background: var(--bg-offwhite);
  overflow: hidden;
}

.chapters-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.chapters-bg-img {
  position: absolute;
  opacity: 0.25;
  max-width: 280px;
  width: 30vw;
  filter: saturate(0.7);
}

.chapters-bg-img--left {
  top: 20px;
 
}
.chapters-bg-img--left1 {
  top: 70px;
 
}


.chapters-bg-img--right-top {
  top: 20px;
  right: 5%;
}




.chapters-bg-img--right-bottom {
  bottom: -80px;
  right: 40%;
}

.chapters-bg-img--right-bottom2 {
  bottom: -19px;
  right: 35%;
}

.section-header,
.chapters-grid,
.chapters-cta {
  position: relative;
  z-index: 1;
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.chapters-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.part-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(116, 73, 73, 0.2);
  position: relative;
}


.chapter-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
  padding: 8px 0;
}

.chapter-number {
  font-weight: bolder;
  color: #9c6d6d;
  min-width: 5rem;
  flex-shrink: 0;
}

.chapter-text {
  color: #080000;
  line-height: 1.5;
}

.chapters-cta {
  text-align: center;
}

/* TESTIMONIALS SECTION */

.section-testimonials {
  background: radial-gradient(
    circle at top,
    #b87a7a 0,
    #d8b8b8 45%,
    #ffffff 100%
  );
  color: #f9f7fb;
  position: relative;
  z-index: 1;
}


.section-testimonials .section-header p {
  color: #f3eded;
}

.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.testimonials-viewport {
  overflow: hidden;
  flex: 1;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  padding: 10px 4px 30px;
  transition: transform 0.5s ease;
}

.testimonial-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fffbfb, #ffffff);
  min-width: 260px;
  max-width: 320px;
  flex: 0 0 80%;
  opacity: 0.6;
  transform: scale(0.9);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
  box-sizing: border-box;
  overflow: visible;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #b87a7a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  color: #2c2c2c;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.testimonial-role {
  margin: 2px 0 12px;
  font-size: 0.85rem;
  color: #7a7a7a;
}

.testimonial-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #000000;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Center / side highlighting */
.testimonial-card--active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card--prev,
.testimonial-card--next {
  opacity: 0.75;
  transform: scale(0.95);
}

.testimonial-card--inactive {
  opacity: 0.35;
  transform: scale(0.85);
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid;
  background: #b87a7a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.slider-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(197, 30, 30, 0.55);
}

.slider-dots {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.slider-dot--active {
  width: 42px;
  background: #ffffff;
  opacity: 1;
}

/* ABOUT E-BOOK SECTION */

.section-about-ebook {
  position: relative;
  background: #fff7f3;
  overflow: hidden;
}


.about-ebook-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.about-ebook-bg-img {
  position: absolute;
  opacity: 0.08;
  max-width: 260px;
  width: 28vw;
  filter: saturate(0.7);
}

.about-ebook-bg-img--left {
  top: -40px;
  left: -40px;
}

.about-ebook-bg-img--right-top {
  top: -50px;
  right: -30px;
}

.about-ebook-bg-img--right-bottom {
  bottom: -60px;
  right: 5%;
}

.about-ebook-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 48px;
  align-items: start;
}

.about-ebook-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-ebook-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-ebook-text {
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.about-ebook-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 8px;
}

.stats-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.stat-item {
  flex: 1;
  padding: 12px 16px;
  background: var(--accent);
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: var(--bg-offwhite);
  font-size: 0.9rem;
}


.about-ebook-featured {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-ebook-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.featured-rect {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-ebook-right {
  width: 100%;
}

.ebook-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ebook-gallery--three {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.ebook-gallery--three .gallery-item:first-child {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: auto;
  min-height: 200px;
}

.ebook-gallery--three .gallery-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
  aspect-ratio: auto;
  min-height: 200px;
}

.ebook-gallery--three .gallery-item:nth-child(3) {
  aspect-ratio: 4 / 3;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}

.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2001;
}

.zoom-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #000;
  background: rgba(0, 0, 0, 0.2);
  color: #000;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.zoom-btn:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
}

/* ABOUT US SECTION */
.section-about-us {
  position: relative;
  background: #faf6f1;
  overflow: hidden;
}


.section-watermark {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 170px;
  font-weight: 800;
  color: #000;
  opacity: 0.1;
  letter-spacing: -4px;
  pointer-events: none;
  user-select: none;
  text-align: center;
  width: 100%;
  z-index: 0;
}


.about-us-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-us-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  width: 100%;
}

.about-us-label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
}

.about-us-heading {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.about-us-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  align-self: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(184, 122, 122, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b87a7a;
  transition: background 0.25s ease, transform 0.2s ease, color 0.25s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  background: rgba(184, 122, 122, 0.12);
  transform: translateY(-1px);
}

.about-us-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #5a524c;
  max-width: 560px;
  text-align: left;
}

.about-us-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-us-circle {
  width: min(220px, 100%);
  max-width: 100%;
  display: block;
  background: transparent;
  overflow: visible;
}

.about-us-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border: none;
  border-radius: 12px;
  margin-top: -100px;
  /* Soft cast shadow to bottom-right so the person looks real, no shape/background */
  filter:
    drop-shadow(6px 8px 6px rgba(0, 0, 0, 0.2))
    drop-shadow(12px 16px 14px rgba(0, 0, 0, 0.16))
    drop-shadow(20px 26px 24px rgba(0, 0, 0, 0.1))
    drop-shadow(28px 36px 36px rgba(0, 0, 0, 0.05));
}


@media (max-width: 900px) {
  .about-us-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .about-us-left {
    align-items: center;
  }

  .about-us-heading {
    white-space: normal;
  }

  .about-us-text {
    max-width: none;
  }

  .about-us-social {
    justify-content: center;
  }

  .about-us-right {
    order: -1;
  }

 
}

/* HOW TO ORDER SECTION */

.section-order {
  background: #ffffff;
}


.order-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 28px 28px;
  border-radius: 20px;
  border: 2px solid #b87a7a;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}


.order-title {
  margin: 0 0 20px;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-align: center;
}

.order-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.order-step-label {
  margin: 0 0 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #997a7a;
 
}


.order-step-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4a3f3b;
}

.order-rib {
  display: inline-block;
  margin-top: 2px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #111;
}

.order-actions {
  display: flex;
  justify-content: center;
}

.order-btn {
  min-width: 190px;
  gap: 10px;
  animation: order-btn-zoom 2s ease-in-out infinite;
  background: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.order-btn:hover {
  animation: none;
  transform: translateY(-1px);
  background: #20bd5a;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

.order-btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@keyframes order-btn-zoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (max-width: 720px) {
  .order-card {
    padding: 24px 20px 22px;
  }

  .order-title {
    font-size: 1.3rem;
    letter-spacing: 0.14em;
  }
}

/* FOOTER */
.site-footer {
  background: linear-gradient(135deg, var(--accent) 0%, #a46464 100%);
  color: #f8f5f4;
  padding: 48px 6vw 40px;
  min-height: 140px;
  position: relative;
  overflow: hidden;
}


.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}


.footer-brand {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.footer-text {
  margin: 10px 0 4px;
  font-size: 0.9rem;
}

.footer-link {
  color: #fff;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover {
  opacity: 0.9;
}

.footer-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.25s ease, transform 0.2s ease, color 0.25s ease;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-social:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 48px;
  font-size: 0.9rem;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav-link {
  color: #f8f5f4;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-nav-link:hover {
  opacity: 1;
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 84px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(184, 122, 122, 0.4);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  text-decoration: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #a46464;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 122, 122, 0.5);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* FAQ CHATBOT */
.chatbot-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(184, 122, 122, 0.45);
  cursor: pointer;
  z-index: 998;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.chatbot-trigger:hover {
  background: #a46464;
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(184, 122, 122, 0.5);
}
.chatbot-trigger svg {
  width: 26px;
  height: 26px;
}

.chatbot-window {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: 520px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(184, 122, 122, 0.12);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.chatbot-window.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--accent) 0%, #a46464 100%);
  color: #fff;
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
}
.chatbot-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.chatbot-close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  max-height: 380px;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
}
.chat-msg--bot {
  justify-content: flex-start;
}
.chat-msg--user {
  justify-content: flex-end;
}
.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.chat-msg--bot .chat-bubble {
  background: var(--bg-offwhite);
  color: var(--text-main);
  border-bottom-left-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.chat-msg--user .chat-bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 2px 8px rgba(184, 122, 122, 0.3);
}

.chatbot-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.chatbot-q-btn {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid rgba(184, 122, 122, 0.35);
  background: #fff;
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.02s ease, box-shadow 0.2s ease;
}
.chatbot-q-btn:hover {
  background: rgba(184, 122, 122, 0.08);
  box-shadow: 0 2px 12px rgba(184, 122, 122, 0.15);
}
.chatbot-q-btn:active {
  transform: scale(0.99);
}

.chat-msg .chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 14px 18px;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: chatbot-dot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatbot-dot {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.4; }
  40% { transform: scale(1); opacity: 0.8; }
}

@media (max-width: 540px) {
  .chatbot-window {
    right: 16px;
    bottom: 80px;
    width: calc(100vw - 32px);
    max-height: 70vh;
  }
  .chatbot-trigger {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  .chatbot-trigger svg {
    width: 22px;
    height: 22px;
  }
  .back-to-top {
    right: 76px;
  }
}

/* ANIMATIONS */

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-left,
.fade-in-right,
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in-left.visible {
  animation: fadeInLeft 0.7s ease forwards;
}

.fade-in-right.visible {
  animation: fadeInRight 0.7s ease forwards;
}

.fade-in-up.visible {
  animation: fadeInUp 0.7s ease forwards;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  main {
    padding-top: 72px;
  }

  .section {
    padding: 64px 5vw;
  }

  .section-home {
    padding-top: 112px;
    padding-bottom: 90px;
    min-height: 100dvh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-content {
    grid-template-columns: 1fr;
    gap: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }

  .buy-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-actions {
    order: -2;
    justify-content: center;
  }

  .home-visual {
    order: -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
  }

  .hero-photo-shell {
    width: min(420px, 92vw);
    max-height: 52vh;
    order: 1;
  }

  .hero-photo-shell .hero-photo {
    object-fit: contain;
    object-position: bottom center;
  }

  .hero-floating-card--top {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    order: 2;
    margin-top: 12px;
  }

  .hero-floating-card--bottom {
    bottom: 4%;
    right: -5%;
  }

  .section-header h2 {
    font-size: 1.85rem;
    letter-spacing: 0.12em;
  }

  .testimonials-carousel {
    gap: 8px;
  }

  .testimonials-viewport {
    padding: 0 4px;
  }

  .testimonials-track {
    padding: 10px 8px 30px;
    gap: 16px;
  }

  .testimonial-card {
    min-width: 0;
    max-width: none;
    flex: 0 0 85%;
    width: 85%;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    background: var(--bg-offwhite);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 80px 24px 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
  }

  .site-header.nav-open .main-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .site-header.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  .main-nav .nav-link {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .main-nav .nav-link:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .main-nav .btn-nav {
    margin-top: 12px;
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 200px;
  }

  .site-header {
    padding: 12px 4vw;
  }

  .logo {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }

  .nav-link {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .btn-nav {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  main {
    padding-top: 68px;
  }

  .section {
    padding: 52px 4vw;
    padding-inline: 5vw;
  }

  .section-home {
    padding-top: 100px;
    padding-bottom: 72px;
  }

  .home-title {
    font-size: clamp(2rem, 6vw, 2.75rem);
  }

  .home-subtitle {
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .chapters-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-testimonials .testimonials-carousel {
    padding: 0 4px;
  }

  .section-testimonials .testimonials-viewport {
    padding: 0 6px;
    min-width: 0;
  }

  .section-testimonials .testimonials-track {
    padding: 12px 10px 32px;
    gap: 20px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .testimonial-card {
    padding: 20px 18px 18px;
    min-width: 0;
    flex: 0 0 78%;
    width: 78%;
    max-width: 320px;
    box-sizing: border-box;
  }

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

  .testimonial-card--prev,
  .testimonial-card--next {
    transform: scale(0.92);
  }

  .about-ebook-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-ebook-title {
    font-size: 1.5rem;
  }

  .ebook-gallery,
  .ebook-gallery--three {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .ebook-gallery--three .gallery-item:first-child,
  .ebook-gallery--three .gallery-item:nth-child(2) {
    grid-row: auto;
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .order-card {
    padding: 24px 20px 22px;
    margin-inline: 0;
  }

  .order-title {
    font-size: 1.3rem;
    letter-spacing: 0.14em;
  }

  .order-step-text,
  .order-rib {
    font-size: 0.9rem;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding: 10px 4vw;
  }

  .logo {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .main-nav {
    gap: 10px;
  }

  .nav-link {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .btn-nav {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  main {
    padding-top: 64px;
  }

  .section {
    padding: 40px 4vw;
  }

  .section-home {
    padding-top: 88px;
    padding-bottom: 56px;
  }

  .home-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .home-kicker {
    font-size: 0.8rem;
  }

  .home-subtitle {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .hero-photo-shell {
    width: 92vw;
    max-width: 380px;
    max-height: 50vh;
  }

  .hero-floating-card {
    padding: 8px 12px;
  }

  .hero-floating-card--top {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 10px;
  }

  .hero-floating-card--bottom {
    bottom: 2%;
    right: 2%;
  }

  .hero-card-title {
    font-size: 0.78rem;
  }

  .hero-card-subtitle {
    font-size: 0.7rem;
  }

  .section-header h2 {
    font-size: 1.35rem;
    letter-spacing: 0.08em;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .part-title {
    font-size: 1rem;
  }

  .chapter-item {
    font-size: 0.9rem;
  }

  .chapters-cta .btn-primary {
    width: 100%;
    max-width: 280px;
  }

  .section-testimonials .testimonials-carousel {
    padding: 0 2px;
  }

  .section-testimonials .testimonials-viewport {
    padding: 0 6px;
    min-width: 0;
  }

  .section-testimonials .testimonials-track {
    padding: 12px 10px 36px;
    gap: 24px;
  }

  .testimonial-card {
    min-width: 0;
    flex: 0 0 75%;
    width: 75%;
    max-width: 320px;
    padding: 20px 18px 20px;
    box-sizing: border-box;
  }

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

  .testimonial-card--prev,
  .testimonial-card--next {
    transform: scale(0.92);
  }

  .testimonial-avatar {
    width: 48px;
    height: 48px;
    font-size: 0.8rem;
  }

  .testimonial-name {
    font-size: 0.9rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .slider-dots {
    gap: 6px;
  }

  .about-ebook-title {
    font-size: 1.35rem;
  }

  .about-ebook-text {
    font-size: 0.9rem;
  }

  .stats-row {
    flex-direction: column;
    gap: 10px;
  }

  .stat-item {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .about-ebook-featured .gallery-image,
  .ebook-gallery .gallery-image {
    width: 100%;
    height: auto;
  }

  .order-card {
    padding: 20px 16px 20px;
  }

  .order-title {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
  }

  .order-btn {
    min-width: 100%;
  }

  .site-footer {
    padding: 32px 4vw 28px;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-brand {
    font-size: 0.8rem;
  }

  .footer-text,
  .footer-link,
  .footer-nav-link {
    font-size: 0.85rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 76px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }

  .ramadan-decorations {
    opacity: 0.5;
  }

  .crescent-moon,
  .star,
  .geometric-pattern {
    opacity: 0.3;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 0.65rem;
  }

  .nav-link {
    font-size: 0.65rem;
  }

  .main-nav {
    gap: 8px;
  }

  .section {
    padding: 32px 3vw;
  }

  .section-home {
    padding-top: 80px;
    padding-bottom: 48px;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .hero-photo-shell {
    width: 96vw;
    max-width: 340px;
    max-height: 48vh;
  }

  .hero-floating-card {
    padding: 6px 10px;
  }

  .hero-floating-card--top {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin-top: 8px;
  }

  .hero-floating-card--bottom {
    right: 0;
    bottom: 1%;
  }

  .hero-card-title {
    font-size: 0.72rem;
  }

  .hero-card-subtitle {
    font-size: 0.65rem;
  }
}

