/* Consistent page gutters and centered content */
:root {
  --page-max: 1200px;
  --page-gutter: 14px;      /* reduce side padding (desktop) */
}

html, body { overflow-x: clip; }

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

/* One container to rule them all */
.container {
  max-width: var(--page-max) !important;
  width: 100% !important;
  margin-inline: auto !important;      /* center */
  padding-inline: var(--page-gutter) !important;  /* same L/R on every section */
}

/* Make EVERY section use the same container spacing */
.features.section .container,
.product-highlight.section .container,
.cta.section .container {
  padding-inline: var(--page-gutter) !important;
}

/* Remove any old special padding that made Product Highlight different */
.product-highlight .container { padding: 0 !important; }  /* old rule guard */
.product-highlight .container { padding-inline: var(--page-gutter) !important; }

/* Sections: compact, no hidden left/right margins */
.section { padding-block: 18px !important; margin-inline: 0 !important; }

/* Slideshow should NOT create side offsets (keeps header full-bleed only) */
.slideshow {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Footer must never overflow or show extra right gap */
.site-footer { width: 100% !important; overflow: hidden; }
.site-footer .container { padding-inline: var(--page-gutter) !important; }

/* Optional: slightly tighter gutters on small screens */
@media (max-width: 768px) {
  :root { --page-gutter: 10px; }
}

/* Reset + base */
:root {
  --primary-color:#4CAF50;
  --secondary-color:#2E7D32;
  --accent:#FFC107;
  --text:#222;
  --muted:#6b7280;
  --bg:#ffffff;
  --header-height:70px;
  --header-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow-green-1: rgba(76, 175, 80, 0.22);
  --shadow-green-2: rgba(46, 125, 50, 0.18);
  --shadow-green-3: rgba(76, 175, 80, 0.35);
}

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

html, body { height: 100%; }

/* 0) Stop horizontal overflow and keep gutters consistent */
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: #f7f8f8;
  overflow-x: hidden; /* prevents any full-bleed overflow */
}

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

/* Container for page content width */
.container {
  max-width: 1200px !important;
  margin-inline: auto !important;
  padding-inline: 16px !important;   /* even left/right */
  width: 100% !important;
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--header-gradient);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  z-index: 1000;
}

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }

.logo {
  width: 60px; height: 60px; object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.brand-name {
  color: #FFD700;
  font-weight: 700; font-size: 1.2rem; margin: 0;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.8);
  white-space: nowrap;
}

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

.nav-link {
  color: #fff; text-decoration: none; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  background: rgba(255,255,255,0.12);
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: .4rem;
}
.nav-link:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }
.nav-link.active { background: rgba(255,255,255,0.28); }

.nav-toggle {
  display: none; background: transparent; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer;
}

/* Full-bleed slideshow directly under header */
.slideshow {
  position: relative;
  width: 100% !important;
  margin: var(--header-height, 70px) 0 0 0 !important;
  padding: 0 !important;
  left: 0 !important;
  right: 0 !important;
  box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }

