/* ========================== */
/*         RESET & BASE        */
/* ========================== */
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.6;
  min-height: 100vh;
  color: #222F31;
  background: #F5F3E7;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #285946;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #155434;
  outline: none;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
strong {
  font-weight: 700;
}

/* ========================== */
/*     BRAND COLORS & FONTS   */
/* ========================== */
:root {
  --primary: #285946;
  --primary-dark: #17402b;
  --secondary: #A6C48A;
  --accent: #F5F3E7;
  --gray-100: #F5F3E7;
  --gray-200: #E4E7EC;
  --gray-300: #C1C8CE;
  --gray-600: #5A7184;
  --gray-800: #222F31;
  --danger: #C83131;
  --transition: 0.18s cubic-bezier(.55,.04,.47,.92);
  --radius: 10px;
  --shadow: 0 3px 12px rgba(40,89,70,0.08), 0 1.5px 3px rgba(33,37,41,0.04);
  --header-height: 76px;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.25rem; /* 36px */
  line-height: 1.1;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 10px;
}
h4 {
  font-size: 1.10rem; /* 17px */
  margin-bottom: 8px;
}
p, ul, li {
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--gray-800);
}
p {
  margin-bottom: 15px;
  line-height: 1.65;
}

/* ========================== */
/*       LAYOUT & SPACING     */
/* ========================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
main {
  min-height: 400px;
}
.section, section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 6px 28px rgba(40,89,70,0.18), 0 3px 6px rgba(33,37,41,0.06);
  transform: translateY(-3px) scale(1.02);
}
.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: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-height: 90px;
  border-left: 6px solid var(--primary);
  position: relative;
  flex: 1 1 240px;
}
 .testimonial-card p {
  color: #1A2A26;
  font-size: 1.08rem;
 }
 .testimonial-card strong {
  color: var(--primary);
 }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  padding: 18px 12px 18px 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1.5px 6px rgba(40,89,70,0.07);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(40,89,70,0.18), 0 3px 6px rgba(33,37,41,0.07);
  transform: translateY(-2px) scale(1.015);
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.statistics {
  margin: 24px 0 0 0;
  padding: 14px 10px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.statistics ul {
  padding-left: 18px;
  list-style: disc;
}
.blog-list li {
  background: #fff;
  border-radius: 9px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 22px 18px 18px 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-list li:hover {
  box-shadow: 0 6px 24px rgba(40,89,70,0.17), 0 1.5px 6px rgba(33,37,41,0.05);
  transform: translateY(-1px) scale(1.01);
}
.categories-filter {
  margin: 20px 0;
  color: var(--gray-800);
}
.categories-filter a {
  color: var(--primary);
  font-weight: 600;
  margin: 0 3px;
  transition: color var(--transition);
}
.categories-filter a:hover {
  color: var(--secondary);
}
.featured-post {
  background: var(--secondary);
  border-radius: 8px;
  margin: 18px 0 0 0;
  padding: 15px 12px;
  font-size: 1.11rem;
}

/* ========================== */
/*       NAVIGATION           */
/* ========================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1.5px solid var(--gray-200);
  min-height: var(--header-height);
  z-index: 1020;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: var(--header-height);
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  color: var(--gray-800);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 2px 0 2px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color var(--transition), border-color var(--transition);
}
header nav a:hover, header nav a:focus {
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
}
header img {
  height: 43px;
}
.cta.primary {
  background: var(--primary);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  border: none;
  box-shadow: var(--shadow);
  margin-left: 22px;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 5px 14px rgba(40,89,70,0.1);
}
.cta.secondary {
  background: #fff;
  color: var(--primary) !important;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.12rem;
  border: 2px solid var(--secondary);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  margin-left: 0;
  cursor: pointer;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
}

/* ========================== */
/*        FOOTER              */
/* ========================== */
footer {
  width: 100%;
  padding: 38px 0 32px 0;
  background: #F8FCFA;
  border-top: 1.5px solid var(--gray-200);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
footer nav {
  display: flex;
  gap: 19px;
}
footer nav a {
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--primary);
}
footer img {
  height: 38px;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-icons img {
  width: 32px;
  height: 32px;
  filter: grayscale(30%) contrast(1.22);
  opacity: 0.88;
  transition: filter var(--transition), opacity var(--transition);
  cursor: pointer;
}
.social-icons img:hover { filter: grayscale(0%) contrast(1.5); opacity: 1; }

/* ========================== */
/*     MOBILE NAVIGATION      */
/* ========================== */
.mobile-menu-toggle {
  position: fixed;
  right: 26px;
  top: 19px;
  z-index: 1206;
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 19px;
  border-radius: 7px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(40,89,70,0.12);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,40,33,0.98);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.39,.44,.54,1.13);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.4rem;
  margin: 28px 26px 0 0;
  cursor: pointer;
  padding: 0 8px;
  z-index: 1310;
  transition: color var(--transition), background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  background: rgba(166,196,138,0.10);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-top: 28px;
  align-items: flex-start;
  gap: 12px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 18px 32px 7px 32px;
  width: 100%;
  border-left: 5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: rgba(166,196,138,0.12);
  color: var(--secondary);
  border-left: 5px solid var(--secondary);
  outline: none;
}

