/* ================================
   CSS RESET & BASE TYPOGRAPHY
   ================================ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2F3E2B;
  background-color: #f4f6f1;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 10px;
}
a {
  color: #377c57;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #19486A;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.25rem; }

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 6px;
  font-size: 1rem;
}
p, .subheadline {
  font-size: 1.13rem;
  margin-bottom: 14px;
}
strong {
  font-weight: bold;
}

/* ================================
   BRAND & THEME COLOR VARIABLES
   ================================ */
:root {
  --color-primary: #19486A;
  --color-secondary: #42B2A7;
  --color-accent: #F6F8FA;
  --color-earth-bg: #f4f6f1;
  --color-earth: #8E9775;
  --color-green-dark: #377C57;
  --color-green: #4DA167;
  --color-brown: #B09B71;
  --color-bark: #706239;
  --color-card-bg: #fff;
  --color-text: #2F3E2B;
  --color-success: #37ad70;
  --color-error: #bc4035;
  --color-shadow: rgba(50,80,61,0.08);
}

/* ================================
   LAYOUT & SPACING PATTERNS
   ================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 40px 120px 60px 120px/110px 60px 110px 60px;
}
/* Ornamental organic background for visual feel */
section:nth-child(odd) {
  background: var(--color-accent);
}
section:nth-child(even) {
  background: var(--color-earth-bg);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container, .service-cards, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card, .service-card {
  margin-bottom: 20px;
  background: var(--color-card-bg);
  border-radius: 24px 72px 36px 72px/54px 36px 54px 36px;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  padding: 32px 24px 28px 28px;
  min-width: 280px;
  flex: 1 1 290px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 8px 24px 0 rgba(67,178,167,0.14);
  transform: translateY(-4px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  margin-bottom: 20px;
  background: transparent;
  font-size: 1.09rem;
  line-height: 1.7;
}
.feature-list, .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 14px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 28px 60px 28px 48px;
  background: #fff;
  color: #19486A;
  box-shadow: 0 4px 18px 0 var(--color-shadow);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 500px;
  flex: 1 1 320px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.testimonial-card p {
  font-size: 1.08rem; font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-green-dark);
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 12px 30px 0 rgba(34,90,44,0.13);
  transform: scale(1.025);
}

/* ================================
   BUTTONS, CTA, LINKS
   ================================ */
.cta-primary, .service-card a, .text-section a {
  display: inline-block;
  background: var(--color-green-dark);
  color: #fff;
  border-radius: 36px 80px 40px 80px/70px 36px 70px 36px;
  padding: 14px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 0px 8px 0 rgba(77,161,103,0.08);
  margin-top: 8px;
  margin-bottom: 6px;
  border: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.16s;
  cursor: pointer;
  position: relative;
  outline: none;
}
.cta-primary:hover, .service-card a:hover,
.cta-primary:focus, .service-card a:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 6px 16px 0 rgba(34,144,111,0.25);
  transform: translateY(-2px) scale(1.04);
}
nav a, .footer-nav a {
  padding: 8px 18px;
  border-radius: 28px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  transition: background 0.13s, color 0.14s;
}
nav a.cta-primary {
  background: var(--color-green-dark);
  color: #fff;
  font-weight: 700;
  margin-left: 16px;
  padding: 10px 32px;
  border-radius: 36px;
  box-shadow: 0 2px 15px 0 rgba(34,144,111,0.10);
}
nav a.cta-primary:hover, nav a.cta-primary:focus {
  background: var(--color-secondary);
}
nav a:hover, .footer-nav a:hover, nav a:focus, .footer-nav a:focus {
  background: var(--color-accent);
  color: var(--color-green-dark);
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
header {
  background: #fff;
  border-bottom: 1.5px solid #e9ebea;
  box-shadow: 0 2px 8px 0 rgba(34,90,44,0.04);
  z-index: 201;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
header nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
header img {
  height: 56px;
  width: auto;
}

/* HIDE MOBILE BURGER ON DESKTOP */
.mobile-menu-toggle {
  display: none;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: #efece6;
  border-top: 1.5px solid #e1e4da;
  padding: 40px 0 30px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.21rem;
  color: var(--color-bark);
  font-weight: 700;
}
.footer-brand img {
  height: 40px; width: auto;
}
.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-green-dark);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: transparent;
  font-weight: 500;
  padding: 7px 18px;
}

/* ================================
   RESPONSIVE NAV & MOBILE MENU
   ================================ */
.mobile-menu-toggle {
  background: var(--color-green-dark);
  color: #fff;
  border: none;
  border-radius: 48px;
  padding: 12px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(77,161,103,0.17);
  display: none;
  position: relative;
  z-index: 500;
  margin-left: 12px;
  transition: background 0.14s, color 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 88vw;
  max-width: 340px;
  background: #fff;
  box-shadow: -4px 0 32px 0 rgba(24,48,19,0.12);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(110%);
  transition: transform 0.31s cubic-bezier(.6,-0.5,.61,1.6);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  align-self: flex-end;
  margin: 18px 18px 2px 0;
  cursor: pointer;
  transition: color 0.13s;
  z-index: 10001;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-green-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 44px 30px 22px 26px;
  margin-top: 8px;
}
.mobile-nav a {
  color: var(--color-primary);
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  padding: 12px 0 12px 2px;
  border-radius: 28px;
  font-weight: 500;
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-green-dark);
}
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 1020px) {
  /* Mobile menu overlays above header */
  .mobile-menu {
    width: 100vw;
    max-width: 96vw;
  }
  .footer-brand, .footer-nav {
    justify-content: center;
  }
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 10px;
  }
}

