/*==============================
  CSS RESET AND BASE STYLES
==============================*/
html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7FAF6;
  color: #24352C;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  min-width: 320px;
  background: linear-gradient(135deg, #E9EFE4 0%, #f7faea 100%); /* light accent for main bg */
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #24352C;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: middle;
}
a {
  color: #256056;
  text-decoration: none;
  transition: color 0.18s ease;
}
a:focus {
  outline: 2px solid #6D8A4C;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.35em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #CCE2D8;
  padding: 10px 12px;
  background: #fff;
  color: #24352C;
}
input:focus, textarea:focus, select:focus {
  border-color: #6D8A4C;
  outline: 2px solid #6D8A4C;
}

/*==============================
  TYPOGRAPHY
==============================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #256056;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p, ul, ol, blockquote {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}

/*==============================
  LAYOUT CONTAINERS & SPACING
==============================*/
.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  /* Add variants with gradient bg if desired */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(44, 92, 80, 0.10), 0 1.5px 5px 0 rgba(109,138,76,0.09);
  padding: 30px 22px;
  transition: box-shadow 0.2s ease, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(44,92,80,0.12), 0 2px 8px 0 rgba(109,138,76,0.14);
  transform: translateY(-2px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(37,96,86,0.07);
  padding: 22px 18px;
  min-width: 220px;
  flex: 1 1 260px;
}
.service-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(37, 96, 86, 0.06);
  min-width: 200px;
  flex: 1 1 220px;
  padding: 20px 20px 24px 20px;
  margin-bottom: 20px;
  margin-right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-item:last-child {
  margin-right: 0;
}

/*===============
  TESTIMONIALS
===============*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: #E9EFE4;
  border-radius: 15px;
  box-shadow: 0 4px 18px 0 rgba(44, 92, 80, 0.08);
  margin-bottom: 20px;
  color: #224432;
  font-size: 1.04rem;
  position: relative;
  transition: box-shadow 0.18s;
}
.testimonial-card span {
  font-size: 1rem;
  color: #256056;
  font-style: italic;
  font-weight: 600;
}
.testimonial-card p {
  margin-bottom: 0;
}
@media (hover: hover) {
  .testimonial-card:hover {
    box-shadow: 0 8px 36px 0 rgba(44, 92, 80, 0.16);
    background: #f7faea;
  }
}

/*==============================
  NAVIGATION (DESKTOP & MOBILE)
==============================*/
header {
  background: linear-gradient(90deg, #E9EFE4 0%, #f7faea 100%);
  box-shadow: 0 1px 6px 0 rgba(45,96,86,0.06);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 13px 18px;
}
.main-nav .logo img {
  height: 42px;
  width: auto;
  margin-right: 6px;
}
.main-nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
  align-items: center;
}
.main-nav ul li {
  margin-bottom: 0;
}
.main-nav ul li a {
  padding: 7px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: background .18s, color .17s;
  color: #24352C;
}
.main-nav ul li a:hover, .main-nav ul li a:focus,
.footer-navigation a:hover, .footer-navigation a:focus {
  background: #E9EFE4;
  color: #256056;
}
.main-nav .cta.primary {
  margin-left: 18px;
}

/* Hide hamburger on desktop */
.mobile-menu-toggle {
  display: none;
}

/**********
 MOBILE MENU
***********/
.mobile-menu-toggle {
  font-size: 2.1rem;
  padding: 9px 15px;
  color: #256056;
  background: #E9EFE4;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.18s, color .16s, transform .18s;
  z-index: 101;
  box-shadow: 0 2px 6px 0 rgba(44,92,80,0.07);
}
.mobile-menu-toggle:active {
  background: #CCE2D8;
  transform: scale(0.98) rotate(1deg);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #E9EFE4 65%, #BBD7C7 100%);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.3,.7,0,1), opacity .2s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #256056;
  background: #CCE2D8;
  border-radius: 6px;
  margin: 22px 18px 0 0;
  align-self: flex-end;
  transition: background .15s;
  border: none;
  z-index: 201;
}
.mobile-menu-close:active {
  background: #a4c8b7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 95vw;
  max-width: 320px;
  padding: 32px 28px 16px 28px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #256056;
  text-decoration: none;
  padding: 14px 12px;
  border-radius: 7px;
  transition: background 0.13s, color .12s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #CCE2D8;
  color: #24352C;
}

