/* CSS RESET & NORMALIZE */
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;
}
html { box-sizing: border-box; }
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #F4F7FA;
  color: #2A2A2A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  background-color: #f9faf9;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #26A69A;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #1c8579;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}
section ul, section ol {
  margin-bottom: 20px;
}
button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* TYPOGRAPHY SCALE & HIERARCHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #22344C;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #22344C;
  margin-bottom: 14px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #337861;
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #22344C;
  margin-bottom: 8px;
}
p, li {
  color: #3a3a32;
  font-size: 1rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
  color: #22344C;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #f9faf9;
  border-radius: 32px;
  box-shadow: 0 2px 16px rgba(44,56,36,0.04);
}
@media (max-width: 900px) {
  .section { padding: 30px 8px; }
}
@media (max-width: 768px) {
  .section { padding: 18px 3vw; margin-bottom: 40px; }
}

/* FLEX GRIDS - NATURE ORGANIC CONTAINERS */
.feature-grid, .blog-list, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(44,56,36,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(44,56,36,0.11);
  transform: translateY(-4px) scale(1.015);
}
.content-grid, .features {
  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, .content-grid, .feature-grid { flex-direction: column; gap: 18px; }
}

/* FEATURES (Iconic Nature Organic presentation) */
.feature {
  background: #fcfcfa;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(44,56,36,0.055);
  padding: 24px 18px 18px 18px;
  flex: 1 1 230px;
  min-width: 240px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, background 0.2s;
  margin-bottom: 20px;
}
.feature img {
  width: 44px;
  height: 44px;
  background: #EAF7ED;
  border-radius: 50%;
  padding: 8px;
  margin-bottom: 8px;
}
.feature h3 {
  margin-bottom: 4px;
}
.feature:hover {
  box-shadow: 0 8px 32px rgba(60,80,45,0.13);
  background: #f5faef;
}

@media (max-width: 980px) {
  .feature { min-width: 170px; }
}
@media (max-width: 700px) {
  .feature { min-width: 100%; max-width: 100%; }
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-left: 6px solid #26A69A;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(44,56,36,0.09);
  flex-direction: row;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card p,
.testimonial-card span,
.testimonial-card .testimonial-author {
  color: #22344C;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-author {
  display: block;
  font-size: 0.98rem;
  font-style: normal;
  margin-top: 4px;
  opacity: 0.85;
}
.testimonial-card:hover {
  background: #f6fdf7;
  box-shadow: 0 2px 16px rgba(38,166,154,0.14);
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px; 
  }
}

/* CTA BUTTONS & MICRO-INTERACTIONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 28px;
  padding: 12px 34px;
  margin: 12px 0 0 0;
  background: #26A69A;
  color: #fff;
  border: none;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 12px rgba(38,166,154,0.10);
  transition: background 0.16s, color 0.14s, transform 0.16s, box-shadow 0.19s;
  position: relative;
  outline: none;
  cursor: pointer;
}
.cta.primary {
  background: #26A69A;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #22344C;
  color: #EAF7ED;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 18px rgba(66,160,120,0.17);
}
@media (max-width: 500px) {
  .cta { width: 100%; justify-content: center; padding: 13px 0; }
}

/* HEADER/NAVIGATION & ORGANIC SHAPES */
header {
  background: #f9faf9;
  box-shadow: 0 2px 12px rgba(44,56,36,0.07);
  position: sticky;
  top: 0; left: 0; right: 0; z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 0;
  flex-shrink: 0;
}
.logo img { height: 42px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #22344C;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 18px;
  transition: background 0.16s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EAF7ED;
  color: #26A69A;
}
.main-nav .cta {
  margin-left: 14px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #26A69A;
  color: #fff;
  border-radius: 50%;
  width: 42px; height: 42px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  border: none;
  transition: background 0.18s, color 0.15s;
  z-index: 104;
}
.mobile-menu-toggle:hover {
  background: #22344C;
  color: #EAF7ED;
}
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(37, 56, 44, 0.86);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #EAF7ED;
  color: #22344C;
  font-size: 2.4rem;
  border-radius: 50%;
  width: 46px; height: 46px;
  border: none;
  margin: 26px 0 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.14s;
  z-index: 12001;
}
.mobile-menu-close:hover {
  background: #26A69A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-left: 26px;
  width: 100%;
}
.mobile-nav a {
  color: #f9faf9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  padding: 16px 0;
  width: 100%;
  display: block;
  border-radius: 16px 0 0 16px;
  background: none;
  transition: background 0.14s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f7faf5;
  color: #26A69A;
}

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