.slide-content {
  position: absolute; left: min(80px, 6%); bottom: 12%;
  color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.slide-content h2 { margin: 0 0 .4rem; font-size: 1.6rem; }
.slide-content p { margin: 0; font-size: 1rem; }

/* Sections */
main { padding-top: 0; }

.section {
  padding: 18px 0 !important;
  margin: 0 !important;
}

/* Headings */
h1 { font-size: 1.6rem; margin: 0 0 .5rem; color: var(--primary-color); }
h2 {
  font-size: 1.4rem; margin: 0 0 1rem;
  background: var(--header-gradient);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h3 { font-size: 1.1rem; margin: 0 0 .6rem; color: var(--secondary-color); }

/* Features */
.features .features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feature-card {
  background: #fff !important;
  border-radius: 12px; padding: 22px;
  box-shadow:
    0 10px 24px var(--shadow-green-2),
    0 2px 8px rgba(0,0,0,0.06) !important;
  border: 1px solid rgba(76,175,80,0.12);
  text-align: center;
}
.feature-card:hover {
  box-shadow:
    0 18px 36px var(--shadow-green-3),
    0 6px 12px rgba(0,0,0,0.08) !important;
  transform: translateY(-3px);
}
.icon-wrapper {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(76,175,80,.12), rgba(46,125,50,.12));
}
.feature-card i {
  font-size: 1.6rem;
  background: var(--header-gradient);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.feature-card p { color: var(--muted); margin: 0; }

/* Product highlight (text-only) */
.product-card.no-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 18px !important;
  border-radius: 16px;
  background: #fff !important;
  box-shadow:
    0 12px 28px var(--shadow-green-1),
    0 3px 10px rgba(0,0,0,0.06) !important;
  border: 1px solid rgba(76,175,80,0.14) !important;
  transform: none !important;
  float: none !important;
}
.product-card.no-image:hover {
  box-shadow:
    0 20px 40px var(--shadow-green-3),
    0 8px 16px rgba(0,0,0,0.08) !important;
}

/* Benefits grid stays tidy inside full-width card */
.product-highlight .benefits-list.fancy {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px 16px;
}

.benefits-list { list-style: none; margin: 0; padding: 0; }
.benefits-list.fancy {
  display: grid; grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px 16px;
}
.benefits-list.fancy li {
  display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start;
  padding: 12px; border-radius: 12px; background: #fff;
  box-shadow:
    0 10px 22px var(--shadow-green-1),
    0 2px 8px rgba(0,0,0,0.05) !important;
  border: 1px solid rgba(76,175,80,0.16) !important;
}
.benefits-list.fancy li:hover {
  box-shadow:
    0 16px 32px var(--shadow-green-3),
    0 6px 12px rgba(0,0,0,0.08) !important;
  transform: translateY(-3px);
}
.benefits-list .tick {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--header-gradient); color: #fff;
}
.benefits-list strong { color: var(--secondary-color); }
.benefits-list small { color: var(--muted); display: block; margin-top: 2px; }

/* CTA */
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--header-gradient); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 24px rgba(76,175,80,0.2);
}
.cta.section { padding: 24px 0; }

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 70%);
  color: #fff;
  box-shadow:
    0 18px 36px var(--shadow-green-3),
    0 8px 16px rgba(0,0,0,0.18) !important;
  overflow: hidden;
}

/* Soft highlight and texture for depth */
.cta-card::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 180%;
  background: radial-gradient(600px 260px at 10% 50%, rgba(255,255,255,0.25), transparent 60%);
  pointer-events: none;
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.05) 0,
    rgba(255,255,255,0.05) 2px,
    transparent 2px,
    transparent 10px
  );
  opacity: .25;
  pointer-events: none;
}

.cta-copy h2 { margin: 0 0 6px; font-size: 1.35rem; }
.cta-copy p { margin: 0; opacity: .95; }

.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.cta-btn {
  background: #fff !important;
  color: #2E7D32 !important;
  border: 0;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(255,255,255,0.12), 0 10px 26px rgba(46,125,50,0.35);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46,125,50,0.45);
}
.cta-note { font-size: .85rem; opacity: .9; }

/* Make CTA heading readable on green background */
.cta-card h2 {
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none;
}

/* Safety: hide any leftover note if still present */
.cta-note { display: none !important; }

/* Footer */
.site-footer { width: 100% !important; overflow: hidden; }
.site-footer { background: #2f3133; color: #e7e7e7; padding: 26px 0; margin-top: 20px; }
.footer-inner { display: grid; gap: 10px; justify-items: center; text-align: center; }
.social-links a { color: #9fe3a3; margin: 0 8px; }
.footer-info p { margin: 4px 0; }

/* Footer – modern, theme-matched */
.site-footer.modern {
  position: relative;
  background: #1f2621;
  color: #e9f1ea;
  padding: 28px 0 18px;
  overflow: hidden;
}

/* Top green glow + thin gradient line */
.site-footer.modern::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -80px; height: 160px;
  background:
    radial-gradient(600px 140px at 10% 0%, rgba(76,175,80,0.25), transparent 65%),
    radial-gradient(600px 140px at 90% 0%, rgba(46,125,50,0.22), transparent 60%);
  filter: blur(28px);
  pointer-events: none;
}
.site-footer.modern::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0.9;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  align-items: start;
  gap: 20px;
}

