/* CSS RESET & BASE STYLES (Normalize & Box Sizing) */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FFFDF6;
  color: #234017;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
figure {
  margin: 0;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}
a {
  color: #336128;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #BF4B00;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #234017;
  margin-bottom: 16px;
  line-height: 1.2;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

@media (min-width: 600px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

p, li {
  font-size: 1rem;
  color: #234017;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}

ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
ul li, ol li{
  margin-bottom: 8px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 730px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* HEADER / NAVIGATION */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #EDF0E2;
  width: 100%;
  z-index: 999;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  min-height: 56px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav.main-nav a {
  color: #234017;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  background: #EDF0E2;
  color: #336128;
}
nav.main-nav .cta,
nav.main-nav a.primary {
  background: #336128;
  color: #FFFDF6;
  border-radius: 22px;
  padding: 10px 20px;
  font-weight: 700;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 12px rgba(51, 97, 40, 0.10);
}
nav.main-nav a.primary:hover,
nav.main-nav a.primary:focus {
  background: #234017;
  color: #FFFDF6;
  box-shadow: 0 4px 20px rgba(51, 97, 40, 0.14);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFDF6;
  color: #234017;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  border: none;
  outline: none;
  box-shadow: none;
  margin-left: 8px;
  cursor: pointer;
  z-index: 1101;
  transition: background 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #EDF0E2;
}

nav.main-nav {
  flex-direction: row;
}

@media (max-width: 990px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(255,253,246,0.98);
  z-index: 1100;
  transition: transform 0.36s cubic-bezier(.4,1,.5,1);
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #FFFDF6;
  color: #234017;
  border: none;
  font-size: 2.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-self: flex-end;
  margin: 32px 32px 16px 0;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 1200;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #EDF0E2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 24px 36px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #234017;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 10px 6px 10px 0;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EDF0E2;
  color: #336128;
}

/* MAIN SECTIONS & FLEX STRUCTURES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  box-shadow: 0 4px 18px 0 rgba(51, 97, 40, 0.06);
  border-radius: 18px;
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s;
}
@media (hover: hover) {
  .card:hover {
    box-shadow: 0 10px 30px 0 rgba(51, 97, 40, 0.09), 0 2px 8px 0 rgba(51,97,40,.06);
  }
}
.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;
    align-items: flex-start;
    gap: 20px;
  }
}

/* FEATURES (Highlights Grid) */
.feature-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: #FFFDF6;
  border-radius: 17px;
  box-shadow: 0 2px 8px 0 rgba(51, 97, 40, 0.04);
  padding: 28px 18px 18px 18px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.feature-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 2px;
}
@media (hover: hover) {
  .feature-item:hover {
    box-shadow: 0 6px 22px 0 rgba(51, 97, 40, 0.11);
  }
}

/* SERVICE LIST */
.service-list {
  list-style: disc outside;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.service-list li {
  background: #FFFFFF;
  padding: 12px 16px;
  border-radius: 11px;
  box-shadow: 0 2px 8px 0 rgba(51, 97, 40, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-list span {
  color: #E76D33;
  font-weight: 600;
  margin-left: 8px;
  font-size: 0.98rem;
}

/* TESTIMONIAL CARDS */
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 10px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 22px;
  background: #FFFFFF;
  border-left: 5px solid #E76D33;
  box-shadow: 0 4px 20px 0 rgba(51, 97, 40, 0.08);
  border-radius: 17px 17px 17px 6px;
  max-width: 350px;
  min-width: 250px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card p {
  color: #234017;
  font-size: 1.07rem;
  font-style: italic;
}
.testimonial-meta {
  color: #6B7B65;
  font-size: .92rem;
  font-style: normal;
  font-weight: 500;
}
@media (hover: hover) {
  .testimonial-card:hover {
    box-shadow: 0 10px 38px 0 rgba(51, 97, 40, 0.12);
    border-left: 5px solid #336128;
  }
}

/* BUTTONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 22px;
  background: #E76D33;
  color: #FFFDF6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(231,109,51,0.09);
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.12s;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-top: 5px;
}
.cta.primary {
  background: #336128;
  color: #FFFDF6;
  box-shadow: 0 4px 20px rgba(51, 97, 40, 0.13);
}
.cta:hover, .cta:focus {
  background: #BF4B00;
  color: #FFFDF6;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 24px rgba(231,109,51,0.11);
}
.cta.primary:hover, .cta.primary:focus {
  background: #234017;
  color: #FFFDF6;
  box-shadow: 0 10px 26px rgba(51, 97, 40, 0.17);
}

/* CONTACT DETAILS */
.contact-details {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details a {
  color: #E76D33;
  text-decoration: underline;
  word-break: break-word;
}
.contact-details a:hover {color: #BF4B00;}

/* FOOTER */
footer {
  background: #F8FAF3;
  border-top: 1px solid #EDF0E2;
  padding: 32px 0 18px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  font-size: 1rem;
}
.footer-nav a {
  color: #234017;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: 0.9;
  border-radius: 7px;
  padding: 6px 10px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #EDF0E2;
  color: #336128;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .95rem;
  color: #6B7B65;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY SCALES & SPACING */
@media (min-width: 700px) {
  body {font-size: 17px;}
  .container { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 700px) {
  .section { padding: 26px 0 26px 0; }
  h1 {font-size: 1.55rem;}
  h2 {font-size: 1.2rem;}
}

/* Remove overlapping at all breakpoints */
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
.section, .card-container, .content-grid, .testimonial-cards, .features {
  gap: 20px;
}

/* FORMS & INPUTS (for completeness if added later) */
input, select, textarea {
  border: 1px solid #D5DFCA;
  border-radius: 9px;
  padding: 10px 14px;
  background: #FFFFFF;
  color: #234017;
  margin-bottom: 15px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E76D33;
  outline: none;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 253, 246, 0.97);
  box-shadow: 0 -2px 24px 0 rgba(51, 97, 40, 0.09);
  color: #234017;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 18px 30px 18px;
  z-index: 2000;
  animation: slideUpBanner 0.7s cubic-bezier(.4,1,.5,1);
}
@keyframes slideUpBanner {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  padding: 9px 22px;
  border-radius: 15px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
.cookie-banner .accept {
  background: #336128;
  color: #FFFDF6;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #234017;
}
.cookie-banner .reject {
  background: #EDF0E2;
  color: #234017;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E76D33;
  color: #FFFDF6;
}
.cookie-banner .settings {
  background: #E76D33;
  color: #FFFDF6;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #BF4B00;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 64, 23, 0.22);
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBackdrop 0.4s;
}
@keyframes fadeInBackdrop {
  0% {opacity:0;}
  100% {opacity:1;}
}
.cookie-modal {
  background: #FFFDF6;
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 rgba(51,97,40,0.18);
  max-width: 420px;
  width: 94%;
  padding: 32px 24px 26px 24px;
  position: relative;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2100;
  animation: modalZoomIn 0.3s cubic-bezier(.24,1,.40,1);
}
@keyframes modalZoomIn {
  0% {transform: scale(0.92); opacity: 0;}
  100% {transform: scale(1.0); opacity: 1;}
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.21rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 8px 0;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #234017;
  background: #FFFFFF;
  padding: 8px 10px;
  border-radius: 9px;
}
.cookie-modal .cookie-cat label {
  flex: 1 1 auto;
}
.cookie-modal .cookie-cat input[type=checkbox] {
  accent-color: #E76D33;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 19px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px; right: 13px;
  background: transparent;
  color: #234017;
  font-size: 1.4rem;
  border: none;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .close-cookie-modal:hover,
.cookie-modal .close-cookie-modal:focus {
  background: #EDF0E2;
}

/* RESPONSIVENESS */
@media (max-width: 860px) {
  .feature-grid, .features, .testimonial-cards, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width:600px) {
  .footer-nav, .footer-info {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width:400px) {
  h1 {font-size:1.2rem;}
  h2 {font-size:1.0rem;}
}

/* UTILITIES */
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

/* ACCESSIBILITY HINTS */
:focus {
  outline: 2px solid #E76D33;
  outline-offset: 2px;
}

::-webkit-input-placeholder {color: #A1B093;}
::-moz-placeholder {color: #A1B093;}
:-ms-input-placeholder {color: #A1B093;}
::placeholder {color: #A1B093;}