/* HERO SECTION SPECIFIC */
main section:first-of-type {
  background: #EAF7ED;
  border-radius: 0 0 52px 52px / 0 0 36px 36px;
  margin-bottom: 40px;
  box-shadow: 0 6px 30px rgba(60, 130, 80, 0.05);
}
main section:first-of-type h1 {
  font-size: 2.44rem;
  color: #22344C;
  line-height: 1.15;
  margin-bottom: 20px;
}

/* ORGANIC DECOR & TEXTURES (simple stylization for nature look) */
.section, .feature, .testimonial-card, .card, .newsletter-signup, .article-preview {
  border-radius: 36px 18px 32px 20px / 38px 18px 22px 28px;
}

/* BLOG PREVIEWS */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.article-preview {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 1px 10px rgba(44,56,36,0.045);
  padding: 28px 22px 22px 22px;
  flex: 1 1 300px;
  min-width: 240px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.17s, background 0.18s;
  margin-bottom: 20px;
}
.article-preview:hover {
  background: #f5faef;
  box-shadow: 0 4px 21px rgba(38,166,154,0.13);
}
@media (max-width: 900px) {
  .article-preview{ min-width:100%; max-width:100%; }
}

/* NEWSLETTER */
.newsletter-signup {
  background: #EAF7ED;
  border-radius: 32px;
  padding: 30px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 11px rgba(44,56,36,0.06);
  gap: 18px;
}

/* CASE STUDY SPECIAL */
.case-study {
  background: #fff;
  border-left: 6px solid #b9db7a;
  padding: 18px 26px;
  margin-bottom: 22px;
  border-radius: 20px;
  box-shadow: 0 1px 8px rgba(44,56,36,0.07);
  transition: box-shadow 0.16s;
}
.stat-highlight {
  background: #EAF7ED;
  color: #1c8579;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 12px;
  padding: 7px 22px;
  border-radius: 12px;
  font-size: 1.1rem;
  display: inline-block;
}

/* FOOTER */
footer {
  background: #22344C;
  padding: 48px 0 36px 0;
  color: #fff;
  margin-top: 56px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 34px;
  align-items: flex-start;
}
.footer-logo img {
  height: 40px;
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #EAF7ED;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  margin-bottom: 0;
  padding: 0;
  transition: color 0.12s, text-decoration 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFEC63;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.98rem;
  background-color: #EAF7ED;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact img {
  height: 17px;
  vertical-align: text-bottom;
  margin-right: 6px;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }
}

/* TEXT SECTIONS & MAP LOCATION */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.map-location {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9faf9;
  border-radius: 12px;
  padding: 11px 18px 11px 7px;
  margin-top: 10px;
  box-shadow: 0 1px 3px rgba(44,56,36,0.06);
}
.map-location img {
  width: 34px;
}

/* GENERAL BORDER/SOFT SHADOW FOR ORGANIC FEEL */
.section, .feature, .card, .case-study, .testimonial-card, .newsletter-signup {
  box-shadow: 0 2px 12px rgba(60,92,64,0.06);
}

/* SPACING RULES ENFORCEMENT (between cards, sections, and flex items) */
.section + .section { margin-top: 0; }
.card + .card, .feature + .feature, .testimonial-card + .testimonial-card, .article-preview + .article-preview {
  margin-top: 20px;
}
/* Ensure min gap (for flex-wrap fallback: mobile) */
.card-container > *, .blog-list > *, .feature-grid > *, .content-grid > * { margin-bottom: 20px; }

/* LISTS IN ORGANIC STYLE */
section ul, section ol {
  padding-left: 24px;
}
section ul > li, section ol > li {
  margin-bottom: 5px;
}

