:root {
  --brand: #0b6e4f;
  --brand-dark: #084d38;
  --accent: #f2a71b;
  --text: #24303a;
  --muted: #5c6b73;
  --bg-light: #f6f8f7;
  --border: #e3e8e6;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  /* font-family: 'Segoe UI', Roboto, Arial, sans-serif; */
  font-family:Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; color: var(--brand-dark); line-height: 1.25; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 2px 4px;
}
.header-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-dark);
}
/* 1. Make the header container push items to the edges */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes Logo to left, Nav block to right */
  width: 100%;
}

/* 2. Style the navigation container to hold the links and button inline */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px; /* Space between the links list and the "Shop Now" button */
}

/* 3. Keep the list items in a single horizontal row */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px; /* Space between each navigation link */
  margin: 0;
  padding: 0;
}

.nav-toggle {
  display: none; /* Hides the hamburger button on desktop screens */
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}
/* 4. Ensure links style correctly */
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap; /* Prevents menu links from wrapping to two lines */
}

.main-nav a.active,
.main-nav a:hover { 
  color: var(--brand); 
}

/* 5. Mobile responsive overrides */
@media (max-width: 860px) {
  .header-inner { 
    flex-wrap: wrap; 
  }
  .nav-toggle { 
    display: block; 
  }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.open { 
    display: flex; 
  }
  .main-nav ul { 
    flex-direction: column; 
    gap: 0; 
  }
  .main-nav li { 
    border-top: 1px solid var(--border); 
  }
  .main-nav a { 
    display: block; 
    padding: 12px 4px; 
  }
  .main-nav .btn {
    align-self: center;
    margin-top: 16px;
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
}
/* Create the side-by-side layout */
.hero-flex {
  display: flex;
  align-items: center;       /* Centers items vertically */
  justify-content: space-between; /* Pushes text to left, image to right */
  gap: 40px;                 /* Adds a clean gap between the two sides */
}

/* Let the text take up about 55% of the width */
.hero-text {
  flex: 1;
  max-width: 55%;
}

/* Let the image wrapper take up about 40% of the width */
.hero-image {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: center;   /* Centers image inside its own space */
}

/* Make sure the image behaves and scales properly */
.hero-image img {
  width: 100%;
  max-width: 500px;          /* Prevents the image from getting too massive */
  height: auto;
  object-fit: contain;
}

/* Responsive Fix: Stack them on mobile screens */
@media (max-width: 768px) {
  .hero-flex {
    flex-direction: column-reverse; /* Stacks image on top, text on bottom */
    text-align: center;
  }
  .hero-text, .hero-image {
    max-width: 100%;
  }
  .tag-nav {
    justify-content: center !important; /* Centers buttons on mobile */
  }
}

/* ---------- Hero (used as page banner on inner pages) ---------- */
.hero {
    padding: 0px 0;
  height: 50px;
}
.hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 16px; }
.hero p { max-width: 700px; font-size: 1.1rem; opacity: 0.95; margin: 0 auto; }
.hero .btn { margin-top: 20px; }

/* ---------- Homepage hero: full-bleed two-panel split ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 640px;
  padding: 0;
}
.header-logo{
  width: 100px;
  height: 100px;
  padding: 0;
}
.hero-panel {
  position: relative;
  display: block;
  overflow: hidden;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Crossfade slideshow: images stack on top of each other, each one fades in,
   holds, fades out, while slowly zooming in (classic "Ken Burns slideshow").
   NOTE: the 22%/28% marks below assume 4 images per panel (each visible for
   1/4 of the loop). If you change the NUMBER of images in $hero_left_slides /
   $hero_right_slides in index.php, adjust these percentages to 100/count. */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation-name: heroSlideFade, heroSlideZoom;
  animation-timing-function: ease-in-out, linear;
  animation-iteration-count: infinite, infinite;
}

.hero-panel { position: relative; }

@keyframes heroSlideFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  22%  { opacity: 1; }
  28%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes heroSlideZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.12); }
}

.hero-panel-btn {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(11, 78, 56, 0.85);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  margin-top: 0;
}
.hero-panel-btn:hover {
  background: var(--brand-dark);
  color: #fff;
}

@media (max-width: 860px) {
  /* .hero-split {
    grid-template-columns: 1fr;
    height: auto;
  } */
  .hero-panel { height: 380px; }
  .hero-panel-btn { bottom: 24px; font-size: 0.9rem; padding: 10px 20px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: #216477;
  color: white;
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #216477; color: white; }
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--brand-dark); }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
.section-alt { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title p { color: var(--muted); max-width: 640px; margin: 10px auto 0; }

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.card img { width: 100%; height: 190px; object-fit: cover; background: var(--bg-light); }
.card-body { padding: 16px; }
.card-body h3 { margin: 0; font-size: 1.05rem; }

/* ---------- Two column feature ---------- */
/* .feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature.reverse .feature-img { order: 2; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feature-img { order: 0; }
}
.feature-img img { border-radius: 8px; } */

/* ---------- Two column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* THE FIX: By default, HTML order puts image left, text right.
   But if you want to explicitly control it via the 'reverse' class:
*/
.feature.reverse .feature-img { 
  order: 1; /* Puts image first (Left) */
}
.feature.reverse .feature-text { 
  order: 2; /* Puts text second (Right) */
}

@media (max-width: 860px) {
  .feature { 
    grid-template-columns: 1fr; 
  }
  /* Resets them to stack normally on mobile (Image on top, text below) */
  .feature.reverse .feature-img { order: 0; }
  .feature.reverse .feature-text { order: 0; }
}

.feature-img img { 
  border-radius: 12px; /* Adjusted slightly to match your screenshot's roundness */
  width: 100%;
  display: block;
}


/* ---------- Lists ---------- */
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.check li { padding-left: 26px; position: relative; margin-bottom: 10px; }
ul.check li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ---------- Forms ---------- */
.contact-form { display: grid; gap: 16px; max-width: 640px; }
.contact-form label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-msg { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; }
.form-msg.success { background: #e4f6ec; color: #0b6e4f; border: 1px solid #b6e5ca; }
.form-msg.error { background: #fdecea; color: #a3231c; border: 1px solid #f5c6c2; }

.contact-info { list-style: none; padding: 0; }
.contact-info li { margin-bottom: 14px; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: 8px; margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: #d7e4de; margin-top: 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 50px 0 30px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-col h4 { color: #fff; margin-top: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 2px; }
.footer-col a { color: #cfe0d9; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 2px 0;
  font-size: 0.85rem;
  color: #a9c1b7;
}

/* ---------- Misc ---------- */
.tag-nav { display: flex; gap: 14px; justify-content: center; margin: 24px 0 10px; flex-wrap: wrap; }
.tag-nav a {
  border: 1px solid var(--brand);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
}
.value-badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  font-weight: 600;
}
