/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F9F9F7;
  color: #22331A;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #20603D;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #DE9C41;
}
ul, ol {
  margin: 16px 0 16px 24px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
strong, b {
  font-weight: bold;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* BRAND COLORS & NATURE ORGANIC PALETTE */
:root {
  --primary: #17306E;
  --secondary: #F2F5FB;
  --accent: #DE9C41;
  --organic-green: #20603D;
  --earth-brown: #9E825E;
  --forest-dark: #22331A;
  --dune-light: #EDE6D8;
  --leaf-background: #F6F5EA;
  --shadow: rgba(32, 96, 61, 0.08);
}

/* TYPOGRAPHY SCALE */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest-dark);
  margin-bottom: 24px;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--organic-green);
  margin-bottom: 16px;
  line-height: 1.3;
}
h4, .h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--forest-dark);
}
p, .text-section li {
  font-size: 1rem;
  color: var(--forest-dark);
  margin-bottom: 16px;
}
.text-section h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

/* LAYOUT: CONTAINER AND FLEXBOX STRUCTURES */
.container {
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 32px;
}
.features-grid > div {
  flex: 1 1 220px;
  background: var(--leaf-background);
  border-radius: 22px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 220px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map {
  background: url('../assets/textures/map-paper.jpg'), var(--dune-light);
  background-size: cover;
  min-height: 120px;
  border-radius: 20px;
  margin-top: 20px;
  padding: 28px 20px;
  box-shadow: 0 1px 5px var(--shadow);
  display: flex;
  align-items: center;
}

/* CARD AND FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--leaf-background);
  border-radius: 20px;
  box-shadow: 0 1px 5px var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  transition: box-shadow .22s, transform .22s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 16px var(--shadow);
  transform: translateY(-2px) scale(1.01);
}

.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;
  background: var(--secondary);
  color: var(--forest-dark);
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 20px 24px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .17s;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 6px;
  color: var(--forest-dark);
}
.testimonial-card strong {
  color: var(--organic-green);
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px var(--shadow);
  transform: translateY(-2px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* BUTTONS & CTA */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: linear-gradient(100deg, var(--organic-green) 70%, var(--accent) 120%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background .21s, box-shadow .18s, transform .14s;
  cursor: pointer;
  margin-top: 8px;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(94deg, var(--accent) 40%, var(--organic-green) 100%);
  box-shadow: 0 4px 16px var(--shadow);
  color: #fff;
  transform: scale(1.035);
}
.btn-secondary {
  background: var(--dune-light);
  color: var(--organic-green);
  border: 1.5px solid var(--organic-green);
  padding: 11px 30px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin: 5px 11px 0 0;
  transition: background .16s, color .16s, border-color .14s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--organic-green);
  color: #fff;
  border-color: var(--accent);
}

/* HEADER, NAVIGATION & MOBILE NAV */
header {
  background: var(--leaf-background);
  box-shadow: 0 2px 10px 0 var(--shadow);
  padding: 0;
  position: relative;
  z-index: 11;
}
header .container {
  padding: 0 16px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 64px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
nav a {
  color: var(--organic-green);
  font-weight: 500;
  font-size: 1rem;
  padding: 9px 8px;
  border-radius: 14px;
  transition: background .16s, color .18s;
}
nav a:hover, nav a:focus  {
  background: var(--dune-light);
  color: var(--primary);
}
nav a.btn-primary {
  margin-left: 18px;
  background: linear-gradient(100deg, var(--organic-green) 80%, var(--accent) 120%);
  color: #fff;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--leaf-background);
  color: var(--organic-green);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: 0 1px 4px var(--shadow);
  cursor: pointer;
  margin-left: 16px;
  transition: background .18s, color .14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--organic-green);
  color: #fff;
}

/* Hide mobile menu button on desktop */
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(237,230,216,.98);
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.31,.76,.46,1);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--organic-green);
  font-size: 2.2rem;
  position: absolute;
  right: 26px;
  top: 24px;
  cursor: pointer;
  z-index: 24;
  width: 44px; height: 44px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  padding: 80px 44px 30px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  color: var(--organic-green);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 14px 0;
  border-radius: 10px;
  width: 100%;
  transition: background .14s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--dune-light);
  color: var(--primary);
}

/* Hide desktop nav on mobile */
@media (max-width: 1023px) {
  nav {
    display: none;
  }
}

/* DESKTOP NAV ONLY ON MD+ */
@media (min-width: 1024px) {
  nav {
    display: flex;
  }
}

/* HERO SECTION */
.hero-section {
  background: var(--secondary) url('../assets/textures/leaf-bg.jpg') no-repeat right top;
  background-size: cover;
  padding-top: 56px;
  padding-bottom: 56px;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 3px 16px var(--shadow);
}
.hero-section h1 {
  color: var(--organic-green);
}
.hero-section .btn-primary {
  margin-top: 24px;
}

/* FOOTER STYLES */
footer {
  background: var(--leaf-background);
  border-top: 3px solid var(--accent);
  padding: 38px 0 18px 0;
  margin-top: 60px;
  font-size: .98rem;
  color: var(--forest-dark);
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 7px;
}
.footer-links a {
  color: var(--forest-dark);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: underline dotted;
}
.footer-links a:hover {
  color: var(--primary);
}
.brand-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.brand-info img {
  width: 36px; height: auto;
  border-radius: 16px;
  background: var(--secondary);
  box-shadow: 0 1px 4px var(--shadow);
}
footer .btn-primary {
  margin-left: 0;
}
footer > .container > div:last-child {
  margin-top: 18px;
  font-size: .93rem;
  color: #7b876d;
}

