@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --green-dark: #143e24;
  --green-mid: #4f8d3a;
  --green-light: #a9c77e;
  --orange: #f27a21;
  --yellow: #d9bd11;
  --cream: #f7f3eb;
  --beige: #e9e2d3;
  --warm-black: #171714;
  --white: #ffffff;
  --header-height: 65px;
  --footer-height: 57px;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--cream);
  color: var(--warm-black);
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Master Slide Layout */
.app-container {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.slides-wrapper {
  display: flex;
  width: 800vw;
  height: 100vh;
  height: 100dvh;
  transform: translateX(0vw);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Visibility toggles between Desktop and Mobile */
.mobile-view {
  display: none !important;
}

.desktop-view {
  display: flex;
  flex: 1;
  margin-top: var(--header-height);
  margin-bottom: var(--footer-height);
  overflow: hidden;
  width: 100%;
  height: calc(100vh - var(--header-height) - var(--footer-height));
}

/* Typography */
.font-display {
  font-family: 'Playfair Display', serif;
}

.subheading {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}

.subheading-green {
  color: var(--green-mid);
}

.subheading-lightgreen {
  color: var(--green-light);
}

.heading-display {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 48px);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.heading-display-hero {
  font-size: clamp(36px, 4.5vw, 66px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.heading-display-light {
  color: var(--white);
}

.body-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  color: #4a4840;
  line-height: 1.75;
  margin-bottom: 20px;
}

.body-desc-light {
  color: rgba(255, 255, 255, 0.78);
}

.quote-block {
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(20, 62, 36, 0.06);
  border-left: 4px solid var(--green-mid);
  margin-bottom: 20px;
}

.quote-block-dark {
  background: var(--green-dark);
  padding: 14px 18px;
  border-radius: 14px;
}

.quote-block-border-yellow {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--yellow);
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.quote-block-border-orange {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--orange);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--green-dark);
  font-style: italic;
  line-height: 1.65;
}

.quote-text-light {
  color: var(--white);
}

.badge-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(163, 199, 126, 0.25);
  color: var(--green-mid);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}

.btn-primary:hover {
  background: #d96a10;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 122, 33, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green-dark);
  padding: 12px 26px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--green-dark);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s, color 0.22s;
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 12px 26px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: all 0.22s;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--green-dark);
}

/* Cards */
.card-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 3px 14px rgba(20, 62, 36, 0.07);
  border: 1px solid rgba(20, 62, 36, 0.05);
  transition: transform 0.22s, box-shadow 0.22s;
}

.card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(20, 62, 36, 0.12);
}

/* Slide columns */
.slide-col {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px 52px 28px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Navbar */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: rgba(247, 243, 235, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 62, 36, 0.08);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-dark);
}

.brand-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 7.2px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-top: 2px;
}

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

.nav-item {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--green-dark);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-item:hover {
  color: var(--orange);
}

.nav-item.active {
  font-weight: 600;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slide-counter {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.06em;
}

.nav-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  width: 34px;
  height: 34px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Bottom Bar */
.slide-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(247, 243, 235, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(20, 62, 36, 0.08);
  transition: background 0.3s, border-color 0.3s;
}

.slide-footer.light-mode {
  background: rgba(10, 30, 15, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--green-dark);
  transition: color 0.2s;
  padding: 6px 0;
  min-width: 90px;
}

.slide-footer.light-mode .footer-nav-btn {
  color: rgba(255, 255, 255, 0.9);
}

.footer-nav-btn:disabled {
  cursor: not-allowed;
  color: rgba(20, 62, 36, 0.25) !important;
}

.slide-footer.light-mode .footer-nav-btn:disabled {
  color: rgba(255, 255, 255, 0.25) !important;
}

.footer-nav-btn.next-btn {
  justify-content: flex-end;
}

.indicator-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 7px;
  border-radius: 4px;
  background: rgba(20, 62, 36, 0.18);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slide-footer.light-mode .dot {
  background: rgba(255, 255, 255, 0.28);
}

.dot.active {
  width: 26px;
  background: var(--orange) !important;
}

/* Floating WhatsApp */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  width: 52px;
  height: 52px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

/* Hero image mask */
.hero-image-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  max-width: 48%;
}

