/* --- 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, input, textarea, button, select, 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 {
  line-height: 1.5;
  background: #F5F7FA;
  color: #223364;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol { margin-left: 2em; }
a { color: #28A57B; text-decoration: none; transition: color 0.18s; }
a:focus,
a:hover { color: #223364; outline: none; }
button { font-family: inherit; outline: none; border: none; background: none; cursor: pointer; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.2rem; color: #223364; }
h2 { font-size: 1.7rem; color: #223364; }
h3 { font-size: 1.25rem; color: #28A57B; }
h4, h5, h6 { font-size: 1.06rem; color: #516164; font-weight: 600; }
p, li { font-size: 1rem; margin-bottom: 12px; color: #223364; }
strong { font-weight: 700; }

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 22px rgba(34, 51, 100, 0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section { max-width: 770px; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {  /* for potential generic use */
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(40, 165, 123, 0.10);
  padding: 28px 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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 22px;
  background: #F6FAF7;
  border-radius: 18px;
  box-shadow: 0 1px 10px rgba(40, 165, 123, 0.08);
  margin-bottom: 20px;
  max-width: 540px;
  border-left: 6px solid #28A57B;
  position: relative;
}
.testimonial-card strong { color: #223364; font-weight: 700; font-size: 1.07rem; }
.testimonial-card p { color: #223364; font-size: 1.03rem; margin-bottom: 0.5em; }
.testimonial-card span { color: #E6CB58; font-size: 1.2rem; font-family: 'Montserrat', Arial, sans-serif; letter-spacing: 2px; }

/* Adjust contrast for testimonials */
.testimonial-card p,
.testimonial-card strong { color: #223364; }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Brand & Nature/Organic Style --- */
body {
  background: #F5F7FA;
}
.section {
  background: linear-gradient(121deg, #F5F7FA 80%, #E8EFE4 90%, #F0F5E1 100%);
  box-shadow: 0 6px 22px rgba(56, 92, 56, 0.06);
  border-radius: 28px 42px 24px 32px/22px 40px 24px 28px;
}
.container {
  background: transparent;
}
.content-wrapper {
  background: transparent;
}
.card, .service-card {
  background: #fff;
  border-radius: 18px 30px 20px 24px/18px 28px 16px 22px;
  box-shadow: 0 2px 18px rgba(34,51,100,0.09);
  padding: 28px 22px 18px 22px;
  /* simulate card organic shapes */
  border-left: 7px solid #28A57B;
}

/* Cards Layout */
.service-card {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  position: relative;
  box-shadow: 0 2px 14px rgba(40,165,123,0.09);
  border-radius: 18px 30px 20px 24px/18px 28px 16px 22px;
  transition: transform 0.16s, box-shadow 0.22s;
  border-left: 7px solid #28A57B;
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 8px 32px rgba(40, 165, 123, 0.15);
}

.services-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services-grid .service-card,
.service-list .service-card {
  flex: 1 1 320px;
  max-width: 340px;
  min-width: 260px;
}

/* --- Call to Action --- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #28A57B;
  color: #fff;
  border-radius: 48px 60px 42px 46px/36px 42px 40px 38px;
  padding: 11px 34px;
  letter-spacing: 1px;
  box-shadow: 0 3px 12px rgba(40,165,123,0.08);
  border: 0;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.15s;
  margin-top: 9px;
  margin-bottom: 6px;
  cursor: pointer;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #155E46;
  color: #fff;
  box-shadow: 0 8px 32px rgba(34, 51, 100, 0.12);
  transform: translateY(-2px) scale(1.03);
}

/* --- Header Navigation --- */
header {
  background: linear-gradient(101deg, #fff 85%, #E8EFE4 100%);
  box-shadow: 0 3px 10px rgba(40, 165, 123, 0.03);
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1200px;
  height: 66px;
  margin: 0 auto;
  padding: 0 18px;
}
header nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #223364;
  padding: 6px 14px;
  border-radius: 32px;
  transition: background 0.17s, color 0.18s;
  font-size: 1rem;
}
header nav > a.cta-btn {
  margin-left: auto;
}
header nav > a:hover, header nav > a:focus {
  background: #E8EFE4;
  color: #28A57B;
}
header nav img {
  vertical-align: middle;
  margin-right: 18px;
  height: 38px;
  width: auto;
}

/* --- Mobile Burger Menu --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #28A57B;
  background: none;
  border: none;
  position: absolute;
  right: 20px;
  top: 13px;
  z-index: 300;
}
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: block;
  }
  header nav > a:not(:first-child):not(.cta-btn) {
    display: none;
  }
  header nav > a.cta-btn {
    margin-left: auto;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(131deg, #E8EFE4 80%, #28A57B 170%);
  z-index: 9999;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 48px;
  transition: transform 0.35s cubic-bezier(.52,1.6,.44,.99);
  transform: translateX(100vw);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2.2rem;
  background: #E8EFE4;
  border: none;
  color: #223364;
  border-radius: 22px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(34,51,100,0.07);
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #28A57B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  margin-top: 42px;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #223364;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 18px;
  min-width: 180px;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #28A57B;
  color: #fff;
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* --- Responsive Layout & Main Content --- */
@media (max-width: 992px) {
  .services-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .services-grid .service-card, .service-list .service-card {
    max-width: 100%;
    width: 100%;
    min-width: unset;
  }
  header nav {
    gap: 10px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 24px 8px;
    border-radius: 18px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
  }
  .container {
    padding: 0 6px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 10px;
    font-size: 0.97rem;
  }
}

/* --- Footer --- */
footer {
  background: linear-gradient(101deg, #E8EFE4 80%, #F5F7FA 100%);
  padding: 36px 0 12px 0;
  border-radius: 34px 34px 0 0 / 12px 28px 0 0;
  margin-top: 36px;
  border-top: 2px solid #E8EFE4;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 16px;
}
footer nav a {
  color: #223364;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 14px;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #28A57B;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  color: #516164;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact span {
  color: #516164;
}
@media (max-width: 640px) {
  .footer-contact { flex-direction: column; gap: 12px; font-size: 0.93rem; }
  footer { padding: 22px 0 6px 0; }
}

/* --- Organic Motifs (Decorative Only) --- */
.section, .testimonial-card, .service-card, .card {
  /* Texture simulation: soft shadow, rounded corners, gentle border */
  box-shadow: 0 2px 18px rgba(40, 165, 123, .08), 0 0.5px 3px rgba(221, 234, 221, 0.08);
}

/* --- Interaction and Focus States --- */
a, .cta-btn, button, .mobile-nav a, .mobile-menu-close {
  outline: none;
  transition: box-shadow 0.18s, background 0.17s, color 0.16s, border 0.18s;
}
a:focus-visible, .cta-btn:focus-visible, .mobile-menu-close:focus-visible, .mobile-nav a:focus-visible {
  box-shadow: 0 0 0 3px #A3D7B9;
  outline: none;
}

/* --- Lists, Links, Paragraphs --- */
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #223364;
  list-style-position: inside;
}
ul li::marker {
  color: #28A57B;
}
li { margin-bottom: 8px; }

/* --- Heros and Headings --- */
.hero-section h1 {
  font-size: 2.4rem;
  background: linear-gradient(90deg, #223364 70%, #28A57B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 14px;
}
.hero-section p {
  font-size: 1.15rem;
  color: #223364;
  margin-bottom: 10px;
}

/* --- Forms & Miscellaneous --- */
input, textarea, select {
  font-family: inherit;
  border: 1.5px solid #B8CDBC;
  border-radius: 14px;
  padding: 10px 15px;
  margin-bottom: 18px;
  background: #F0F5E1;
  color: #223364;
  transition: border 0.14s, background 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #28A57B;
  background: #fff;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #E8EFE4;
  color: #223364;
  box-shadow: 0 -2px 18px rgba(40, 165, 123, .12);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 16px;
  flex-wrap: wrap;
  transition: transform 0.45s cubic-bezier(.52,1.5,.44,0.96), opacity 0.18s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin: 0 0 8px 0;
  color: #223364;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 8px;
  border-radius: 24px;
  padding: 8px 24px;
  min-width: 100px;
  background: #28A57B;
  color: #fff;
  border: none;
  box-shadow: 0 1px 6px rgba(40, 165, 123, 0.09);
  cursor: pointer;
  transition: background 0.12s, box-shadow 0.16s;
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #fff;
  color: #223364;
  border: 1.5px solid #28A57B;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #F0F5E1;
  color: #223364;
  border: 1.5px solid #B8CDBC;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #155E46;
  color: #fff;
  box-shadow: 0 3px 18px rgba(40,165,123,0.09);
}
.cookie-banner .cookie-btn.cookie-settings:hover,
.cookie-banner .cookie-btn.cookie-settings:focus {
  background: #28A57B;
  color: #fff;
  border-color: transparent;
}
.cookie-banner .cookie-btn.cookie-reject:hover,
.cookie-banner .cookie-btn.cookie-reject:focus {
  background: #CEDDC8;
  color: #223364;
  border-color: #B8CDBC;
}

/* --- Cookie Preferences Modal --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10020;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,51,100,0.22);
  align-items: center;
  justify-content: center;
  transition: opacity 0.16s;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
}
.cookie-modal-content {
  background: #F6FAF7;
  border-radius: 22px;
  padding: 34px 24px 24px 24px;
  min-width: 300px;
  max-width: 90vw;
  box-shadow: 0 6px 26px rgba(34,51,100,0.20);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal-content h3 {
  color: #223364;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-modal-content ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 12px 0;
}
.cookie-modal-content li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal-content label {
  font-size: 1rem;
}
.cookie-modal-content input[type='checkbox'] {
  accent-color: #28A57B;
  width: 18px; height: 18px;
}
.cookie-modal-content .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-content .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 24px;
  padding: 8px 28px;
  min-width: 90px;
  background: #28A57B;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(40, 165, 123, 0.09);
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal-content .cookie-btn.cookie-cancel {
  background: #fff;
  color: #223364;
  border: 1.5px solid #28A57B;
}
.cookie-modal-content .cookie-btn:hover, .cookie-modal-content .cookie-btn:focus {
  background: #155E46;
  color: #fff;
}
@media (max-width: 540px) {
  .cookie-modal-content {
    padding: 16px 4vw 10px 4vw;
  }
}

/* --- Extra utilities for organic/nature separation --- */
.organic-sep {
  width: 70px;
  height: 7px;
  border-radius: 18px;
  background: #CEDDC8;
  margin: 26px 0;
}

/* --- Custom Scrollbar for Brand Feel --- */
::-webkit-scrollbar {
  width: 9px;
  background: #E8EFE4;
}
::-webkit-scrollbar-thumb {
  background: #B8CDBC;
  border-radius: 9px;
}

/* --- Animations for Entrances --- */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: none; }
}
.section, .service-card, .testimonial-card, .card {
  animation: fadeIn 0.7s cubic-bezier(.35,1,.48,1) 0.05s both;
}

/* --- Misc and Mobile Spacing --- */
@media (max-width: 460px) {
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.21rem; }
  .cta-btn { font-size: 0.97rem; padding: 8px 15px; }
}

/* --- Z-index for overlays --- */
.mobile-menu { z-index: 9999; }
.cookie-banner { z-index: 10010; }
.cookie-modal { z-index: 10020; }

/* --- Hide outlines with mouse, show with keyboard (better a11y) --- */
:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