/* NATURE TEXTURE / ACCENTS (subtitle or accent) */
h2, h3, .stat-highlight {
  border-bottom: 2.5px solid #b9db7a;
  display: inline-block;
  padding-bottom: 2px;
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.68rem; }
  h2, .h2 { font-size: 1.22rem; }
  h3, .h3 { font-size: 1rem; }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #22344C;
  color: #fff;
  padding: 20px 18px;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  z-index: 9999;
  box-shadow: 0 -4px 25px rgba(34,52,76,0.12);
  transition: transform 0.31s cubic-bezier(.7,.12,.33,1.05), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 420px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #26A69A;
  color: #fff;
  border-radius: 22px;
  padding: 7px 25px;
  border: none;
  margin-right: 5px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .cookie-btn.setting {
  background: #fff;
  color: #26A69A;
  border: 2px solid #26A69A;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #1c8579;
  color: #fff;
}
.cookie-banner .cookie-btn.setting:hover {
  background: #EAF7ED;
  color: #22344C;
  border-color: #22344C;
}
@media (max-width: 780px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    font-size: 0.98rem;
  }
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(37, 56, 44, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 440px;
  width: 94vw;
  padding: 42px 28px 28px 28px;
  box-shadow: 0 7px 34px rgba(44,56,36,0.21);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: popupAppear 0.36s cubic-bezier(.77,-.02,.44,1.05);
}
@keyframes popupAppear {
  0% { opacity: 0; transform: scale(0.85) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 13px;
  background: #EAF7ED;
  color: #22344C;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, color 0.1s;
}
.cookie-modal-close:hover { background: #26A69A; color: #fff; }

.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0 3px 0;
}
.cookie-toggle-input {
  width: 24px; height: 24px;
  accent-color: #26A69A;
  margin-right: 0;
}
.cookie-category-label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22344C;
  font-weight: 600;
}

.cookie-modal .cookie-btn {
  margin: 7px 5px 0 0;
}

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

/* ACCESSIBILITY, FOCUS STYLING */
:focus {
  outline: 2px dashed #26A69A !important;
  outline-offset: 3px;
}

/* ORGANIC DESIGN ACCENTS */
.section, .feature, .testimonial-card, .newsletter-signup, .case-study, .article-preview, .cookie-modal {
  background-image: url('data:image/svg+xml;utf8,<svg width="260" height="90" viewBox="0 0 260 90" fill="none" xmlns="http://www.w3.org/2000/svg"><ellipse opacity="0.07" cx="140" cy="36" rx="120" ry="25" fill="%2326A69A"/></svg>');
  background-repeat: no-repeat;
  background-position: right bottom;
}

/* Custom scrollbar for organic look on desktop */
@media (hover: hover) {
  ::-webkit-scrollbar { width: 10px; background: #EAF7ED; }
  ::-webkit-scrollbar-thumb { background: #b9db7a; border-radius: 8px; }
  ::-webkit-scrollbar-thumb:hover { background: #26A69A; }
}

/* RESPONSIVE GENERAL RULES */
@media (max-width: 820px) {
  .container { max-width: 97vw; }
  main section, .section { border-radius: 22px; }
}
@media (max-width: 600px) {
  :root { font-size: 15px; }
  header .container { height: 54px; padding-left: 7px; }
  .logo img { height: 32px; }
}

/* FORMS - for newsletter/contact if present */
input, textarea, select {
  border-radius: 14px;
  border: 1.5px solid #b9db7a;
  padding: 10px 12px;
  font-size: 1rem;
  background: #f9faf9;
  font-family: 'Open Sans', Arial, sans-serif;
  width: 100%;
  margin-bottom: 12px;
  transition: border-color 0.13s, background 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #26A69A;
  background: #EAF7ED;
}

/* Utility class for hiding */
.hide { display: none !important; }

/* Ensuring min 20px gaps between flex-wrapped elements (double safety) */
.feature-grid > *, .card-container > *, .blog-list > *, .content-grid > *, .testimonial-card + .testimonial-card {
  margin-bottom: 20px;
}


/* END OF STYLE.CSS */
