/* CSS Reset and Normalize */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3F5F3;
  color: #253723;
  min-height: 100vh;
  overflow-x: hidden;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  color: inherit;
}
a {
  color: #0D3A5F;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #497A53; /* organic green */
}

/* Brand Colors & Organic Palette */
:root {
  --col-primary: #0D3A5F;
  --col-secondary: #F5F6F8;
  --col-accent: #E29924;
  --col-green: #497A53;
  --col-terra: #B89C6D;
  --col-soil: #836649;
  --col-leaf: #97B798;
  --col-cream: #F8F7F3;
  --col-brown-txt: #483f30;
  --radius-surface: 20px;
  --shadow-surface: 0 2px 12px rgba(60, 81, 56, 0.10);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--col-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, li, table, label { font-size: 1rem; }
p { margin-bottom: 14px; }
strong { color: var(--col-brown-txt); }

@media (max-width: 992px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.07rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
}

ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
  padding-left: 4px;
}
ul li, ol li {
  margin-bottom: 8px;
}

li img {
  margin-right: 10px;
  vertical-align: middle;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--col-cream);
  border-radius: var(--radius-surface);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 12px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  padding: 16px 0 0 0;
  display: flex !important;
  flex-direction: column;
  gap: 18px;
}

/* Flex Containers & Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--col-secondary);
  border-radius: var(--radius-surface);
  box-shadow: var(--shadow-surface);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.28s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(73, 122, 83, 0.11);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Feature Grids */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature-grid > div,
.service-list > div {
  flex: 1 1 265px;
  min-width: 230px;
  background: #F5F6F8;
  border-radius: var(--radius-surface);
  box-shadow: var(--shadow-surface);
  margin-bottom: 20px;
  padding: 26px 21px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  border: 1.5px solid #E2E3DA;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature-grid > div:hover,
.service-list > div:hover {
  box-shadow: 0 4px 22px rgba(73, 122, 83, 0.14);
  border-color: var(--col-green);
}
.feature-grid img, .service-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  filter: drop-shadow(0 1px 3px #c7ddb9);
}

/* Sectional Layouts */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: #FFF;
  border-radius: 19px;
  box-shadow: 0 2px 12px rgba(73, 122, 83, 0.11);
  margin-bottom: 20px;
  color: #293525;
  border-left: 6px solid var(--col-green);
  min-width: 240px;
  max-width: 560px;
  font-size: 1.07rem;
  transition: box-shadow 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px #B89C6D1a;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section ul, .content-wrapper ul {
  list-style: disc inside;
}

/* Buttons & CTAs */
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, var(--col-green) 60%, var(--col-accent) 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px #a3b38b33;
  margin-top: 6px;
  transition: background 0.23s, box-shadow 0.23s, transform 0.19s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #355E44 60%, #C98E1D 100%);
  box-shadow: 0 6px 26px #497A5333;
  transform: translateY(-2px) scale(1.03);
}

.button, button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 28px;
  border: none;
  background: var(--col-green);
  color: #fff;
  cursor: pointer;
  margin-right: 12px;
  margin-bottom: 10px;
  transition: background 0.2s, box-shadow 0.16s, transform 0.17s;
}
.button:hover, button:hover, .button:focus {
  background: #355e44;
  box-shadow: 0 3px 16px #497A5328;
  transform: translateY(-1px) scale(1.01);
}

/* Tables --------- */
table {
  width: 100%;
  background: #F9F8F6;
  border-spacing: 0;
  border-radius: 18px;
  margin: 16px 0 24px 0;
  overflow: hidden;
  box-shadow: 0 1px 8px #497A5310;
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #E2E2E2;
}
th {
  background: #EDF1EA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
}
tr:last-child td {
  border-bottom: none;
}

/* Header & Navigation --------- */
header {
  background: #f8f7f3;
  border-bottom: 2px solid #eae6db;
  position: sticky;
  top: 0;
  z-index: 2100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 22px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 16px;
  border-radius: 9px;
  box-shadow: 0 1px 8px #8fa18918;
  background: #efede5;
  padding: 3px 6px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--col-primary);
  padding: 8px 14px;
  border-radius: 18px;
  transition: background 0.18s, color .15s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--col-green);
  color: #fff;
}

/* Responsive Navigation & Burger */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.15rem;
  line-height: 1;
  color: var(--col-green);
  cursor: pointer;
  margin-left: 8px;
  z-index: 2202;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--col-accent);
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36, 64, 26, 0.94);
  box-shadow: 0 1px 22px #181c182f;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.8,.24,.44,1.02);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 34px 0 0;
  background: transparent;
  border: none;
  color: #F5F6F8;
  font-size: 2.3rem;
  cursor: pointer;
  z-index: 3100;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--col-accent);
}
.mobile-nav {
  margin-top: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100vw;
  align-items: center;
  justify-content: flex-start;
}
.mobile-nav a {
  color: #F5F6F8;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  padding: 15px 36px;
  border-radius: 22px;
  font-weight: 500;
  min-width: 220px;
  text-align: center;
  transition: background .19s, color .14s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C98E1D;
  color: #fff;
}

