/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #18322c;
  background: #fafaf6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  font-size: 16px;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  border-style: none;
  display: block;
}
a {
  color: #37B079;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #163049;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

:root {
  --brand-primary: #163049;
  --brand-secondary: #37B079;
  --brand-accent: #FFFFFF;
  --color-bg: #fafaf6;
  --color-heading: #163049;
  --color-body: #18322c;
  --color-muted: #687871;
  --color-earth: #E8E3D8;
  --color-forest: #39735c;
  --color-bark: #876e5c;
  --radius-card: 18px;
  --radius-btn: 30px;
  --shadow-soft: 0 2px 10px 0 rgba(55, 176, 121, 0.11);
  --shadow-card: 0 4px 20px 0 rgba(55, 176, 121, 0.12);
  --transition: all .25s cubic-bezier(.6,.2,.33,1);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
p, li {
  font-size: 1rem;
  color: var(--color-body);
  margin-bottom: 14px;
}
strong, b { font-weight: 700; }

@media (min-width: 600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.4rem; }
}

/* CONTAINER LAYOUTS & FLEX UTILS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fafaf6;
  border-radius: 28px;
}

/* FLEX SPACING PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--brand-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 20px;
  transition: box-shadow .2s, transform .22s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(55, 176, 121, 0.21);
  transform: translateY(-2px) scale(1.016);
}
.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: #f7f8f4;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
  flex-direction: column;
  transition: box-shadow .2s;
}
.testimonial-card p {
  color: #163049;
  font-size: 1.08rem;
  margin: 0 0 8px 0;
}
.testimonial-card span {
  color: var(--color-forest);
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg);
  border-radius: 20px 42px 18px 38px;
  box-shadow: var(--shadow-soft);
  padding: 28px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 230px;
  transition: background .18s, box-shadow .2s;
}
.feature-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.feature-item:hover {
  background: #e6f7eb;
  box-shadow: 0 6px 32px rgba(55, 176, 121, 0.13);
}

/* GENERIC */
body > header,
body > footer {
  background: #e8e3d8;
}
header {
  border-bottom: 1px solid #d0ccc3;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #163049;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 16px;
  transition: background .15s, color .2s;
}
header nav a:hover,
header nav a:focus {
  background: #d1ecdf;
  color: #39735c;
}
header .btn-primary {
  margin-left: 20px;
}

/* LOGO IMAGE */
header a > img, .footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* PRIMARY BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #37B079 85%, #39735c 100%);
  border-radius: var(--radius-btn);
  border: none;
  outline: none;
  padding: 12px 38px;
  font-size: 1.08rem;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px 0 rgba(55,176,121,0.09);
  cursor: pointer;
  transition: background .18s, color .22s, box-shadow .2s, transform .18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #163049;
  color: #fff;
  box-shadow: 0 4px 24px rgba(22, 48, 73, 0.19);
  transform: translateY(-2px) scale(1.018);
}

/* --- LISTS & CARDS --- */
.service-list, .value-list, .benefit-list, .article-list, .category-list,
.step-list, .process-list, .case-study-list, .team-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.service-list li, .value-list li, .benefit-list li, .article-list li,
.category-list li, .step-list li, .team-member, .case-study-item, .faq-item {
  background: var(--brand-accent);
  border-radius: 18px 28px 15px 36px;
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
  color: var(--color-body);
  font-size: 1rem;
  transition: background .15s, box-shadow .18s;
  margin-bottom: 0;
  
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-list img{
  max-width: 50px;
}
.service-list li:hover, .value-list li:hover, .benefit-list li:hover,
.article-list li:hover, .team-member:hover, .case-study-item:hover {
  background: #f0f9f5;
  box-shadow: 0 6px 24px rgba(55,176,121,0.10);
}
.category-list li a {
  display: inline-block;
  padding: 6px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #39735c;
  background: #e1f4ea;
  border-radius: 16px;
  transition: background .15s, color .15s;
  font-size: 1rem;
}
.category-list li a:hover {
  background: #37B079;
  color: #fff;
}

.benefit-list li {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.benefit-list img {
  width: 42px;
  height: 42px;
}
.process-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
}
.process-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #e8ecdf;
  border-radius: 20px 32px 23px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.01rem;
  color: #39735c;
  padding: 18px 18px;
  min-width: 210px;
  flex: 1 1 220px;
}
.process-step img {
  width: 34px;
  height: 34px;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  cursor: pointer;
  border-left: 5px solid #37B079;
  padding-left: 16px;
  background: #fcfcfa;
  box-shadow: var(--shadow-soft);
  transition: border-color .15s, box-shadow .2s;
}
.faq-item:hover {
  border-color: #39735c;
  box-shadow: 0 5px 18px rgba(55,176,121,0.08);
}
.faq-item h3 {
  margin-bottom: 6px;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #39735c;
}
.faq-item p {
  color: #18322c;
  font-size: 1rem;
}

