/* CSS RESET & BASE TYPOGRAPHY --------------------------------------------------- */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F6F3;
  color: #283618;
  font-size: 16px;
}
input, button, textarea, select {
  font: inherit;
}
ul, ol {
  list-style: none;
}
a {
  color: #14396B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #27723F;
  outline: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* BRAND COLOR PALETTE --------------------------------------------------- */
:root {
  --primary: #14396B;         /* Brand blue */
  --secondary: #E6E9ED;       /* Light sand/secondary */
  --accent: #FFB000;          /* Warm accent yellow */
  --organic-green: #27723F;   /* Natural green accent */
  --earth-brown: #9F8767;     /* Earthy brown for soft backgrounds */
  --stone-grey: #B7B5A1;      /* Supporting muted tone */
  --nature-white: #F7F6F3;    /* Slightly off-white */
  --text-dark: #283618;       /* Readable deep brown */
}

/* TYPOGRAPHY --------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

/* LAYOUT CONTAINERS --------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--nature-white);
  border-radius: 32px;
  box-shadow: 0 2px 12px 0 rgba(110,90,60,0.07);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: flex-start;
  gap: 16px;
}

/* FLEXBOX LAYOUTS --------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(110,85,60,0.08);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  margin-bottom: 20px;
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(60,50,30,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(60,70,40,0.14);
  transform: translateY(-2px) scale(1.013);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--stone-grey);
  border-radius: 14px;
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* "nature_organic" ORGANIC DECOR SHAPES (Subtle, Only For Visual) ----------- */
.section {
  position: relative;
  overflow: hidden;
}
.section::before {
  content: "";
  position: absolute;
  top: -64px;
  right: -64px;
  width: 180px;
  height: 160px;
  background: rgba(39,114,63,0.12);
  border-radius: 55% 45% 70% 30%/35% 60% 50% 65%;
  z-index: 0;
  pointer-events: none;
  filter: blur(4px);
}
.section:nth-child(2n)::before {
  left: -54px;
  right: auto;
  background: rgba(159,135,103,0.11);
}
.content-wrapper, .text-section {
  position: relative;
  z-index: 1;
}

/* HEADER --------------------------------------------------- */
header {
  background: var(--nature-white);
  box-shadow: 0 2px 12px 0 rgba(98,112,78,0.07);
  border-radius: 0 0 32px 32px;
  margin-bottom: 32px;
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 20px 18px 20px;
}
.logo img {
  width: 180px;
  height: auto;
  border-radius: 0 0 32px 0;
  background: transparent;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--organic-green);
  color: #fff;
}
.cta-button {
  background: var(--accent);
  color: #23270b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  border-radius: 18px 34px 22px 28px;
  padding: 10px 30px;
  margin-left: 8px;
  box-shadow: 0 2px 8px 0 rgba(240,180,40,0.1);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: var(--organic-green);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(39,114,63,0.18);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE MENU --------------------------------------------------- */
.mobile-menu-toggle {
  font-size: 1.85rem;
  color: var(--primary);
  background: var(--accent);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.14s;
  z-index: 100;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--organic-green);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(239,245,234,0.98);
  box-shadow: 0 8px 32px 0 rgba(30,40,16,0.22);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.23s cubic-bezier(.55,.009,.26,1.23);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  color: var(--primary);
  background: #E6E9ED;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 24px 24px 0 0;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 50px 0 0 40px;
}
.mobile-nav a {
  color: var(--organic-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 18px;
  background: none;
  transition: background 0.17s, color 0.15s;
  min-width: 80vw;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--primary);
  color: #fff;
}

/* HERO SECTIONS --------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* FEATURES GRID --------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  min-width: 230px;
  background: var(--stone-grey);
  border-radius: 18px;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(110,90,70,0.05);
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-grid > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
  filter: drop-shadow(0 3px 9px rgba(39,114,63,0.15));
}
.feature-grid > div:hover, .feature-grid > div:focus {
  box-shadow: 0 4px 20px 0 rgba(68,120,72,0.13);
  transform: translateY(-2px) scale(1.015);
}

/* ABOUT/UL SECTIONS --------------------------------------------------- */
ul {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
}
ul li {
  position: relative;
  font-size: 1rem;
  padding-left: 20px;
}
ul li:before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--organic-green);
  border-radius: 28% 62% 61% 39%/60% 40% 64% 40%;
  opacity: 0.18;
}

/* TESTIMONIALS --------------------------------------------------- */
.testimonial-details {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-details strong {
  color: var(--primary);
  font-size: 1rem;
}
.testimonial-details span {
  font-size: 1.12rem;
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.12em;
}

/* BUTTONS & INTERACTIVE --------------------------------------------------- */
button, .cta-button, .mobile-menu-toggle {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.11s;
}

/* CARD CONTAINERS, FEATURE ITEMS, ETC. ----------------------------------- */
.card-container,
.card-grid,
.features,
.feature-item {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

/* FOOTER --------------------------------------------------- */
footer {
  background: var(--earth-brown);
  color: #fff;
  border-radius: 32px 32px 0 0;
  padding: 40px 0 20px 0;
  margin-top: 32px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  display: flex;
}
.footer-logo {
  width: 95px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 4px rgba(70,80,50,0.09));
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.87;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.13s, color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--organic-green);
  color: var(--accent);
}
footer address {
  font-size: 1rem;
  color: #efefef;
  text-align: center;
}
.footer-meta {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #e1ddca;
}