.hero-image-masked {
  position: absolute;
  inset: 0;
  clip-path: ellipse(88% 84% at 58% 52%);
}

.hero-image-masked img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.88);
}

.hero-image-masked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 62, 36, 0.07) 0%, transparent 60%);
}

/* Step Route Cards (Slide 3) */
.step-route-card {
  flex: 1;
  border-radius: 20px;
  padding: 20px 18px;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(20, 62, 36, 0.07);
  border: 1px solid rgba(20, 62, 36, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.step-route-card.active {
  flex: 2.2;
}

.step-route-card.active.step-0 { background: #A9C77E; box-shadow: 0 12px 36px rgba(169, 199, 126, 0.35); border: none; }
.step-route-card.active.step-1 { background: #D9BD11; box-shadow: 0 12px 36px rgba(217, 189, 17, 0.35); border: none; }
.step-route-card.active.step-2 { background: #F27A21; box-shadow: 0 12px 36px rgba(242, 122, 33, 0.35); border: none; }
.step-route-card.active.step-3 { background: #4F8D3A; box-shadow: 0 12px 36px rgba(79, 141, 58, 0.35); border: none; }
.step-route-card.active.step-4 { background: #143E24; box-shadow: 0 12px 36px rgba(20, 62, 36, 0.35); border: none; }

.step-route-card .step-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #6a6460;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-height 0.4s;
}

.step-route-card.active .step-desc {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  max-height: 120px;
}

.step-route-card.active h3 {
  color: #ffffff !important;
}

.step-route-card.active .step-num {
  color: rgba(255, 255, 255, 0.28) !important;
}

.step-route-card.active .icon-container {
  background: rgba(255, 255, 255, 0.3) !important;
}

.step-route-card.active .icon-container svg {
  stroke: #ffffff !important;
}

/* Mobile Menu Button (hidden on desktop) */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--green-dark);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu-btn:hover {
  background: rgba(20, 62, 36, 0.08);
}

/* Mobile Nav Drawer Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 62, 36, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 290px;
  max-width: 85vw;
  height: 100%;
  background: var(--cream);
  box-shadow: -8px 0 32px rgba(20, 62, 36, 0.18);
  display: flex;
  flex-direction: column;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(20, 62, 36, 0.08);
  margin-bottom: 16px;
}

.mobile-nav-close-btn {
  background: none;
  border: none;
  color: var(--green-dark);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dark);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}

.mobile-nav-link span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(20, 62, 36, 0.4);
}

.mobile-nav-link:hover {
  background: rgba(20, 62, 36, 0.05);
}

.mobile-nav-link.active {
  background: rgba(242, 122, 33, 0.12);
  color: var(--orange);
  font-weight: 600;
}

.mobile-nav-link.active span {
  color: var(--orange);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .app-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
  }

  .slides-wrapper {
    display: flex;
    flex-direction: row !important;
    width: 800vw;
    height: 100vh;
    height: 100dvh;
    transform: translateX(0vw);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  }

  .slide {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  .desktop-view {
    display: none !important;
  }

  .mobile-view {
    display: flex !important;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
  }

  .mobile-img-banner {
    height: 190px;
    width: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }

  .mobile-img-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slide-mobile-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 20px 84px;
    -webkit-overflow-scrolling: touch;
  }

  .navbar {
    padding: 10px 16px;
    height: 56px;
  }

  .brand-logo img {
    height: 32px;
  }

  .brand-title {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 7.5px;
  }

  .nav-menu {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .slide-counter {
    font-size: 12px;
  }

  .slide-footer {
    display: flex !important;
    padding: 10px 18px;
    height: 56px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
  }

  .footer-nav-btn {
    font-size: 13px;
    min-width: 75px;
    padding: 8px 4px;
    gap: 6px;
  }

  .indicator-dots {
    gap: 5px;
  }

  .dot {
    width: 6px;
    height: 6px;
  }

  .dot.active {
    width: 20px;
  }

  .floating-wa-btn {
    bottom: 68px;
    right: 16px;
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  }

  .floating-wa-btn svg {
    width: 22px;
    height: 22px;
  }

  .mobile-route-item {
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .btn-primary, .btn-secondary, .btn-outline-white {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }
}
