/* 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 {
  line-height: 1.5;
  background: #FFFDF8;
  color: #1a2233;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: #186A80;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #63B877;
  text-decoration: underline;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
strong, b { font-weight: 700; }

/* FONT IMPORTS (Use @import for browser compatibility) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* VARIABLES/FALLBACKS */
:root {
  --color-primary: #186A80;
  --color-primary-dark: #124F60;
  --color-secondary: #63B877;
  --color-secondary-dark: #39965F;
  --color-accent: #FFFDF8;
  --color-dark: #1a2233;
  --color-light: #ffffff;
  --shadow: 0 6px 24px rgba(24, 106, 128, 0.10), 0 1.5px 4px rgba(24, 106, 128, 0.12);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #186A80;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-dark);
}
.subheadline {
  font-size: 1.17rem;
  margin-bottom: 28px;
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* COMMON CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
}

.text-section {
  margin-bottom: 24px;
}

/* MAIN SECTION LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover,
.card:focus {
  box-shadow: 0 12px 36px rgba(24, 106, 128, 0.18);
  transform: translateY(-4px) scale(1.03);
}

.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: 20px;
  background: #f7fafc;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 9px rgba(24,106,128,0.08);
  border-left: 6px solid var(--color-primary);
  max-width: 600px;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-primary);
}

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

/* HERO */
.hero {
  background: linear-gradient(120deg, var(--color-primary) 78%, var(--color-secondary) 98%);
  color: var(--color-light);
  border-radius: 0 0 46px 46px;
  margin-bottom: 36px;
  padding-top: 44px;
  padding-bottom: 46px;
  box-shadow: 0 14px 38px 0 rgba(24,106,128, 0.17);
}
.hero .container {
  align-items: flex-start;
}
.hero h1, .hero .subheadline {
  color: var(--color-light);
}
.hero .btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}
.hero .btn-primary:hover, .hero .btn-primary:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.feature-grid li {
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: 0 2px 9px rgba(24,106,128,0.07);
  padding: 18px 18px 16px 18px;
  min-width: 210px;
  max-width: 340px;
  flex: 1 1 210px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary-dark);
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.feature-grid img {
  width: 38px;
  height: 38px;
}

/* SERVICE CARDS (Homepage) */
.services .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-card {
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 350px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(24,106,128,0.09);
  padding: 32px 24px 24px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
  border-left: 5px solid var(--color-secondary);
}
.service-card span {
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 6px;
  font-size: 1rem;
}
.service-card a {
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-top: auto;
  width: fit-content;
  transition: background 0.18s, box-shadow 0.16s;
  box-shadow: 0px 3px 11px rgba(24,106,128,.10);
}
.service-card a:hover, .service-card a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.service-card:hover {
  box-shadow: 0 10px 30px rgba(24,106,128,0.14);
  transform: translateY(-4px) scale(1.025);
}

/* CTA SECTION */
.cta {
  margin-bottom: 0;
  background: var(--color-primary);
  color: #fff;
  border-radius: 32px;
  padding: 56px 20px;
  box-shadow: 0 4px 32px rgba(24,106,128,0.14);
  text-align: left;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  border: none;
  box-shadow: 0 2px 15px rgba(24, 106, 128, 0.10);
  transition: background 0.2s, color 0.18s, box-shadow 0.1s, transform 0.12s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(24,106,128,0.13);
}

/* HEADER */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 26px 0 rgba(24, 106, 128, 0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 7px 15px;
  border-radius: 20px;
  transition: background .16s, color .14s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
header nav .btn-primary {
  margin-left: 10px;
}

header img {
  height: 48px;
  width: auto;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  padding: 3px 11px;
  margin-left: 18px;
  transition: background 0.15s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary-dark);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 340px;
  height: 100vh;
  background: var(--color-light);
  box-shadow: -10px 0 40px rgba(24, 106, 128, 0.18);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.7,.24,.25,1.15);
  display: flex;
  flex-direction: column;
  padding: 38px 22px 28px 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  border-radius: 8px;
  padding: 2px 13px 2px 13px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}
.mobile-nav a {
  color: var(--color-primary-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  border-radius: 12px;
  padding: 13px 10px 13px 0;
  transition: background .16s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary-dark);
}