/* MISC */
dl dt {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--organic-green);
  margin-top: 18px;
}
dl dd {
  margin-left: 0;
  color: var(--forest-dark);
  margin-bottom: 7px;
  margin-top: 5px;
  font-size: 1rem;
}

/* Responsive image icon style */
.text-section img,
li img {
  width: 22px;
  min-width: 19px;
  height: 22px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
  margin-bottom: -5px;
}


/* RESPONSIVE DESIGN */
@media (max-width: 1023px) {
  .features-grid {
    flex-direction: column;
    gap: 22px;
  }
  .brand-info {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 1.6rem;
  }
  h2, .h2 {
    font-size: 1.15rem;
  }
  .hero-section {
    padding-top: 28px;
    padding-bottom: 30px;
    border-radius: 0 0 18px 18px;
  }
  .features-grid > div, .card {
    padding: 22px 12px;
    min-width: 0;
  }
  .testimonial-card {
    padding: 16px 12px;
  }
  .container {
    padding: 0 8px;
  }
  .footer-links {
    gap: 18px;
  }
  section {
    padding: 28px 8px;
    margin-bottom: 42px;
  }
}
@media (max-width: 540px) {
  h1, .h1 {
    font-size: 1.17rem;
    margin-bottom: 15px;
  }
  h2, .h2 {
    font-size: 1.01rem;
    margin-bottom: 13px;
  }
  .mobile-nav {
    padding: 72px 20px 22px 16px;
  }
}

/* Flex direction for text-image-section on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}


/* ANIMATIONS & TRANSITIONS */
.btn-primary,
.btn-secondary,
.card,
.testimonial-card,
.mobile-menu,
.mobile-menu-close,
.mobile-nav a {
  transition: all 0.16s cubic-bezier(.61,.16,.27,1);
}

/* Micro-interactions (buttons) */
.btn-primary:active {
  transform: scale(0.98);
}
.btn-secondary:active {
  transform: scale(0.98);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  background: var(--leaf-background);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -2px 18px var(--shadow);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 32px;
  gap: 18px;
  font-size: 1rem;
  animation: slideUpBann .44s cubic-bezier(.47,.15,.72,1.18);
}
@keyframes slideUpBann {
  from { transform: translateY(120px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-left: 8px;
}
.cookie-banner .btn-primary {
  margin: 0;
  background: var(--organic-green);
  color: #fff;
  padding: 10px 30px;
}
.cookie-banner .btn-primary:hover {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .btn-secondary {
  background: #fff;
  border: 1.5px solid var(--organic-green);
  color: var(--organic-green);
}
.cookie-banner .btn-secondary:hover {
  background: var(--organic-green);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 16px 10px;
    font-size: .95rem;
    gap: 14px;
  }
  .cookie-banner .cookie-btns {
    margin-left: 0;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 10000;
  background: rgba(32,96,61,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeIn .34s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: var(--leaf-background);
  border-radius: 22px;
  box-shadow: 0 4px 28px 4px rgba(32,96,61,0.14);
  padding: 38px 28px 30px 28px;
  max-width: 390px;
  width: calc(100vw - 38px);
  color: var(--forest-dark);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideModalIn .41s cubic-bezier(.44,.1,.36,1.24);
}
@keyframes slideModalIn {
  from { transform: translateY(90px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--organic-green);
  cursor: pointer;
}
.cookie-modal-content h2 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
.cookie-category label {
  font-weight: 500;
  color: var(--organic-green);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 2px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px; height: 20px;
}
.cookie-category input[disabled] {
  opacity: .66;
}

.cookie-modal-footer {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.cookie-modal-footer .btn-primary {
  background: var(--organic-green);
}
.cookie-modal-footer .btn-secondary {
  background: #fff;
  border: 1.5px solid var(--organic-green);
  color: var(--organic-green);
}

/* Hide cookie modal and banner by default. Use .show to display. */
.cookie-banner,
.cookie-modal {
  display: none;
}
.cookie-banner.show {
  display: flex;
}
.cookie-modal.show {
  display: flex;
}


/* ACCESSIBILITY & FOCUS */
a:focus,
.btn-primary:focus,
.btn-secondary:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus,
.cookie-modal-close:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* VISUAL ORGANIC SHAPES (Organic blobs can be positioned as ::before, ::after backgrounds if desired) */
.features-grid > div {
  position: relative;
  overflow: hidden;
}
.features-grid > div::after {
  content: '';
  position: absolute;
  bottom: -25px;
  right: -35px;
  width: 87px;
  height: 55px;
  border-radius: 60% 45% 36% 51%;
  background: var(--dune-light);
  opacity: .35;
  z-index: 0;
}
.features-grid > div img {
  z-index: 1;
  position: relative;
  margin-bottom: 7px;
}

/* OL & UL Override for more elegant spacing */
ol, ul {
  padding-left: 22px;
  margin-top: 12px;
  margin-bottom: 16px;
}
ol li + li, ul li + li {
  margin-top: 8px;
}

/* MISC: Form Styles (if any) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  border: 1px solid var(--dune-light);
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Hide elements visually only */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* Prevent overlap for all containers */
.card-container > *, .card-content > *, .features-grid > *, .footer-links > * {
  margin-bottom: 0 !important;
}

/******* END OF CSS ******/
