/* ===================
   CSS Reset and Normalize
   =================== */
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body { margin: 0; font-family: 'Montserrat', Arial, sans-serif; background-color: #F3FBF7; color: #222; line-height: 1.6; }
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: #387141; text-decoration: none; transition: color 0.2s; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; border: none; outline: none; background: none; }
ul, ol { padding-left: 1.2em; margin-bottom: 1.2em; }
li { margin-bottom: 0.5em; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #387141;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.12rem; }
strong { font-weight: 700; }
.container {
  width: 100%;
  max-width: 1168px;
  margin: 0 auto;
  padding-left: 16px; padding-right: 16px;
}
/* ===================
   Gradient Modern Elements & Backgrounds
   =================== */
body { background: linear-gradient(130deg, #F3FBF7 0%, #B6C25B 160%); }
.hero {
  background: linear-gradient(120deg, #F3FBF7 55%, #B6C25B 130%);
  border-radius: 0 0 36px 36px;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.hero h1, .hero p { color: #224B29; }
.hero .cta-btn { margin-top: 24px; }

/* ===================
   Header & Navigation
   =================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 24px rgba(56,113,65,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-weight: 500;
  font-size: 1rem;
  color: #387141;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #B6C25B;
  color: #224B29;
}
.cta-btn {
  background: linear-gradient(90deg, #387141 70%, #B6C25B 120%);
  color: #fff;
  border-radius: 32px;
  padding: 12px 28px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 24px rgba(56,113,65,0.15);
  transition: background 0.25s, transform 0.17s, box-shadow 0.17s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #4fa95c;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(56,113,65,0.16);
}

/* ===================
   Mobile Navigation
   =================== */
.mobile-menu-toggle {
  display: none;
  background: #B6C25B;
  color: #387141;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  border-radius: 50%;
  position: fixed;
  top: 18px;
  right: 16px;
  z-index: 1004;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(56,113,65,0.10);
  cursor: pointer;
  border: none;
  align-items: center;
  transition: background 0.15s, transform 0.14s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:hover {
  background: #a3b345;
  color: #fff;
  transform: scale(1.08);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 40px rgba(56,113,65,0.22);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.86,.01,.33,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #387141;
  background: none;
  border: none;
  align-self: flex-end;
  margin-top: 18px;
  margin-right: 28px;
  cursor: pointer;
  transition: color 0.2s, transform 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B6C25B;
  transform: scale(1.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 42px;
  gap: 6px;
}
.mobile-nav a {
  padding: 16px 32px;
  font-size: 1.07rem;
  color: #387141;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid #f2f4ef;
  transition: background 0.18s, color 0.19s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3FBF7;
  color: #224B29;
}

@media (max-width: 1140px) {
  .container { max-width: 98vw; }
}
@media (max-width: 992px) {
  header .container nav {
    gap: 16px;
  }
}
@media (max-width: 880px) {
  header .container nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===================
   Sections & Spacing
   =================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
h2 {
  color: #387141;
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
}

/* ===================
   Feature Grids & Card Style
   =================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div, .feature-grid > li {
  flex: 1 1 238px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(56,113,65,0.07);
  padding: 24px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.13s;
  border: 1px solid #e7f0eb;
}
.feature-grid > div:hover, .feature-grid > li:hover {
  box-shadow: 0 8px 32px rgba(56,113,65,0.17);
  transform: translateY(-3px) scale(1.01);
}
.feature-grid img {
  height: 28px; width: 28px; margin-bottom: 10px;
}

/* ===================
   Card & List Container Patterns
   =================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px rgba(56,113,65,0.09);
  padding: 24px 24px 22px 24px;
}
.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: 18px;
  }
}

.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  flex: 1 1 280px;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 3px 18px rgba(56,113,65,0.10);
  margin-bottom: 20px;
  min-width: 220px;
  border: 1px solid #eaf2e6;
}
.testimonial-card p,
.testimonial-card strong,
.testimonial-card div {
  color: #224B29;
  font-size: 1rem;
}
.testimonial-card img {
  height: 28px; width: auto;
}

/* ===================
   Form and Buttons
   =================== */
button, .cta-btn {
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.14s, transform 0.16s;
}
button:active {
  filter: brightness(0.88);
}
input, textarea, select {
  border: 1px solid #B6C25B;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
  width: 100%;
  background: #fff;
  color: #222;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: #387141;
  box-shadow: 0 0 0 2px #B6C25B44;
}

/* ===================
   List Styling
   =================== */
ul li, ul > li {
  padding-left: 0.18em;
  margin-bottom: 12px;
}
li strong {
  font-weight: 700;
  color: #387141;
}

/* ===================
   Footer Style
   =================== */
footer {
  background: linear-gradient(90deg, #B6C25B 27%, #387141 128%);
  color: #fff;
  margin-top: 60px;
  border-radius: 26px 26px 0 0;
  font-size: 1rem;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0 18px 0;
}
.footer-brand {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}
.footer-brand p { color: #F3FBF7; margin-top: 8px; }
.footer-links {
  flex: 1 1 340px;
  display: flex;
  gap: 40px;
  min-width: 220px;
  justify-content: flex-start;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #fff;
  font-size: 1rem;
  transition: color 0.17s;
  font-weight: 500;
}
.footer-links a:hover, .footer-links a:focus {
  color: #B6C25B;
}
.footer-contact {
  flex: 1 1 260px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
.footer-contact img {
  margin-right: 7px; vertical-align: middle;
  height: 17px;
}
.footer-social {
  flex: 1 1 80px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-social a img {
  width: 32px; height: 32px; border-radius: 50%; transition: box-shadow 0.16s, transform 0.15s;
}
.footer-social a:hover img {
  box-shadow: 0 2px 14px #ffffff44;
  transform: translateY(-2px) scale(1.07);
}
.footer-bottom {
  text-align: center;
  font-size: 1rem;
  color: #fff;
  padding: 22px 0 16px 0;
  opacity: 0.87;
}
@media (max-width: 992px) {
  .footer-main {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
  footer {
    border-radius: 19px 19px 0 0;
  }
}
@media (max-width: 720px) {
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-brand, .footer-contact, .footer-links { min-width: 0; }
  .footer-main { padding: 30px 0 13px 0; gap: 19px; }
}

/* ===================
   Responsive Typography & Layout
   =================== */
@media (max-width: 600px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.19rem; }
  section { padding: 23px 9px; margin-bottom: 40px; }
  .feature-grid, .testimonial-row, .content-grid, .card-container { gap: 12px; }
}

/* ===================
   Misc Section Layouts (About, Services, Products...)
   =================== */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.features-list > div {
  flex: 1 1 228px;
  background: #fff;
  border-radius: 15px;
  padding: 22px 16px;
  box-shadow: 0 2px 16px rgba(56,113,65,0.07);
  border: 1px solid #e7f0eb;
}
.features-list h3 { margin-bottom: 8px; color: #224B29; }
.features-list p, .features-list ul {
  font-size: 1rem;
  color: #224B29;
}
@media (max-width: 900px) {
  .feature-grid, .testimonial-row, .features-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===================
   Service List Styling
   =================== */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
  padding: 0;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 13px;
  padding: 14px 18px;
  box-shadow: 0 2px 12px rgba(56,113,65,0.07);
  border: 1px solid #e7f0eb;
  font-size: 1rem;
}
.service-list img {
  height: 26px; width: 26px;
}
.service-list strong { color: #387141; font-weight: 700; }
.service-list span { color: #B6C25B; font-weight: 500; margin-left: 10px; }

/* ===================
   FAQ Block
   =================== */
.faq-block {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(56,113,65,0.06);
  padding: 22px 20px;
  margin-top: 22px;
}
.faq-block h3 { color: #387141; font-size: 1.15rem; margin-bottom: 11px; }

/* ===================
   Partners Logos
   =================== */
.partners-logos {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
}
.partners-logos img { height: 34px; width: auto; filter: none; opacity: 0.85; }

/* ===================
   Contact Info styling in Services
   =================== */
.contact-info {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 12px;
  margin-bottom: 7px;
}
.contact-info p { font-size: 1.08rem; color: #387141; }
.contact-info img { height: 18px; width:18px; margin-right: 7px; }

/* ===================
   Cookie Banner & Modal
   =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #222;
  box-shadow: 0 -4px 28px rgba(56,113,65,0.13);
  border-top: 3px solid #B6C25B;
  z-index: 9999;
  padding: 22px 10px 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.26s cubic-bezier(.47,1.64,.41,.8);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner p { color: #224B29; max-width: 580px; font-size: 1rem; margin: 0 0 9px 0; }
.cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-btn {
  border-radius: 22px;
  padding: 9px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: #B6C25B;
  color: #224B29;
  box-shadow: 0 2px 12px rgba(56,113,65,0.12);
  transition: background 0.14s, color 0.12s, transform 0.11s;
}
.cookie-btn.accept {
  background: #387141;
  color: #fff;
}
.cookie-btn.reject {
  background: #B6C25B;
  color: #224B29;
}
.cookie-btn.settings {
  background: #F3FBF7;
  color: #387141;
  border: 1px solid #B6C25B;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #a3b345;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,75,41,0.37);
  z-index: 10010;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 60px;
  animation: fadeIn 0.22s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #224B29;
  border-radius: 19px;
  box-shadow: 0 6px 38px rgba(56,113,65,0.22);
  padding: 38px 32px 28px 32px;
  width: 98vw;
  max-width: 440px;
  animation: slideUp 0.27s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
@keyframes slideUp {
  from { transform: translateY(70px); opacity: 0.5; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: #387141;
  font-family: 'Merriweather', serif;
  font-size: 1.22rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #222;
  flex: 1;
}
.cookie-switch {
  position: relative;
  width: 40px;
  height: 22px;
  display: inline-block;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #B6C25B;
  border-radius: 15px;
  top: 0; left: 0;
  right: 0; bottom: 0;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #387141;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex; gap: 14px; margin-top: 18px; }

@media (max-width: 580px) {
  .cookie-modal { padding: 20px 7vw 22px 7vw; }
}

/* ===================
   Utility Classes
   =================== */
.mr-1 { margin-right: 8px; }
.mt-1 { margin-top: 14px; }
.mb-2 { margin-bottom: 24px; }
.text-center { text-align: center; }
.rounded { border-radius: 22px; }
.bg-accent { background: #F3FBF7 !important; }
.bg-primary { background: #387141 !important; color: #fff; }
.bg-secondary { background: #B6C25B !important; color: #224B29; }
.bold { font-weight: bold; }

/* ===================
   Accessibility Focus Style
   =================== */
:focus-visible {
  outline: 2px solid #B6C25B;
  outline-offset: 2px;
}

/* ===================
   Extra Responsive Table & Img Control
   =================== */
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
td, th { padding: 10px 7px; border: 1px solid #eaf2e6; }

/* ===================
   Misc Fixes
   =================== */
@media (max-width: 480px) {
  .footer-main, .content-wrapper, .feature-grid, .testimonial-row, .contact-info, .features-list, .features-list > div, .service-list, .partners-logos, .cookie-modal {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .cookie-modal { padding: 18px 2vw 20px 2vw; }
}
::-webkit-input-placeholder { color: #A8BF96; }
::-moz-placeholder          { color: #A8BF96; }
:-ms-input-placeholder      { color: #A8BF96; }
::placeholder              { color: #A8BF96; }
