/* ========================================================== */
/*      CSS RESET & SCANDINAVIAN CLEAN BASE STYLES            */
/* ========================================================== */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F3F7F1;
  color: #22402E;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #27613E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #1E4970;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  color: inherit;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  max-width: 700px;
  margin: 0 auto 0 auto;
}

/* ========================================================== */
/*        TYPOGRAPHY: ROBOTO SLAB/OPEN SANS COMBO             */
/* ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  color: #1E4970;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.16; margin-bottom: 18px; }
h3 { font-size: 1.22rem; line-height: 1.2; margin-bottom: 8px; color: #27613E; }
h4, h5, h6 { font-size: 1rem; }

p, ul, ol {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 12px;
  color: #22402E;
}

strong {
  font-weight: 600;
}

/* Visual Hierarchy with Spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(39, 97, 62, 0.06);
}

@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 38px;
    border-radius: 10px;
  }
}

/* ========================================================== */
/*      HEADER/NAV + MOBILE MENU BURGER                       */
/* ========================================================== */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E7E0;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 22px;
}
header img {
  width: 172px;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
}
.main-nav a {
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F3F7F1;
  color: #1E4970;
}

.cta {
  display: inline-block;
  background: #27613E;
  color: #fff;
  border-radius: 32px;
  padding: 11px 34px;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(39,97,62,0.11);
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s;
  margin-left: 10px;
}
.cta.primary {
  background: #27613E;
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #1E4970;
  color: #fff;
  box-shadow: 0 2px 24px rgba(39,97,62,0.19);
  text-decoration: none;
}

/* Burger menu button for mobile */
.mobile-menu-toggle {
  display: none;
  background: #F3F7F1;
  border-radius: 50%;
  padding: 10px 14px;
  font-size: 1.72rem;
  line-height: 1;
  color: #27613E;
  margin-left: 6px;
  transition: background 0.2s, color 0.2s;
  z-index: 900;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E2E7E0;
  color: #1E4970;
}

/* ========== Mobile offcanvas navigation =========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(39,97,62,0.98);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.39s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  z-index: 1002;
  padding: 7px 13px;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(255,255,255,0.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 90px;
  margin-left: 40px;
  width: 90vw;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.42rem;
  font-family: 'Roboto Slab', Georgia, serif;
  letter-spacing: 0.01em;
  padding: 14px 0;
  border-radius: 3px;
  transition: background 0.18s, color 0.19s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #1E4970;
  color: #F3F7F1;
  padding-left: 10px;
}

@media (max-width: 1100px) {
  header .container { flex-wrap: wrap; padding-top: 15px; padding-bottom: 15px;}
  .main-nav { gap: 11px; font-size:0.97rem;}
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta.primary {
    display: none;
  }
}

@media (max-width: 600px) {
  header img {
    width: 120px;
  }
  .mobile-nav {
    margin-left: 18px;
    font-size: 1.11rem;
  }
  .mobile-menu-close {
    top: 12px; right: 14px;
    font-size: 1.4rem;
  }
}

/* ========================================================== */
/*      FLEX LAYOUT: FEATURE GRIDS, CARDS, SECTIONS           */
/* ========================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 0;
  justify-content: flex-start;
}
.feature-grid > li {
  background: #F3F7F1;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 350px;
  border-radius: 12px;
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 10px 0 rgba(39,97,62,0.06);
  margin-bottom: 20px;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
}

/* Core Card/Container Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(39,97,62,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
}
.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;
}
@media(max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.services-list {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.services-list li {
  background: #F3F7F1;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(39,97,62,0.06);
  padding: 23px 17px 20px 17px;
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 360px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.services-list h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: #27613E;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.services-list h3 span {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1E4970;
  font-weight: 400;
}
@media (max-width: 900px) {
  .feature-grid, .services-list {
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }
  .feature-grid > li, .services-list li {
    min-width: 0;
    max-width: 100%;
  }
  .content-grid { flex-direction: column; }
}

/* ========================================================== */
/*      TESTIMONIAL CARDS, QUOTES, REVIEW AREAS               */
/* ========================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(30,73,112,0.06), 0 0.5px 0 #E2E7E0 inset;
  margin-bottom: 20px;
  color: #1E4970;
  font-size: 1.05rem;
  line-height: 1.6;
}
.testimonial-card p {
  color: #1E4970;
  margin: 0 0 4px 0;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card > div {
  color: #27613E;
  font-weight: 500;
  font-size: 0.98rem;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    font-size: 1rem;
  }
}

/* ============= Contact Details and Info Boxes ============= */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #F3F7F1;
  border-radius: 10px;
  padding: 16px 22px 15px 22px;
  font-size: 1rem;
  margin-bottom: 14px;
}
.contact-details div {
  margin-bottom: 4px;
}

