/* ========================================================================
   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,
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;
}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  box-sizing: border-box;
  min-height: 100vh;
  color: #223123;
  background: #F7F8F3; /* Close to a natural light paper */
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 16px;
}
a {
  color: #205C3B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2E4662;
  text-decoration: underline;
  outline: none;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}
:root {
  --color-primary: #205C3B;
  --color-secondary: #D7E6D1;
  --color-accent: #2E4662;
  --color-brown: #6B4D3B;
  --color-sand: #E6E3CC;
  --color-ivory: #F7F8F3;
  --color-text-dark: #223123;
  --color-text-light: #F7F8F3;
}
/* ========================================================================
   Typography
   ======================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Open+Sans:400,600,700&display=swap');
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.1;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--color-accent);
  margin-bottom: 16px;
  line-height: 1.14;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #223123;
  margin-bottom: 10px;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* ========================================================================
   Layout Containers (Flex only!)
   ======================================================================== */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0; /* for independent vertical stacking */
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 38px 30px 40px 32px / 32px 40px 28px 36px;
  background: var(--color-ivory);
  box-shadow: 0 4px 24px 0 rgba(32,92,59,0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(32,92,59,0.07);
  padding: 24px 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-secondary);
  border-radius: 26px 22px 24px 18px / 20px 28px 24px 22px;
  box-shadow: 0 2px 12px 0 rgba(32,92,59,0.08);
  margin-bottom: 20px;
  transition: box-shadow 0.25s, background 0.2s;
  min-width: 220px;
}
.testimonial-card p {
  color: #223123;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: var(--color-brown);
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  opacity: 0.86;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(32,92,59,0.14);
  background: #eceee6;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------------------------------------------
   Header & Navigation
   ----------------------------------------------------------------------- */
header {
  background: var(--color-primary);
  color: var(--color-text-light);
  margin-bottom: 0;
  width: 100%;
  box-shadow: 0 3px 12px 0 rgba(32,92,59,0.09);
  position: relative;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 46px;
  border-radius: 11px 7px 14px 9px/14px 7px 17px 8px;
  margin-right: 20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
header nav a {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 12px 20px 18px 24px;
  transition: background 0.15s, color 0.16s;
  font-weight: 600;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
header .btn-primary {
  margin-left: auto;
}

/* Hamburger (Burger menu) */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(32,92,59,0.11);
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 1201;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Mobile navigation overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  background: var(--color-ivory);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1200;
  padding: 40px 28px 24px 28px;
  box-sizing: border-box;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.87,-.41,.19,1.29);
  box-shadow: 4px 0 28px 0 rgba(32,92,59,0.22);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-primary);
  color: var(--color-secondary);
  font-size: 2rem;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  border: none;
  margin-bottom: 18px;
  margin-left: auto;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,  .mobile-menu-close:focus {
  background: var(--color-accent);
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--color-primary);
  background: none;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 12px;
  display: block;
  width: 100%;
  transition: background 0.17s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

@media (max-width: 1050px) {
  header nav {
    gap: 7px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding-left: 8px; 
    padding-right: 8px;
  }
}
@media (max-width: 840px) {
  header .container nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 841px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================================================================
   Buttons
   ======================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 13px 35px 13px 28px;
  border: none;
  border-radius: 28px 19px 28px 23px;
  box-shadow: 0 2px 10px 0 rgba(32,92,59,0.13);
  cursor: pointer;
  transition: background 0.18s, color 0.14s, transform 0.13s;
  margin-top: 9px;
  margin-bottom: 10px;
  text-decoration: none;
}
.btn-primary:focus,
.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
  transform: translateY(-2px) scale(1.03);
}

/* Secondary button example for cookie banner etc */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--color-brown);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 21px 17px 18px 14px;
  padding: 12px 26px;
  box-shadow: 0 2px 6px 0 rgba(107, 77, 59, 0.18);
  cursor: pointer;
  transition: background 0.18s, color 0.14s, transform 0.13s;
  margin: 6px 7px 6px 0;
  text-decoration: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #8d5532;
  color: #fff;
  transform: translateY(-1px) scale(1.02);
}

