/* Reset & Normalize */
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, Helvetica, sans-serif;
  background: #F3F5EF;
  color: #2D2D2D;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: #146F48;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD642;
}

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

.content-wrapper {
  width: 100%;
}

/* Typography */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #146F48;
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #146F48;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2D2D2D;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.1rem;
  color: #146F48;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
strong {
  color: #146F48;
}

/* Layout Section Spacing */
.section,
.hero-section, .features-section, .about-section, .testimonials-section, .cta-section,
.mission-section, .team-section, .features-list-section, .benefits-section, .steps-section, .faq-preview-section, .faq-section, .support-section, .thank-you-section, .contact-section, .map-section, .legal-section, .blog-overview-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(20, 111, 72, 0.06);
}
@media (max-width: 600px) {
  .section,
  .hero-section, .features-section, .about-section, .testimonials-section, .cta-section, 
  .mission-section, .team-section, .features-list-section, .benefits-section, .steps-section, .faq-preview-section, .faq-section, .support-section, .thank-you-section, .contact-section, .map-section, .legal-section, .blog-overview-section {
    padding: 26px 8px;
    border-radius: 16px;
    margin-bottom: 40px;
  }
}

/* --- Flexbox Patterns --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(20, 111, 72, 0.08);
  background: #fff;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F9FAF8;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(20, 111, 72, 0.06);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 200px;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
  }
}

/* --- Header --- */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(20, 111, 72, 0.04);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #146F48;
  border-radius: 20px;
  padding: 8px 16px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
.main-nav .cta-primary {
  background: #FFD642;
  color: #146F48;
  font-weight: bold;
  box-shadow: 0 2px 6px 0 rgba(255, 214, 66, 0.16);
  border-radius: 22px;
  border: none;
  margin-left: 18px;
  transition: filter 0.16s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F7E899;
  color: #146F48;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #ffe466;
  filter: brightness(1.05);
}

.mobile-menu-toggle {
  display: none;
  background: #FFD642;
  color: #146F48;
  border: none;
  font-size: 2.0rem;
  padding: 7px 15px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(20,111,72,0.1);
  transition: background 0.18s;
  margin-left: 14px;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFD642;
}
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: #fff;
  box-shadow: -5px 0px 32px 0 rgba(20,111,72,0.13);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.62,.01,.4,1);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #146F48;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 24px 10px 0;
  cursor: pointer;
  transition: color 0.18s;
  border-radius: 16px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD642;
  background: #F3F5EF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 36px;
  padding-right: 36px;
  margin: 18px 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 14px 0;
  border-radius: 12px;
  color: #146F48;
  transition: background 0.17s, color 0.17s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F5EF;
  color: #FFD642;
}

@media (min-width: 951px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- CTA Buttons --- */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: bold;
  padding: 13px 32px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 2px 10px 0 rgba(20,111,72,0.12);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s;
  outline: none;
}
.cta-primary {
  background: #FFD642;
  color: #146F48;
}
.cta-primary:hover, .cta-primary:focus {
  background: #ffe466;
  transform: translateY(-2px) scale(1.035);
}
.cta-secondary {
  background: #fff;
  color: #146F48;
  border: 2px solid #FFD642;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FFD642;
  color: #146F48;
}

/* --- Cards & Feature Items --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  width: 100%;
}
.feature-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 3px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 16px;
  gap: 10px;
}

/* --- Testimonials --- */
.testimonials-section h2 {
  margin-bottom: 32px;
}
.testimonial-card {
  background: #F9FAF8;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(20,111,72,0.07);
  margin-bottom: 20px;
  color: #26282A;
  font-size: 1rem;
  flex-direction: row;
  gap: 16px;
}
.testimonial-card span {
  color: #146F48;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 14px;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #393B3E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
}
@media (max-width:768px){
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 17px 8px;
  }
  .testimonial-card span { margin-left: 0; }
}