/* TEAM LIST */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  flex: 1 1 250px;
}

/* CASE STUDY LIST */
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-study-item {
  flex: 1 1 260px;
  background: #f7f8f4;
}

.result-stats ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 38px;
  padding-left: 8px;
}
.result-stats li {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #39735c;
  background: #e1f4ea;
  border-radius: 16px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 1rem;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  margin: 18px 0 0 0;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 0;
  color: #39735c;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.contact-info img {
  height: 24px;
  width: 24px;
}

.map-embed {
  background: #f3f5ed;
  padding: 16px 20px;
  border-radius: 20px;
  box-shadow: 0 1px 4px 0 rgba(55,176,121,0.06);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.map-embed img {
  width: 32px;
  height: 32px;
}

/* FOOTER */
footer {
  background: #e8e3d8;
  padding: 30px 0 0 0;
  border-top: 1px solid #d0ccc3;
  color: #193828;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 24px;
}
.footer-logo {
  flex: 0 0 56px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-nav a {
  color: #39735c;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 13px;
  transition: background .15s, color .18s;
}
.footer-nav a:hover {
  background: #d1ecdf;
  color: #163049;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact p {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #18322c;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}

/* MOBILE MENU & HAMBURGER */
.mobile-menu-toggle {
  display: flex;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--brand-secondary);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: background .15s, color .17s;
  z-index: 101;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #163049;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(55,176,121,0.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 18px;
  padding-left: 26px;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.6,.1,.34,1);
  width: 100vw;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.9rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1211;
  box-shadow: 0 1px 8px rgba(22,48,73,0.06);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #37B079;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 38px;
  width: 90vw;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  padding: 16px 8px 10px 0;
  border-radius: 12px;
  transition: background .13s, color .15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #163049;
  color: #E1F4EA;
}

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

/* COOKIE BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #163049;
  color: #fff;
  font-size: 1rem;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 -2px 18px rgba(22,48,73, .14);
  z-index: 2222;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 34px;
  border-radius: 20px 20px 0 0;
  transition: transform .28s cubic-bezier(.76,.04,.44,.99), opacity .14s;
}
.cookie-consent-banner.hide {
  transform: translateY(150%);
  opacity: 0;
}
.cookie-consent-text {
  max-width: 570px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.cookie-btns {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 24px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: var(--radius-btn);
  border: none;
  outline: none;
  padding: 11px 30px;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 0;
  transition: background .12s, color .15s, transform .12s;
}
.cookie-btn.accept {
  background: #37B079;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #39735c;
}
.cookie-btn.reject {
  background: #e8e3d8;
  color: #163049;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e1f4ea;
  color: #39735c;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 9px 20px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #37B079;
  background: #fff;
  border-color: #37B079;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33, 56, 47, 0.45);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity .22s;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal .cookie-modal-content {
  background: #f7f8f4;
  border-radius: 28px;
  box-shadow: 0 6px 45px rgba(22,48,73,0.17);
  max-width: 430px;
  width: 90vw;
  padding: 38px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPop .38s cubic-bezier(.6,.3,.3,1);
}
@keyframes modalPop {
  0% { opacity: 0; transform: scale(.95) translateY(40px); }
  95% {opacity: 1;}
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px; right: 16px;
  background: transparent;
  border: none;
  color: #39735c;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: background .13s, color .13s;
}
.cookie-modal .close-cookie-modal:hover {
  background: #e1f4ea;
}
.cookie-modal h2 {
  font-size: 1.31rem;
  margin-bottom: 9px;
  color: #39735c;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #193828;
  font-size: 1.09rem;
  margin-bottom: 0;
}
.cookie-modal .cookie-toggle {
  accent-color: #37B079; /* fallback if not supported */
  appearance: none;
  width: 38px;
  height: 22px;
  background: #d1ecdf;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .12s;
  margin-right: 6px;
}
.cookie-modal .cookie-toggle:checked {
  background: #37B079;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  box-shadow: 0 1px 7px rgba(22,48,73, 0.11);
  border-radius: 50%;
  position: absolute;
  left: 3px;
  top: 3px;
  transition: left .17s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 19px;
}
.cookie-modal .cookie-category .desc {
  color: #687871;
  font-size: 0.97rem;
}
.cookie-modal .cookie-btns {
  margin: 17px 0 0 0;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 10px 22px;
}
.cookie-modal .cookie-btn.accept {
  background: #37B079;
  color: #fff;
  border: none;
}
.cookie-modal .cookie-btn.reject {
  background: #e8e3d8;
  color: #163049;
  border: none;
}


