/*---------------------
  CSS RESET & BASELINE
----------------------*/
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, menu, 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, 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 {
  /* consistent scroll and sizing */
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FAF8F2;
  height: 100%;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background-color: #FAF8F2;
  color: #23302B;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #176B6B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #388E8E;
  outline: none;
}
*:focus {
  outline: 2px solid #388E8E !important;
  outline-offset: 1px;
}

/* Utility Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/*------------------------
  TYPOGRAPHY & HEADINGS
-------------------------*/
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  color: #253359;
  margin-bottom: 24px;
  line-height: 1.16;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #225948;
  margin-bottom: 20px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #253359;
  margin-bottom: 14px;
  line-height: 1.2;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  color: #23302B;
  margin-bottom: 12px;
  font-weight: 500;
}
p, li, label, td, th {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #23302B;
  margin-bottom: 16px;
  line-height: 1.7;
}
.subtitle {
  color: #23302B;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 700;
}

/* Typography scale */
@media (max-width: 600px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.1rem; }
  .subtitle { font-size: 1rem; }
}

/*-------------------------
       SECTIONS & LAYOUTS 
--------------------------*/
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 36px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 16px rgba(56,142,142,0.08);
  padding: 32px 24px;
  position: relative;
  border: 1px solid #EAE8E3;
  min-width: 270px;
  max-width: 360px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(56,142,142,0.26);
}
.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 {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(34,89,72,0.10);
  border-left: 8px solid #388E8E;
  min-width: 260px;
  max-width: 520px;
  color: #23302B;
  font-size: 1rem;
  transition: box-shadow 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(56,142,142,0.20);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(56,142,142,0.08);
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  transition: box-shadow 0.16s;
}
.feature-item:hover {
  box-shadow: 0 4px 16px rgba(56,142,142,0.16);
}
.feature-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: saturate(0.8) brightness(0.97) drop-shadow(0 2px 4px rgba(34, 89, 72,0.06));
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.service-item {
  background: #f6f8f4;
  border-radius: 18px;
  padding: 24px 18px;
  border: 1px solid #e0ebdb;
  min-width: 270px;
  flex: 1 1 270px;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.cta-block {
  background: linear-gradient(95deg, #F1F5EB 70%, #e6f7f3 100%);
  border-radius: 26px;
  box-shadow: 0 2px 14px rgba(34, 89, 72,0.05);
  text-align: center;
  align-items: center;
  gap: 22px;
}
.notification-success {
  border-left: 6px solid #388E8E;
  background: #EEF8F6;
  border-radius: 16px;
  padding: 18px 20px;
  color: #176B6B;
  margin-bottom: 22px;
}
ul, ol {
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 12px;
}

/*------------------------
      HEADER & NAVBAR
-------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(56,142,142,0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo {
  display: flex;
  align-items: center;
  padding-right: 14px;
  padding-top: 2px;
}
.logo img {
  height: 50px;
  width: auto;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 18px;
  font-size: 1rem;
  color: #176B6B;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.19s, color 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EEF8F6;
  color: #225948;
}
.btn-primary {
  background: #388E8E;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  padding: 12px 28px;
  border-radius: 28px 15px 28px 15px;
  border: none;
  cursor: pointer;
  margin-left: 22px;
  box-shadow: 0 2px 10px rgba(56,142,142,0.10);
  transition: background 0.22s, box-shadow 0.21s, transform 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #176B6B;
  color: #fff;
  box-shadow: 0 4px 18px rgba(34, 89, 72, 0.14);
  transform: translateY(-1.5px) scale(1.03);
}
.btn-secondary {
  background: #fff;
  color: #388E8E;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 26px;
  border-radius: 25px;
  border: 2px solid #388E8E;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.18s, color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #EEF8F6;
  color: #176B6B;
}

/* Hamburger Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: #388E8E;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 8px;
  padding: 5px 13px 6px 13px;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.18s, box-shadow 0.14s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #176B6B;
}
/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: #EEF8F6;
  z-index: 105;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.53,.19,.63,1.31);
  box-shadow: 12px 0 48px rgba(34,51,89,0.23);
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #176B6B;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 14px 16px 2px 0;
  padding: 3px 7px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #253359;
}
.mobile-nav {
  margin-top: 36px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #176B6B;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #EAE8E3;
  width: 90%;
  text-align: left;
  border-radius: 9px;
  transition: background 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E0EBDB;
  color: #225948;
}

/*----------------*
      FOOTER
------------------*/
footer {
  background: #253359;
  color: #fff;
  margin-top: 60px;
  border-radius: 35px 35px 0 0;
  box-shadow: 0 -2px 18px rgba(34,51,89,0.12);
  padding: 34px 0 10px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1rem;
}
.footer-logo {
  flex: 1 1 140px;
}
.footer-logo img {
  max-height: 42px;
  width: auto;
  margin-bottom: 14px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-legal a {
  color: #F1F2F6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #97C1B2;
}
.footer-contact {
  flex: 2 1 200px;
  font-size: 0.97rem;
  color: #E9EFEC;
  margin-bottom: 10px;
}
.footer-contact a {
  color: #97C1B2;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}
.footer-social img {
  width: 30px;
  height: 30px;
  opacity: 0.85;
  transition: opacity 0.16s;
}
.footer-social img:hover {
  opacity: 1;
}
.footer-copyright {
  width: 100%;
  text-align: left;
  color: #C9D5EE;
  font-size: 0.93rem;
  margin-top: 12px;
  margin-bottom: 4px;
}

/*---------------------*
      TABLE STYLES
-----------------------*/
table {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 18px 0 12px 0;
  box-shadow: 0 2px 8px rgba(56,142,142,0.05);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #EAE8E3;
  font-size: 1.04rem;
}
th {
  background: #EEF8F6;
  color: #176B6B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
tr:last-of-type td {
  border-bottom: none;
}

/*------------------------*
      CONTACT DETAILS
--------------------------*/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0px 12px 0px;
}
.contact-details > div {
  font-size: 1.04rem;
}

/*------------------------*
     TESTIMONIALS
--------------------------*/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.testimonial-card p {
  color: #23463E;
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #176B6B;
  font-weight: 600;
  font-size: 1rem;
}

/*-----------------------*
   COOKIE CONSENT BANNER
-------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #f4fae9;
  color: #23302B;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  z-index: 130;
  box-shadow: 0 -2px 24px rgba(34,89,72,0.07);
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  font-size: 1.01rem;
  animation: cookie-bounce-in 0.48s;
}
@keyframes cookie-bounce-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-left: 16px;
}
.cookie-btn {
  background: #388E8E;
  color: #fff;
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.16s, transform 0.12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #176B6B;
  transform: scale(1.03);
}
.cookie-btn.cookie-settings {
  background: #F1F2F6;
  color: #176B6B;
  border: 1px solid #388E8E;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #E0EBDB;
  color: #225948;
}
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 135;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(56,142,142,0.21);
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  padding: 30px 32px 24px 32px;
  box-shadow: 0 8px 44px rgba(34, 51, 89,0.22);
  min-width: 312px;
  max-width: 90vw;
  color: #23302B;
  font-size: 1.08rem;
  animation: fade-cookie-modal 0.32s;
}
@keyframes fade-cookie-modal {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: #388E8E;
  margin-bottom: 13px;
  font-size: 1.35rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  border-bottom: 1px solid #EAE8E3;
  padding-bottom: 10px;
}
.cookie-category label {
  flex: 1 1 0;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #E0EBDB;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s, background 0.19s;
  box-shadow: 0 1px 4px rgba(34,89,72,0.10);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 18px;
  background: #388E8E;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

/*---------------------*
   ORGANIC STYLE SHAPES
-----------------------*/
.section, .cta-block, .card, .service-item, .testimonial-card, .feature-item, .cookie-modal, .cookie-banner {
  /* Custom pseudo-element 'organic shape' background */
  position: relative;
}
.section::before, .cta-block::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  left: -28px;
  bottom: -38px;
  width: 120px;
  height: 90px;
  background: #E0EBDB;
  border-radius: 80% 60% 100% 60% / 60% 80% 80% 100%;
  opacity: 0.15;
  pointer-events: none;
}
.card::before, .testimonial-card::before, .service-item::before, .feature-item::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  right: -28px;
  top: -22px;
  width: 60px;
  height: 45px;
  background: #388E8E;
  border-radius: 60% 100% 60% 90% / 90% 60% 80% 100%;
  opacity: 0.08;
  pointer-events: none;
}
.card, .testimonial-card, .service-item, .feature-item, .cta-block {
  position: relative;
  z-index: 10;
}

/*-------------------*
    SPACING PATTERNS
---------------------*/
@media (min-width: 769px) {
  .section, section {
    padding: 56px 0 56px 0;
    margin-bottom: 80px;
  }
  .content-wrapper {
    gap: 34px;
  }
  .feature-grid, .service-list, .card-container, .testimonials {
    gap: 32px;
  }
  .text-image-section {
    flex-direction: row;
    gap: 44px;
  }
  .footer-nav, .footer-legal {
    flex-direction: row;
    gap: 24px;
  }
}

/*---------------------*
    RESPONSIVE DESIGN
----------------------*/
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .card-container, .testimonials {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    min-height: 64px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-block {
    padding: 32px 10px;
  }
  .section, section {
    padding: 30px 0 30px 0;
    margin-bottom: 38px;
  }
  .feature-grid, .service-list, .card-container, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .section, section {
    padding: 20px 2px;
    margin-bottom: 30px;
  }
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 10px;
    font-size: 0.96rem;
  }
  .cookie-banner-buttons {
    width: 100%;
    gap: 7px;
  }
}

/*---------------------*
    FORMS (for future inputs)
----------------------*/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid #EAE8E3;
  margin-bottom: 16px;
  width: 100%;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #388E8E;
}
label {
  display: block;
  margin-bottom: 7px;
  color: #176B6B;
}
button, .btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.17s, color 0.14s, box-shadow 0.14s, transform 0.12s;
}

