/* --- CSS RESET & NORMALIZE (modern) --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #E3DCC2 0%, #ffffff 100%);
  color: #09201A;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #185D32;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #09201A;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.3em;
}
hr {
  border: none;
  border-top: 1px solid #E3DCC2;
  margin: 24px 0;
}

/* --- TYPOGRAPHY SCALE & HEADINGS --- */
h1 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #185D32;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #185D32;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #185D32;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: #185D32;
}
p, li {
  font-size: 1rem;
  color: #09201A;
  margin-bottom: 12px;
}
.text-section em {
  color: #185D32;
  font-weight: 500;
  font-style: italic;
}
strong {
  font-weight: 600;
  color: #185D32;
}

/* --- CONTAINERS, SPACING & FLEX PATTERNS --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* managed by section/content-wrapper */
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(24,93,50,0.07);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(24,93,50,0.15);
  transform: translateY(-4px) scale(1.02);
}
.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;
  background: #f8f8f3;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(24,93,50,.08);
  margin-bottom: 24px;
  color: #222;
  transition: box-shadow 0.2s;
}
.testimonial-card p:first-child {
  font-size: 1.1rem;
  font-style: italic;
  color: #09201A;
}
.testimonial-card p:last-child {
  font-size: 1rem;
  color: #185D32;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(24,93,50,0.20);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FLEX FEATURE GRIDS & REPEAT CLASSES --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  padding: 32px 20px 24px 20px;
  border-radius: 14px;
  flex: 1 1 250px;
  min-width: 220px;
  box-shadow: 0 2px 16px 0 rgba(24,93,50,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #E3DCC2;
}
.feature-grid img {
  width: 44px;
  height: 44px;
}

/* --- NAVIGATION --- */
header {
  background: linear-gradient(90deg, #185D32 0%, #09201A 100%);
  box-shadow: 0 2px 16px 0 rgba(24,93,50,0.08);
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 20px 20px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1px;
  transition: color 0.2s;
  padding: 4px 8px;
}
header nav a:hover, header nav a:focus {
  color: #E3DCC2;
}
header img {
  height: 48px;
  width: auto;
}
header .btn-primary {
  margin-left: 24px;
}

/* --- PRIMARY & SECONDARY BUTTONS --- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Arial', sans-serif;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  padding: 12px 28px;
  border: none;
  font-size: 1.12rem;
  box-shadow: 0 2px 10px 0 rgba(24,93,50,0.08);
}
.btn-primary {
  background: linear-gradient(90deg, #185D32 60%, #298a54 100%);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #298a54 0%, #185D32 100%);
  color: #E3DCC2;
  box-shadow: 0 6px 24px rgba(24,93,50,0.18);
  transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
  background: #E3DCC2;
  color: #09201A;
  border: 1px solid #185D32;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #185D32;
  color: #fff;
  border: 1px solid #185D32;
  box-shadow: 0 4px 18px 0 rgba(24,93,50,0.15);
}

/* --- LISTS, ICON-LISTS, IMAGES --- */
ul {
  margin-bottom: 16px;
  margin-top: 8px;
  padding-left: 1.5em;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0.5em;
  position: relative;
}
ul li img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: 2px;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #185D32 0%, #09201A 100%);
  color: #fff;
  padding: 32px 0 0 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 0 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
footer nav a {
  color: #fff;
  opacity: 0.85;
  font-size: 1rem;
  transition: color 0.2s, opacity 0.2s;
}
footer nav a:hover {
  color: #E3DCC2;
  opacity: 1;
}
footer p {
  color: #E3DCC2;
  font-size: 0.97rem;
  opacity: 0.82;
}

/* --- MOBILE MENU (Hamburger) --- */
.mobile-menu-toggle {
  display: none;
  background: #185D32;
  color: #fff;
  font-size: 2rem;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  margin-right: 14px;
  transition: background 0.2s, color 0.2s;
  z-index: 180;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #154925;
  color: #E3DCC2;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #185D32;
  box-shadow: -6px 0 40px rgba(9,32,26,0.22);
  z-index: 200;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 32px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.25rem;
  border: none;
  cursor: pointer;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #E3DCC2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(227,220,194,0.18);
  transition: color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E3DCC2;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #09201A;
  box-shadow: 0 -4px 16px 0 rgba(24,93,50,0.09);
  padding: 24px 12px 24px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  z-index: 9980;
  transition: transform 0.33s cubic-bezier(.77,0,.175,1), opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(125%);
  opacity: 0;
}
.cookie-banner .cookie-text {
  flex: 1;
  font-size: 1rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.14s;
}
.cookie-banner .cookie-btn.accept {
  background: #185D32;
  color: #fff;
  font-weight: 600;
}
.cookie-banner .cookie-btn.accept:hover {
  background: #154925;
  color: #E3DCC2;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #185D32;
  border: 1px solid #185D32;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #185D32;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #E3DCC2;
  color: #185D32;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #185D32;
  color: #E3DCC2;
}
/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(24,93,50,0.15);
  z-index: 10200;
  width: 96vw;
  max-width: 440px;
  padding: 36px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.6rem;
  color: #185D32;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  flex: 1;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #09201A;
}
.cookie-modal .toggle-switch {
  width: 44px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E3DCC2;
  border-radius: 24px;
  transition: background 0.2s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: #185D32;
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .category-desc {
  font-size: 0.98rem;
  color: #555;
  margin-bottom: 0;
  margin-left: 8px;
}
.cookie-modal .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 6px;
}
.cookie-modal .cookie-btn {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-btn.save {
  background: #185D32;
  color: #fff;
}
.cookie-modal .cookie-btn.save:hover {
  background: #298a54;
  color: #E3DCC2;
}
.cookie-modal .cookie-btn.cancel {
  background: #E3DCC2;
  color: #185D32;
}
.cookie-modal .cookie-btn.cancel:hover {
  background: #185D32;
  color: #E3DCC2;
}

/* --- TEXT SECTIONS & SPECIAL ELEMENTS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.text-section ul {
  margin-top: 0px;
}

/* --- ENSURE NO OVERLAPPING & RESPONSIVE GAPS --- */
section, .content-wrapper, .feature-grid, .card-container, .content-grid, .testimonial-card, .feature-item, .text-image-section {
  margin-bottom: 20px;
}
.card, .feature-grid > div, .testimonial-card, .content-wrapper {
  margin-bottom: 20px;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1120px) {
  .container { max-width: 98vw; }
}
@media (max-width:900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 24px 12px 18px 12px;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 18px;
    text-align: center;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  section, .section { padding: 28px 0 28px 0; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.08rem; }
  .feature-grid, .card-container, .content-grid, .text-image-section, .footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .card {
    min-width: unset;
    width: 100%;
  }
  .content-wrapper {
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 12px;
    padding-left: 8px;
    padding-right: 8px;
    align-items: flex-start;
  }
  header nav, footer nav {
    flex-direction: column;
    gap: 12px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  .container { padding: 0 4vw; }
  section,
  .section {
    padding: 16px 0 16px 0;
  }
  .content-wrapper, .text-section {
    gap: 10px;
  }
  .cookie-modal {
    padding: 22px 8px 17px 8px;
    max-width: 96vw;
  }
}

/* --- SHOW/HIDE MOBILE NAV --- */
@media (max-width: 900px) {
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- Z-INDEX LAYERING --- */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 100;
}
.cookie-banner { z-index: 9900; }
.cookie-modal { z-index: 10200; }
.mobile-menu { z-index: 9950; }

/* --- VISUAL STYLE ENHANCEMENTS & MODERN MICRO-INTERACTIONS --- */
.card, .feature-grid > div, .testimonial-card, .btn-primary, .btn-secondary, .cookie-modal, .cookie-banner {
  transition: box-shadow 0.2s, transform 0.16s, background 0.18s, color 0.18s;
}

/* --- FORM ELEMENTS (if any input fields present) --- */
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #E3DCC2;
  padding: 10px 12px;
  outline: none;
  margin-bottom: 14px;
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #185D32;
  box-shadow: 0 2px 6px 0 rgba(24,93,50,0.09);
}

/* --- UTILITIES --- */
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-20 { margin-bottom: 20px !important; }
.text-center { text-align: center !important; }

/* --- CUSTOM SCROLLBAR FOR MODERN FEEL --- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #E3DCC2; border-radius: 6px; }
::-webkit-scrollbar-track { background: #fff; }

/* --- HIGHLIGHTED SECTIONS (optional) --- */
section.highlighted {
  background: linear-gradient(90deg, #E3DCC2 0%, #fff 90%);
  border-radius: 24px;
}
/* --- END --- */