/* RESET & NORMALIZATION */
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.6;
  background-color: #F6F5F0;
  color: #20345D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  color: #20345D;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #57A639;
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #20345D;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* HEADER & MAIN NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(32,52,93,0.06);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
  padding: 18px 0;
  font-size: 1rem;
}
.main-nav a {
  padding: 5px 10px;
  border-radius: 21px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: background 0.18s, color 0.2s;
  position: relative;
}
.main-nav a:not(.cta-primary):hover,
.main-nav a:not(.cta-primary):focus {
  color: #57A639;
  background: #F2F2F2;
}
.main-nav .cta-primary {
  background: #57A639;
  color: #fff;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(87,166,57,0.13);
  transition: background 0.15s, box-shadow 0.2s;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: #3d824c;
  color: #fff;
  box-shadow: 0 4px 20px rgba(87,166,57,0.19);
}
.main-nav img {
  height: 36px;
  margin-right: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #20345D;
  cursor: pointer;
  z-index: 102;
  margin-left: auto;
  padding: 4px 14px 4px 4px;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #F2F2F2;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.68,-0.11, 0.32, 1.29);
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding-top: 45px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 20px 0 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #20345D;
  cursor: pointer;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #57A639;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 50px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #20345D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 12px;
  border-radius: 15px;
  margin-right: 12px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #57A639;
  color: #fff;
}

/* HERO SECTION */
.hero {
  background: #f6faed url('../assets/hero-bg-texture.jpg') repeat;
  min-height: 320px;
  border-radius: 0 0 38px 38px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 32px rgba(87,166,57,0.03);
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}
.hero h1 {
  font-size: 2.4rem;
  color: #2d4d2b;
  margin-bottom: 18px;
  text-shadow: 0 5px 16px rgba(32,52,93,0.08);
}
.hero p {
  font-size: 1.2rem;
  color: #44623f;
  margin-bottom: 25px;
  max-width: 630px;
}

/* MAIN SECTIONS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(87,166,57,0.07);
}

.features, .services {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f6faed;
  border-radius: 24px;
  min-width: 0;
  box-shadow: 0 2px 9px rgba(87,166,57,0.05);
}
.features ul, .services ul {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.features li, .services li {
  font-size: 1.11rem;
  color: #375239;
  line-height: 1.63;
  align-items: center;
  display: flex;
  gap: 10px;
  border-left: 4px solid #57A639;
  padding-left: 14px;
}
.features li img, .services li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-right: 3px;
}
.features strong, .services strong {
  font-weight: 700;
  color: #20345D;
}
.features .feature-icons {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin: 16px 0;
  font-size: 1.08rem;
  color: #476e53;
}
.features .feature-icons img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 4px;
}

/* CALL TO ACTIONS */
.cta-block {
  margin-bottom: 60px;
  padding: 38px 0 0 0;
  background: none;
}
.cta-primary, .cta-secondary {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border-radius: 27px;
  box-shadow: 0 4px 18px rgba(87,166,57,0.12);
  cursor: pointer;
  border: none;
  transition: background 0.21s, color 0.18s, box-shadow 0.22s;
}
.cta-primary {
  background: #57A639;
  color: #fff;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #3d824c;
  box-shadow: 0 6px 27px rgba(87,166,57,0.18);
  color: #fff;
}
.cta-secondary {
  background: #fff;
  color: #57A639;
  border: 2px solid #57A639;
  box-shadow: 0 2px 8px rgba(87,166,57,0.12);
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #57A639;
  color: #fff;
  border-color: #3d824c;
}

/* ABOUT SECTIONS & TEXT IMAGE */
.about {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffef8;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(87,166,57,0.04);
}
.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;
  }
}

/* CARDS & CARD CONTAINER */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(49,87,54,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 340px;
  padding: 30px 24px;
  transition: box-shadow 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 26px rgba(32,52,93,0.11);
}
.card-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f2faf2;
  border-radius: 24px;
}
.testimonials h2 {
  color: #20345D;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 17px;
  box-shadow: 0 2px 15px rgba(87,166,57,0.09);
  font-size: 1.1rem;
  color: #20345D;
  min-width: 0;
}
.testimonial-card p {
  font-style: italic;
  color: #2d4d2b;
  text-align: center;
}
.testimonial-card span {
  color: #57A639;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 7px;
}

