/* =====================
   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 { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F6F7F9;
  color: #1A2330;
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

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

a {
  color: #5BA073;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,0,.2,1);
  font-weight: 600;
}
a:hover, a:focus { color: #1A2330; text-decoration: underline; }

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

button, .btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  background: #5BA073;
  color: #fff;
  box-shadow: 0 2px 12px rgba(36,56,76,.10);
  letter-spacing: .04em;
  transition: background .2s cubic-bezier(.4,0,.2,1), box-shadow .2s cubic-bezier(.4,0,.2,1), transform .1s;
  outline: none;
  display: inline-block;
}
button.btn-primary, .btn-primary { margin-top: 16px; }
.btn-primary:hover, .btn-primary:focus,
button.btn-primary:hover, button.btn-primary:focus {
  background: #1A2330;
  box-shadow: 0 4px 22px rgba(36,56,76,0.16);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}

/* Disabled state */
button[disabled], .btn-primary[disabled] {
  background: #aac4b2;
  color: #fff;
  pointer-events: none;
  opacity: 0.7;
}

/* ===================
   BASE TYPOGRAPHY
 =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .01em;
  color: #1A2330;
  line-height: 1.13;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
}
p, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: #292d36;
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  color: #1A2330;
  background: #EDF9F2;
  border-left: 6px solid #5BA073;
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 18px;
}
strong, b {
  font-weight: 700;
}

.text-section {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =========================
   LAYOUTS & SPACING
======================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px rgba(36,56,76, .06);
  align-items: stretch;
  display: flex;
  flex-direction: column;
}

/* Layout Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(28,42,72,.06);
  padding: 28px 24px;
  min-width: 280px;
  max-width: 370px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .17s cubic-bezier(.4,0,.2,1), transform .1s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(36,56,76,0.14);
  transform: translateY(-3px) scale(1.02);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.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;
}

/* Testimonials Slider & Cards */
.testimonials-slider {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F6F7F9;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(36,56,76,0.08);
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 430px;
  margin-bottom: 20px;
  transition: box-shadow .19s cubic-bezier(.4,0,.2,1), transform .1s;
}
.testimonial-card blockquote {
  color: #1A2330;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  border: none;
  padding: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #EDF9F2;
  padding: 20px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(36,56,76,0.05);
  margin-bottom: 20px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 12px;
}
.features-grid > div {
  background: #EDF9F2;
  border-radius: 20px;
  padding: 24px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 300px;
  box-shadow: 0 2px 10px rgba(91, 160, 115, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  transition: box-shadow .17s cubic-bezier(.4,0,.2,1), transform .1s;
}
.features-grid > div:hover {
  box-shadow: 0 4px 18px rgba(24,48,72, 0.12);
  transform: scale(1.025);
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

/* Blog List & Categories */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-list article {
  flex: 1 1 320px;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 18px;
  box-shadow: 0 1px 10px rgba(36,56,76,.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .15s cubic-bezier(.4,0,.2,1), transform .09s;
}
.blog-list article:hover {
  box-shadow: 0 8px 24px rgba(91,160,115,.14);
  transform: translateY(-3px) scale(1.01);
}

.blog-categories {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.blog-categories strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A2330;
  font-size: 1.1rem;
  margin-right: 12px;
}

/* =========================
   HEADER & NAVIGATION
======================== */
header {
  background: #fff;
  border-bottom: 3px solid #5BA073;
  padding: 0;
  z-index: 220;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 16px;
}

.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-transform: none;
  color: #1A2330;
  border-radius: 6px;
  padding: 8px 12px;
  transition: background .15s, color .16s;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: #EDF9F2;
  color: #5BA073;
}

.main-nav .btn-primary {
  font-size: 18px;
  background: #1A2330;
  color: #fff;
  padding: 13px 34px;
  border-radius: 24px;
  margin-left: auto;
  box-shadow: 0 2px 16px rgba(36,56,76,.10);
  transition: background .21s;
}
.main-nav .btn-primary:hover, .main-nav .btn-primary:focus {
  background: #5BA073;
  color: #fff;
}

/* =========================
   MOBILE NAVIGATION
======================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 17px;
  right: 26px;
  background: #5BA073;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  z-index: 800;
  cursor: pointer;
  transition: background .18s;
  box-shadow: 0 2px 10px rgba(36,56,76,0.14);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #1A2330;
}

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1002;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,35,48,.93);
  flex-direction: column;
  align-items: flex-end;
  overflow-y: auto;
  transform: translateX(100vw);
  transition: transform .32s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 18px 26px 0 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1004;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #5BA073;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 48px 30px 22px 38px;
  margin-top: 26px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 13px 0;
  letter-spacing: .03em;
  border-radius: 9px;
  width: 100%;
  background: transparent;
  transition: background .14s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #5BA073;
  color: #fff;
}

/* Show/Hide Nav on Responsive */
@media (max-width: 980px) {
  .main-nav a:not(:first-child) {
    font-size: 16px;
    padding: 7px 8px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    gap: 18px;
    height: 66px;
    padding: 0 14px;
  }
}
@media (max-width: 770px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================
   FOOTER
======================== */
footer {
  background: #1A2330;
  color: #fff;
  padding: 0;
}
footer p {
  color: white;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px 44px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px 0 24px 0;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  min-width: 242px;
}
.footer-brand img {
  width: 54px;
  height: 54px;
  margin-right: 4px;
}
.footer-brand .text-section strong {
  font-size: 1.25rem;
  color: #5BA073;
}
.footer-brand .text-section p {
  font-size: 0.97rem;
  margin: 0;
  color: #fff;
  opacity: 0.78;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 190px;
  margin-top: 0;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #fff;
  letter-spacing: .01em;
  opacity: .89;
  transition: color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #5BA073;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 210px;
  color: #fff;
  font-size: 1rem;
  opacity: 0.92;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.footer-social a {
  display: block;
  background: #F6F7F9;
  border-radius: 12px;
  padding: 8px;
  transition: transform .15s, box-shadow .14s;
}
.footer-social a:hover {
  transform: scale(1.10);
  box-shadow: 0 2px 16px rgba(91,160,115,0.11);
}
.footer-social img {
  width: 24px;
  height: 24px;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #adb4c1;
  opacity: 0.75;
  font-size: .97rem;
  min-width: 150px;
  margin-top: 18px;
}
.footer-legal a {
  color: #b2bea7;
  transition: color .13s;
  font-size: 1rem;
}
.footer-legal a:hover, .footer-legal a:focus {
  color: #5BA073;
}

@media (max-width: 1020px) {
  footer .content-wrapper {
    gap: 26px 0;
    flex-wrap: wrap;
  }
  .footer-brand,
  .footer-contact,
  .footer-nav,
  .footer-legal,
  .footer-social {
    min-width: 180px;
  }
}
@media (max-width: 770px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    padding: 24px 0 20px 0;
  }
}

/* ===================
   RESPONSIVE DESIGN
=================== */
@media (max-width: 1000px) {
  .container { max-width: 96vw; }
  .features-grid > div,
  .card, .testimonial-card,
  .blog-list article {
    min-width: 200px;
    max-width: 100%;
    flex: 1 1 240px;
  }
}
@media (max-width: 880px) {
  .features-grid { gap: 18px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .container { padding: 0 10px; }
  .section { padding: 34px 7px; }
  .card, .testimonial-card, .blog-list article {
    padding: 20px 10px;
  }
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper { gap: 18px; }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonials-slider {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.02rem; }
  .section { padding: 18px 3px; margin-bottom: 24px; }
  .footer-brand img {
    width: 40px;height: 40px;
  }
  .footer-social img { width: 21px; height: 21px; }
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
================================ */
.cookie-banner {
  position: fixed;
  z-index: 9999;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #5BA073;
  box-shadow: 0 -2px 32px rgba(26,35,48,.16);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 18px 32px;
  gap: 24px;
  justify-content: space-between;
  font-size: 1rem;
  animation: cookieAppear .33s cubic-bezier(.6,.01,.32,1);
}
@keyframes cookieAppear {
  0% { transform: translateY(110%); opacity: 0; }
  90% { opacity: 1; transform: translateY(-6%); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  color: #1A2330;
  font-size: 1rem;
  flex: 1 1 auto;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-actions button {
  padding: 9px 22px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin: 0;
  margin-bottom: 0;
}
.cookie-settings-btn {
  background: #F6F7F9;
  color: #1A2330;
  border: 2px solid #5BA073;
  transition: background .15s, color .14s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #5BA073;
  color: #fff;
}
.cookie-reject-btn {
  background: #b83939;
  color: #fff;
}
.cookie-reject-btn:hover,
.cookie-reject-btn:focus { background: #A32020; color: #fff; }
.cookie-accept-btn { background: #5BA073; color: #fff; }
.cookie-accept-btn:hover,.cookie-accept-btn:focus { background: #1A2330; color: #fff; }

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(26,35,48,.82);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
.cookie-modal-overlay.open { display: flex; }
@keyframes fadeIn { 0% {opacity:0;} 100%{opacity: 1;} }
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  padding: 38px 28px;
  min-width: 310px;
  max-width: 99vw;
  box-shadow: 0 6px 44px rgba(26,35,48,.17);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: menuIn .26s cubic-bezier(.54,.01,.52,1);
}
@keyframes menuIn { from { transform: scale(.95); opacity:.3; } to {opacity:1; transform: scale(1); } }
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1A2330;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 17px; right: 16px;
  font-size: 1.55rem;
  color: #5BA073;
  background: transparent;
  border:none;cursor:pointer;
  transition: color .12s;
}
.cookie-modal .modal-close:hover { color: #b83939; }

.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EDF9F2;
  border-radius: 13px;
  padding: 13px 20px;
  margin-bottom: 9px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.09rem;
  color: #1A2330;
  font-weight: 500;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  min-width: 36px;
  height: 20px;
  background: #b7bbbb;
  border-radius: 20px;
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal .cookie-toggle:checked {
  background: #5BA073;
}
.cookie-modal .cookie-toggle:disabled {
  background: #dddddf;
  opacity: .6;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26,35,48,.11);
  transition: left .13s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 17px;
}
.cookie-modal .cookie-toggle:disabled::before {
  background: #ededed;
}
.cookie-modal .cookie-actions {
  margin-top: 14px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 14px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 19px 7px;
    min-width: 160px;
    font-size: .95rem;
  }
}

/* ====================
   MICRO-INTERACTIONS
====================== */
.section, .card, .testimonial-card, .feature-item, .blog-list article {
  transition: box-shadow .16s cubic-bezier(.4,0,.2,1), transform .09s;
}
.section:hover, .card:hover, .testimonial-card:hover, .feature-item:hover,
.blog-list article:hover {
  box-shadow: 0 4px 28px rgba(91,160,115,.17);
  transform: translateY(-3px) scale(1.011);
}

/* =========================
   VISUAL GEOMETRIC ACCENTS
======================== */
.section {
  position: relative;
  /* Add geometric shapes for bold style as needed using ::before/::after */
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: -32px; right: -32px;
  width: 90px; height: 90px;
  background: #EDF9F2;
  border-radius: 33% 67% 53% 47% / 36% 71% 29% 64%;
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -17px; left: -32px;
  width: 66px; height: 66px;
  background: #5BA073;
  opacity: .13;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 38%;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 850px) {
  .section::before, .section::after { display: none; }
}

/* ===============
 MISC UTILITIES
================ */
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.pt-2 { padding-top: 16px !important; }
.pb-2 { padding-bottom: 16px !important; }

/* =========================
   PRINT OPTIMIZATION
========================= */
@media print {
  .main-nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, footer { display:none !important; }
  .container { box-shadow:none !important; }
}
