/* -------------------------------------------------
   CSS RESET & 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  background: #f9faf9;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #333b28;
  background: #F9FAFA;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #266B3D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #155624;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1.2em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #205c32;
  font-weight: 700;
  margin-bottom: 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }
strong { font-weight: 700; }
p { margin-bottom: 1.15em; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* -------------------------------------------------
   LAYOUT & CONTAINER
------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffbe9;
  border-radius: 36px;
  box-shadow: 0 4px 16px rgba(38,107,61,0.05), 0 0.5px 0 #F6CF59 inset;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .section {
    padding: 28px 8px;
    border-radius: 20px;
  }
  .container {
    padding: 0 10px;
  }
}

/* -------------------------------------------------
   HEADER, NAVIGATION, LOGO
------------------------------------------------- */
header {
  background: #ede9d7;
  box-shadow: 0 2px 12px rgba(38,107,61,0.05);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 0;
}
.logo img {
  height: 41px;
  width: auto;
  object-fit: contain;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: #266B3D;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  transition: color 0.2s;
}
.main-nav a.cta {
  background: #266B3D;
  color: #f9fafa;
  border-radius: 23px;
  padding: 10px 28px;
  font-weight: 700;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.23s;
  box-shadow: 0 2px 6px rgba(38,107,61,0.07);
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #379b57;
  color: #fffbe9;
  box-shadow: 0 4px 18px rgba(38,107,61,0.13);
}
.main-nav a:not(.cta)::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #F6CF59;
  border-radius: 2px;
  transition: width 0.21s;
  margin: 0 auto;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 70%;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #266B3D;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  padding: 4px 10px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F6CF59;
  background: #e7e3c8;
}
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --------------- MOBILE MENU --------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(243,241,229,0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 0;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.87,-0.41,.19,1.44), opacity 0.23s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  margin: 30px 28px 12px 0;
  color: #266B3D;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.14s;
  z-index: 11;
  padding: 6px 10px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e7e3c8;
  outline: 2px solid #F6CF59;
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 40px 32px;
}
.mobile-nav a {
  color: #205c32;
  font-size: 1.3rem;
  padding: 14px 0 12px 0;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 7px;
  min-width: 180px;
  width: 100%;
  text-align: left;
  font-weight: 600;
  margin-bottom: 4px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #dce5c8;
  color: #266B3D;
}
@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------------------------------------------
   HERO AND GENERAL SECTION STYLES
------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
section > .container {
  padding: 0 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding: 26px 0;
  }
}

/* -------------------------------------------------
   FEATURE GRIDS, CARDS, USPs, BENEFITS
------------------------------------------------- */
.feature-grid, .benefits-grid, .service-list, .usps-list, .recognition-list, .guides-list, .solutions-for-farmers, .step-by-step-guide, .process-steps, .value-propositions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}
.feature-grid li, .benefits-grid li, .service-list li, .usps-list li {
  background: #faf8f4;
  box-shadow: 0 2px 10px rgba(38,107,61,0.07);
  border-radius: 25px 30px 22px 34px/28px 29px 27px 33px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 310px;
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
  border-left: 6px solid #266B3D;
  border-bottom: 2px solid #F6CF59;
}
.feature-grid li img,
.benefits-grid li img,
.service-list li img,
.usps-list li img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 5px;
}
.feature-grid li strong,
.benefits-grid li strong,
.service-list li strong,
.usps-list li strong {
  font-size: 1.07rem;
  color: #205c32;
  letter-spacing: 0.01em;
}
.feature-grid li h3, .usps-list li strong {
  margin-bottom: 0;
}
@media (max-width: 980px) {
  .feature-grid, .benefits-grid, .service-list, .usps-list {
    gap: 20px;
  }
  .feature-grid li, .benefits-grid li, .service-list li, .usps-list li {
    min-width: 170px;
    padding: 20px 10px 18px 12px;
    font-size: 0.96rem;
  }
}
@media (max-width: 700px) {
  .feature-grid, .benefits-grid, .service-list, .usps-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .benefits-grid li, .service-list li, .usps-list li {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    padding: 16px 8px 16px 12px;
    border-radius: 17px 17px 16px 16px/15px 19px 12px 14px;
  }
}
.recognition-list {
  gap: 20px;
  flex-direction: row;
  flex-wrap: wrap;
}
.recognition-list li {
  padding: 9px 18px;
  font-size: 1rem;
  background: #e7e3c8;
  border-radius: 12px 22px 11px 20px/18px 17px 14px 15px;
  color: #205c32;
  font-weight: 600;
  margin-bottom: 10px;
}
.solutions-for-farmers, .step-by-step-guide, .process-steps {
  flex-direction: column;
  gap: 18px;
  margin-left: 1em;
}
.solutions-for-farmers li, .step-by-step-guide li, .process-steps li {
  background: none;
  border: none;
  padding: 0 0 0 2px;
  border-radius: 0;
  color: #25402d;
  font-size: 1.07em;
  margin-bottom: 0;
}
.value-propositions {
  flex-direction: column;
  gap: 18px;
  font-size: 1.08em;
}