.footer-logo { width: 54px; height: 54px; object-fit: contain; margin-bottom: 6px; }
.footer-title { margin: 0; font-size: 1.1rem; color: #e9f1ea; }
.footer-tag { margin: 4px 0 0; color: #b9c7bb; font-size: .9rem; }

.footer-links {
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: #dfe7e1;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 0;
  transition: color .2s ease, transform .2s ease;
}
.footer-links a:hover { color: #9fe3a3; transform: translateX(2px); }

.footer-contact p {
  margin: 4px 0;
  color: #d7e1d9;
}
.footer-contact i { color: #9fe3a3; margin-right: 8px; }

.social-links { margin-top: 8px; display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: #1f2621; background: #c9f0cf;
  box-shadow: 0 8px 20px rgba(76,175,80,0.35), inset 0 0 0 1px rgba(46,125,50,0.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  background: #9fe3a3; color: #0d2612;
}
.social-btn.tw { background: #d8f6db; } /* slight variations */
.social-btn.ig { background: #e6fae8; }

.footer-copy {
  margin-top: 14px;
  text-align: center;
  color: #a9b7ad;
  font-size: .9rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
}

/* Simple footer (no brand/menu) */
.site-footer.simple {
  background: #1f2621;
  color: #e9f1ea;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  overflow: hidden;
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap; /* will wrap only on very small screens */
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 280px;
  margin: 0;
}

.footer-contact p {
  display: inline-flex;
  align-items: center;
  margin: 0;
  gap: 8px;
  white-space: nowrap;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-left: auto; /* push socials to the right */
}

/* Smaller copy line spacing */
.footer-copy {
  margin-top: 6px;
  font-size: 0.85rem;
}

/* Optional: keep in one line down to smaller widths */
@media (max-width: 520px) {
  .footer-simple { gap: 8px; }
  .footer-contact { gap: 12px; }
}

/* Page hero (internal pages) */
.page-hero {
  padding: 24px 0;
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(76,175,80,0.16), rgba(76,175,80,0) 60%),
    radial-gradient(420px 160px at 100% 0%, rgba(46,125,50,0.14), rgba(46,125,50,0) 60%);
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.18));
  pointer-events: none;
}
.page-hero h1 { margin: 0 0 .4rem; color: var(--secondary-color); }
.page-hero p { margin: 0; color: #4b5a4e; }

/* About page layout */
.about-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: center;
}
.about-media img { border-radius: 14px; box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.check-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 8px; align-items: center; color: #445347; }
.check-list i { color: var(--primary-color); }

.stats-grid {
  display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 16px;
}
.stat-card {
  background: #fff; border: 1px solid rgba(76,175,80,0.14);
  border-radius: 14px; padding: 16px; text-align: center;
  box-shadow: 0 12px 24px rgba(76,175,80,0.22);
}
.stat-value { display: block; font-weight: 800; font-size: 1.6rem; color: var(--secondary-color); }
.stat-label { color: #6b7280; }

/* Product grid */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
}
.product-tile {
  background: #fff; border-radius: 14px; padding: 14px;
  border: 1px solid rgba(76,175,80,0.12);
  box-shadow: 0 12px 24px rgba(46,125,50,0.18);
  display: grid; gap: 8px; align-content: start;
}
.product-tile img { border-radius: 10px; height: 160px; object-fit: cover; width: 100%; }
.product-tile h3 { margin: 4px 0; color: var(--secondary-color); font-size: 1.05rem; }
.product-tile p { margin: 0 0 6px; color: #6b7280; }
.btn.btn-sm { padding: 8px 12px; font-size: .9rem; }

/* Contact page */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start;
}
.contact-form {
  background: #fff; border-radius: 14px; padding: 16px;
  border: 1px solid rgba(76,175,80,0.12);
  box-shadow: 0 12px 24px rgba(46,125,50,0.18);
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid #d7e6da; border-radius: 10px; padding: 10px 12px;
  font: inherit; outline: none; background: #f9fbfa;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
  background: #fff;
}
.contact-info {
  display: grid; gap: 10px;
}
.info-line { background: #fff; border: 1px solid rgba(76,175,80,0.12); border-radius: 10px; padding: 10px 12px; }
.info-line i { color: var(--primary-color); margin-right: 8px; }
.map-shell { border-radius: 12px; overflow: hidden; border: 1px solid rgba(76,175,80,0.12); }
.map-placeholder { height: 200px; display: grid; place-items: center; color: #6b7280; background: #f3f7f4; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}