/* === CSS Reset & Normalize for consistency === */
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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #F9F8F4;
  color: #273826;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
/* === Typography Hierarchy === */
h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #22446E;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #22446E;
  margin-bottom: 16px;
  line-height: 1.15;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #385E3C;
  margin-bottom: 12px;
  line-height: 1.21;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #22446E;
}
p, li, .tagline {
  font-size: 1rem;
  color: #273826;
  margin-bottom: 12px;
}
.tagline {
  font-style: italic;
  color: #385E3C;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
  color: #22446E;
}
/* === Brand Colors as Custom Properties (fallback included) === */
:root {
  --primary: #22446E;
  --primary-dark: #1a3556;
  --secondary: #FFD450;
  --secondary-fallback: #FFDC5E;
  --accent: #FFFFFF;
  --nature-green: #385E3C;
  --nature-green-dark: #20451b;
  --beige: #F9F8F4;
  --earth-brown: #A58A63;
  --shadow-color: rgba(56, 94, 60, 0.13);
}
/* === Container and Section Spacing === */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px var(--shadow-color);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.hero {
  align-items: center;
  text-align: center;
  background: #e5f3e8;
  border-radius: 32px;
  box-shadow: 0 4px 24px 0 rgba(56, 94, 60, 0.10);
  padding: 48px 16px 40px;
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.hero .cta-btn {
  margin-top: 24px;
}
/* === Flex Layout Patterns (MANDATORY) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1.5px 10px var(--shadow-color);
  padding: 32px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  position: relative;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F4F7ED;
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--shadow-color);
  margin-bottom: 20px;
  border-left: 6px solid var(--nature-green);
  max-width: 600px;
}
.testimonial-card p {
  color: #22446E;
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 0;
}
.testimonial-rating {
  color: var(--secondary, #FFDC5E);
  font-size: 1.2rem;
  font-weight: bold;
}
.testimonial-meta {
  font-size: .98rem;
  color: var(--nature-green-dark);
  font-style: italic;
}
.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F4F7ED;
  border-radius: 18px;
  padding: 28px 20px 20px 20px;
  flex: 1 1 240px;
  box-shadow: 0 2px 12px var(--shadow-color);
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.27s, transform 0.27s;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.feature:hover, .feature-item:hover {
  box-shadow: 0 6px 24px 0 rgba(56, 94, 60, 0.15);
  transform: translateY(-5px) scale(1.025);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.service {
  background: #F4F7ED;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 0;
  box-shadow: 0 1px 8px var(--shadow-color);
}
.contact-details {
  margin-bottom: 20px;
  font-size: 1.06em;
  color: #273826;
}
.map-placeholder {
  background: #e5f3e8;
  color: #385E3C;
  border-radius: 12px;
  padding: 18px 18px 18px 42px;
  font-style: italic;
  margin-bottom: 18px;
}
/* === Header & Navigation === */
header {
  background: #fff;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(56,94,60,0.07);
  margin-bottom: 30px;
  position: relative;
  z-index: 110;
}
.logo-link {
  display: flex;
  align-items: center;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #385E3C;
  font-size: 1rem;
  border-radius: 8px;
  padding: 8px 10px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary-fallback, #FFDC5E);
  color: #22446E;
}
.cta-btn {
  background: linear-gradient(90deg, #385E3C 80%, #A58A63 100%);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  padding: 13px 28px;
  border-radius: 28px;
  box-shadow: 0 2px 12px var(--shadow-color);
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, box-shadow 0.22s, transform 0.22s;
  display: inline-block;
  margin: 0.5em 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #22446E 70%, #385E3C 100%);
  color: #FFDC5E;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 30px 0 var(--shadow-color);
}
/* === Footer Styles === */
footer {
  background: #e5f3e8;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 32px 0 22px 0;
  margin-top: 60px;
  box-shadow: 0 -1px 12px 0 rgba(56,94,60,0.08);
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: #385E3C;
  font-weight: 500;
  font-size: 1em;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary-fallback, #FFDC5E);
  color: #22446E;
}
footer p {
  text-align: center;
  font-size: 0.98em;
  color: #273826;
  margin-top: 8px;
}
/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3100;
  background: #fff;
  color: #273826;
  box-shadow: 0 -2px 14px 0 rgba(56, 94, 60, 0.11);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 20px 16px 20px;
  transition: transform 0.35s cubic-bezier(.75,0,.23,1);
}
.cookie-banner.hidden {
  transform: translateY(110%);
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: #273826;
  margin-bottom: 0.4em;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  border-radius: 24px;
  padding: 10px 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(56, 94, 60, 0.09);
  transition: background 0.19s, color 0.17s, box-shadow 0.19s, transform 0.19s;
  margin: 3px 0;
}
.cookie-banner .accept {
  background: #385E3C;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #20451b;
  color: #FFDC5E;
  transform: scale(1.04);
}
.cookie-banner .reject {
  background: #fff2eb;
  color: #A58A63;
  border: 1.5px solid #A58A63;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #A58A63;
  color: #fff;
  transform: scale(1.04);
}
.cookie-banner .settings {
  background: #FFDC5E;
  color: #22446E;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FFCA1E;
  color: #20451b;
  transform: scale(1.04);
}
/* === Cookie Modal Dialog === */
.cookie-modal {
  position: fixed;
  z-index: 3200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(56, 94, 60, 0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.34s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(56, 94, 60, .19);
  padding: 34px 22px 20px 22px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #385E3C;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 3220;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #22446E;
}
.cookie-modal .modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F4F7ED;
}
.cookie-modal .modal-category:last-child {
  border-bottom: none;
}

.cookie-modal .modal-category label {
  font-weight: 600;
  font-size: 1em;
  color: #385E3C;
}
.cookie-modal .modal-category .toggle {
  position: relative;
  width: 40px;
  height: 22px;
  display: inline-block;
}
.cookie-modal .modal-category .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .modal-category .slider {
  position: absolute;
  cursor: pointer;
  background: #ddd;
  border-radius: 22px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-modal .modal-category .toggle input:checked + .slider {
  background: #385E3C;
}
.cookie-modal .modal-category .slider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1.5px 5px rgba(56,94,60,.14);
}
.cookie-modal .modal-category .toggle input:checked + .slider:before {
  transform: translateX(18px);
}
/* === End Cookie Consent === */

/* === Mobile Navigation Styles === */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #385E3C;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4F7ED;
  color: #22446E;
}
/* Hide nav for mobile: on small screens only hamburger is shown, nav appears in overlay */
.main-nav {
  display: flex;
}
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #F9F8F4;
  z-index: 1200;
  transform: translateX(104%);
  transition: transform 0.39s cubic-bezier(.75,0,.23,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  padding: 40px 28px 28px 28px;
  min-width: 260px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #385E3C;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #22446E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.18em;
  color: #385E3C;
  font-weight: 600;
  border-radius: 8px;
  padding: 14px 10px;
  background: #e5f3e8;
  margin: 0 0 2px 0;
  width: 100%;
  display: block;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFDC5E;
  color: #22446E;
}
@media (min-width: 991px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none;
  }
  .main-nav {
    display: flex;
  }
  .cta-btn {
    display: inline-block;
  }
}
/* === Responsive Styles === */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section, section {
    padding: 28px 8px;
    margin-bottom: 42px;
    border-radius: 15px;
  }
  .content-wrapper.hero {
    padding: 32px 10px 24px;
    border-radius: 22px;
  }
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    max-width: 98vw;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    padding: 16px;
    gap: 12px;
  }
  .feature, .feature-item {
    padding: 18px 12px 15px 12px;
    border-radius: 13px;
    min-width: 0;
  }
  .services-list {
    gap: 13px;
  }
  .mobile-menu {
    padding: 30px 10px 16px 10px;
    min-width: 180px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.47rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .cta-btn {
    font-size: .99rem;
    padding: 10px 20px;
  }
  .card, .testimonial-card, .feature, .feature-item, .service {
    padding: 10px 7px !important;
    font-size: .98em;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
  .section, section {
    padding: 14px 2px;
    margin-bottom: 24px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
/* === Miscellaneous Elements === */
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
  color: #273826;
}
ul li {
  margin-bottom: 8px;
  padding-left: 3px;
  position: relative;
}
ul li:before {
  content: "• ";
  color: #A58A63;
  font-weight: bold;
  margin-right: 4px;
}
ol li {
  margin-bottom: 6px;
}
ul li a, ol li a {
  color: #22446E;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.17s;
}
ul li a:hover, ol li a:hover {
  color: #385E3C;
}
strong, b {
  color: #22446E;
  font-weight: 700;
}
em, .tagline {
  color: #385E3C;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
a {
  cursor: pointer;
}
/* === Custom Decorative (organic/nature) Accents === */
.section, .feature, .testimonial-card, .card, .service {
  border-radius: 1.4em 0.8em 1em 1.5em / 1.2em 1.3em 1.7em 1em;
  /* Simulate slightly organic, hand-drawn vibe */
}
.hero,
.card:hover,
.service:hover {
  box-shadow: 0 12px 48px 0 rgba(56, 94, 60, 0.14);
  transform: scale(1.015);
}
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04em;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1.2px solid #A58A63;
  background: #F9F8F4;
  color: #273826;
  margin-bottom: 14px;
  outline: none;
  transition: border 0.16s;
  resize: vertical;
}
input:focus, textarea:focus, select:focus {
  border-color: #385E3C;
}
/* === Transition & Animation Enhancements === */
.cta-btn, .feature, .service, .testimonial-card, .card, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close, .footer-nav a, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.23s, background 0.21s, color 0.19s, transform 0.24s;
}

/* === Z-Index layering for overlays and nav === */
header {
  z-index: 110;
}
.mobile-menu {
  z-index: 1200;
}
.cookie-banner {
  z-index: 3100;
}
.cookie-modal {
  z-index: 3200;
}

/* === Micro-interaction for focus-visible support === */
*:focus-visible {
  outline: 2px solid #385E3C !important;
  outline-offset: 2px;
}

/* ========== END MAIN ORGANIC NATURE THEME STYLES ========== */