/* ===============================
   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, 
main, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #ffffff;
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #29537a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #267148;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, .cta-btn, input[type='submit'], .cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  outline: none;
  border: none;
  cursor: pointer;
}


/* ===============================
   Typography
   =============================== */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #29537a;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: #29537a;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #267148;
}
p, address {
  font-size: 1rem;
  color: #2a2a2a;
  margin-bottom: 18px;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #e1e6e9;
  color: #29537a;
  border-left: 4px solid #267148;
  padding: 18px 16px;
  margin-bottom: 18px;
  font-style: italic;
  border-radius: 6px;
}
strong {
  font-weight: 600;
  color: #222;
}


/* ===============================
   Container & Sections
   =============================== */
.container {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(41,83,122,0.05);
}
main > section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* ===============================
   Navigation & Header
   =============================== */
header {
  background: #ffffff;
  box-shadow: 0 2px 8px 0 rgba(41,83,122,0.04);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #29537a;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #e1e6e9;
  color: #267148;
}
.main-nav img {
  height: 36px;
  margin-right: 12px;
}
.cta-btn {
  background: #29537a;
  color: #fff !important;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 20px;
  padding: 9px 24px;
  box-shadow: 0 1px 7px 0 rgba(41,83,122,0.08);
  border: none;
  margin-left: 14px;
  transition: background 0.21s, box-shadow 0.21s, filter 0.14s;
  letter-spacing: 0.2px;
  outline: none;
  display: inline-block;
  position: relative;
}
.cta-btn:hover,.cta-btn:focus {
  background: #267148;
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 3px 10px 0 rgba(39,113,72,0.16);
}


/* Hamburger / Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: #e1e6e9;
  border-radius: 8px;
  color: #29537a;
  font-size: 2rem;
  padding: 6px 14px;
  margin-left: auto;
  transition: background 0.2s;
  border: none;
  z-index: 112;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #29537a;
  background: #d7dde3;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 24px rgba(41,83,122,0.08);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.56,.08,.34,1.03);
  z-index: 111;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 38px 32px 32px 28px;
  gap: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #e1e6e9;
  color: #29537a;
  font-size: 2rem;
  border-radius: 8px;
  border: none;
  padding: 3px 12px;
  margin-bottom: 12px;
  transition: background 0.2s;
  z-index: 120;
}
.mobile-menu-close:focus {
  outline: 2px solid #29537a;
  background: #d7dde3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #29537a;
  font-weight: 500;
  padding: 11px 4px;
  border-radius: 6px;
  transition: background 0.19s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e1e6e9;
  color: #267148;
}


/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background: #e1e6e9;
  border-radius: 18px;
  margin-bottom: 35px;
  padding: 48px 20px 44px 20px;
  box-shadow: 0 8px 32px 0 rgba(41,83,122,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 20px;
}
.hero h1 {
  margin-bottom: 10px;
  color: #267148;
}
.hero p {
  font-size: 1.17rem;
  color: #29537a;
  margin-bottom: 18px;
  line-height: 1.6;
}
.hero .cta-btn {
  margin-top: 10px;
}


/* ===============================
   Features / Cards / Service Lists
   =============================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 5px;
  margin-left: 0;
  justify-content: flex-start;
}
.feature-grid li {
  background: #f8f9fa;
  border-radius: 14px;
  box-shadow: 0 1px 7px 0 rgba(41,83,122,0.08);
  padding: 24px 18px 18px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 0;
  border: 1px solid #e1e6e9;
  transition: box-shadow 0.22s, border 0.18s, transform 0.14s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 4px 18px rgba(39,113,72,0.12);
  border: 1px solid #63a375;
  transform: translateY(-2px) scale(1.015);
}
.feature-grid img {
  width: 38px;
  height: 38px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #f8f9fa;
  border-radius: 13px;
  box-shadow: 0 1px 6px 0 rgba(41,83,122,0.05);
  border: 1px solid #e1e6e9;
  padding: 20px 18px;
  flex: 1 1 280px;
  max-width: 330px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, border 0.13s;
}
.card:hover {
  box-shadow: 0 10px 22px rgba(41,83,122,0.11);
  border: 1px solid #63a375;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-left: 0;
  margin-bottom: 24px;
}
.service-list li {
  flex: 1 1 190px;
  min-width: 180px;
  max-width: 246px;
  margin-bottom: 0;
  background: #f7fdf8;
  border: 1px solid #63a37544;
  border-radius: 14px;
  padding: 19px 16px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow 0.16s, border 0.1s, transform 0.12s;
}
.service-list li a {
  color: #267148;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 10px;
  transition: text-decoration 0.15s, color 0.15s;
}
.service-list li a:hover, .service-list li a:focus {
  text-decoration: underline;
  color: #29537a;
}
.service-list li:hover {
  box-shadow: 0 4px 17px 0 rgba(39,113,72,0.11);
  border: 1.5px solid #267148;
  transform: translateY(-2px);
}

/**** Approach Grid (About) ****/
.approach-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 22px;
}
.approach-grid > div {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 280px;
  background: #eef3f2;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(41,83,122,0.07);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.approach-grid > div img {
  width: 32px;
  height: 32px;
}
.approach-grid > div:hover, .approach-grid > div:focus-within {
  box-shadow: 0 7px 28px rgba(41,83,122,0.14);
  transform: translateY(-2px) scale(1.01);
}