@media (max-width: 600px) {
  .mobile-nav a {
    font-size: 1rem;
    min-width: 60vw;
  }
  .mobile-menu-close {
    margin: 20px 16px 0 0;
    font-size: 2rem;
  }
}

/* Main/Body Layouts ---------- */
main {
  margin-top: 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 32px;
    padding: 22px 0;
  }
}

/* Footer --------------- */
footer {
  background: #E9F2EA;
  padding: 36px 0 16px 0;
  margin-top: 40px;
  border-top: 2px solid #c1d0c0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav nav a {
  color: var(--col-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 14px;
  border-radius: 15px;
  transition: background .15s;
}
.footer-nav nav a:hover {
  background: var(--col-accent);
  color: #fff;
}
.copyright {
  color: #627354;
  opacity: 0.83;
  font-size: 0.96rem;
  margin-top: 7px;
}

@media (max-width: 700px) {
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* Miscellaneous Visuals -------- */
section {
  position: relative;
  background: linear-gradient(90deg, #F3F5F3 58%, #E9F2EA 100%);
  border-radius: var(--radius-surface);
  box-shadow: 0 1px 14px #b7c6a910;
}

@media (max-width: 900px) {
  .feature-grid, .service-list {
    gap: 18px;
    flex-direction: column;
  }
  .feature-grid > div,
  .service-list > div {
    width: 100%;
    min-width: unset;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 8px;
  }
  section {
    border-radius: 11px;
    box-shadow: 0 1px 6px #9aaa8820;
  }
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 550px) {
  .testimonial-card {
    padding: 12px 11px;
    font-size: .99rem;
  }
}

/* Animations / Interactions ----- */
.cta-btn, .button, button {
  transition: background .23s, color .12s, box-shadow .21s, transform .11s;
}
.cta-btn:active, .button:active, button:active {
  filter: brightness(0.97);
  transform: scale(0.99);
}

.testimonial-card {
  transition: box-shadow 0.15s, border-color 0.16s;
}

/* Accessibility and Contrast for Testimonials */
.testimonial-card p, .testimonial-card strong {
  color: #273a20;
}

/* List with Icons */
.content-wrapper ul li, .text-section ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.content-wrapper ul li img {
  width: 22px;
  height: 22px;
}

/* Cookie Consent Banner ------------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  right: 16px;
  z-index: 3999;
  background: #fffbe8;
  color: #3f4e2d;
  border-radius: 26px;
  box-shadow: 0 4px 24px #b89c6d24;
  padding: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  max-width: 530px;
  margin: 0 auto;
  animation: cookie-slide-in 0.5s cubic-bezier(.6,.3,.55,0.95);
}
@keyframes cookie-slide-in {
  from { transform: translateY(60px) scale(0.98); opacity: 0.3; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner p {
  flex: 2 1 240px;
  font-size: 1rem;
  margin: 0;
}
.cookie-banner .button, .cookie-banner button {
  min-width: 130px;
  margin-right: 8px;
}
.cookie-banner .cookie-settings-btn {
  background: var(--col-accent);
  color: #fff;
  margin: 0 0 0 9px;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #cf8600;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    padding: 15px 10px;
    left: 4vw;
    right: 4vw;
    max-width: 97vw;
  }
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4200;
  inset: 0;
  background: rgba(70,100,60,0.59);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: overlayFadeIn .25s;
}
@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffefb;
  border-radius: 26px;
  box-shadow: 0 6px 34px #b89c6d35;
  padding: 38px 34px 30px 34px;
  max-width: 440px;
  width: 92vw;
  position: relative;
  animation: cookieModalIn .33s cubic-bezier(.45,.8,.51,1.25);
}
@keyframes cookieModalIn {
  from { transform: translateY(50px) scale(.97); opacity: .2; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h2, .cookie-modal h3 {
  margin-bottom: 8px;
  color: var(--col-primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--col-green);
  width: 19px;
  height: 19px;
  border-radius: 6px;
}
.cookie-modal .modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--col-green);
  font-weight: 600;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal-close:hover {
  color: var(--col-accent);
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 8px 18px 8px;
  }
}

/* Forms and Inputs ------------- */
input, textarea {
  border: 1.5px solid #CEE1B7;
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color .17s;
  width: 100%;
}
input:focus, textarea:focus {
  border-color: var(--col-green);
  outline: none;
}
label {
  font-weight: 500;
  color: var(--col-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* Misc. Utility Classes */
.hide {
  display: none !important;
}
.flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.gap-20 {
  gap: 20px;
}
.bg-green {
  background: var(--col-green);
  color: #fff;
}
.bg-cream {
  background: var(--col-cream);
}
.shadow {
  box-shadow: var(--shadow-surface);
}
.rounded {
  border-radius: var(--radius-surface);
}

/* Scrollbar Styling */
::-webkit-scrollbar { width: 10px; background: #f7f6ed; }
::-webkit-scrollbar-thumb { background: #dde5db; border-radius: 10px; }

/* Selection Color */
::selection { background: #b3ce99; color: #223310; }

/* Accessibility Focus Outlines */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--col-accent);
  outline-offset: 2px;
}

/* End of style.css */