/* ================================
   ORGANIC SHAPES & NATURAL TEXTURES
   ================================ */
border-radius: 24px 72px 36px 72px/54px 36px 54px 36px;  /* Organic style used through cards */
section, .card, .service-card, .testimonial-card {
  background-image: none; /* Could optionally add subtle textures */
}
/* Bokeh/organic decorative accent (optional) */
.section:before {
  content: '';
  display: none; /* You may add for visual accent */
}

/* ================================
   MOBILE-FIRST RESPONSIVE DESIGN
   ================================ */
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 26px 2px;
    border-radius: 24px 40px 24px 40px/40px 24px 40px 24px;
  }
  .content-wrapper, .card-container, .service-cards, .card-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .feature-list, .feature-item {
    gap: 10px;
  }
  .testimonial-card, .card, .service-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  footer .container {
    flex-direction: column;
    align-items: center;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
}

/* ================================
   ORGANIC ICON STYLING
   ================================ */
.feature-list img, li img {
  width: 32px; height: 32px;
  flex-shrink: 0;
  margin-right: 6px;
  filter: grayscale(0.16) hue-rotate(-12deg) saturate(1);
}

/* ================================
   FORM, INPUT & UTILITIES
   ================================ */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1.5px solid #b5c6aa;
  border-radius: 18px 38px 22px 38px/28px 18px 28px 18px;
  padding: 12px 14px;
  font-size: 1rem;
  background: #f9fbf6;
  margin-bottom: 12px;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-green-dark);
  outline: none;
}
button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
}

/* ================================
   COOKIE CONSENT BANNER (FIXED BOTTOM)
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 12000;
  background: #fbfff8;
  border-top: 2.5px solid #d8eabb;
  box-shadow: 0 -2px 24px 0 rgba(62,78,53,0.06);
  padding: 22px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 36px;
  font-size: 1rem;
  animation: cookieSlideIn 0.5s cubic-bezier(.62,-0.20,.38,1.5);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-msg {
  flex: 2 1 60%;
  color: var(--color-text);
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 9px;
}
.cookie-banner button {
  padding: 10px 22px;
  background: var(--color-green-dark);
  color: #fff;
  border-radius: 22px 40px 18px 40px/32px 18px 32px 18px;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.13s, color 0.14s, transform 0.1s, box-shadow 0.1s;
  box-shadow: 0 1px 8px rgba(71,130,77,0.07);
  cursor: pointer;
  border: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: var(--color-green-dark);
  border: 1.5px solid #b5c6aa;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--color-accent);
  color: var(--color-green-dark);
}

/* Hide Cookie Banner on Accept */
.cookie-banner.hide {
  display: none;
  pointer-events: none;
}

/* ================================
   COOKIE MODAL POPUP
   ================================ */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 13001;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(71,130,77, 0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .24s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 40px 30px 30px 34px;
  border-radius: 40px 80px 40px 60px/80px 40px 80px 40px;
  box-shadow: 0 12px 48px rgba(34,44,19,0.13);
  max-width: 430px;
  width: 98vw;
  color: var(--color-text);
  z-index: 12002;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: cookiePopIn 0.32s cubic-bezier(.6,-0.1,.57,1.33);
}
@keyframes cookiePopIn {
  from { transform: scale(0.93) translateY(80px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-green-dark);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1.04rem;
  color: #285b3d;
  margin-left: 5px;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--color-green-dark);
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 7px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  position: absolute;
  top: 16px; right: 18px;
  cursor: pointer;
  transition: color 0.13s;
  z-index: 16000;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--color-green-dark);
}

@media (max-width: 490px) {
  .cookie-modal {
    padding: 20px 10px 20px 13px;
  }
}

/* ================================
   MICRO-INTERACTIONS & HOVER ANIMATIONS
   ================================ */
a, .cta-primary, .service-card, .card, .testimonial-card, .mobile-menu-toggle {
  transition: color 0.14s, background 0.18s, box-shadow 0.18s, transform 0.15s;
}

/* ================================
   ORGANIC ACCENTS: NATURAL SHADOWS
   ================================ */
.card, .service-card, .testimonial-card {
  box-shadow: 0 2px 14px 0 var(--color-shadow);
}

/* ================================
   VISUAL ACCESSIBILITY
   ================================ */
section, .testimonial-card {
  color: #19486A;
  background-clip: padding-box;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
}
section {
  background-clip: border-box;
}
section h1, section h2, section h3, section h4, section h5, section h6 {
  color: var(--color-primary);
}

/* ================================
   UTILITIES
   ================================ */
.hide, [hidden] {
  display: none !important;
}

/* Spacing between content blocks globally */
section + section {
  margin-top: 16px;
}

/* ================================
   SCROLLBAR STYLING (Optional)
   ================================ */
::-webkit-scrollbar {
  width: 9px;
  background: var(--color-earth-bg);
}
::-webkit-scrollbar-thumb {
  background: #b5c6aa;
  border-radius: 14px;
}

/* ================================
   PRINT BASICS
   ================================ */
@media print {
  * {
    color: #000 !important;
    background: none !important;
    box-shadow: none !important;
  }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop {
    display: none !important;
  }
  section, .container {
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
