:root {
  --primary: #2e7d32;
  --primary-dark: #256628;
  --text: #162317;
  --muted: #5f6f61;
  --bg: #f6f8f4;
  --surface: #ffffff;
  --surface-soft: #eef5ec;
  --border: rgba(46, 125, 50, 0.12);
  --shadow: 0 12px 32px rgba(18, 35, 23, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

section {
  padding: 40px 20px;
}

.hero,
.trust,
.gallery,
.products,
.supply-scroll,
.feature,
.testimonials,
.steps,
.cta,
.seo-text,
.footer-container,
.footer-bottom {
  width: min(100%, var(--container));
  margin: 0 auto;
}

h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.subtitle {
  color: var(--muted);
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.btn-light:hover {
  background: #f3f8f2;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(246, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 35, 23, 0.06);
}

.logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.menu {
  display: none;
}

.menu a {
  text-decoration: none;
  color: #304034;
  font-weight: 600;
}

.hero {
  display: grid;
  gap: 22px;
  margin-top: 12px;
  padding: 28px 20px;
  background: linear-gradient(180deg, #f4f8f1 0%, #edf4ea 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-content p {
  margin-top: 14px;
  color: #3f5241;
  font-size: 1rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: #223224;
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.hero-image-wrap {
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 14px;
}

.trust {
  display: grid;
  gap: 14px;
  align-items: center;
  padding: 20px;
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.trust p {
  color: #304233;
  font-size: 0.98rem;
}

.gallery,
.products,
.supply-scroll,
.testimonials,
.steps,
.seo-text {
  display: grid;
  gap: 10px;
}

.gallery h2,
.gallery .subtitle,
.products h2,
.products .subtitle,
.supply-scroll h2,
.supply-scroll .subtitle,
.testimonials h2,
.steps h2,
.steps .subtitle,
.seo-text h2 {
  text-align: center;
  justify-self: center;
}

.gallery-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 12px 16px 18px;
  scroll-behavior: smooth;

  /* 🔥 IMPORTANT: allow scroll */
  cursor: grab;
}

/* ACTIVE DRAG FEEL */
.gallery-grid:active {
  cursor: grabbing;
}

/* ===== SHOW SCROLLBAR (PREMIUM STYLE) ===== */

/* Chrome, Edge, Safari */
.gallery-grid::-webkit-scrollbar {
  height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
  transition: background 0.3s;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.3);
}

/* Firefox */
.gallery-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.2) transparent;
}

/* ===== CARD SIZE FIX ===== */
.gallery-item {
  min-width: 220px;       /* controls size of each square */
  aspect-ratio: 1 / 1;    /* 🔥 forces perfect square */
  overflow: hidden;
  border-radius: 14px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* keeps image nice while cropping */
}

/* MOBILE SIZE */
@media (max-width: 768px){
  .gallery-item {
    flex: 0 0 300px;
  }
}

.view-more {
  flex: 0 0 300px; /* 🔥 match gallery-item */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f2f4f2, #e8eee7);
  border-radius: 16px;
}

.view-more-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.view-more .plus {
  font-size: 26px;
  font-weight: 600;
  color: #2e7d32;
}

.view-more span:last-child {
  font-size: 13px;
  color: #5f6f61;
}

.card,
.step-card,
.testimonial-card {
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid rgba(18, 35, 23, 0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  text-align: left;
}

.icon-img {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
}

.card p,
.step-card p,
.testimonial-card p,
.feature-content p,
.seo-text p {
  color: var(--muted);
}

.card p,
.step-card p {
  margin-top: 8px;
  font-size: 0.94rem;
}

/* ===== FEATURE SECTION (KEEP + POLISH) ===== */
.feature {
  display: grid;
  gap: 24px;
  padding: 32px 20px;
  background: var(--surface-soft);
  border-radius: 24px;
  align-items: center;
}

/* IMAGE CONTAINER */
.feature-image {
  background: #f3f5f3;
  padding: 12px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
}

/* IMAGE FIX */
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: flex;
  border-radius: 16px;
  max-height: 520px;
}

/* TEXT */
.feature-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
}

.feature-content p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* FEATURE GRID */
.feature-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* FEATURE CARD */
.feature-points div {
  padding: 16px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(18, 35, 23, 0.06);
  transition: all 0.25s ease;
}

/* HOVER */
.feature-points div:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(18, 35, 23, 0.08);
}

.feature-points strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.feature-points span {
  color: var(--muted);
  font-size: 13px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .feature {
    display: block;
  }

  .feature-image {
    margin-bottom: 20px;
  }

}

/* ===== DESKTOP FEATURE ===== */
@media (min-width: 768px) {

  .feature {
    grid-template-columns: 1.1fr 1fr;
    padding: 40px;
  }

}

@media (min-width: 1024px) {

  .feature {
    grid-template-columns: 1.2fr 1fr;
  }

}

.testimonial-grid,
.steps-grid,
.footer-container {
  display: grid;
  gap: 14px;
}

.stars {
  display: inline-block;
  margin: 10px 0 6px;
  color: #f1a919;
}

.step-card {
  text-align: left;
}

.small-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 8px;
}

.cta {
  padding-top: 20px;
}

