/* =========================
   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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0; vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #f4f6f8;
  color: #263238;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }

ul, ol {
  padding-left: 1.5em;
}

/* Headings (Visual Hierarchy) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #263238;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }

p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #263238;
  margin-bottom: 10px;
}

strong, b {
  font-weight: bold;
}

em, i {
  font-style: italic;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffbe8;
  border-radius: 28px;
  box-shadow: 0 2px 32px 0 rgba(44,61,81,0.06);
}

/* ========================
   CONTAINER & LAYOUTS
   ======================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0; /* prevents custom gaps here */
}

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

.text-section {
  background: transparent;
  padding: 0;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

.card {
  margin-bottom: 20px;
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(44,61,81,0.05);
  padding: 24px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(44,61,81,0.18);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 210px;
  min-width: 210px;
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(44,61,81,0.04);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
}
.feature-grid > div:hover {
  background: #e3f6fa;
  box-shadow: 0 8px 32px 0 rgba(44,61,81,0.08);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #eef5fb;
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(44,61,81,0.07);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  flex: 1 1 350px;
  flex-direction: column;
  transition: box-shadow 0.2s, background 0.2s;
  color: #263238;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card:hover {
  background: #dcedf8;
  box-shadow: 0 8px 32px 0 rgba(44,61,81,0.11);
}
.testimonial-card p {
  margin-bottom: 8px;
  font-size: 1.07rem;
}
.testimonial-card span {
  font-weight: 600;
  color: #263238;
  margin-bottom: 10px;
  font-size: 0.97rem;
}
.testimonial-card img {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 3px;
}

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

.tag {
  padding: 2px 12px;
  background: #c8ecec;
  color: #167d74;
  border-radius: 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
  margin-right: 7px;
  display: inline-block;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #e9f7fa;
  padding: 0;
  border-bottom: 1px solid #e0f1f1;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 72px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #246574;
  padding: 8px 11px;
  border-radius: 7px;
  transition: background 0.18s, color 0.2s;
}
header nav a:focus, header nav a:hover {
  background: #03dac6;
  color: #263238;
}
header .cta.primary {
  margin-left: 28px;
  background: #00bfaf;
  color: #fff;
  border-radius: 23px;
  padding: 11px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0px 2px 12px 0 rgba(35,156,163,0.21);
  transition: background 0.18s, box-shadow 0.22s, color 0.19s;
  border: none;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
header .cta.primary:hover, header .cta.primary:focus {
  background: #009b8a;
  color: #fffde7;
  box-shadow: 0px 7px 28px 0 rgba(35,156,163,0.18);
}

.mobile-menu-toggle {
  display: none;
  background: #f5fafb;
  color: #00bfaf;
  border: none;
  font-size: 2.1rem;
  padding: 10px 14px;
  border-radius: 13px;
  margin-left: 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 61;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #daf3ef;
  color: #246574;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fafcff;
  box-shadow: 0 0 0 999vw rgba(34,39,52,0.12);
  transform: translateX(-100vw);
  transition: transform 0.36s ease, opacity 0.2s;
  opacity: 0;
  z-index: 70;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  color: #00bfaf;
  border: none;
  margin: 19px 22px 0 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 7px 13px;
  transition: background 0.17s, color 0.12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #e3f6fa;
  color: #246574;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 38px 0 0 42px;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.20rem;
  color: #246574;
  padding: 9px 0;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: background 0.19s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #03dac6;
  color: #263238;
  padding-left: 7px;
}

@media (max-width: 991px) {
  header nav {
    display: none;
  }
  header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #e9f7fa;
  padding: 32px 0 16px;
  border-top: 1px solid #e0f1f1;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #246574;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  border-radius: 8px;
  padding: 6px 9px;
  transition: background 0.14s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  background: #badbe7;
  color: #263238;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: #4a6072;
  margin-top: 7px;
}
.contact-info img {
  width: 20px;
  margin-right: 7px;
  vertical-align: middle;
}

/* =========================
   BUTTONS, CTA & TAGS
   ========================= */
.cta.primary, .cta.secondary {
  border: none;
  display: inline-block;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 22px;
  padding: 12px 30px;
  transition: background 0.19s, color 0.14s, box-shadow 0.19s;
  margin-top: 15px;
  cursor: pointer;
  text-decoration: none;
}
.cta.primary {
  background: #00bfaf;
  color: #fff;
  box-shadow: 0px 2px 18px 0 rgba(35,186,163,0.13);
}
.cta.primary:hover, .cta.primary:focus {
  background: #009b8a;
  color: #fffde7;
  box-shadow: 0 8px 32px 0 rgba(35,186,163,0.17);
}
.cta.secondary {
  background: #fffbe8;
  color: #00bfaf;
  border: 1.5px solid #00bfaf;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #e3f6fa;
  color: #22bba0;
}
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 14px;
  outline: none;
  border: none;
  padding: 10px 26px;
  background: #eceff1;
  color: #167d74;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
button:hover, button:focus,
.button:hover, .button:focus {
  background: #d1edec;
  color: #263238;
}

/* =========================
   LISTS, FORMS, TABLES
   ========================= */
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 18px;
}
ul li:before {
  content: '•';
  color: #00bfaf;
  position: absolute;
  left: 0; top: 0.7em;
  font-size: 1.1em;
}

input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid #c8ecec;
  border-radius: 11px;
  background: #fcfdfe;
  outline: none;
  margin-bottom: 16px;
  width: 100%;
  max-width: 420px;
  transition: border-color 0.18s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #00bfaf;
  box-shadow: 0 0 0 2px #d1edec;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #263238;
  margin-bottom: 5px;
  display: inline-block;
}

