/* ====================== */
/*   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, 
main, 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 {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.6;
  background: #F9F6F0;
  color: #22573A;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
*, *:before, *:after { box-sizing: inherit; }
a {
  color: #22573A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #6A9445; }
ul, ol { margin-left: 18px; }
ul { list-style: disc inside }
ol { list-style: decimal inside }
img { max-width: 100%; border-radius: 12px; }
button, input, select, textarea {
  font: inherit;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* ========================== */
/*    BRAND COLORS & FONTS    */
/* ========================== */
:root {
  --brand-primary: #22573A;
  --brand-secondary: #B1D88C;
  --brand-accent: #F9F6F0;
  --brand-dark: #20402D;
  --brand-light: #FFFFFF;
}
@font-face {
  font-family: 'Nunito';
  src: local('Nunito'), local('Nunito-Regular'), url(https://fonts.gstatic.com/s/nunito/v25/XRXV3I6Li01BKofINeaB.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'), url(https://fonts.gstatic.com/s/opensans/v29/mem8YaGs126MiZpBA-UFVZ0e.woff2) format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', 'Open Sans', Arial, sans-serif;
  color: #22573A;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.375rem; margin-bottom: 20px; line-height: 1.18; }
h2 { font-size: 2rem; margin-bottom: 16px; line-height: 1.25;  }
h3 { font-size: 1.375rem; line-height: 1.22; }
h4 { font-size: 1.125rem; }
p, li, label, input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #20402D;
}
p { margin-bottom: 18px; }
strong, b { color: #22573A; font-weight: 700; }


/* ====================== */
/*    GLOBAL CONTAINER   */
/* ====================== */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* ========================= */
/*      HEADER/NAVIGATION    */
/* ========================= */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #E7E6DF;
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 12px rgba(177,216,140,0.13);
}
header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 14px 0 14px 0;
}
header > a img {
  height: 40px;
  border-radius: 10px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 30px;
}
header nav a {
  font-family: 'Nunito', Arial, sans-serif;
  color: #22573A;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 1.05rem;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #B1D88C22;
  color: #20402D;
}
.btn-primary {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff !important;
  padding: 11px 28px;
  border-radius: 24px;
  font-weight: 700;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(34,87,58,0.12);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.19s, color 0.14s;
  margin-left: 12px;
  margin-bottom: 0;
}
.btn-primary:hover, .btn-primary:focus {
  background: #378950;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(34,87,58,0.18);
}

/* ============ MOBILE MENU =========== */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-primary);
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 14px;
  margin-left: auto;
  transition: background 0.16s;
  z-index: 31;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #378950;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 6px 32px rgba(34,87,58,0.19);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-80vw);
  transition: opacity 0.25s, transform 0.35s cubic-bezier(0.57,1.47,0.47,0.79);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 24px 10px 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 41;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #378950;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  text-align: left;
  margin-top: 20px;
}
.mobile-nav a {
  color: #20402D;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 16px 28px 13px 28px;
  border-radius: 10px;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B1D88C44;
  color: var(--brand-primary);
}

/* HIDE/SHOW NAV ON MOBILE */
@media (max-width: 980px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0 8px 0;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 620px) {
  header > a img {
    height: 30px;
  }
}

/* =============== MAIN FORMATS ============== */
main {
  margin-bottom: 60px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 20px;
  box-shadow: none;
}
.hero {
  background: linear-gradient(90deg, #B1D88C14 0%, #B1D88C33 100%);
  padding-bottom: 34px;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 4px 20px rgba(177,216,140,0.11);
}
.hero h1 {
  color: #22573A;
  font-weight: 800;
  font-family: 'Nunito', Arial, sans-serif;
  margin-top: 22px;
}
.hero p {
  font-size: 1.13rem;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .section, section {
    padding: 30px 6px;
    margin-bottom: 40px;
  }
  .hero { border-radius: 0 0 18px 18px; }
}

/* ==================== */
/*  FLEXBOX PATTERNS    */
/* ==================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(34,87,58,0.08), 0 1.5px 4px rgba(177,216,140,0.11);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  min-width: 280px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 10px 26px rgba(34,87,58,0.14), 0 4px 18px rgba(177,216,140,0.16);
}
.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: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(177,216,140,0.13) ;
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============== FEATURE GRID =============== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 6px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(177,216,140,0.09);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 185px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.20s;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 3px;
}
.feature h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.feature p {
  font-size: 0.97rem;
  color: #2D6845;
}
.feature:hover {
  box-shadow: 0 8px 28px rgba(34,87,58,0.15);
}

/* ============== CTA SECTIONS ============= */
.cta-section {
  background: var(--brand-secondary);
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(177,216,140,0.14);
}
.cta-section h2 {
  color: #20402D;
  font-size: 2rem;
  margin-bottom: 18px;
}
.cta-section .btn-primary {
  margin: 0 auto;
  display: inline-block;
  font-size: 1.09rem;
}

/* ================ TESTIMONIALS ============= */
.testimonials h2 {
  margin-bottom: 18px;
}
.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(208,201,180,0.09) ;
  padding: 20px 28px;
  color: #20402D;
  font-style: italic;
  min-width: 240px;
  gap: 12px;
  margin-bottom: 24px;
}
.testimonial-card p {
  color: #2d6845;
  font-size: 1.07rem;
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: #22573A
}