/* ========================== */
/*   COOKIE CONSENT BANNER    */
/* ========================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 2px solid var(--secondary);
  box-shadow: 0 -2px 16px rgba(40,89,70,0.12);
  color: var(--gray-800);
  font-size: 1rem;
  z-index: 2000;
  padding: 28px 10px 18px 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.39s cubic-bezier(.39,.44,.54,1.13), opacity 0.23s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-consent-text {
  max-width: 650px;
  color: #213028;
  line-height: 1.55;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(40,89,70,0.06);
  transition: background var(--transition), color var(--transition);
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary-dark);
  color: #fff;
}
.cookie-btn.reject {
  background: #F2EAEA;
  color: var(--primary);
  border: 1.2px solid var(--secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--primary);
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33, 48, 41, 0.55);
  z-index: 2020;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 9px 32px rgba(40,89,70,0.17);
  min-width: 330px;
  max-width: 96vw;
  padding: 34px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal-close:hover {
  color: var(--danger);
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--accent);
  border-radius: 7px;
  padding: 16px 14px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-toggle-item label {
  color: var(--gray-800);
  font-size: 1.01rem;
}
.cookie-toggle-switch {
  appearance: none;
  width: 46px;
  height: 24px;
  border-radius: 24px;
  background: #E4E7EC;
  outline: none;
  transition: background var(--transition);
  position: relative;
  cursor: pointer;
}
.cookie-toggle-switch:checked {
  background: var(--primary);
}
.cookie-toggle-switch:before {
  content: '';
  display: block;
  width: 21px;
  height: 21px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 1.5px;
  transition: transform var(--transition);
  box-shadow: 0 1px 5px rgba(0,0,0,0.09);
}
.cookie-toggle-switch:checked:before {
  transform: translateX(22px);
}
.cookie-toggle-item.essential label {
  font-weight: 700;
}
.cookie-toggle-item.essential .cookie-toggle-switch {
  background: var(--secondary);
  cursor: not-allowed;
}
.cookie-toggle-item.essential .cookie-toggle-switch:before {
  background: #fffdd5;
}

/* =============== */
/*  RESPONSIVE     */
/* =============== */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
    padding-left: 3vw;
    padding-right: 3vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .footer .container {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .container {
    max-width: 98vw !important;
    padding-left: 12px;
    padding-right: 12px;
  }
  header .container{
    flex-direction: row;
    gap: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  section, .section {
    padding: 22px 8px;
    margin-bottom: 40px;
  }
  .content-wrapper, .card-container, .feature-grid, .content-grid {
    gap: 12px;
  }
  .testimonial-card{
    flex-direction: column;
    gap: 9px;
    padding: 14px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    min-width: unset;
    padding: 12px 8px;
  }
  .card {
    padding: 15px 10px;
    min-width: unset;
  }
  .blog-list li {
    padding: 12px 8px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 15px;
    padding: 22px 5px 13px 5px;
    font-size: 0.97rem;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .social-icons img {
    height: 24px;
    width: 24px;
  }
  .footer .container, footer .container {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 17px !important;
  }
  header nav, footer nav {
    gap: 13px !important;
  }
}
@media (max-width: 700px) {
  header nav,
  .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========================== */
/* UTILITY & TYPOGRAPHY SCALES */

.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-8 { padding-bottom: 8px !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-bold { font-weight:700; }
.fw-normal { font-weight:400; }

/* ========================== */
/*         MISC               */
/* ========================== */
::-webkit-input-placeholder { color: var(--gray-600); }
:-moz-placeholder { color: var(--gray-600); opacity: 1;}
::-moz-placeholder { color: var(--gray-600); opacity: 1;}
:-ms-input-placeholder { color: var(--gray-600);}

/* ========================== */
/*      ANIMATIONS            */
/* ========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card, .testimonial-card, .feature-item,.cookie-consent-banner, .cookie-modal {
  animation: fadeInUp 0.6s ease 0.07s both;
}

/* ========================== */
/*   ACCESSIBILITY FOCUS      */
/* ========================== */
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
  z-index: 2;
}

/* ========================== */
/*    SPECIALS (FAQ, stat)    */
/* ========================== */
section ul {
  margin: 12px 0 10px 26px;
  padding-left: 6px;
}
section ul li {
  margin-bottom: 8px;
  line-height: 1.5;
  list-style-type: disc;
}
section ul li:last-child { margin-bottom: 0; }

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