/* ===== CSS RESET & BASE STYLES ===== */
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: #F5F6F1;
  color: #2A3D34;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, picture {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
input, button, textarea, select {
  font: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
:focus {
  outline: 2px solid #2A7F8E;
  outline-offset: 2px;
}

/* ====== BRAND FONTS ====== */
@import url('https://fonts.googleapis.com/css?family=Baloo+2:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', 'Montserrat', Arial, sans-serif;
  color: #254034;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 12px; line-height: 1.2; }
h3 { font-size: 1.375rem; margin-bottom: 8px; line-height: 1.3; }
h4 { font-size: 1.125rem; }
p, li, address {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2A3D34;
}

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

/* ====== COLOR PALETTE & SHADOWS ====== */
:root {
  --color-primary: #2A7F8E;
  --color-secondary: #D9E021;
  --color-accent: #FFFFFF;
  --color-earth: #A17946;
  --color-natural-green: #7DBA7D;
  --color-bg: #F5F6F1;
  --color-brown: #6E5A3A;
  --color-leaf: #ACC7B4;
  --color-darktext: #25392B;
  --color-muted: #E8E2CD;
  --shadow-card: 0 2px 12px 0 rgba(60,54,30,0.10);
}

/* ====== LAYOUT CONTAINERS & SPACING ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 36px;
  box-shadow: 0 1px 12px 0 rgba(60,54,30,0.03);
}
@media (max-width: 700px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 250px;
  flex: 1 1 280px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(44,100,72,0.16);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fcfff9;
  border: 2px solid var(--color-leaf);
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(50,100,78,0.07);
  max-width: 600px;
  color: #25392B;
  font-size: 1.08rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: var(--color-natural-green);
  box-shadow: 0 8px 28px 0 rgba(50,100,78,0.17);
}
.testimonial-author {
  font-size: 1rem;
  color: #6E5A3A;
  font-family: 'Montserrat', sans-serif;
  align-self: flex-end;
  font-weight: 700;
}

/* ====== FLEX FEATURE & SERVICE GRID ====== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 8px 0 rgba(160,194,139,0.10);
  padding: 24px 20px;
  flex: 1 1 230px;
  min-width: 180px;
  max-width: 295px;
  transition: box-shadow 0.2s,
              transform 0.13s;
}
.feature-grid li:hover {
  box-shadow: 0 3px 24px 0 rgba(80,130,80,0.12);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(40,60,36,0.11));
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}
.service-list li {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 1px 8px 0 rgba(90, 120, 90, 0.09);
  margin-bottom: 20px;
  padding: 20px 18px;
  flex: 1 1 250px;
  min-width: 200px;
  transition: box-shadow 0.22s, transform 0.12s;
}
.service-list li:hover {
  box-shadow: 0 5px 20px 0 rgba(60,111,57,0.13);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .feature-grid, .service-list { flex-direction: column; gap: 16px; }
  .feature-grid li, .service-list li { max-width: 100%; min-width: 0; width: 100%; }
}

/* ====== HEADER & NAVIGATION ====== */
.main-header {
  width: 100%;
  background: linear-gradient(90deg,#f9faf5 40%,#dbe5d0 100%);
  box-shadow: 0 3px 10px 0 rgba(40,60,36,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0;
  min-height: 82px;
  position: relative;
  z-index: 50;
}
.main-header > a {
  margin-left: 28px;
  display: flex;
  align-items: center;
  padding: 13px 0;
}
.main-header img {
  max-height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.19s;
  padding: 4px 4px;
  border-radius: 6px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-brown);
  background: rgba(192,234,176,0.22);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  margin-right: 22px;
  padding: 0 8px;
  z-index: 201;
  transition: color 0.23s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-brown);
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
    position: relative;
  }
}

/* ====== MOBILE MENU ====== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 210;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  background: linear-gradient(110deg, #EFF6E0 60%, #DEEDCF 100%);
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(0.83,0,0.17,1);
  box-shadow: -8px 1px 42px 0 rgba(80,104,60,0.13);
  padding-top: 14px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 28px;
  margin-bottom: 12px;
  font-size: 2.2rem;
  color: var(--color-brown);
  background: none;
  border: none;
  border-radius: 50%;
  padding: 2px 7px 2px 7px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e9e5d2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 40px 0 36px;
}
.mobile-nav a {
  padding: 13px 8px;
  color: var(--color-primary);
  font-size: 1.08rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.025em;
  transition: background 0.12s, color 0.13s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: rgba(162,220,186,0.21);
  color: var(--color-brown);
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ===== HERO & CTA SECTIONS ===== */
.hero-section {
  background: linear-gradient(120deg,#CBE3A1 0,#FEFFE8 70%);
  border-radius: 0 0 75px 75px;
  box-shadow: 0 6px 40px 0 rgba(90,111,97,0.08);
  margin-bottom: 60px;
  padding-top: 46px;
  padding-bottom: 54px;
}
.hero-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero-section h1 {
  color: var(--color-darktext);
  margin-top: 24px;
  margin-bottom: 10px;
}
.hero-section .subheadline {
  max-width: 600px;
  margin: 0 auto 20px;
  color: #456C21;
  font-size: 1.16rem;
  font-weight: 500;
}
.cta-section {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 32px;
  background: linear-gradient(90deg,#F0F7E6 75%,#D5E2CA 100%);
  border-radius: 55px;
  margin-bottom: 60px;
}
@media (max-width: 700px) {
  .hero-section, .cta-section { 
    padding: 28px 5px 22px 5px; border-radius: 0 0 38px 38px; margin-bottom: 36px;
  }
  .cta-section { border-radius: 28px; }
}

/* ===== BUTTONS ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  padding: 13px 36px;
  font-size: 1.1rem;
  font-family: 'Baloo 2', 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.15s, box-shadow 0.22s, transform 0.13s;
  cursor: pointer;
  border: none;
  margin-top: 18px;
  margin-bottom: 8px;
  box-shadow: 0 1px 9px 0 rgba(60, 91, 67,0.10);
  min-width: 160px;
}
.cta-button.primary {
  background: var(--color-primary);
  color: #fff;
}
.cta-button.secondary {
  background: var(--color-secondary);
  color: var(--color-brown);
  box-shadow: 0 2px 12px 0 rgba(190,180,70,0.09);
}
.cta-button:focus, .cta-button:hover {
  box-shadow: 0 4px 24px 0 rgba(90,130,90,0.19);
  transform: translateY(-2.5px) scale(1.022);
  color: #274931;
  background: #DEF3D0;
}
.cta-button.primary:focus, .cta-button.primary:hover {
  background: #155A62;
  color: #DBF3CB;
}
.cta-button.secondary:focus, .cta-button.secondary:hover {
  background: #C6CB0C;
  color: #fff;
}

/* ====== FOOTER ====== */
.main-footer {
  background: linear-gradient(100deg,#E6E3DB 60%, #DEF0D5 100%);
  padding: 0 0 0 0;
  box-shadow: 0 -1px 12px 0 rgba(100,111,87,0.10);
  border-radius: 32px 32px 0 0;
  margin-top: 58px;
}
.main-footer .container {
  padding: 0 12px 0 12px;
}
.main-footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 22px 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #2A7F8E;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #215040;
}
.main-footer address {
  font-style: normal;
  font-size: 0.98rem;
  color: #4B5B3D;
  margin-bottom: 8px;
}
.footer-logo {
  display: flex;
  align-items: center;
  height: 62px;
}
.footer-logo img {
  max-height: 62px;
  width: auto;
}
@media (max-width: 900px) {
  .main-footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 0 16px 0;
  }
}

/* ====== TEXT SECTIONS & CARDS ====== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  margin-top: 8px;
  padding-left: 17px;
  list-style: disc inside;
  color: #2A3D34;
}
.confirmation-message {
  font-size: 1.18rem;
  color: var(--color-darktext);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .text-section { gap: 10px; }
  .confirmation-message { font-size: 1rem; }
}

/***** INPUTS, FORMS, ETC. (For future) *****/
input, textarea, select {
  border-radius: 10px;
  border: 1px solid #CED6C0;
  background: #FAFFFA;
  padding: 11px 15px;
  font-size: 1rem;
  transition: border-color 0.17s;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: #BADCA9;
}

/* ===== RESPONSIVE FLEX ADJUSTMENTS ===== */
@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .main-header { flex-direction: column; align-items: stretch; min-height: 64px; }
  .main-header > a { margin: 12px auto 6px auto; }
}
@media (max-width: 570px) {
  .content-wrapper, .section, .feature-grid, .service-list { gap: 10px; }
  .container { padding: 0 4px; }
}

/* ===== NATURE/ORGANIC STYLING ===== */
.section, .card, .feature-grid li, .service-list li, .testimonial-card {
  border-radius: 24px 38px 12px 28px/26px 38px 18px 44px;
  /* decorative organic blob-like radii */
  box-shadow: var(--shadow-card);
}
.feature-grid li, .service-list li {
  background: #fdfcf6;
  border: 1.5px solid #e5eecb;
}
.section {
  background: #F7FAF3;
}

/* Subtle texture using SVG background on hero sections for organic feel */
.hero-section {
  background-image: url('data:image/svg+xml;utf8,<svg width="750" height="300" xmlns="http://www.w3.org/2000/svg"><ellipse fill="%2383B48F" fill-opacity="0.07" cx="150" cy="130" rx="160" ry="80"/><ellipse fill="%2393A867" fill-opacity="0.07" cx="520" cy="180" rx="140" ry="60"/></svg>');
  background-repeat: no-repeat;
  background-position: right 24% top, left 0% bottom;
}

/***** FLEX DIRECTION ADJUST ON MOBILE *****/
@media (max-width: 775px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 13px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
}

/* ===== OTHER COMPONENTS ===== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 0;
  margin-bottom: 14px;
}
.contact-details li {
  color: #445A40;
  font-size: 1rem;
}
@media (max-width: 500px) {
  .contact-details {
    font-size: 0.97rem;
  }
}

/* legal-section for policies/regulations */
.legal-section {
  background: #fcfff9;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 32px 20px;
  box-shadow: 0 1px 12px 0 rgba(144,194,139,0.05);
}

/* ===== COOKIE BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  display: flex;
  justify-content: center;
  background: #334C2C;
  color: #fff;
  z-index: 4000;
  padding: 18px 8px 18px 8px;
  box-shadow: 0 -1px 24px 0 rgba(32,80,34,0.13);
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}
.cookie-banner .cookie-message {
  flex: 1 1 220px;
  margin-right: 18px;
  min-width: 120px;
  color: #f2ffea;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: 20px;
  border: none;
  padding: 8px 23px;
  font-size: 0.97rem;
  font-family: 'Baloo 2', 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background 0.14s, color 0.12s;
  margin-right: 3px;
  margin-top: 2px;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--color-natural-green);
  color: #22391D;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #367546;
  color: #fff;
}
.cookie-banner .reject {
  background: var(--color-secondary);
  color: #554E11;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #B7C81A;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: var(--color-brown);
  border: 1px solid #7DBA7D;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E4F9D2;
  color: #32734D;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(40,100,40,0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.31s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 32px 60px 28px 52px/38px 60px 40px 50px;
  box-shadow: 0 6px 36px 0 rgba(80,140,80,0.15);
  max-width: 400px;
  width: 97vw;
  padding: 30px 24px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.25rem;
  color: #2A3D34;
  margin-bottom: 7px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-modal-category label {
  font-size: 1.07rem;
  color: #2A3D34;
  font-family: 'Montserrat', sans-serif;
}
.cookie-modal-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #7DBA7D;
  border-radius: 8px;
}
.cookie-modal-category input[disabled] {
  accent-color: #B8DFAD;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 20px;
  border: none;
  padding: 8px 18px;
  font-family: 'Baloo 2', 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-modal .accept {
  background: var(--color-natural-green);
  color: #222;
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: #1D554A;
  color: #fff;
}
.cookie-modal .reject {
  background: var(--color-secondary);
  color: #554E11;
}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {
  background: #B6CA17;
  color: #fff;
}
.cookie-modal .close {
  background: #fff;
  color: #2A7F8E;
  border: 1.5px solid #B8DFAD;
  margin-left: 8px;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #E4F9D2;
  color: #32734D;
}

@media (max-width: 600px) {
  .cookie-modal { border-radius: 22px 26px 18px 28px/18px 40px 22px 30px; padding: 18px 6px 15px 8px; }
}

/* Hide cookie banner/modal by default (for JS) */
.cookie-banner[hidden], .cookie-modal-overlay[hidden] {
  display: none !important;
}

/* ===== MISC & ACCESSIBILITY ===== */
::-webkit-input-placeholder { color: #B9BCB5; }
::-moz-placeholder { color: #B9BCB5; }
:-ms-input-placeholder { color: #B9BCB5; }
::placeholder { color: #B9BCB5; }

hr {
  border: none;
  border-top: 1px solid #CBE3A1;
  margin: 32px 0 24px 0;
}

/* Micro-interactions */
.card, .feature-grid li, .service-list li, .cta-button, .testimonial-card {
  transition: box-shadow 0.22s, border-color 0.15s, transform 0.13s;
}

/* Decorative organic shapes - optional, for accents */
.organic-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.23;
  filter: blur(3px);
}

/* Improved contrast for review/testimonials on all backgrounds */
.testimonials-section, .testimonial-card {
  background: #fcfff9;
}
.testimonial-card p, .testimonial-card .testimonial-author {
  color: #18341B;
}

/* ========== END =========== */