.cta-inner {
  display: grid;
  gap: 20px;
  padding: 28px 20px;
  color: #fff;
  background: linear-gradient(180deg, var(--primary) 0%, #327f36 100%);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  margin-bottom: 10px;
}

.cta-inner p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-inner img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

.seo-text {
  padding-top: 8px;
}

.seo-text-inner {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.seo-text p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 86px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  box-shadow: 0 14px 28px rgba(18, 89, 47, 0.3);
  z-index: 999;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(246, 248, 244, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(18, 35, 23, 0.08);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: 100%;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(46, 125, 50, 0.22);
}

.footer {
  padding: 52px 20px 100px;
  background: #121915;
  color: #d8e2d8;
}

.footer-container {
  grid-template-columns: 1fr;
}

.footer h3,
.footer h4 {
  margin-bottom: 10px;
  color: #f4f8f4;
}

.footer p {
  margin-bottom: 7px;
  color: #afbcaf;
  font-size: 0.95rem;
}

.footer a {
  color: #82db87;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.88rem;
}

@media (min-width: 720px) {
  section {
    padding: 56px 24px;
  }

  .navbar {
    padding: 16px 24px;
  }

  .menu {
    display: flex;
    gap: 20px;
  }

  .hero,
  .feature,
  .cta-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .feature,
  .cta-inner,
  .seo-text-inner {
    padding: 32px;
  }

  .trust {
    grid-template-columns: 1fr auto;
  }

  .gallery-item {
    flex-basis: 220px;
  }

  .testimonial-grid,
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  section {
    padding: 72px 24px;
  }

  .hero {
    padding: 40px;
  }

  .gallery-item {
    flex-basis: 240px;
  }

  .wa-float {
    bottom: 96px;
  }
}

/* ===== SUPPLY SECTION BOX-UP ===== */
.supply.section-shell {
  border-radius: 24px;
  padding: 60px 20px;
  margin-top: 40px;
  border: 1px solid var(--border);
}

/* ===== DESKTOP & TABLET: 2x2 GRID ===== */
@media (min-width: 769px) {
  .supply-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 Grid */
    gap: 30px;
    padding: 40px 0;
    padding: 40px 0;
    max-width: 1000px; /* Centering the grid for better readability */
    margin: 0 auto;
  }
  .mobile-only { display: none; } /* Hide loop duplicates on desktop */
}

.supply-card {
  flex: none; /* Disables the mobile flex behavior */
  width: 100%; /* Allows card to fill the grid cell */
}

.mobile-only { 
  display: none !important; /* Ensure duplicates are hidden on desktop */
}

@media (min-width: 1024px) {
.supply-track {
  grid-template-columns: repeat(2, 1fr) !important; 
}
}

/* ===== MOBILE: INFINITY SLIDER ===== */
@media (max-width: 768px) {
  .supply-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
  }
  
  .supply-track::-webkit-scrollbar { display: none; }

  .supply-card {
    flex: 0 0 280px; /* Card width on mobile */
  }
}

/* ===== CARD STYLING (NO OVERLAY) ===== */
.supply-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
}

.card-img-box {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info-box {
  padding: 20px;
  background: #fff;
  text-align: left;
}

.card-info-box h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-info-box p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.center-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers children horizontally */
  text-align: center;
}

.supply-grid-container {
  width: 100%;
  max-width: 900px; /* Constrains width to keep it centered and readable */
  margin: 40px auto;
}

/* Ensure the button is not stuck to the left */
.supply-cta-wrap {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Force 2x2 Grid on Desktop */
@media (min-width: 769px) {
  .supply-track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
    width: 100%;
  }
}

/* Maintain Infinity Scroll on Mobile */
@media (max-width: 768px) {
  .supply-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    width: 100vw;
    padding: 20px;
    scroll-snap-type: x mandatory;
  }
  
  .supply-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
  }
}

/* ===== ULTRA PREMIUM HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 40px 20px;
  overflow: hidden;
  width: 100%; /* Force full viewport width */
  margin-top: 30; /* Remove top margin if you want it flush with the navbar */
  border-radius: 0; /* Remove the border radius so it touches the screen edges */
  border: none; /* Remove any borders */
}

/* ===== BACKGROUND IMAGE + DEPTH ===== */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Ensure the URL path to your image is correct */
  background:
    linear-gradient(120deg, rgba(0,0,0,0.65), rgba(0,0,0,0.25)),
    url("images/hero-v3.png") center/cover no-repeat; /* Changed to hero-v3.png based on your HTML */

  filter: saturate(1.05);
  z-index: 0;
}

/* ===== CONTENT CONTAINER ===== */
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px; /* Keep text away from the absolute edges */
}

/* ===== GLASS CARD ===== */
.hero-card {
  max-width: 520px;
  padding: 28px;

  border-radius: 20px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.15);

  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* ===== TEXT ===== */
.hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  color: white;
  margin-bottom: 12px;
}

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 18px;
}

/* ===== BULLET POINTS ===== */
.hero-points {
  margin-bottom: 20px;
  padding-left: 18px;
}

.hero-points li {
  color: rgba(255,255,255,0.9);
  margin-bottom: 6px;
  font-size: 14px;
}

/* ===== BUTTON ===== */
.hero .btn {
  background: #2e7d32;
  color: white;
  border-radius: 999px;
  padding: 12px 20px;
  display: inline-block;
}

/* ===== MOBILE ===== */
@media (max-width: 768px){

  .hero {
    min-height: auto;
    padding: 60px 16px;
  }

  .hero-card {
    padding: 22px;
  }

  .hero h1 {
    font-size: 22px;
  }

}