/* =========================
   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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FBFAF7;
  color: #173B4B;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #388E3C;
  text-decoration: none;
  transition: color .22s;
}
a:hover, a:focus {
  color: #00695C;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
  padding-left: 1em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
/* =========================
   TYPOGRAPHY (Hierarchy)
   ========================= */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  color: #173B4B;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -.015em;
  margin-bottom: 18px;
  color: #2E5740;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #234D27;
}
h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #25583C;
}
p, .text-section {
  font-size: 1rem;
  line-height: 1.7;
  color: #31534B;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 600;
  color: #173B4B;
}
.text-section {
  margin-bottom: 24px;
}
.tags {
  font-size: 0.95em;
  color: #388E3C;
  font-weight: 500;
  letter-spacing: 0.04em;
}
/* =========================
   BRAND, NATURE ORGANIC STYLE
   ========================= */
:root {
  --primary: #173B4B;
  --secondary: #90A4AE;
  --accent: #E0F7FA;
  --earth-olive: #7D945B;
  --earth-sand: #E5DEC7;
  --nature-leaf: #388E3C;
  --nature-dark: #234D27;
  --nature-brown: #A08E6A;
  --nature-bg: #FBFAF7;
  --card-radius: 20px;
  --section-radius: 32px;
  --hover-lift: 0 4px 18px 0 rgba(80,81,57,0.11);
  --shadow-subtle: 0 2px 10px rgba(68, 90, 50, 0.07);
  --shadow-strong: 0 4px 18px 0 rgba(68, 90, 50, 0.13);
  --transition: .23s cubic-bezier(.51,.17,.74,.87);
}

body {
  background: var(--nature-bg);
  color: var(--primary);
}
/* Organic shape: sections have large border-radius & earth tone bg */
section, .section {
  background: var(--earth-sand);
  border-radius: var(--section-radius);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow-subtle);
}
.section-cta {
  background: var(--accent);
  border-radius: var(--section-radius);
  box-shadow: var(--shadow-subtle);
  text-align: center;
}


/* =========================
   LAYOUTS & CONTAINER
   ========================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container, .feature-grid, .service-grid, .blog-list, .card-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  box-shadow: var(--hover-lift);
  transform: translateY(-4px) scale(1.018);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-subtle);
  color: #172D1A;
  font-size: 1.06rem;
  position: relative;
  border-left: 6px solid var(--nature-leaf);
  min-width: 0;
}
.testimonial-card p {
  color: #254336;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-card span {
  color: var(--nature-leaf);
  font-weight: 600;
  letter-spacing: .03em;
}
/* Feature item is vertical and spaced as per requirements */
.feature-item, .feature, .service, .team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--card-radius);
  padding: 22px 18px 22px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 245px;
  max-width: 340px;
  flex: 1 1 260px;
}
.feature:hover, .service:hover, .team-member:hover {
  box-shadow: var(--hover-lift);
  transform: scale(1.015) translateY(-2px);
}
.feature img, .service img, .team-member img {
  width: 43px;
  height: 43px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent);
  padding: 3px;
}
.team-member h2, .team-member h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.22rem;
  font-weight: 600;
}
/* BLOG/CATEGORIES */
.blog-list {
  gap: 24px;
}
.blog-post {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 22px 18px;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
  flex: 1 1 270px;
  max-width: 340px;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-post:hover {
  box-shadow: var(--hover-lift);
}
.blog-post h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--nature-dark);
}
.blog-categories a {
  background: var(--earth-olive);
  color: #fff;
  border-radius: 18px;
  padding: 3px 16px;
  margin-right: 6px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.blog-categories a:hover {
  background: var(--nature-leaf);
  color: #fff;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(23,59,75,0.05);
  padding: 0 0 0 0;
  margin-bottom: 24px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 75px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  background: none;
  padding: 4px 10px;
  border-radius: 12px;
  transition: background var(--transition), color var(--transition);
}
header nav a.cta {
  background: var(--nature-leaf);
  color: #fff;
  padding: 7px 22px;
  margin-left: 6px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(56,142,60,0.10);
  font-weight: 700;
  transition: background var(--transition), box-shadow var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--nature-leaf);
  color: #fff;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #2E5740;
  color: #fff;
  box-shadow: var(--hover-lift);
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nature-leaf);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  margin-left: 12px;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2E5740;
  color: #fff;
  box-shadow: var(--hover-lift);
  outline: none;
}
/* Hide nav for mobile, show hamburger */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
/* =========================
   MOBILE SLIDE MENU
   ========================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,59,75,0.93);
  color: #fff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100vw);
  transition: transform .33s cubic-bezier(.73,.1,.29,1.23);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 23px;
  right: 23px;
  cursor: pointer;
  z-index: 1002;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(222,243,232,0.13);
  outline: none;
}
.mobile-nav {
  margin-top: 80px;
  width: 100%;
  padding: 0 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  background: none;
  padding: 12px 0;
  border-radius: 10px;
  width: 100%;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #388E3C;
  color: #E0F7FA;
}


/* =========================
   HERO & MAIN INTERACTION
   ========================= */