/* CARDS & POST CARDS */
.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.post-card {
  background: #faf8f4;
  border-radius: 18px 24px 18px 24px/22px 20px 17px 20px;
  box-shadow: 0 2px 14px rgba(38,107,61,.09);
  padding: 20px 18px;
  flex: 1 1 245px;
  min-width: 220px;
  max-width: 375px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.category-tag {
  display: inline-block;
  background: #F6CF59;
  color: #205c32;
  padding: 3px 13px;
  border-radius: 13px;
  font-size: 0.82em;
  font-weight: 600;
  margin-bottom: 12px;
}
.featured-post {
  background: #e7e3c8;
  color: #205c32;
  border-radius: 23px 29px 25px 17px/16px 28px 15px 21px;
  padding: 14px 18px 20px 22px;
  font-size: 1.1em;
  margin-bottom: 18px;
  font-family: 'Merriweather', Georgia, serif;
}

/* Cards & Info groups */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #faf8f4;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(38,107,61,.07);
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  position: relative;
  border-left: 4px solid #266B3D;
  border-bottom: 2px solid #F6CF59;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Content Grids */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Text-image section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Feature Item */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
}

/* -------------------------------------------------
   TESTIMONIALS & SLIDERS
------------------------------------------------- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 18px 20px 18px;
  background: #ffffff;
  border-radius: 19px 30px 17px 32px/23px 17px 15px 25px;
  box-shadow: 0 2px 12px rgba(38,107,61,0.09);
  min-width: 230px;
  max-width: 370px;
  margin-bottom: 20px;
  border-left: 4px solid #F6CF59;
  border-bottom: 2px solid #266B3D;
  color: #205c32;
}
.testimonial-card p {
  font-size: 1.1em;
  color: #205c32;
}
.testimonial-card span {
  font-size: 1em;
  color: #266B3D;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    gap: 8px;
  }
}

.client-logos, .partner-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.client-logos img, .partner-logos img {
  height: 44px;
  width: auto;
  opacity: 0.82;
  filter: grayscale(70%);
}

/* --- Case snippets in for-farmers testimonials --- */
.case-snippets,
.resources-preview, .tips-highlight, .faq-brief {
  background: #ede9d7;
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 18px;
  box-shadow: 0 1px 7px rgba(38,107,61,0.04);
  font-size: 1.07em;
  color: #2b3e1e;
}
.case-snippets ul {
  margin-left: 12px;
}

/* -------------------------------------------------
   CTA BUTTONS & LINKS
------------------------------------------------- */
.cta, .cta:visited {
  display: inline-block;
  background-color: #266B3D;
  color: #F9FAFA;
  padding: 13px 32px;
  border-radius: 34px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(38,107,61,0.1);
  border: none;
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.13s;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: #379b57;
  color: #fffbe9;
  box-shadow: 0 4px 18px rgba(38,107,61,0.16);
  transform: translateY(-1.5px) scale(1.03);
}

/* -------------------------------------------------
   MISCELLANEOUS BLOCKS & ELEMENTS
------------------------------------------------- */
footer {
  background: #ede9d7;
  padding: 38px 0 16px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 1.09em;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #266B3D;
  opacity: 0.9;
  padding-bottom: 2px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #155624;
}
.footer-contact {
  font-size: 1em;
  color: #666e43;
}