/* COOKIE CONSENT BANNER --------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F8F6F1;
  border-top: 2px solid var(--organic-green);
  box-shadow: 0 -2px 22px 0 rgba(60,80,16,0.1);
  z-index: 1998;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  gap: 12px;
  min-height: 90px;
  animation: cb-slidein 0.6s cubic-bezier(.36,0,.66,.04);
}
@keyframes cb-slidein {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1rem;
  text-align: center;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 6px;
}
.cookie-btn {
  padding: 10px 25px;
  border-radius: 38px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: 2px solid transparent;
  background: var(--accent);
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(65,110,6,0.06);
  transition: background 0.14s, color 0.14s, border 0.12s;
}
.cookie-btn.accept {
  background: var(--organic-green);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff0e2;
  color: var(--earth-brown);
  border: 2px solid var(--earth-brown);
}
.cookie-btn.settings {
  background: var(--primary);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent);
  color: var(--organic-green);
  border-color: var(--nature-white);
}

/* COOKIE MODAL --------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(20,30,15,0.42);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadein 0.2s;
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--nature-white);
  border-radius: 24px;
  max-width: 95vw;
  width: 370px;
  padding: 34px 24px 28px 28px;
  box-shadow: 0 4px 32px 0 rgba(39,114,63,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 3100;
  animation: cb-modal-in 0.2s cubic-bezier(.74,0,.41,1.05);
}
@keyframes cb-modal-in {
  0% { transform: translateY(70px) scale(0.92); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  margin-bottom: 9px;
  color: var(--organic-green);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category strong {
  color: var(--primary);
  font-size: 1rem;
  min-width: 120px;
}
.cookie-modal input[type='checkbox'] {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  accent-color: var(--organic-green);
  border-radius: 7px;
}
.cookie-modal .category-desc {
  font-size: 0.97rem;
  color: var(--text-dark);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}
.cookie-modal .cookie-btn {
  min-width: 0;
  flex: 1 1 0;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.17s, color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--organic-green);
  color: #fff;
}

/* RESPONSIVE DESIGN --------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 940px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100%;
  }
  .main-nav {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 10px 13px 10px;
  }
  .logo img {
    width: 142px;
  }
  .cta-button {
    padding: 9px 19px;
    font-size: 0.99rem;
  }
  .footer-logo {
    width: 72px;
  }
}
@media (max-width: 768px) {
  header .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-nav {
    gap: 12px;
  }
  section, .section {
    margin-bottom: 36px;
    padding: 27px 4vw;
    border-radius: 18px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.33rem;
  }
  .feature-grid {
    gap: 13px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
    max-width: 100%;
  }
  header .container {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 13px;
    padding-bottom: 8px;
  }
  .footer-logo {
    width: 48px;
  }
  .footer-meta, footer address {
    font-size: 0.91rem;
  }
  section, .section {
    margin-bottom: 16px;
    padding: 17px 4vw;
    border-radius: 13px;
  }
  .card, .feature-grid > div {
    padding: 17px 12px;
    border-radius: 12px;
    min-width: 140px;
  }
  .feature-grid {
    gap: 7px;
  }
  .testimonial-card, .feature-item {
    padding: 14px 7px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
}
@media (max-width: 580px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .content-wrapper, .text-section {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* UTILITIES --------------------------------------------------- */
.rounded {
  border-radius: 22px;
}
.shadow {
  box-shadow: 0 4px 28px 0 rgba(39,114,63,0.091);
}
.organic-shape-bg {
  background: var(--stone-grey);
  border-radius: 45% 65% 62% 38% / 60% 35% 65% 40%;
}

/* ACCESSIBILITY FOCUS --------------------------------------------------- */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1.5px;
}

/* ANIMATIONS & HOVER EFFECTS --------------------------------------------------- */
.card, .feature-grid > div, .feature-item {
  transition: transform 0.14s, box-shadow 0.14s;
}
.card:hover, .feature-grid > div:hover, .feature-item:hover {
  box-shadow: 0 6px 28px 0 rgba(39,114,63,0.12);
  transform: translateY(-2px) scale(1.008);
}
.cta-button:active {
  transform: scale(0.98);
}
.mobile-menu {
  will-change: transform, opacity;
}

/* CUSTOM SCROLLBAR --------------------------------------------------- */
html {
  scrollbar-color: var(--organic-green) var(--stone-grey);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  background: var(--stone-grey);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--organic-green);
  border-radius: 10px;
}

/* ACCESSIBLE TESTIMONIALS: DARK TEXT ON LIGHT BG -------------------------- */
.testimonial-card {
  background: #f4f6ef;
  color: var(--text-dark);
}
.testimonial-card p, .testimonial-details strong {
  color: var(--text-dark);
}

/* ICONS IN UL LISTS --------------------------------------------------- */
ul li img {
  display: inline-block;
  width: 22px;
  margin-right: 10px;
  vertical-align: middle;
  filter: drop-shadow(0 2px 7px rgba(20,57,107,0.14));
}

/* FORMS (if added in contact forms, etc) ----------------------------------- */
input[type="text"], input[type="email"], textarea {
  padding: 10px 17px;
  border-radius: 12px;
  border: 1.2px solid var(--stone-grey);
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 15px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--organic-green);
  outline: 2px solid var(--accent);
}

/* DOMAIN-SPECIFIC: Hide section divider margin on last section ------------- */
section:last-of-type, .section:last-of-type {
  margin-bottom: 0;
}

/* END CSS */
