/* ================= CSS RESET & BASE STYLES =================== */
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;
  vertical-align: baseline;
  box-sizing: border-box;
  font-family: inherit;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  background: #f9fcf9;
  color: #2c3e2f;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
  height: auto;
}
a {
  color: #286278;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #467354;
  outline: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
ul, ol {
  list-style-position: inside;
  margin-left: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  color: #286278;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.13rem; }
p, li {
  color: #324136;
  font-size: 1rem;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
  color: #285a45;
}

/* ---------- SPACING & CONTAINER UTILITIES ------------ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f4f8f3;
  border-radius: 30px;
  box-shadow: 0 3px 24px 2px rgba(41, 61, 37, 0.06);
}
.card-container { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 24px;
}
.card { 
  margin-bottom: 20px; 
  position: relative; 
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px 1px rgba(39, 62, 31, 0.08);
  padding: 28px 22px;
  flex: 1 1 290px;
  min-width: 240px;
  max-width: 370px;
  display: flex; 
  flex-direction: column;
  gap: 12px;
}
/* General card content utility */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  border-radius: 20px;
  background: #eaf7ec;
  margin-bottom: 20px;
  min-width: 260px;
  box-shadow: 0 2px 12px 1px rgba(41, 61, 37, 0.09);
  position: relative;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #2f4933;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #397950;
  font-weight: 600;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* ------------- HERO SECTION ------------- */
.hero {
  background: #e6f0e7 url('../assets/texture-leaf-light.png') repeat top right;
  border-radius: 0 0 40px 40px;
  min-height: 370px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  box-shadow: 0 8px 36px 0 rgba(41, 61, 37, 0.08);
}
.hero .container {
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 600px;
  text-align: left;
  gap: 18px;
}
.hero h1 {
  color: #285a45;
  font-size: 2.3rem;
  margin-bottom: 12px;
}
.hero p {
  color: #285a45;
  margin-bottom: 24px;
  font-size: 1.17rem;
}

/* ------------- FEATURE / SERVICES GRID ------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 16px;
}
.feature {
  background: #fefdfe;
  border-radius: 18px;
  box-shadow: 0 2px 12px 1px rgba(61, 87, 55, 0.08);
  padding: 24px 18px 18px 18px;
  min-width: 210px;
  flex: 1 1 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.23s;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
}
.feature h3 {
  font-size: 1.18rem;
  color: #397950;
  margin-bottom: 6px;
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 22px 2px rgba(61, 87, 55, 0.14);
  transform: translateY(-3px) scale(1.03);
}

/* --------- BUTTONS / CTA STYLES ------------------ */
.cta-primary {
  display: inline-block;
  background: #94cda3;
  color: #1c3927;
  font-weight: 700;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.13rem;
  padding: 13px 32px;
  border-radius: 99px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(39, 62, 31, 0.09);
  letter-spacing: .01em;
  margin-top: 16px;
  margin-bottom: 12px;
  position: relative;
  transition: background 0.25s, color 0.23s, box-shadow 0.17s, transform 0.19s;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #286278;
  color: #f5f9f2;
  box-shadow: 0 6px 22px 1px rgba(41, 61, 37, 0.14);
  transform: translateY(-2px) scale(1.02);
}

/* -------- TABLE STYLES --------- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  margin: 20px 0;
  border-radius: 18px;
  box-shadow: 0 2px 14px 1px rgba(61, 87, 55, 0.07);
  overflow: hidden;
}
thead th {
  background: #eaf7ec;
  color: #286278;
  font-weight: 700;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: .01em;
  padding: 16px 10px;
}
tbody td {
  padding: 15px 10px;
  color: #39513d;
  font-size: 1rem;
  border-top: 1px solid #eff6ef;
}
tr:nth-child(odd) td {
  background: #f7fbf8;
}

/* -------------- HEADER / NAVIGATION ------------------ */
header {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(41, 61, 37, 0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 18px;
}
header img {
  max-height: 56px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 600;
  color: #286278;
  font-size: 1.05rem;
  letter-spacing: .01em;
  border-radius: 18px;
  padding: 7px 16px;
  transition: background 0.15s, color 0.20s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #e6f0e7;
  color: #285a45;
}
nav .cta-primary {
  margin: 0 0 0 8px;
  padding: 8px 24px;
  font-size: 1rem;
}

/* --------- FOOTER --------- */
footer {
  background: #f4f8f3;
  border-radius: 30px 30px 0 0;
  padding: 34px 0 18px 0;
  margin-top: 50px;
  box-shadow: 0 -3px 16px 0 rgba(41, 61, 37, 0.06);
}
footer .container {
  align-items: center;
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 8px 0;
}
footer nav a {
  color: #286278;
  font-size: 1rem;
  padding: 6px 11px;
  border-radius: 12px;
}
footer nav a:hover {
  background: #e4ecda;
}
footer small {
  color: #7d8571;
  font-size: 0.96rem;
  margin-top: 7px;
}
footer img {
  max-height: 45px;
  margin-bottom: 5px;
}

/* --------- STAR RATING --------- */
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
.star-rating img {
  width: 21px;
  height: 21px;
  margin: 0;
  border-radius: 0;
}

/* ------------ FAQ, LISTS & UTILS --------------- */
.faq-snippet {
  background: #eaf7ec;
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0 0 0;
  box-shadow: 0 2px 10px 1px rgba(77, 114, 74, 0.06);
}
.quick-tips {
  background: #f7faf8;
  border-radius: 14px;
  padding: 17px;
  margin-top: 15px;
  margin-bottom: 10px;
  box-shadow: 0 0 8px 0 rgba(77, 114, 74, 0.07);
}
.text-section {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* --------------- MOBILE MENU ------------------- */
.mobile-menu-toggle {
  display: none;
  background: #94cda3;
  color: #2c3e2f;
  border-radius: 10px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 8px;
  transition: background 0.25s, color 0.18s;
  position: relative;
  z-index: 51;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #286278;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #eaf7ec;
  z-index: 200;
  box-shadow: 0 8px 35px 0 rgba(37,63,32,0.23);
  transform: translateX(-100vw);
  transition: transform 0.25s cubic-bezier(.46,.31,.57,1.18);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: #94cda3;
  color: #286278;
  border-radius: 99px;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin: 20px 16px 7px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.18s;
  z-index: 2;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #286278;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0 0 30px;
}
.mobile-nav a {
  color: #286278;
  font-size: 1.13rem;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 15px;
  background: #fff;
  transition: background 0.15s, color 0.14s;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #94cda3;
  color: #235d38;
}

/* -------------- COOKIE CONSENT BANNER & MODAL --------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: #ffffff;
  box-shadow: 0 -8px 28px 0 rgba(61,87,45,.11);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0 0;
  transition: transform 0.24s, opacity 0.24s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p{
  color: #295d30;
  font-size: 1.04rem;
  margin-bottom: 7px;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-banner button {
  font-family: 'Quicksand', Arial, sans-serif;
  border: none;
  border-radius: 99px;
  font-size: 0.99rem;
  padding: 9px 24px;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
  margin: 0 2px 0 0;
  background: #eaf7ec;
  color: #397950;
  box-shadow: 0 2px 9px 0 rgba(41, 61, 37, 0.08);
}
.cookie-banner button.accept {
  background: #94cda3;
  color: #134227;
}
.cookie-banner button:hover, 
.cookie-banner button:focus {
  background: #286278;
  color: #fff;
}

.cookie-modal {
  position: fixed; 
  left: 0; top: 0;width: 100vw; height: 100vh;
  background: rgba(28,50,37,0.36);
  z-index: 600;
  display: flex;
  align-items: center; 
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.23s, pointer-events 0.23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 24px;
  max-width: 370px;
  min-width: 260px;
  width: 96%;
  box-shadow: 0 4px 36px 0 rgba(41,61,37,0.12);
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #285a45;
  font-size: 1.4rem;
  margin-bottom: 9px;
}
.cookie-pref-list {
  display: flex; flex-direction: column; gap: 11px;
  margin: 18px 0 9px 0;
}
.cookie-category {
  display: flex; align-items: center; gap: 18px;
}
.cookie-category label {
  font-size: 1.07rem; color: #397950;
}
.cookie-switch {
  appearance: none;
  width: 36px; height: 22px;
  background: #c8eccd;
  border-radius: 33px;
  border: 0; 
  position: relative;
  outline: none;
  transition: background 0.14s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #94cda3;
}
.cookie-switch:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(61,87,55,0.11);
  transition: transform 0.16s;
}
.cookie-switch:checked:before {
  transform: translateX(13px);
}
.cookie-modal .close-modal {
  position: absolute; top: 14px; right: 18px;
  background: #94cda3;
  color: #286278;
  border-radius: 50%;
  width: 34px; height: 34px;
  border: none;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.14s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #286278;
  color: #fff;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 17px;
}
.cookie-modal-actions button {
  font-family: 'Quicksand', Arial, sans-serif;
  border: none;
  border-radius: 99px;
  font-size: 0.99rem;
  padding: 9px 20px;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
  background: #eaf7ec;
  color: #397950;
  box-shadow: 0 2px 9px 0 rgba(41, 61, 37, 0.08);
}
.cookie-modal-actions button.save {
  background: #94cda3;
  color: #134227;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: #286278;
  color: #fff;
}

/* ------------- ORGANIC DESIGN DECORATIVE --------------- */
body, .section, .hero, footer, .feature, .card, .testimonial-card, .faq-snippet, .quick-tips, .cookie-banner, .cookie-modal-content {
  /* Mimic subtle paper/natural texture for organic style */
  /* optional: background-blend-mode: soft-light; */
}
.section, .hero, .feature, .testimonial-card, .cookie-banner, .cookie-modal-content {
  border-radius: 24px 38px 24px 30px/34px 22px 28px 36px;
}

/* Decorative organic leaf on section heads (can be improved with inline SVG or bg) */
.section h2:before {
  content: '';
  display: inline-block;
  background: url('../assets/icons/leaf.svg') no-repeat center center;
  background-size: 24px 24px;
  width: 24px; height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

/* ------------- RESPONSIVE LAYOUTS ------------- */
@media (max-width: 1080px) {
  .features-grid, .card-container, .content-grid {
    gap: 16px;
    justify-content: flex-start;
  }
  .feature, .card {
    flex: 1 1 47%;
    min-width: 180px;
    max-width: 98%;
  }
  .container {
    padding: 0 6vw;
  }
}
@media (max-width: 900px) {
  .hero .container { min-height: 260px; }
  .hero { min-height: 220px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.00rem; }
  h2 { font-size: 1.42rem; }
  .hero, .section { padding: 24px 10px; border-radius: 0 0 30px 30px; }
  .hero {
    min-height: 170px;
    background-size: 310px 150px;
  }
  .hero .container {
    min-height: 170px;
  }
  header .container {
    padding: 0 5vw;
    min-height: 70px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .card {
    min-width: 90vw;
    max-width: 100vw;
    flex: 1 1 100%;
  }
  .testimonial-card {
    padding: 14px;
    font-size: 0.97rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .section { margin-bottom: 48px; }
}
@media (max-width: 600px) {
  .container {
    padding: 0 2vw;
  }
  .section,
  .hero {
    padding: 14vw 1vw;
    margin-bottom: 30px;
    border-radius: 0;
  }
  .feature,
  .card {
    padding: 18px 6px;
  }
  footer {
    padding: 24px 0 12px 0;
  }
  .testimonial-card {
    padding: 10px;
    gap: 12px;
    font-size: 0.93rem;
  }
  .mobile-nav {
    margin: 20px 0 0 10px;
  }
}

/* --------------- FOCUS VISIBLE ACCESSIBILITY --------------- */
a:focus, button:focus, input:focus {
  outline: 2px solid #94cda3;
  outline-offset: 1px;
}

/* --------- PRINT --------- */
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { color: #222; background: #fff; }
  .section, .hero, .feature, .testimonial-card, .card { background: #fff; box-shadow: none; }
}