/* RESPONSIVE: MOBILE-FIRST */
@media (max-width: 880px) {
  .container {
    max-width: 100%;
    padding-left: 7px;
    padding-right: 7px;
  }
  .content-wrapper,
  .section {
    padding: 28px 8px;
  }
  .section {
    margin-bottom: 50px;
  }
  footer .container {
    flex-direction: column !important;
    gap: 28px;
  }
  .footer-nav {
    gap: 12px;
    margin-bottom: 8px;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .case-study-list,
  .feature-grid,
  .testimonial-slider,
  .team-list,
  .process-list,
  .benefit-list {
    flex-direction: column !important;
    gap: 18px 0;
  }
  .service-list, .value-list, .article-list, .category-list {
    gap: 15px;
  }
  .card-container {
    gap: 16px;
  }
  .card {
    padding: 16px 8px;
  }
  .feature-item {
    min-width: 0;
    padding: 16px 10px;
  }
  .testimonial-card {
    padding: 14px 7px;
  }
  .cta-section {
    flex-direction: column;
    gap: 11px;
    align-items: stretch;
  }
  header .container {
    flex-direction: row;
    gap: 4px;
    min-height: 48px;
    padding: 0 5px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    padding: 25px 8px 16px 8px;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-btns {
    gap: 11px;
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
  }
  .cookie-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.09rem; }
  .content-wrapper {
    gap: 10px;
  }
  .section {
    padding: 22px 2px;
    margin-bottom: 30px;
    border-radius: 18px;
  }
}

/* Misc - for .text-section blocks */
.text-section {
  margin: 9px 0 13px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* Map vector img size fix */
.text-section img, .map-embed img {
  max-width: 44px;
}

/*--- Utility ---*/
.hide {display: none !important;}

/* Focus visible for all links and buttons */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid #37B079;
  outline-offset: 2px;
}

/* Subtle organic decorative blobs - example for backgrounds */
.section {
  position: relative;
  overflow: hidden;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  width: 210px; height: 100px;
  top: -80px; left: -60px;
  background: #e1f4ea;
  opacity: 0.28;
  border-radius: 70% 38% 54% 67%;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  width: 130px; height: 60px;
  bottom: -40px; right: -40px;
  background: #f2ecdc;
  opacity: 0.18;
  border-radius: 64% 72% 41% 48%;
  z-index: 0;
}
.content-wrapper, .card, .feature-item, .testimonial-card,
.section > *, .process-step,
.service-list li, .benefit-list li, .case-study-item {
  position: relative;
  z-index: 1;
}

/* Ensure no content overlap (CRITICAL) */
.card, .feature-item, .testimonial-card, .case-study-item, .team-member {
  min-width: 0;
  word-break: break-word;
}


/* PRINTING: Prevent content splitting awkwardly */
@media print {
  .container, .card, .feature-item, .section, .card-container {
    page-break-inside: avoid;
  }
}