/* Hide desktop nav on mobile, show mobile-menu-toggle */
@media (max-width: 998px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 999px) {
  .mobile-menu {
    display: none !important;
  }
}
/* Close menu if not .open */
.mobile-menu:not(.open) {
  pointer-events: none;
}


/* FOOTER */
footer {
  width: 100%;
  background: #F4F8FA;
  margin-top: 68px;
  padding: 30px 0 18px 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 9px 0 rgba(24, 106, 128, 0.04);
  color: #1A2233;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
footer img {
  width: 54px;
  height: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color .14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary-dark);
  text-decoration: underline;
}
footer .text-section {
  font-size: 0.92rem;
  color: #4d5a6d;
  margin-left: 0;
}
footer .text-section a {
  color: var(--color-primary);
  font-weight: 600;
}


/* UTILITY */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 32px; }

/* RESPONSIVE LAYOUTS */
@media (max-width: 1140px) {
  .container { max-width: 96vw; }
}
@media (max-width: 998px) {
  .services .service-cards { gap: 16px; }
  .feature-grid { gap: 14px; }
  .card-container { gap: 14px; }
}
@media (max-width: 820px) {
  .content-wrapper { gap: 17px; }
  .container { padding-left: 8px; padding-right: 8px; }
  .services .service-cards { gap: 10px; }
  .feature-grid li { font-size: 0.99rem; }
  .section { padding: 20px 7px; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  .content-grid, .card-container, .services .service-cards, .feature-grid {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: stretch !important;
  }
  .footer .container, footer .container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }
  .section {
    margin-bottom: 24px;
    padding: 22px 4px;
    border-radius: 15px;
  }
  .hero {
    padding-top: 26px;
    padding-bottom: 30px;
    border-radius: 0 0 18px 18px;
  }
  .cta {
    padding: 24px 4px;
    border-radius: 16px;
    text-align: left;
  }
  .testimonial-card {
    padding: 13px 10px;
    border-radius: 11px;
  }
}
@media (max-width: 570px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.23rem; }
  .btn-primary { font-size: 1rem; padding: 10px 20px; }
}

/* COOKIES BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #fff;
  color: #186A80;
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -2px 18px 0 rgba(24,106,128,.11);
  padding: 24px 18px 24px 18px;
  z-index: 10500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookie-slide-in 0.45s cubic-bezier(.32,1.56,.4,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  font-size: 1rem;
  text-align: center;
  color: #186A80;
  margin-bottom: 13px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 20px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.17s, color 0.17s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-secondary-dark);
  color: #fff;
}
.cookie-btn.reject {
  background: #e0e0e0;
  color: #186A80;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ccc;
  color: var(--color-primary-dark);
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-primary);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10520;
  top:0; left:0; right:0; bottom:0;
  background: rgba(24,106,128,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-cookie-bg 0.38s;
}
@keyframes fade-in-cookie-bg {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 34px rgba(24,106,128,0.13);
  width: 95vw;
  max-width: 420px;
  padding: 44px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookie-modal-in 0.45s cubic-bezier(.32,1.56,.4,1);
}
@keyframes cookie-modal-in {
  from { transform: translateY(28px) scale(.92); opacity:0; }
  to   { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.32rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.cookie-modal label {
  font-size: 1.02rem;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.cookie-category-toggle {
  accent-color: var(--color-secondary); /* fallback for native toggle, wide support */
  width: 20px; height: 20px;
}
.cookie-modal .cookie-actions {
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 1.18rem;
  border-radius: 5px;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-primary);
}

/* Accessibility Helper Styles */
:focus {
  outline: 2px dashed var(--color-primary);
  outline-offset: 1.5px;
}

/* Misc. Adjustments */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0;
}
h3 {
  margin-top: 10px;
}

/* Special: Hide visually for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Specials: Thank You/Centralized Buttons */
.text-section .btn-primary {
  margin-top: 18px;
  width: fit-content;
  display: inline-flex;
}

/* Ensure no element overlapping */
.section + .section, main section + section, .card + .card, .feature-grid li + li {
  margin-top: 24px;
}

/* End of CSS */