.text-section, .faq-brief, .downloadable-resources {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.downloadable-resources {
  background: #faf8f4;
  border-radius: 15px;
  color: #25402d;
  padding-left: 30px;
}
.editor-note {
  background: #f9fafa;
  border-left: 5px solid #F6CF59;
  border-bottom: 2px solid #e7e3c8;
  border-radius: 12px;
  padding: 13px 19px;
  margin-bottom: 13px;
  font-size: 1.05em;
  color: #205c32;
}
.blog-mission-statement {
  color: #266B3D;
  font-style: italic;
  margin-bottom: 23px;
  padding-left: 7px;
}

.map-embed-placeholder {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #e7e3c8;
  border-radius: 15px;
  padding: 14px;
  color: #205c32;
  font-weight: 500;
  font-size: 1.07em;
  margin-top: 18px;
}

.faq-teaser, .faq-brief {
  background: #faf8f4;
  border-radius: 11px;
  padding: 13px 18px 13px 18px;
  margin-bottom: 11px;
  color: #215021;
  font-size: 1.03em;
}

.next-steps {
  padding: 10px 0;
  background: none;
}
.next-steps ul {
  margin-left: 14px;
}

/**** Contact details ******/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 12px 6px;
  color: #25402d;
  font-size: 1.12em;
}
.contact-details img {
  margin-right: 10px;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/****************************************************
   RESPONSIVE DESIGN BREAKPOINTS
****************************************************/
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .card-container, .post-grid, .content-grid, .feature-grid, .benefits-grid, .service-list, .usps-list, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 11px;
  }
}
@media (max-width: 500px) {
  .content-wrapper {
    gap: 19px;
  }
  .testimonial-slider, .feature-grid, .benefits-grid, .service-list {
    gap: 12px;
  }
}

/****************************************************
   ANIMATIONS & MICRO-INTERACTIONS
****************************************************/
.card, .testimonial-card, .feature-grid li, .benefits-grid li, .service-list li, .usps-list li, .post-card {
  transition: box-shadow 0.15s, transform 0.17s;
}
.card:hover, .testimonial-card:hover, .feature-grid li:hover, .benefits-grid li:hover, .service-list li:hover, .post-card:hover {
  box-shadow: 0 5px 20px rgba(38,107,61,0.13);
  transform: translateY(-2.5px) scale(1.015);
}

/****************************************************
   COOKIE CONSENT BANNER & MODAL
****************************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #ede9d7;
  box-shadow: 0 -2px 20px rgba(38,107,61,0.09);
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 18px 12px 18px 20px;
  font-size: 1rem;
  border-top: 2px solid #F6CF59;
  opacity: 1;
  transition: opacity 0.35s, bottom 0.31s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: -200px;
}
.cookie-banner-message {
  color: #205c32;
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 570px;
  margin-right: 18px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 23px;
  border-radius: 22px;
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border: none;
  box-shadow: 0 1.5px 6px rgba(38,107,61,0.06);
  cursor: pointer;
  transition: background 0.19s, color 0.18s, transform 0.11s;
}
.cookie-btn.accept {
  background: #266B3D;
  color: #f9fafa;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #379b57;
}
.cookie-btn.reject {
  background: #faf8f4;
  color: #205c32;
  border: 1.5px solid #F6CF59;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e7e3c8;
  color: #205c32;
}
.cookie-btn.settings {
  background: #fffbe9;
  color: #266B3D;
  border: 1.5px solid #266B3D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e7e3c8;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 19px 8px 11px 10px;
  }
  .cookie-banner-buttons {
    gap: 10px;
    flex-wrap: wrap;
  }
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 96vw;
  max-width: 380px;
  z-index: 10001;
  background: #faf8f4;
  border-radius: 26px;
  box-shadow: 0 9px 39px rgba(38,107,61,0.15);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: opacity 0.21s, transform 0.23s;
  display: flex;
  flex-direction: column;
  padding: 32px 18px 22px 18px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -40%) scale(0.96);
}
.cookie-modal-header {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #205c32;
  font-size: 1.25rem;
  margin-bottom: 17px;
}
.cookie-category {
  padding: 11px 0;
  border-bottom: 1px solid #e7e3c8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category strong {
  font-size: 1.06em;
  color: #25402d;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #e4e5d5;
  border-radius: 13px;
  position: relative;
  border: none;
  cursor: pointer;
  transition: background 0.13s;
  outline: none;
}
.cookie-toggle[data-checked="true"] {
  background: #266B3D;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2.3px;
  left: 2.5px;
  width: 18px;
  height: 17px;
  border-radius: 10px;
  background: #fffbe9;
  box-shadow: 0 0.9px 2.5px rgba(38,107,61,0.09);
  transition: left 0.16s, background 0.14s;
}
.cookie-toggle[data-checked="true"]::before {
  left: 17px;
  background: #F6CF59;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 24px;
  justify-content: flex-end;
}

.cookie-modal .cookie-btn {
  width: 110px;
}

/****************************************************
   ACCESSIBILITY & MISC
****************************************************/
:focus {
  outline: 2px solid #F6CF59;
  outline-offset: 1.5px;
}

::-webkit-scrollbar {
  width: 11px;
  background: #f9faf9;
}
::-webkit-scrollbar-thumb {
  background: #d6d2bd;
  border-radius: 11px;
}

/* -------------------------------------------------
   END OF CSS
------------------------------------------------- */