/* ============ SEARCH BAR =========== */
.search-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(177,216,140,0.09);
  padding: 10px 14px;
  margin-top: 8px;
}
.search-bar input[type="search"] {
  flex: 1;
  min-width: 180px;
  border: none;
  font-size: 1.05rem;
  background: none;
  color: #20402D;
  padding: 10px 8px;
  border-radius: 8px;
}
.search-bar input[type="search"]::placeholder {
  color: #9EB59E;
}
.search-bar button {
  min-width: 128px;
}

/* =============== BLOG =============== */
.blog-category-filter {
  display: flex;
  align-items: center;
  gap: 14px;
}
.featured-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.featured-articles article {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(177,216,140,0.09);
  padding: 24px 22px;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.20s;
}
.featured-articles article:hover {
  box-shadow: 0 8px 32px rgba(177,216,140,0.17);
}
.featured-articles h3 {
  font-size: 1.07rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.featured-articles p {
  color: #2D6845;
  font-size: 0.98rem;
}
.featured-articles a {
  color: var(--brand-primary);
  font-weight: 700;
  margin-top: 4px;
  font-size: 0.99rem;
  transition: text-decoration 0.10s, color 0.17s;
}
.featured-articles a:hover, .featured-articles a:focus {
  text-decoration: underline;
  color: #6A9445;
}

.newsletter-signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  justify-content: center;
}
.newsletter-signup input[type="email"] {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  width: 220px;
  background: #f7f7f4;
  color: #22573A;
}
.newsletter-signup input[type="email"]::placeholder {
  color: #9EB59E;
}

/* ============= CATEGORY ICONS ========== */
.categories .feature-grid {
  justify-content: flex-start;
  gap: 24px;
}
.categories .feature {
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 125px;
  max-width: 160px;
  padding: 22px 12px 18px 12px;
}

/* ========== CONTACT ========== */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  margin-top: 8px;
}
.contact-info ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.contact-info ul img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
}
.note {
  background: #FFFCE8;
  border-left: 5px solid #B1D88C;
  padding: 8px 15px;
  border-radius: 12px;
  color: #496C50;
  font-size: 0.97rem;
  margin-top: 6px;
}

/* ============= FOOTER =============== */
footer {
  background: #20402D;
  color: #fff;
  border-radius: 18px 18px 0 0;
  margin-top: 64px;
  padding: 36px 0 30px 0;
  box-shadow: 0 -2px 9px 0px rgba(34,87,58,0.10);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 1rem;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #B1D88C;
  background: none;
  padding: 4px 5px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.99rem;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #B1D88C11;
  color: #fff;
}
.footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.97rem;
  color: #fff;
  text-align: center;
  flex-direction: column;
  margin-top: 9px;
}
.footer-contact img {
  height: 30px;
  width: auto;
  border-radius: 8px;
  margin-bottom: -3px;
}
footer a {
  color: #B1D88C;
  text-decoration: underline;
}
footer a:hover, footer a:focus {
  color: #fff;
}

/* ============== FORMS & INPUTS ============= */
input, select, textarea {
  border: 1px solid #B1D88C;
  border-radius: 8px;
  padding: 10px 14px;
  background: #FDFDF8;
  margin-bottom: 12px;
}
input:focus, select:focus, textarea:focus {
  border-color: #378950;
  background: #fff;
}
label { margin-bottom: 6px; }

/* ============= IMPACT STATS, MODALS, MISC ========== */
.impact-statistics {
  margin-top: 18px;
  background: #f5f8ea;
  border-radius: 16px;
  padding: 26px 20px 18px 28px;
  box-shadow: 0 2px 12px rgba(177,216,140,0.11);
}
.seal-explanation {
  margin-top: 30px;
  padding: 20px 20px 18px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(177,216,140,0.13);
}

