/* -----------------------
   CSS Reset & Normalize
-------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F8F8F8;
  color: #17334F;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #f7f5f1;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #28A745;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #17334F;
}
ul {
  list-style: none;
  padding-left: 0;
}
strong {
  font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #17334F;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* --------- Layout Containers & Spacing patterns ------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 16px rgba(80,106,61,0.06), 0 1px 3px rgba(39,51,23,0.020);
  position: relative;
}

/* Flex utility containers */
.content-wrapper,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
/* Override for .content-grid gap */
.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(39,51,79,0.05);
  position: relative;
  padding: 28px 22px;
  flex: 1 1 240px;
  min-width: 280px;
  max-width: 100%;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f7f5f1;
  border-radius: 22px 22px 36px 22px;
  box-shadow: 0 6px 18px rgba(30,80,50,0.09), 0 1.5px 6px rgba(80,110,50,0.04);
  border: 2px solid #d9e4c9;
  min-width: 180px;
  max-width: 430px;
}
.testimonial-card p {
  color: #17334F;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  color: #4b661b;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------- Navigation ----------- */
header {
  background: #ede9df;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 1px 10px rgba(39,51,79,0.06);
  padding: 20px 0 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 21;
}
header img {
  height: 44px;
  margin-right: 32px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.06rem;
  color: #17334F;
  padding: 6px 12px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.5px;
}
header nav a:hover {
  background: #e3eecb;
  color: #28A745;
}

.btn-primary {
  background: #28A745;
  color: #fff !important;
  font-size: 1.07rem;
  font-weight: 700;
  font-family: 'Oswald', Arial, sans-serif;
  border: none;
  padding: 11px 32px;
  border-radius: 22px 30px 20px 22px;
  margin-left: 22px;
  transition: background 0.15s, box-shadow 0.15s, transform 0.12s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(63,109,49,0.07);
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2fae5c;
  box-shadow: 0 3px 22px rgba(65,148,84,0.11);
  transform: translateY(-2px) scale(1.025);
}

/* Mobile menu button */
.mobile-menu-toggle {
  position: fixed;
  right: 22px;
  top: 18px;
  z-index: 99;
  background: #17334F;
  border: none;
  color: #fff;
  font-size: 2rem;
  border-radius: 14px;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(39,51,79,0.09);
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.18s, transform 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #28A745;
  background: #295439;
}

/* --------- Mobile Menu Overlay --------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f7f5f1;
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.49,.02,.28,.97);
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 38px 20px 20px 28px;
  box-shadow: 0 4px 36px rgba(39,51,79,0.19), 0 1.5px 8px rgba(80,110,50,0.06);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #28A745;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  margin-bottom: 18px;
  margin-right: 6px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(63,109,49,0.10);
  transition: background 0.19s, transform 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #17334F;
  transform: rotate(14deg) scale(1.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}
.mobile-nav a {
  color: #17334F;
  background: #e5efde;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.23rem;
  padding: 14px 16px 14px 18px;
  border-radius: 17px 17px 24px 18px;
  transition: background 0.18s, color 0.18s;
  margin: 2px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #28A745;
  color: #fff;
}

/* Hide nav / show hamburger on mobile */
@media (max-width: 990px) {
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Prevent background scroll when menu open */
body.mobile-menu-active {
  overflow: hidden;
}

/* ----------- Cards, Lists, Features ----------- */
.card,
.card-container > div,
.content-wrapper > div {
  background: #fcfcf6;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(39,51,79,0.04);
  margin-bottom: 24px;
  padding: 22px 18px;
  flex: 1 1 250px;
}
.card h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.card strong {
  color: #28A745;
}

/* General content-wrapper spacing */
.content-wrapper {
  gap: 24px;
}
/* Distinct separation for content blocks */
.content-wrapper > * {
  margin-bottom: 20px;
}

ul, ol {
  margin: 6px 0 16px 0;
  padding-left: 0;
  list-style: none;
}
ul li, ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
}
ul li img {
  width: 22px;
  height: 22px;
  margin-right: 5px;
  border-radius: 7px;
  background: #e3eecb;
  box-shadow: 0 1px 3px rgba(80,106,61,0.08);
  flex-shrink: 0;
}

/* ----------- Footer --------- */
footer {
  background: #ede9df;
  color: #17334F;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -1px 14px rgba(30,50,30,0.04);
  padding: 26px 0 16px 0;
  text-align: center;
}
footer nav {
  margin-bottom: 7px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #17334F;
  padding: 2px 7px;
  font-size: 1em;
  opacity: .92;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover {
  background: #d9e4c9;
}
footer p {
  font-size: 0.99em;
  letter-spacing: 0.03em;
}

/* -------- Spacing Rules --------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------- Cookie Consent --------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  background: #fffefc;
  color: #17334F;
  border-top: 2px solid #e3eecb;
  box-shadow: 0 -2px 16px rgba(75,130,75,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 10px 18px 10px;
  gap: 20px;
  animation: cookieFadeIn 0.74s cubic-bezier(.46,.11,.51,1.14);
}
@keyframes cookieFadeIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 8px;
  font-size: 1.06rem;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #28A745;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  padding: 10px 22px;
  border-radius: 16px 26px 16px 16px;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.14s;
  box-shadow: 0 1px 7px rgba(63,109,49,0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #17334F;
}
.cookie-banner button.cookie-settings {
  background: #ebe9df;
  color: #17334F;
}
.cookie-banner button.cookie-settings:hover {
  background: #28A745;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1000;
  min-width: 330px;
  max-width: 92vw;
  width: 400px;
  background: #fffefc;
  border-radius: 18px 42px 26px 24px;
  box-shadow: 0 6px 40px rgba(34,46,29,0.17);
  transform: translate(-50%,-54%) scale(0.91);
  opacity: 0;
  transition: opacity 0.26s, transform 0.26s;
  padding: 32px 32px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  pointer-events: none;
}
.cookie-modal.open {
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h2 {
  font-size: 1.48rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.cookie-modal label {
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal input[type=checkbox]:disabled {
  opacity: 0.55;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal .modal-close {
  background: #ccc;
  color: #17334F;
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 1rem;
  margin-left: auto;
  margin-bottom: -12px;
  margin-top: -24px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #17334F;
  color: #fff;
}

.cookie-backdrop {
  position: fixed;
  z-index: 999;
  left:0; top:0; right:0; bottom:0;
  background: rgba(39,51,79,0.11);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.cookie-backdrop.active {
  pointer-events: all;
  opacity: 1;
}

/* ------- Animations & Microinteractions -------- */
.btn-primary,
.mobile-menu-toggle,
.mobile-menu-close,
.mobile-nav a,
.cookie-banner button,
.cookie-modal .modal-close {
  transition: all 0.16s cubic-bezier(.47,.22,.36,1.09);
}
.card, .testimonial-card, .feature-item {
  transition: box-shadow 0.21s, transform 0.12s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 7px 30px rgba(39,51,79,0.10);
  transform: translateY(-4px) scale(1.02);
}

/* -------- Responsive Styles --------- */
@media (max-width: 1100px) {
  .container {
    padding: 0 11px;
  }
  section {
    padding: 30px 10px;
  }
}
@media (max-width: 880px) {
  .card,
  .card-container > div,
  .content-wrapper > div {
    min-width: 160px;
    flex: 1 1 130px;
    padding: 17px 10px;
  }
  section {
    padding: 26px 6px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.44rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .content-wrapper,
  .content-grid,
  .card-container,
  .feature-item,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  section {
    margin-bottom: 38px;
    padding: 23px 2.5vw;
    border-radius: 18px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    border-radius: 20px 20px 30px 20px;
    padding: 13px 8px;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 0 12px 0;
  }
  header img {
    margin: 0 0 10px 0;
  }
}
@media (max-width: 540px) {
  header img {
    height: 34px;
  }
  h1 { font-size: 1.05rem; }
  h2 { font-size: .99rem; }
  .testimonial-card p {
    font-size: .97rem;
  }
  .card, .content-wrapper > div, .card-container > div {
    padding: 10px 4px;
  }
  .cookie-banner {
    padding: 14px 2px 11px 2px;
    font-size: .96rem;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 22px 10px 12px 10px;
  }
}

/* --------- Organic, Nature-inspired Visual Elements --------- */
section,
.card,
.testimonial-card,
.card-container > div,
.content-wrapper > div {
  border-radius: 28px 44px 38px 18px;
  border: 1.5px solid #d9e4c9;
  background: #fcfcf6;
}
section {
  border-radius: 44px 28px 38px 38px;
  border: 2px solid #e3eecb;
}
.card, .card-container > div {
  border-radius: 30px 22px 30px 22px;
}
.testimonial-card {
  border-radius: 22px 22px 36px 22px;
  background: #eef3e4;
  border: 2px solid #c6ddb7;
}

/* Green accents for key CTAs & icons */
.btn-primary,
header nav a.active {
  background: #28A745;
  color: #fff !important;
}

a.btn-primary, .btn-primary {
  box-shadow: 0 2px 12px rgba(63,109,49,0.12);
}

/* Subtle leaf-like backgrounds for organic touch (decorative) */
section::before {
  content: "";
  position: absolute;
  left: -36px; top: 12px;
  width: 98px; height: 89px;
  background: rgba(40,167,69,.07);
  border-radius: 86px 16px 90px 22px;
  z-index: 0;
  filter: blur(2.7px);
  pointer-events: none;
}

section::after {
  content: "";
  position: absolute;
  right: 5vw; bottom: -36px;
  width: 71px; height: 62px;
  background: rgba(39,51,79,0.10);
  border-radius: 18px 74px 22px 100px;
  pointer-events: none;
  z-index: 0;
  filter: blur(2.6px);
}

/* Remove organic deco on mobile */
@media (max-width: 560px) {
  section::before, section::after { display: none; }
}

/* Ensure nav links have proper focus outline */
nav a:focus {
  outline: 2px solid #28A745;
  outline-offset: 2px;
  background: #e3eecb;
}

/* Miscellaneous */
.text-section {
  max-width: 740px;
}

/* Focus and accessibility enhancements */
:focus {
  outline: 2px dashed #28A745;
  outline-offset: 2px;
}

::-webkit-scrollbar {
  background: #e8eedb;
  width: 8px;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #c1e4b2;
  border-radius: 8px;
}

/* Hide scrollbars for mobile-menu when closed */
.mobile-menu {
  overflow-y: auto;
}

/* ---------------------- END OF STYLE.CSS -------------------- */