/* ===============================
   Testimonials
   =============================== */
.testimonial-card {
  background: #ffffff;
  border: 1.5px solid #e1e6e9;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(41,83,122,0.11);
  color: #222;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  position: relative;
  transition: box-shadow 0.17s, border 0.13s, transform 0.10s;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.6;
}
.testimonial-card span {
  color: #29537a;
  font-size: 1rem;
  font-style: normal;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card strong {
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 40px 0 rgba(39,113,72,0.17);
  border: 1.5px solid #63a375;
  transform: translateY(-2px) scale(1.012);
}


/* ===============================
   Content Layout Utilities
   =============================== */
.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;
}


/* ===============================
   Forms & Buttons
   =============================== */
input, textarea, select {
  padding: 10px 13px;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.5px solid #e1e6e9;
  background: #fcfcfc;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 18px;
  width: 100%;
  color: #222;
  transition: border 0.15s;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: #267148;
  outline: none;
}

button, input[type='submit'] {
  background: #267148;
  color: #fff;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.16s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(39,113,72,0.10);
}
button:hover, button:focus {
  background: #29537a;
  color: #fff;
  box-shadow: 0 2px 17px 0 rgba(41,83,122,0.18);
}


/* ===============================
   Footer
   =============================== */
footer {
  background: #e1e6e9;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -1px 8px 0 rgba(41,83,122,0.03);
  margin-top: 60px;
  padding-top: 28px;
  padding-bottom: 24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 3px;
}
footer nav a {
  color: #267148;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 5px;
  transition: color 0.13s, background 0.13s;
}
footer nav a:hover,
footer nav a:focus {
  color: #29537a;
  background: #d5dee5;
}
footer address {
  font-style: normal;
  color: #2a2a2a;
  font-size: 0.98rem;
}
footer p {
  color: #8d99a5;
  font-size: 0.94rem;
}


