/* === RESET & BASE STYLES === */
/* Box sizing and zero-margins for geometric precision */
html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  background: #F4F7FA;
  color: #22543D;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a {
  color: #22543D;
  text-decoration: none;
  transition: color 0.24s cubic-bezier(.64,.09,.08,1);
}
a:hover, a:focus {
  color: #8BC34A;
}
ul, ol {
  margin-left: 2em;
  margin-top: 12px;
  margin-bottom: 12px;
}
ul li, ol li {
  padding-left: 0.2em;
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
button, input, select {
  font-family: inherit;
  outline: none;
}
input, select {
  border: 1.5px solid #22543D;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fff;
  margin-top: 6px;
  margin-bottom: 16px;
  transition: border 0.26s cubic-bezier(.64,.09,.08,1);
}
input:focus, select:focus {
  border-color: #8BC34A;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #22543D;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
p, blockquote {
  font-size: 1rem;
  color: #22543D;
  margin-bottom: 16px;
}
blockquote {
  border-left: 4px solid #22543D;
  padding-left: 18px;
  font-size: 1.05rem;
  font-style: italic;
  background: #f0f6ef;
  margin-bottom: 10px;
}
small {
  display: block;
  font-size: 0.945em;
  color: #519a67;
}
strong {
  font-weight: 700;
}

/* === FLEX LAYOUT HELPERS === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  padding: 0;
}
.text-section {
  margin-top: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 540px){
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #8BC34A;
  box-shadow: 0 2px 8px 0 rgba(34,84,61,0.06),0 1.5px 8px rgba(139,195,74,0.08);
  position: relative;
  padding: 28px 24px;
  transition: box-shadow 0.18s cubic-bezier(.47,.79,.66,.96);
}
.card:hover {
  box-shadow: 0 5.5px 20px 0 rgba(38, 105, 57, 0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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){
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1.5px solid #8BC34A;
  box-shadow: 0 2px 10px 0 rgba(34,84,61,0.07);
  transition: background 0.18s, box-shadow 0.16s;
}
.testimonial-card:hover {
  background: #f7faee;
  box-shadow: 0 6px 22px 0 rgba(34,84,61,0.13);
}
.testimonial-card blockquote {
  color: #1d341a;
  background: none;
  border-left: 4px solid #8BC34A;
  margin-bottom: 0;
}
.testimonial-meta {
  color: #22543D;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1em;
}

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

/* === BUTTONS & CTAs === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7em 2.2em 0.7em 2.2em;
  border-radius: 5px 18px 5px 18px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.07em;
  font-weight: 700;
  color: #fff;
  background: #22543D;
  box-shadow: 0 2px 10px 0 rgba(139,195,74, 0.11);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.14s;
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #8BC34A;
  color: #22543D;
  box-shadow: 0 6px 18px 0 rgba(34,84,61,0.12);
  transform: translateY(-2.5px) scale(1.04) skew(-2.5deg,-1.5deg);
}

button, .btn-primary {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

/* === HEADER / NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(34,84,61,0.06);
  z-index: 20;
  position: relative;
}
header > nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  height: 65px;
}
header > nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03em;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 12px 3px 13px 3px;
  transition: background 0.18s, color 0.18s;
  color: #22543D;
  margin: 4px 0;
}
header > nav a:hover, header > nav a:focus {
  background: #F4F7FA;
  color: #8BC34A;
}
header nav a.btn-primary {
  margin-left: auto;
  margin-right: 0;
}
header nav img {
  height: 38px;
  margin-right: 12px;
  background: none;
  border-radius: 4px;
  padding: 0;
  transition: box-shadow 0.12s;
}

/* Hamburger mobile menu icon */
.mobile-menu-toggle {
  display: none;
  background: #22543D;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  border: none;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 31;
  box-shadow: 0 1.5px 7px 0 rgba(34,84,61,0.09);
  transition: background 0.18s, transform 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #8BC34A;
  color: #22543D;
  transform: scale(1.05) rotate(1deg);
}

/* MOBILE NAV OVERLAY */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  background: #22543D;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  padding-top: 32px;
  padding-left: 0;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.85,0,.25,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin-right: 26px;
  margin-bottom: 20px;
  padding: 12px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1102;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8BC34A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  padding-left: 32px;
  margin-top: 6px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.21rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1.5px dashed #4ba853;
  width: 90%;
  transition: background 0.16s, color 0.18s;
  margin-bottom: 0px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8BC34A;
  background: #173828;
}

@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 1024px) {
  header > nav { flex-wrap: wrap; }
}
@media (max-width: 980px) {
  header > nav {
    flex-direction: row;
    font-size: 0.98em;
    height: auto;
  }
}
@media (max-width: 820px) {
  .container {
    padding: 0 9px;
  }
  header nav a,
  .btn-primary {
    font-size: 0.99em;
    padding: 0.57em 1.7em;
  }
}
@media (max-width: 720px) {
  header > nav > a:not(:first-child) { display: none; }
  header nav a.btn-primary { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 721px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === MAIN BODY, SECTION, FOOTER === */
main {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
footer {
  background: #22543D;
  color: #fff;
  padding: 40px 0 18px;
  margin-top: 20px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: #fff;
  font-size: 1em;
  padding: 4px 0;
  font-weight: 500;
  border-bottom: 1.5px solid transparent;
  transition: border 0.2s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  border-bottom: 1.5px solid #8BC34A;
  color: #8BC34A;
}
footer img {
  height: 28px;
  margin-right: 10px;
  margin-bottom: -7px;
}
footer span {
  font-size: 0.97em;
}
footer > .container > div:last-child {
  color: #b9d7c6;
  font-size: 0.99em;
  margin-top: 10px;
}

@media (max-width: 540px) {
  footer {
    padding: 22px 0 12px;
  }
}

/* === ICONS and LISTS === */
ul li img {
  width: 22px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 5px;
  background: #eafaf0;
  padding: 3px;
}
ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 1em;
  line-height: 1.8;
  color: #22543D;
  gap: 8px;
}

ol li {
  margin-bottom: 9px;
  color: #22543D;
  font-size: 1em;
  line-height: 1.7;
}

/* === INPUTS & SELECTS === */
input[type='search'] {
  width: 260px;
  max-width: 100%;
  background: #fff;
  border: 1.5px solid #8BC34A;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22543D;
  font-size: 1em;
  font-weight: 500;
}
select {
  min-width: 140px;
  color: #22543D;
}

/* === SUBMISSIONS & DISCLAIMERS === */
.submission-success-message {
  color: #24914b;
  background: #e3f4e8;
  border-left: 4px solid #8BC34A;
  border-radius: 8px;
  padding: 12px 19px;
  margin-top: 14px;
  font-size: 1.01em;
}
.privacy-disclaimer {
  background: #edf6f1;
  color: #14462f;
  border-radius: 8px;
  padding: 9px 17px;
  margin-bottom: 18px;
  font-size: 0.98em;
}

/* === CARDS, BOXES & SHAPES === */
.card {
  border-radius: 14px 24px 14px 24px;
  border: 1.2px solid #8BC34A;
  box-shadow: 0 3px 16px 0 rgba(64,109,56,0.07);
  padding: 28px 20px;
  background: #fff;
  margin-bottom: 20px;
}
.card-container {
  gap: 24px;
}

/* === SPACING AND WHITE SPACE === */
.section:not(:last-child){
  margin-bottom: 60px;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}
.content-grid, .card-container, .text-image-section {
  gap: 20px;
}

/* === MICRO-INTERACTIONS/TRANSITIONS === */
a, button, .btn-primary, input, select {
  transition: background 0.19s, color 0.19s, box-shadow 0.13s, border 0.18s, transform 0.12s;
}

/* =============== COOKIE BANNER & MODAL =============== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #22543D;
  box-shadow: 0 -3px 14px 0 rgba(34,84,61,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 1200;
  padding: 20px 22px;
  gap: 32px;
  font-size: 1rem;
  border-top: 2.7px solid #8BC34A;
  animation: cookie-slide-in 0.67s cubic-bezier(.61,-0.28,.55,1.39);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  border-radius: 7px 18px 7px 18px;
  padding: 7px 24px;
  border: none;
  margin-left: 0;
  cursor: pointer;
  background: #22543D;
  color: #fff;
  transition: background 0.2s, color 0.19s;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #8BC34A;
  color: #22543D;
}
.cookie-banner .cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #22543D;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #22543D;
  border: 1.5px solid #8BC34A;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #8BC34A;
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #8BC34A;
  color: #22543D;
}

@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 7px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
}

/* Cookie Modal Styling */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1400;
  inset: 0;
  background: rgba(34, 84, 61, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.32s cubic-bezier(.59,.21,.76,1) forwards;
}
@keyframes modal-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px 5px 22px 5px;
  box-shadow: 0 7px 30px 0 rgba(34,84,61,0.18);
  min-width: 295px;
  max-width: 98vw;
  width: 410px;
  position: relative;
  padding: 35px 32px 30px 32px;
  animation: modal-slide-down 0.36s cubic-bezier(.48,.1,.49,1.18) forwards;
  color: #22543D;
}
@keyframes modal-slide-down {
  0% { transform: translateY(-55px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.21rem;
  font-family: 'Montserrat',sans-serif;
  color: #22543D;
  margin-bottom: 12px;
}
.cookie-category-list {
  list-style: none;
  margin-bottom: 23px;
}
.cookie-category-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04em;
  padding: 7px 0;
}
.cookie-category-list input[type="checkbox"] {
  accent-color: #8BC34A;
  width: 19px;
  height: 19px;
  margin: 0;
}
.cookie-category-list .essential {
  font-weight: 700;
  color: #22543D;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 2px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 6px 14px;
  font-size: 1em;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  border: none;
  color: #22543D;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 3px;
  transition: background 0.14s, color 0.21s;
}
.cookie-modal .modal-close:hover {
  background: #8BC34A;
  color: #fff;
}

/* Hide banner/modal when not active */
.cookie-banner, .cookie-modal-backdrop {
  display: none;
}
.cookie-banner.active,
.cookie-modal-backdrop.active {
  display: flex;
}

/* === RESPONSIVENESS === */
@media (max-width: 880px){
  h1 { font-size: 1.56rem;}
  h2 { font-size: 1.26rem;}
}
@media (max-width: 540px){
  h1 { font-size: 1.13rem;}
  h2 { font-size: 0.99rem;} 
  .container { padding: 0 2px;}
  .btn-primary { padding: 0.62em 1.1em; }
}

/* === GEOMETRIC/STRUCTURED DECORATIVE SHAPES === */
/* Example background figures on hero sections/cards */
.section {
  position: relative;
  overflow: visible;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  top: -35px; left: -27px;
  width: 80px; height: 80px;
  background: #8bc34a11;
  border-radius: 22% 20% 44% 8%;
  z-index: 0;
  pointer-events: none;
}
.section:nth-child(even)::after {
  left: unset;
  right: -23px;
  top: -18px;
  background: #22543d13;
  border-radius: 8% 80% 10% 60%;
}
@media (max-width: 720px){
  .section::after { display: none; }
}

/* --- VISUAL HIERARCHY UTILITY CLASSES --- */
.mt24 { margin-top: 24px; }
.mb24 { margin-bottom: 24px; }
.mb32 { margin-bottom: 32px; }
.mb60 { margin-bottom: 60px; }

/* === ACCESSIBILITY & FOCUS === */
a:focus, button:focus, .btn-primary:focus {
  outline: 2.2px dashed #8BC34A;
  outline-offset: 2px;
}

/* === PRINT SUPPORT === */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  section, main, body { background: #fff !important; color: #000; }
}

/* ========== END OF STYLE ==========
/*************************************/