/* ========================================================== */
/*              FOOTER STYLES                                */
/* ========================================================== */
footer {
  background: #FFFFFF;
  border-top: 1.5px solid #E2E7E0;
  margin-top: 44px;
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  padding-top: 34px;
  padding-bottom: 24px;
  min-height: 100px;
  color: #22402E;
}
.footer-nav {
  display: flex;
  gap: 19px;
  flex-direction: column;
}
.footer-nav a {
  color: #1E4970;
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 500;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #27613E;
  text-decoration: underline;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.96rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 8px;
}
.footer-brand img {
  width: 38px;
  height: 38px;
}
.footer-brand span {
  font-size: 0.95rem;
  color: #689586;
  font-family: 'Open Sans', Arial, sans-serif;
}
@media (max-width:900px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .footer-brand { margin-top: 20px; }
}

/* ========================================================== */
/*      FORM, BUTTONS, FOCUS RINGS, MICRO-INTERACTIONS        */
/* ========================================================== */
button, .cta, .services-list a, .cookie-consent-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.20s;
}
button:focus, .cta:focus, .services-list a:focus, .cookie-consent-btn:focus {
  outline: 2px solid #1E4970;
  outline-offset: 1px;
}

::-webkit-input-placeholder { color: #B5C4B1; }
::-moz-placeholder { color: #B5C4B1; }
:-ms-input-placeholder { color: #B5C4B1; }
::placeholder { color: #B5C4B1; }


/* ========================================================== */
/*      COOKIE CONSENT BANNER + MODAL                         */
/* ========================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #27613E;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 18px 24px;
  z-index: 2001;
  box-shadow: 0 -8px 40px 2px rgba(39,97,62,0.07);
  transition: transform 0.32s cubic-bezier(.65,0,.28,1), opacity 0.2s;
  transform: translateY(0);
}
.cookie-consent-banner.closed {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-consent-banner p {
  color: #fff;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-consent-actions {
  display: flex;
  gap: 14px;
}
.cookie-consent-btn {
  border: none;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 23px;
  margin-right: 4px;
  margin-bottom: 0;
  cursor: pointer;
  margin-top: 2px;
  transition: background 0.18s, color 0.13s;
  box-shadow: 0 1px 8px 0 rgba(30,73,112,0.07);
}
.cookie-consent-btn.accept {
  background: #27613E;
  color: #fff;
  border: 2px solid #F3F7F1;
}
.cookie-consent-btn.accept:focus, .cookie-consent-btn.accept:hover {
  background: #1E4970;
  color: #fff;
}
.cookie-consent-btn.reject {
  background: #F3F7F1;
  color: #27613E;
  border: 2px solid #fff;
}
.cookie-consent-btn.reject:focus, .cookie-consent-btn.reject:hover {
  background: #1E4970;
  color: #fff;
}
.cookie-consent-btn.settings {
  background: none;
  color: #93b8ac;
  border: 2px solid #fff;
}
.cookie-consent-btn.settings:focus,
.cookie-consent-btn.settings:hover {
  background: #F3F7F1;
  color: #27613E;
}

@media(max-width: 599px) {
  .cookie-consent-banner {
    padding: 18px 8px 12px 8px;
    font-size: 0.97rem;
  }
  .cookie-consent-actions {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2005;
  width: 95vw;
  max-width: 410px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 34px 0 rgba(30,73,112,0.15);
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  transition: opacity 0.21s, transform 0.35s cubic-bezier(.42,0,.38,1);
  display: flex;
  flex-direction: column;
  padding: 30px 26px 18px 26px;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-44%) scale(0.94);
}
.cookie-modal h3 {
  color: #27613E;
  font-size: 1.18rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #E2E7E0;
  padding: 13px 0;
}
.cookie-category label {
  color: #22402E;
  font-size: 1rem;
  font_WEIGHT: 600;
}
.cookie-toggle {
  appearance: none;
  width: 37px;
  height: 21px;
  background: #E2E7E0;
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background 0.19s;
  margin-left: 6px;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #27613E;
}
.cookie-toggle:disabled,
.cookie-toggle[aria-disabled="true"] {
  opacity: 0.60;
  cursor: not-allowed;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions .cookie-consent-btn {
  min-width: 100px;
}

.cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 1.48rem;
  background: none;
  border: none;
  color: #27613E;
  border-radius: 50%;
  padding: 5px 10px;
  transition: background 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F3F7F1;
  color: #1E4970;
}

@media (max-width: 400px) {
  .cookie-modal {
    padding: 16px 3vw 10px 3vw;
  }
  .cookie-modal h3 { font-size: 1rem; }
}

/* ========================================================== */
/*                 MISC & UTILITY MEDIA QUERIES               */
/* ========================================================== */
@media (max-width: 600px) {
  html { font-size: 97%; }
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.02rem; }
  .container { padding-left: 7px; padding-right: 7px; }
  .footer-brand img { width: 30px; height: 30px; }
}


/* ========================================================== */
/*                   MISC UTILITY CLASSES                     */
/* ========================================================== */
.d-none { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }

/* =================== END OF CSS ============================ */