/* --- Blog List --- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 25px;
}
.blog-list article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(20,111,72,0.07);
  padding: 24px 18px 24px 18px;
  min-width: 220px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media(max-width:768px){
  .blog-list { flex-direction: column; gap: 15px; }
  .blog-list article { min-width: 0; }
}
.blog-list h3 {
  color: #146F48;
  margin-bottom: 6px;
  font-size: 1.22rem;
}
.blog-list p { color: #444; font-size: 1rem; }
.blog-list a {
  align-self: flex-start;
  color: #FFD642;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  text-decoration: underline;
  margin-top: 8px;
  transition: color .16s;
}
.blog-list a:hover, .blog-list a:focus{
  color: #146F48;
}

.blog-categories {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.blog-categories span {
  font-weight: 500;
  color: #2D2D2D;
  font-size: 1rem;
}
.blog-categories a {
  background: #F3F5EF;
  color: #146F48;
  border-radius: 12px;
  padding: 4px 13px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.18s, color 0.18s;
}
.blog-categories a:hover { background: #FFD642; color: #146F48; }

input[type="text"] {
  width: 100%;
  border-radius: 14px;
  border: 1.5px solid #E2E4E0;
  padding: 13px 16px;
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.16s, box-shadow 0.16s;
  background: #F9FAF8;
  box-shadow: 0 1px 2px #00000009;
}
input[type="text"]:focus {
  border-color: #FFD642;
  outline: none;
  box-shadow: 0 2px 8px 0 rgba(20,111,72,0.18);
}

/* --- Footer --- */
footer {
  background: #fff;
  box-shadow: 0 -2px 8px 0 rgba(20,111,72,.05);
  padding: 40px 0 22px 0;
  border-radius: 28px 28px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer-brand img {
  width: 44px;
}
.footer-brand p {
  color: #146F48;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  margin-top: 5px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #146F48;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover { color: #FFD642; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1rem;
}
.footer-contact img {
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.7;
}
.footer-contact a {
  color: #146F48;
  font-weight: 500;
  margin-right: 3px;
}
.footer-contact span {
  color: #665F53;
}
@media (max-width: 900px) {
  footer .container{
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* --- Legal & FAQ Sections --- */
.legal-section .text-section, .faq-section ul, .benefits-section ul, .steps-section ol, .mission-section ul, .team-section ul, .contact-section ul, .map-section ul {
  margin-top: 12px;
  margin-bottom: 18px;
}
.legal-section ul, .faq-section ul, .benefits-section ul, .steps-section ol, .mission-section ul, .team-section ul, .contact-section ul, .map-section ul{
  background: #FAF9F6;
  padding: 14px 18px;
  border-radius: 13px;
  font-size: 1rem;
}
.legal-section a, .faq-section a {
  color: #FFD642;
  text-decoration: underline;
  font-weight: 500;
}
.legal-section a:hover, .faq-section a:hover { color: #146F48; }

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #F9FAF8;
  border-top: 3px solid #FFD642;
  box-shadow: 0 -2px 8px rgba(20,111,72,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px 18px 16px;
  z-index: 9999;
  animation: fadeInUp 0.26s cubic-bezier(.5, .7, .35, 1) 1;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #262626;
  font-size: 1.01rem;
  margin-bottom: 0;
  margin-right: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 7px;
  align-items: center;
  justify-content: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 26px;
  border-radius: 18px;
  border: none;
  background: #FFD642;
  color: #146F48;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgba(20,111,72,0.10);
  transition: background 0.15s, color 0.15s;
}
.cookie-banner button.settings {
  background: #F3F5EF;
  color: #146F48;
  border: 2px solid #FFD642;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #ffe466;
  color: #146F48;
}
@media(max-width:500px){
  .cookie-banner-buttons { flex-direction: column; }
  .cookie-banner {padding: 20px 8px 15px 8px;}
}

/* --- Cookie Consent Modal --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,39,41,0.26);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .26s cubic-bezier(.55,.2,.46,1) 1;
}
@keyframes fadeIn {
from{ opacity:0; } to{ opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(20,111,72,0.22);
  max-width: 420px;
  width: 95vw;
  padding: 30px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  color: #146F48;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: bold;
}
.cookie-modal ul {
  margin-bottom: 0;
  margin-top: 0;
  background: none;
  padding: 0 0 0 18px;
  font-size: 1rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  font-size: 1rem;
  color: #262626;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #146F48;
  width: 18px;
  height: 18px;
  border-radius: 6px;
}
.cookie-modal .category-description {
  font-size: 0.97rem;
  color: #555; margin-left: 32px;
  margin-bottom: 8px;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 16px;
  background: #FFD642;
  color: #146F48;
  border: none;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(20,111,72,0.11);
  transition: background 0.16s, color 0.16s;
}
.cookie-modal button.secondary {
  background: #F3F5EF;
  color: #146F48;
  border: 2px solid #FFD642;
}
.cookie-modal button:hover, .cookie-modal button:focus{
  background: #ffe466;
  color: #146F48;
}

/* --- General Utility Classes --- */
.m-0 { margin: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.text-center { text-align: center !important; }
.max-w-700 { max-width: 700px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* --- Responsive Typography --- */
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.55rem; }
  h2, .h2 { font-size: 1.18rem; }
  h3, .h3 { font-size: 1.02rem; }
}

/* --- Responsive Padding/Spacing --- */
@media (max-width: 600px) {
  .footer-brand img, .logo img {
    height: 36px;
  }
  .feature-grid, .blog-list {
    gap: 13px;
  }
  .feature-item {
    padding: 17px 10px;
    border-radius: 14px;
  }
  .main-nav {
    gap: 12px;
  }
  .footer-contact, .footer-nav {
    font-size: 0.95rem;
  }
}

/* --- Subtle Micro-interactions --- */
.feature-item, .card, article, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-item:hover, article:hover, .card:hover,
.feature-item:focus-within, article:focus-within, .card:focus-within {
  box-shadow: 0 4px 20px 0 rgba(20,111,72,0.14);
  transform: translateY(-2px) scale(1.015);
}

.cta-primary:active, .cta-secondary:active, .cookie-banner button:active, .cookie-modal button:active {
  transform: scale(0.98);
}

/* --- Thank You Section --- */
.thank-you-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

/* --- Accessibility --- */
:focus {
  outline: 2px solid #FFD642;
  outline-offset: 2px;
}

@media (max-width: 400px) {
  .mobile-nav a { font-size: 1rem; }
  .footer-brand p { font-size: 0.94rem; }
}

/* --- Hide elements used for enhancement only --- */
.hide { display: none !important; }