.hero {
  min-height: 410px;
  background: linear-gradient(120deg, #E0F7FA 40%, #E5DEC7 100%);
  border-radius: var(--section-radius);
  box-shadow: 0 4px 20px rgba(56, 142, 60, 0.04);
  margin-bottom: 60px;
  padding: 56px 20px 54px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 570px;
  gap: 22px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--nature-dark);
  margin-bottom: 15px;
  letter-spacing: -.015em;
}
.hero p {
  margin-bottom: 22px;
  font-size: 1.18rem;
  color: #254336;
}


/* =========================
   BUTTONS & CTA
   ========================= */
.cta, button, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 34px;
  background: var(--nature-leaf);
  color: #fff;
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(56,142,60,0.12);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition);
  margin: 6px 0 6px 0;
}
.cta:hover, .cta:focus, button:hover, button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #245F34;
  color: #F2FFE9;
  box-shadow: var(--hover-lift);
  outline: none;
  transform: translateY(-2px) scale(1.01);
}
/* Secondary and neutral buttons for Cookie Banner */
.cookie-btn.reject {
  background: #fff;
  color: var(--nature-leaf);
  border: 2px solid var(--nature-leaf);
}
.cookie-btn.reject:hover {
  background: #F4FDE2;
  color: #1B5E20;
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--nature-dark);
  border: 1px solid #8FC4BA;
}
.cookie-btn.settings:hover {
  background: #B8E7DB;
}

/* =========================
   SECTIONS & SPACING PATTERNS
   ========================= */
.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;
}

/* =========================
   UTILITIES & ORGANIC DECOR
   ========================= */
.map-embed {
  border-radius: 18px;
  background: #E0F7FA;
  box-shadow: 0 2px 8px rgba(56,142,60,0.06);
  padding: 18px 18px;
  font-size: 1rem;
  color: #204637;
  margin-bottom: 22px;
}
hr {
  border: none;
  border-top: 2px solid var(--secondary);
  margin: 26px 0;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--earth-olive);
  color: #fff;
  margin-top: 40px;
  border-radius: var(--section-radius) var(--section-radius) 0 0;
  font-size: 1rem;
  box-shadow: 0 -4px 24px rgba(60,80,39,0.08);
  padding: 36px 0 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0;
  padding-top: 2px;
  padding-bottom: 0;
}
.footer-section {
  flex: 1 1 210px;
  min-width: 210px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-section img {
  width: 36px;
  height: auto;
}
.footer-section nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-section nav a {
  color: #F4FDE2;
  font-size: 1rem;
  transition: color var(--transition);
  margin: 1px 0;
}
.footer-section nav a:hover {
  color: #E0F7FA;
}
footer h3, footer strong {
  color: #F4FDE2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08em;
}
footer span {
  display: block;
  text-align: center;
  padding: 12px 0 20px 0;
  font-size: 0.94em;
  color: #C7DEC3;
}


/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1150px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid, .service-grid, .service-list, .card-grid, .card-container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
  .feature-grid, .service-grid, .service-list, .card-grid, .card-container {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  section, .section, .hero {
    padding: 32px 8px;
    border-radius: 24px;
  }
}
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 8px 36px 8px;
  }
  .hero h1 {
    font-size: 2.0rem;
  }
  .feature-grid, .service-grid, .service-list {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .blog-list, .card-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    padding: 16px 12px;
    font-size: 1rem;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    justify-content: flex-start;
  }
  .footer-section {
    min-width: 0;
  }
}
@media (max-width: 500px) {
  .hero {
    font-size: 1rem;
    padding: 24px 3vw;
    min-height: 200px;
  }
  .cta, button, .cookie-btn {
    padding: 10px 19px;
    font-size: .95rem;
  }
  .testimonial-card, .feature, .service, .team-member, .blog-post {
    min-width: unset;
    max-width: 99vw;
    padding: 12px 6px;
  }
  section, .section {
    padding: 14px 2vw;
    border-radius: 15px;
  }
}