/* UNIQUE LIST ITEM FLEX FOR FEATURES, ETC. */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* CONTACT SECTION */
.contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}
.contact h2 {
  margin-bottom: 19px;
  color: #20345D;
}
.contact ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  color: #375239;
}
.contact li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.text-section {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact .cta-secondary {
  align-self: flex-start;
}

/* FOOTER STYLES */
footer {
  background: #E7EBDF url('../assets/footer-texture.jpg') repeat;
  margin-top: 55px;
  padding: 0;
  font-size: 1rem;
  color: #2c4325;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -2px 20px rgba(87,166,57,0.03);
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 0 33px 0;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 245px;
}
.footer-brand img {
  width: 57px; height: 48px;
}
.footer-brand p {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 6px;
  color: #44623f;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  min-width: 140px;
}
.footer-nav a {
  color: #375239;
  padding: 3px 0;
  border-radius: 4px;
  transition: background 0.19s, color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #d8ede4;
  color: #20345D;
}
.footer-legal {
  font-size: 0.99rem;
  color: #789676;
  margin-top: 9px;
  margin-bottom: 13px;
}
.footer-legal a {
  color: #749B66;
  padding: 0 3px;
  transition: color 0.18s;
}
.footer-legal a:hover,
.footer-legal a:focus {
  color: #57A639;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #44623f;
  font-size: 0.98rem;
  min-width: 220px;
}
.footer-contact img {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 7px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  opacity: 0.82;
  transition: opacity 0.16s;
  border-radius: 12px;
}
.footer-social a:hover img,
.footer-social a:focus img {
  opacity: 1;
  box-shadow: 0 2px 14px rgba(32,52,93,0.13);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #20345D;
  color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 23px 16px;
  box-shadow: 0 -4px 16px rgba(32,52,93,0.13);
  font-size: 1rem;
  transition: transform 0.33s, opacity 0.28s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-message {
  max-width: 480px;
  line-height: 1.6;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 17px;
  border: none;
  cursor: pointer;
  margin: 0 2px;
  font-weight: 700;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
}
.cookie-banner .accept-btn {
  background: #57A639;
  color: #fff;
}
.cookie-banner .accept-btn:hover,
.cookie-banner .accept-btn:focus {
  background: #6ad14f;
  color: #fff;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: #57A639;
  border: 1.5px solid #57A639;
}
.cookie-banner .reject-btn:hover,
.cookie-banner .reject-btn:focus {
  background: #57A639;
  color: #fff;
}
.cookie-banner .settings-btn {
  background: #e2eedd;
  color: #20345D;
}
.cookie-banner .settings-btn:hover,
.cookie-banner .settings-btn:focus {
  background: #a4ca83;
  color: #20345D;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,52,93,0.48);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #f6faed;
  border-radius: 25px;
  box-shadow: 0 4px 42px rgba(32,52,93,0.09);
  padding: 38px 28px;
  max-width: 420px;
  min-width: 0;
  color: #20345D;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  animation: cookie-modal-pop 0.36s cubic-bezier(.65,-0.12,.3,1.6);
}
@keyframes cookie-modal-pop {
  0% { transform: scale(0.9); opacity: 0; }
  80% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #20345D;
}
.cookie-category {
  margin-bottom: 12px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}
.cookie-modal .toggle-switch input {
  display: none;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #d8ede4;
  border-radius: 20px;
  transition: background 0.22s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: #57A639;
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 16px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: #57A639;
  color: #fff;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .modal-actions .modal-cancel {
  background: #efefef;
  color: #20345D;
}
.cookie-modal .modal-actions .modal-cancel:hover {
  background: #a4ca83;
}
.cookie-modal .modal-actions .modal-save {
  background: #57A639;
  color: #fff;
}
.cookie-modal .modal-actions .modal-save:hover {
  background: #3d824c;
}
.cookie-modal .modal-close-btn {
  background: none;
  border: none;
  color: #789676;
  font-size: 1.45rem;
  position: absolute;
  right: 20px;
  top: 11px;
  cursor: pointer;
}
.cookie-modal .modal-close-btn:hover {
  color: #57A639;
}

/* Responsive Layouts: Mobile-First */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 1000px) {
  .container {
    max-width: 870px;
  }
  .footer-contact, .footer-nav {
    min-width: 0;
  }
  footer .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 15px;
    font-size: 0.97rem;
  }
}
@media (max-width: 850px) {
  .main-nav a {
    padding: 4px 7px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-brand, .footer-contact, .footer-nav, .footer-legal, .footer-social {
    min-width: 0;
    max-width: none;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    padding: 32px 0 26px 0;
    align-items: flex-start;
  }
  .hero {
    min-height: 200px;
    padding: 26px 0;
    border-radius: 0 0 20px 20px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.21rem;
  }
  .section, .features, .about, .services, .testimonials, .contact {
    padding: 22px 8px;
    margin-bottom: 40px;
    border-radius: 15px;
  }
  .cta-block {
    padding: 18px 0 0 0;
    margin-bottom: 35px;
  }
  .testimonial-card {
    padding: 13px;
    border-radius: 9px;
    font-size: 1rem;
  }
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 6px;
    font-size: 0.99rem;
  }
  .cookie-modal {
    padding: 18px 8px;
    max-width: 94vw;
    border-radius: 13px;
  }
}

/* Micro-interaction for buttons and cards */
button:active,
.cta-primary:active,
.cta-secondary:active {
  transform: scale(0.98);
}
.card:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* Organic/Nature-inspired deco */
.section, .features, .card, .testimonials, .about {
  background-image: url('../assets/bg-organic.svg');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 170px auto;
  /* fallback in case bg not available */
}
@media (max-width: 600px) {
  .section, .features, .card, .testimonials, .about {
    background-size: 90px auto;
  }
}

/* Hide elements visually (for cookie modal, etc) */
.hidden { display: none !important; }

/* Utility spacing */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* --- End of CSS --- */