/*-------------------*
     ANIMATIONS
---------------------*/
.card, .testimonial-card, .feature-item, .service-item, .cta-block {
  transition: box-shadow 0.18s, transform 0.15s;
  will-change: box-shadow, transform;
}
.card:hover, .testimonial-card:hover, .feature-item:hover, .service-item:hover, .cta-block:hover {
  transform: translateY(-2.5px) scale(1.01);
  box-shadow: 0 6px 25px rgba(56,142,142,0.20);
}

/*-------------------*
     MISC STYLES
---------------------*/
::-webkit-scrollbar {
  height: 8px;
  width: 8px;
  background: #FAF8F2;
}
::-webkit-scrollbar-thumb {
  background: #E0EBDB;
  border-radius: 8px;
}

/*----------------------*
   ENSURE MIN GAPS/NO OVERLAP
-----------------------*/
.feature-grid > .feature-item,
.service-list > .service-item,
.card-container > .card,
.testimonials > .testimonial-card {
  margin-bottom: 20px;
}
/* Remove last margin for last child in row */
.feature-item:last-child, .service-item:last-child, .card:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/* Make sure no content card or section overlaps */
section, .section, .card, .testimonial-card, .feature-item, .service-item, .cta-block {
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* Ensure proper z-index stacking when pseudo-elements present */
.section::before, .cta-block::before, .card::before, .testimonial-card::before, .service-item::before, .feature-item::before {
  z-index: 1;
}

/*----------------------*
   FONTS IMPORTS (Google)
-----------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');