/* =========================
   COOKIE CONSENT BANNER + MODAL
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--nature-dark);
  border-top: 2px solid var(--nature-leaf);
  box-shadow: 0 -3px 24px rgba(23,59,75,0.16);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 15px 22px 15px;
  gap: 26px;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform .33s cubic-bezier(.73,.1,.29,1.23),opacity .25s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 3 1 240px;
  min-width: 170px;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  flex: 2 1 180px;
  min-width: 130px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.cookie-btn {
  margin: 2px 3px;
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,59,75,0.7);
  z-index: 1061;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .29s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 32px;
  padding: 34px 28px 28px 28px;
  min-width: 290px;
  max-width: 99vw;
  box-shadow: 0 8px 28px rgba(23,59,75,0.20);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.44rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.cookie-category .toggle {
  appearance: none;
  width: 36px; height: 20px;
  border-radius: 10px;
  background: var(--earth-olive);
  position: relative;
  outline: none;
  transition: background .22s;
  cursor: pointer;
}
.cookie-category .toggle:checked {
  background: var(--nature-leaf);
}
.cookie-category .toggle:before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 2px;
  transition: left .22s;
}
.cookie-category .toggle:checked:before {
  left: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal .cookie-note {
  font-size: .95em;
  color: var(--nature-brown);
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  color: var(--nature-dark);
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal .modal-close:hover {
  background: #E0F7FA;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 3vw;
    font-size: .98rem;
  }
  .cookie-modal .modal-content {
    border-radius: 16px;
    padding: 24px 8px 18px 8px;
  }
}

/* =========================
   MISC/UTILITIES
   ========================= */
::-webkit-scrollbar {width: 8px;background: #E0F7FA;}
::-webkit-scrollbar-thumb {background: #B8E7DB;border-radius: 8px;}
body,html {
  scroll-behavior: smooth;
}

/* =========================
   ANIMATION CLASSES
   ========================= */
.fade-in {
  animation: fadeIn .55s cubic-bezier(.36,0,.66,1);
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(24px);}
  100% { opacity: 1; transform: translateY(0);}
}
.slide-in-left {
  animation: slideInLeft .44s cubic-bezier(.36,0,.66,1);
}
@keyframes slideInLeft {
  0% { opacity:0; transform: translateX(-40px);}
  100% { opacity:1; transform: translateX(0);}
}

/* =========================
   FORM ELEMENTS (if any)
   ========================= */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid #90A4AE;
  padding: 10px 14px;
  background: #F4FDE2;
  color: var(--primary);
  margin-bottom: 16px;
  transition: border .21s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--nature-leaf);
  outline: none;
}
::placeholder {
  color: #90A4AE;
  opacity: 1;
}


/* =========================
   MARGIN UTILS
   ========================= */
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-16 { gap: 16px !important; }