@media (max-width: 980px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 834px) {
  .main-nav {
    padding: 13px 8px;
  }
  .mobile-nav {
    max-width: 220px;
    padding-right: 14px;
    padding-left: 17px;
  }
}

/*==============================
  CTA BUTTONS
==============================*/
.cta {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  transition: background .18s, box-shadow .19s, color .13s, transform .2s;
  box-shadow: 0 2px 8px 0 rgba(44,92,80,0.07);
  cursor: pointer;
  letter-spacing: .01em;
  border: none;
}
.cta.primary {
  color: #fff;
  background: linear-gradient(90deg, #256056 0%, #6D8A4C 100%);
}
.cta.primary:focus, .cta.primary:hover {
  background: linear-gradient(90deg, #256056 80%, #4E764B 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px 0 rgba(44, 92, 80, 0.10);
}
.cta.secondary {
  color: #256056;
  background: #fff;
  border: 2px solid #256056;
}
.cta.secondary:focus, .cta.secondary:hover {
  background: #CCE2D8;
  color: #224432;
}

/*==============================
  FOOTER
==============================*/
footer {
  background: linear-gradient(90deg, #E9EFE4 0%, #BBD7C7 100%);
  padding: 40px 0 18px 0;
}
.footer-navigation {
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.02rem;
}
.footer-navigation a {
  color: #256056;
  margin: 0 6px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 5px;
  padding: 2px 7px;
  transition: background .13s;
}
.contact-info {
  text-align: center;
  font-size: .99rem;
  color: #224432;
}
.social-links {
  text-align: center;
  margin-top: 12px;
}

/*==============================
  TEXT & LIST SECTIONS
==============================*/
.text-section {
  margin-bottom: 14px;
}
.text-section ul, .text-section ol {
  margin-bottom: 12px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  color: #26554B;
}
.text-section strong {
  color: #256056;
  font-weight: 700;
}
.text-section a {
  color: #6D8A4C;
  text-decoration: underline;
}

/* For default UL/OLs outside .text-section */
ul li, ol li {
  margin-bottom: 7px;
}

/*==============================
  GRADIENT STYLE SECTIONS
==============================*/
section:nth-child(odd) {
  background: linear-gradient(90deg, #E9EFE4 70%, #CCE2D8 100%);
  border-radius: 0 0 40px 40px;
}
section:nth-child(even) {
  background: none;
}
/* Hero section variant */
section:first-child {
  background: linear-gradient(120deg, #CCE2D8 10%, #E9EFE4 95%);
  border-radius: 0 0 40px 40px;
  padding-bottom: 58px;
}

/*==============================
  RESPONSIVE LAYOUTS
==============================*/
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .main-nav {
    padding: 7px 4px;
  }
  .section {
    padding: 28px 7px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card {
    padding: 16px 10px;
    font-size: .97rem;
  }
  .card {
    padding: 18px 10px;
  }
  .feature-item, .service-item {
    min-width: 0;
    width: 100%;
    margin-right: 0;
    margin-bottom: 14px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/*==============================
  SHADOWS & CARD EFFECTS
==============================*/
.card, .feature-item, .service-item, .testimonial-card {
  box-shadow: 0 2px 12px 0 rgba(37,96,86,0.07);
}

/*==============================
  COOKIE BANNER AND POPUP
==============================*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #256056 80%, #6D8A4C 100%);
  color: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 15px 18px;
  min-height: 70px;
  box-shadow: 0 -3px 14px 0 rgba(37,96,86,0.10);
  transition: transform .30s cubic-bezier(.2,.85,.4,1), opacity .2s;
  font-size: 1rem;
  gap: 30px;
}
.cookie-banner p {
  color: #fff;
  font-size: .98rem;
  margin-bottom: 0;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  padding: 9px 20px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: #E9EFE4;
  color: #256056;
  margin-left: 0;
  transition: background .17s, color .17s, transform .15s;
  box-shadow: 0 2px 6px 0 rgba(37,96,86,0.08);
  outline: none;
}
.cookie-banner .cookie-btn.primary {
  background: #6D8A4C;
  color: #fff;
}
.cookie-banner .cookie-btn.primary:hover, .cookie-banner .cookie-btn.primary:focus {
  background: #89b26d;
  color: #fff;
  transform: scale(1.04);
}
.cookie-banner .cookie-btn.secondary:hover, .cookie-banner .cookie-btn.secondary:focus {
  background: #CCE2D8;
  color: #256056;
  transform: scale(1.04);
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 6px 12px 7px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(60,80,65,0.53);
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  width: 94vw;
  max-width: 420px;
  box-shadow: 0 10px 50px 0 rgba(44,92,80,0.14);
  padding: 34px 34px 28px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 10003;
  animation: modalpopin .35s cubic-bezier(0.5,1.35,0.3,1);
}
@keyframes modalpopin {
  0% { opacity: 0; transform: scale(0.95) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: #256056;
  margin-bottom: 9px;
  font-size: 1.2rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 17px; right: 18px;
  font-size: 2rem;
  color: #256056;
  background: #E9EFE4;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-category label {
  font-weight: 600;
  color: #256056;
  display: flex;
  gap: 7px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  border-radius: 16px;
  background: #CCE2D8;
  position: relative;
  transition: background .18s;
  cursor: pointer;
  display: inline-block;
}
.cookie-toggle input { display: none; }
.cookie-toggle .slider {
  position: absolute;
  left: 3px; top: 3px;
  height: 16px;
  width: 16px;
  background: #256056;
  border-radius: 50%;
  transition: left .15s, background .15s;
}
.cookie-toggle.active {
  background: #6D8A4C;
}
.cookie-toggle.active .slider {
  left: 23px;
  background: #6D8A4C;
}
.cookie-modal .cookie-save {
  margin-top: 18px;
  padding: 10px 28px;
  background: #6D8A4C;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  transition: background .16s, transform .14s;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: #4E764B;
  transform: scale(1.04);
}

/* Hide modal by default */
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 550px) {
  .cookie-modal {
    padding: 16px 7px;
    max-width: 98vw;
  }
}

/*==============================
  VISUAL HIERARCHY AND IMAGES
==============================*/
section img, .feature-item img, .text-section img, ul img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-right: 0.6em;
  background: #E9EFE4;
  border-radius: 8px;
  box-shadow: 0 1px 4px 0 rgba(109,138,76,0.12);
}

/* For lists with icons */
ul img, .text-section ul img {
  margin-right: 11px;
  margin-bottom: -5px;
}

/*==============================
  UTILITY CLASSES
==============================*/
.mt-2 { margin-top: 16px !important; }  .mb-2 { margin-bottom: 16px !important; }
.mt-4 { margin-top: 32px !important; }  .mb-4 { margin-bottom: 32px !important; }
.text-center { text-align: center; }

/*==============================
  SCROLL & FOCUS INDICATION
==============================*/
::-webkit-scrollbar {
  width: 10px;
  background: #E9EFE4;
}
::-webkit-scrollbar-thumb {
  background: #CCE2D8;
  border-radius: 6px;
}

:focus-visible {
  outline: 2px solid #6D8A4C;
  outline-offset: 2px;
}

/*==============================
  ANIMATIONS FOR MICRO-INTERACTIONS
==============================*/
.cta, .feature-item, .service-item, .testimonial-card, .card {
  transition: box-shadow .18s, background .18s, transform .17s;
}
.cta:active, .feature-item:active, .service-item:active {
  transform: scale(0.97);
}

/*==============================
  ENSURE MINIMAL GAPS
==============================*/
.feature-grid, .service-list, .card-container, .content-grid, .text-image-section {
  gap: 20px;
}
.feature-item, .service-item, .card, .testimonial-card {
  margin-bottom: 20px;
}
section + section {
  margin-top: 18px;
}

/*==============================
  PRINT SUPPORT
==============================*/
@media print {
  nav, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, .cta, footer {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #1b1b1b !important;
  }
}

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