/* ===============================
   Cookie Consent Banner
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #fff;
  color: #29537a;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -7px 32px rgba(41,83,122,0.15);
  padding: 24px 28px 20px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.43,.17,.3,1.01), opacity 0.22s;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  margin-bottom: 0;
  color: #29537a;
  font-size: 1.03rem;
  flex: 1 1 220px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button {
  background: #29537a;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 9px 22px;
  margin-bottom: 0;
  transition: background 0.17s, box-shadow 0.18s;
  box-shadow: 0 1px 7px 0 rgba(41,83,122,0.10);
}
.cookie-banner button.cookie-reject {
  background: #e1e6e9;
  color: #29537a;
  border: 1.5px solid #29537a;
}
.cookie-banner button.cookie-settings {
  background: #267148;
  color: #fff;
  border: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #267148;
  color: #fff;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #fff;
  box-shadow: 0 2px 9px 0 rgba(41,83,122,0.14);
  color: #267148;
  border-color: #267148;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(41,83,122,0.26);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 36px rgba(39,113,72,0.13);
  max-width: 420px;
  width: 93vw;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #222;
  position: relative;
  animation: popIn 0.28s cubic-bezier(.25,.76,.38,1.06);
}
@keyframes popIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.19rem;
  margin-bottom: 8px;
  color: #29537a;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #29537a;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #267148;
  width: 18px;
  height: 18px;
  margin: 0 4px 0 0;
}
.cookie-modal .modal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal button {
  background: #29537a;
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 7px 19px;
  transition: background 0.16s, box-shadow 0.13s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #267148;
  color: #fff;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 13px;
  right: 18px;
  font-size: 1.54rem;
  color: #29537a;
  background: #e1e6e9;
  border: none;
  border-radius: 6px;
  padding: 1px 9px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .close-modal-btn:hover, .cookie-modal .close-modal-btn:focus {
  background: #267148;
  color: #fff;
}
.cookie-modal .desc {
  color: #595959;
  font-size: 0.98rem;
  margin-bottom: 6px;
}


/* ===============================
   Responsive Design / Media Queries
   =============================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .service-list,
  .approach-grid,
  .card-container,
  .content-grid {
    gap: 14px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 7px;
  }
  .feature-grid,
  .service-list,
  .approach-grid {
    flex-direction: column;
    max-width: 98vw;
  }
  .feature-grid li,
  .service-list li,
  .approach-grid > div,
  .card {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; position: absolute; top: 18px; right: 25px; }
  .footer .container { gap: 12px; }
  .section, main > section {
    margin-bottom: 38px;
    padding: 24px 7px;
    border-radius: 13px;
  }
  .container { padding-left: 7px; padding-right: 7px; }
  .hero {
    padding: 30px 7px 28px 7px;
    margin-bottom: 24px;
    border-radius: 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  .service-list,
  .feature-grid,
  .approach-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 10px;
    border-radius: 9px;
  }
  .card-container {
    flex-direction: column;
    gap: 11px;
  }
  footer {
    border-radius: 11px 11px 0 0;
    padding-top: 16px;
    padding-bottom: 13px;
    margin-top: 28px;
  }
  .cookie-banner {
    border-radius: 16px 16px 0 0;
    padding: 14px 11px 10px 11px;
    max-width: 99vw;
    gap: 14px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    border-radius: 11px;
    padding: 21px 10px 14px 10px;
    max-width: 99vw;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.1rem; }
  .container { padding-left: 3px; padding-right: 3px; }
  .hero {
    padding: 17px 2px 13px 2px;
    margin-bottom: 18px;
  }
  .cookie-banner {
    border-radius: 8px 8px 0 0;
    padding: 7px 3px 7px 3px;
  }
  .cookie-modal {
    border-radius: 7px;
    padding: 11px 2px 11px 2px;
  }
}

/* Hide mobile nav on desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* ===============================
   Accessibility / Focus
   =============================== */
:focus-visible {
  outline: 2px solid #63a375 !important;
  outline-offset: 2px;
}


/* ===============================
   Micro-interactions
   =============================== */
.card, .feature-grid li, .service-list li, .approach-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, border 0.13s, transform 0.10s;
}
.cta-btn, button, input[type='submit'] {
  transition: background 0.22s, box-shadow 0.17s, color 0.13s, filter 0.13s;
}

/* ===============================
   Miscellaneous
   =============================== */
::-webkit-scrollbar { width: 10px; background: #eee; }
::-webkit-scrollbar-thumb { background: #e1e6e9; border-radius: 6px; }