.btn-tertiary {
  background: none;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 22px;
  border-radius: 14px 18px 14px 15px;
  margin: 6px 7px 6px 0;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.14s, color 0.14s, border-color 0.18s;
  cursor: pointer;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ========================================================================
   Hero Sections & CTA
   ======================================================================== */
.hero {
  background: var(--color-secondary);
  border-radius: 0 0 48px 48px;
  margin-bottom: 60px;
  min-height: 280px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 32px 0 rgba(32,92,59,0.09);
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 9px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.8rem;
  margin-bottom: 8px;
}
.hero p {
  color: var(--color-brown);
  font-size: 1.17rem;
}

.cta {
  background: var(--color-accent);
  color: #fff;
  border-radius: 36px 32px 34px 30px;
  box-shadow: 0 4px 22px 0 rgba(46,70,98,0.09);
  padding: 40px 18px;
  margin-bottom: 60px;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #eae7e0;
}
.cta .btn-primary {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #fff;
  color: var(--color-accent);
  box-shadow: 0 8px 22px 0 rgba(46,70,98,0.09);
}

/* ========================================================================
   About, Features, Lists, Contact
   ======================================================================== */
.about {
  background: var(--color-ivory);
  border-left: 8px solid var(--color-secondary);
  border-radius: 22px 35px 23px 38px;
  margin-bottom: 60px;
  box-shadow: 0 2px 10px 0 rgba(32,92,59,0.05);
}
.features {
  background: #fff;
  border-radius: 40px 28px 35px 28px;
  box-shadow: 0 3px 16px 0 rgba(32,92,59,0.08);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .content-wrapper, .about .content-wrapper {
  gap: 14px;
}
.about h2, .features h2 {
  font-size: 2.1rem;
  margin-bottom: 0.3em;
}
.about ul, .features ul, .contact ul {
  list-style: disc inside;
  font-size: 1.07rem;
  color: var(--color-brown);
  margin-bottom: 12px;
}
.about ul li, .features ul li, .contact ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.features ul img, .contact ul img {
  height: 28px;
  width: 28px;
  margin-right: 8px;
}

.contact-note {
  background: var(--color-secondary);
  border-radius: 16px 14px 15px 13px;
  padding: 20px 14px;
  margin-top: 22px;
  box-shadow: 0 2px 10px 0 rgba(32,92,59,0.06);
}

/* ========================================================================
   Footer
   ======================================================================== */
footer {
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 40px 0 0 0;
  border-top: 3px solid var(--color-primary);
  margin-top: 80px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 48px;
}
footer nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.11rem;
  transition: color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.contact-info {
  font-size: 1rem;
  color: var(--color-brown);
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
.contact-info a {
  color: var(--color-primary);
  font-weight: 600;
  transition: color 0.17s;
}
.contact-info a:hover, .contact-info a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-bottom: 18px;
  }
  footer nav {
    margin-right: 0;
  }
}

/* ========================================================================
   Cookie Consent Banner & Modal
   ======================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 -4px 22px rgba(32,92,59,0.11);
  padding: 18px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInBanner 0.32s;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary,
.cookie-banner .btn-tertiary {
  margin: 0 7px;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(32,92,59,0.28);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.21s;
}
@keyframes fadeInOverlay { from {opacity:.0;} to {opacity:1;} }
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 34px 20px 33px 28px;
  max-width: 410px;
  min-width: 300px;
  padding: 38px 30px 31px 30px;
  box-shadow: 0 8px 32px 0 rgba(32,92,59,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: bounceInModal 0.28s;
  position: relative;
}
@keyframes bounceInModal {
  from { opacity: 0; transform: translateY(70px) scale(.95); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.6em;
}
.cookie-modal ul {
  margin-bottom: 11px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  font-size: 1.06rem;
  color: var(--color-brown);
  gap: 8px;
}
.cookie-modal input[type='checkbox'][disabled] {
  accent-color: var(--color-primary);
  filter: grayscale(1);
  opacity: 0.67;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 9px;
  margin-top: 15px;
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1.6rem;
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-primary);
  color: #fff;
}

/* ========================================================================
   Responsive Design – Mobile First
   ======================================================================== */
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  .section {
    padding: 28px 5px;
    margin-bottom: 35px;
    border-radius: 18px 14px 18px 15px / 15px 18px 12px 16px;
  }
  .hero, .cta {
    border-radius: 0 0 18px 18px;
    padding: 28px 6px;
    min-height: 160px;
  }
  .cta {
    padding: 26px 4px 26px 6px;
    margin-bottom: 38px;
    border-radius: 30px 22px 25px 21px;
  }
 
  .about,
  .features {
    border-radius: 16px 16px 14px 12px;
    margin-bottom: 32px;
    padding: 27px 8px;
  }

  .content-grid,
  .card-container {
    flex-direction: column !important;
    gap: 17px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 15px 8px;
    border-radius: 14px 11px 14px 12px;
    min-width: 170px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 17px;
  }
  header .container {
    flex-direction: row;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px;
  }
}

/* ========================================================================
   Cards (for future extensions)
   ======================================================================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* ========================================================================
   Micro-interactions, Transitions, Shadows
   ======================================================================== */
section, .about, .features, .cta, .card, .testimonial-card, .cookie-modal {
  transition: box-shadow 0.18s, background 0.19s;
}

.card:hover {
  box-shadow: 0 8px 32px 0 rgba(32,92,59,0.13);
  background: var(--color-secondary);
}

/* ========================================================================
   Utilities & Helper Classes
   ======================================================================== */
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-48 { margin-top: 48px !important; }

/* Flex helpers */
.f-row { display: flex; flex-direction: row; gap: 12px; }
.f-col { display: flex; flex-direction: column; gap: 12px; }
.flex-wrap { flex-wrap: wrap; }

/* Margin helpers for section bottom */
.mb-60, .section { margin-bottom: 60px !important; }

/* ========================================================================
   Accessibility Focus States
   ======================================================================== */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========================================================================
   ORGANIC VISUAL ELEMENTS & DECORATION
   ======================================================================== */
/* Organic shaped section backgrounds */
.section, .about, .features, .cta, .testimonial-card, .card, .cookie-modal {
  /* border-radius already applied above for organic feel */
  /* Add subtle texture using SVG background for enhancement if needed */
  /* Example: background-image: url('assets/texture-leaf.svg'); background-repeat: repeat; opacity: .97; */
}

/* Subtle leaf shadow to .btn-primary (symbolizes nature) */
.btn-primary::after {
  display: none;
}

/* ========================================================================
   END OF CSS
   ======================================================================== */