/* =========================
   COOKIE CONSENT BANNER & MODAL
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe8;
  color: #263238;
  box-shadow: 0 -1px 10px 0 #a2b7bc25;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 34px;
  font-size: 1rem;
  animation: cookie-slide-in 0.7s cubic-bezier(.42,0,.31,1.08);
}
.cookie-banner p {
  margin-bottom: 0; font-size: 1.01rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  min-width: 98px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 600;
  background: #e4f7fd;
  color: #263238;
  border: 1.2px solid #00bfaf;
  transition: background 0.13s, color 0.14s;
  box-shadow: 0 2px 5px 0 #26323815;
}
.cookie-banner button.accept {
  background: #00bfaf;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #009b8a;
}
.cookie-banner button.reject {
  background: #f0f0f9;
  color: #263238;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #ffd2d2;
  color: #c23b3b;
}
.cookie-banner button.settings {
  background: #fffbe8;
  color: #00bfaf;
  border: 1.3px solid #00bfaf;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #e3f6fa;
  color: #176f8a;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(110%); opacity: 0; }
  60% { transform: translateY(-5%); opacity: 0.7; }
  90% { transform: translateY(2%); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

.cookie-modal-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 1002;
  background: rgba(44,61,81,0.16);
  animation: cookie-modal-fadein 0.34s cubic-bezier(.42,0,.31,1.08);
}
@keyframes cookie-modal-fadein { 0%{opacity:0;} 100%{opacity:1;} }
.cookie-modal {
  background: #fffbe8;
  color: #263238;
  border-radius: 21px;
  box-shadow: 0 0 44px 0 #26323821;
  padding: 36px 32px 22px;
  max-width: 370px;
  width: 94%;
  margin-bottom: 38px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1rem;
  gap: 11px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #00bfaf;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 21px;
}
.cookie-modal .cookie-modal-close {
  position: absolute; top: 13px; right: 13px;
  background: none; border: none; color: #00bfaf;
  font-size: 1.26rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 7px;
  transition: background 0.18s, color 0.16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #e3f6fa;
  color: #176f8a;
}

@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 19px 11px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* =====================
   HERO & PAGE-LEVEL
   ===================== */
section {
  margin-bottom: 60px;
  padding: 40px 0px;
  background: transparent;
  border-radius: 0;
}
section:first-of-type {
  background: linear-gradient(90deg, #f1f9f6 0%, #fbeef8 100%);
  border-radius: 0 0 40px 40px;
}
h1, h2, h3, h4 {
  /* Already handled above for font/spacing; minor adjust for pastel headers */
  color: #263238;
  text-shadow: 0 2px 12px #e6e6f66e;
}

/* =====================
   RESPONSIVE FLEXBOX LAYOUTS
   ===================== */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-wrap: wrap;
    gap: 16px;
  }
  .feature-grid > div, .card {
    min-width: 170px;
    padding: 22px 13px;
  }
  .section {
    padding: 32px 9px;
  }
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
  }
  .feature-grid > div {
    width: 100%;
    min-width: unset;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
  }
  .section {
    margin-bottom: 38px;
    padding: 21px 4px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 490px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1.02rem; }
  .feature-grid > div {
    padding: 17px 6px;
  }
  .section {
    padding: 10px 2px;
  }
}

/* =====================
   MICRO-INTERACTIONS & TRANSITIONS
   ===================== */
.card, .feature-grid > div, .cta.primary, .cta.secondary, button, .testimonial-card, .cookie-banner, .mobile-menu {
  transition: background 0.22s, box-shadow 0.21s, color 0.14s, transform 0.16s;
}
a, .tag {
  transition: color 0.16s, background 0.13s;
}

.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.021);
}

.cta.primary:active, .cta.secondary:active, button:active {
  transform: scale(0.96);
}

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

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* =====================
   CUSTOM SCROLLBAR
   ===================== */
::-webkit-scrollbar {width: 9px; background: #f4f6f8;}
::-webkit-scrollbar-thumb {
  background: #b6e3e2; border-radius: 11px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00bfaf;
}

/* =====================
  SOFT PASTEL + BRAND ACCENTS
   ===================== */
body, .section {
  background: #f4f6f8;
}
.section {
  background: #fffbe8;
}
.feature-grid > div {
  background: #e9f7fa;
}
.testimonial-card {
  background: #eef5fb;
}
.cta.primary {
  background: #00bfaf;
}
.tag {
  background: #c8ecec; color: #167d74;
}

/* =====================
   Z-INDEX HIERARCHY
   ===================== */
header, .mobile-menu { z-index: 60; }
.mobile-menu { z-index: 70; }
.cookie-banner, .cookie-modal-overlay { z-index: 1001; }

/* =====================
   FOCUS STYLES (A11Y)
   ===================== */
a:focus, .button:focus, button:focus, input:focus, textarea:focus, .cta:focus {
  outline: 2px solid #00bfaf;
  outline-offset: 2px;
}

/* ===== Remove number spinner for inputs ===== */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