/* ============= LISTS ============ */
ul, ol {
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 9px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}

/* ============= TABLES ============ */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
th, td {
  padding: 10px 14px;
  border-bottom: 1px solid #E7E6DF;
}
th {
  background: #B1D88C;
  color: #234024;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* ============ RESPONSIVE FLEX ============= */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 880px) {
  .feature-grid, .card-container, .featured-articles {
    gap: 14px;
    justify-content: center;
  }
  .feature,.card, .featured-articles article {
    min-width: 180px;
    max-width: 360px;
    flex: 1 1 90%;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .feature-grid,
  .featured-articles,
  .card-container,
  .footer-contact {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .container { padding-left: 6px; padding-right: 6px; }
}
@media (max-width:540px){
  .feature,.card, .featured-articles article {
    padding: 15px 6px;
    min-width: 115px;
  }
  .testimonial-card { flex-direction: column; gap: 12px; padding: 12px 7px; }
}

/* =============== ANIMATIONS =============== */
.btn-primary, .feature, .card, .featured-articles article, .testimonial-card { transition: box-shadow 0.20s, background 0.13s, color 0.13s; }

/* =============== COOKIE BANNER ============== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  min-height: 70px;
  background: #22573A;
  color: #fff;
  border-radius: 18px 18px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  box-shadow: 0 -6px 32px 0 rgba(34,87,58,0.17);
  padding: 24px 10px 18px 10px;
  z-index: 3000;
  font-size: 1rem;
  animation: fadeInFromBottom 0.6s cubic-bezier(.35,.85,.43,1.07);
}
@keyframes fadeInFromBottom {
  from { transform: translateY(150px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0; color: #fff;
  max-width: 420px;
}
.cookie-btn-group {
  display: flex;
  gap: 12px;
  margin-left: 18px;
}
.cookie-btn {
  padding: 8px 19px;
  font-size: 1rem;
  border-radius: 18px;
  font-weight: bold;
  font-family: 'Nunito', Arial, sans-serif;
  border: none;
  color: #fff;
  background: #378950;
  box-shadow: 0 2px 12px rgba(68,112,22,0.09);
  transition: background 0.12s, color 0.13s;
}
.cookie-btn.cookie-accept {
  background: #B1D88C;
  color: #22573A;
}
.cookie-btn.cookie-accept:hover, .cookie-btn.cookie-accept:focus {
  background: #A1C688;
  color: #20402D;
}
.cookie-btn.cookie-reject {
  background: #DB7362;
  color: #fff;
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #C14F37;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: #22573A;
  border: 1.3px solid #B1D88C;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #B1D88C33;
  color: #20402D;
}

@media (max-width: 820px) {
  .cookie-consent-banner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cookie-btn-group { margin-left: 0; align-self: flex-end; }
}

/* =============== COOKIE MODAL ============== */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top: 0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,87,58,.21);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInBg .3s;
}
@keyframes fadeInBg { from { opacity: 0;}  to {opacity: 1;}}
.cookie-modal.open { display: flex; }
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  max-width: 420px;
  width:94vw;
  padding: 38px 30px 30px 30px;
  box-shadow: 0 14px 48px 0 rgba(34,87,58,0.14);
  color: #22573A;
  font-size: 1.01rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeUpModal .34s cubic-bezier(.26,1.3,.33,.96) both;
}
@keyframes fadeUpModal {
  from { opacity:0; transform: translateY(80px);}
  to { opacity:1; transform: translateY(0);}
}
.cookie-modal-content h2 {
  text-align: left;
  font-size: 1.43rem;
  margin-bottom: 10px;
}
.cookie-modal-category {
  margin-top: 14px;
  padding: 13px 12px;
  border-radius: 12px;
  background: #F9F6F0;
  box-shadow: 0 1.5px 8px rgba(177,216,140,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: #22573A;
  width: 20px; height:20px;
}
.cookie-modal-category label { font-size: 1.07rem; }
.cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: #22573A;
  font-size: 1.7rem;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 12px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #378950;
  background: #B1D88C33;
}

/* ============== UTILITY SPACING ================ */
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-60 { margin-bottom: 60px; }
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.pt-20 { padding-top: 20px; }
.pt-40 { padding-top: 40px; }

/* =============== CUSTOM SCROLLBAR ============= */
body::-webkit-scrollbar {
  width: 10px;
  background: #F9F6F0;
  border-radius: 12px;
}
body::-webkit-scrollbar-thumb {
  background: #B1D88C;
  border-radius: 16px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #A1C688;
}

/* Hide outline except keyboard nav */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #B1D88C;
  outline-offset: 2px;
}

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