/* ==========================================================================
   CSS RESET & BASELINE (Normalize & Reset)
   ========================================================================== */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F5F5F5;
  color: #232A33;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  width: 100%;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section {
  display: block;
}
a {
  color: #30506B;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,.14,1,1);
}
a:hover, a:focus {
  color: #87BBA2;
  text-decoration: underline;
  outline: none;
}
ul {
  list-style: disc inside;
  margin-left: 18px;
  margin-bottom: 16px;
}
ol {
  list-style: decimal inside;
  margin-left: 18px;
  margin-bottom: 16px;
}

/* Remove underline for nav/footer links initially */
nav a, .footer nav a { text-decoration: none; }

img, svg { display: inline-block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #232A33;
  font-weight: 700;
}
h1 { font-size: 2.7rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, li { font-size: 1rem; line-height: 1.65; }
p, ul, ol { margin-bottom: 18px; }

/* Spacing utility */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(35,42,51,0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Main content wrappers */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section {
  max-width: 800px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 2px 10px 0 rgba(35,42,51,.06);
  transition: box-shadow 0.25s cubic-bezier(.4,.14,1,1);
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(35,42,51,.13);
}
.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: 12px;
  padding: 20px;
  background: #F5F5F5;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(35,42,51,.09);
  margin-bottom: 18px;
  min-width: 280px;
  max-width: 385px;
  transition: box-shadow 0.18s cubic-bezier(.4,.14,1,1);
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(35,42,51,.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ======= Brand Elements ======= */
.header, header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: #232A33;
  min-height: 78px;
  box-shadow: 0 3px 24px 0 rgba(35,42,51,0.11);
  position: relative;
  z-index: 99;
}
header .logo img {
  height: 46px;
  width: auto;
  display: block;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 40px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 8px 0;
  transition: color 0.18s cubic-bezier(.4,.14,1,1);
}
header nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #87BBA2;
  position: absolute;
  left: 0; bottom: 2px;
  transition: width 0.25s;
}
header nav a.active,
header nav a:hover {
  color: #87BBA2;
}
header nav a.active:after,
header nav a:hover:after {
  width: 85%;
}
header .cta-btn {
  margin-left: auto;
  background: #87BBA2;
  color: #232A33;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  padding: 12px 28px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 4px 18px 0 rgba(135,187,162,0.12);
  transition: background 0.17s, color 0.17s, box-shadow 0.2s;
}
header .cta-btn:hover, header .cta-btn:focus {
  background: #232A33;
  color: #87BBA2;
  outline: none;
  box-shadow: 0 1px 10px 0 rgba(135,187,162,0.25);
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  margin-left: 18px;
  cursor: pointer;
  height: 40px;
  width: 48px;
  align-items: center;
  justify-content: center;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #87BBA2;
}

/* =====================
    Mobile Navigation
   ===================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,42,51,0.96);
  display: flex;
  flex-direction: column;
  transform: translateX(-102vw);
  transition: transform 0.35s cubic-bezier(.4,.14,1,1);
  z-index: 9999;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 22px; right: 24px;
  cursor: pointer;
  z-index: 10101;
  padding: 6px 12px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #87BBA2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 96px;
  align-items: flex-start;
  padding: 0 44px;
}
.mobile-nav a {
  color: #F5F5F5;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 6px;
  width: 100%;
  transition: background .21s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #222a33;
  color: #87BBA2;
}

/* ======================
    Main Layout Spacing
   ====================== */
main {
  min-height: 60vh;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-top: 16px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(35,42,51,0.07);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #F5F5F5;
  border-radius: 15px;
  padding: 26px 20px;
  min-width: 230px;
  min-height: 220px;
  flex: 1 1 200px;
  box-shadow: 0 2px 12px rgba(35,42,51,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s cubic-bezier(.4,.14,1,1);
}
.feature-grid > div:hover {
  box-shadow: 0 6px 18px 0 rgba(35,42,51,0.13);
}
.feature-grid img {
  height: 46px;
  width: 46px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(35,42,51,.04);
}

ul li > strong { color: #232A33; }

/* ======= HERO SECTION ======== */
.subheadline {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #87BBA2;
  margin-bottom: 6px;
}

/* ======================
    CTA (Call to Action)
   ====================== */
.cta-btn {
  background: #87BBA2;
  color: #232A33;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 40px;
  border: none;
  box-shadow: 0 4px 18px 0 rgba(135,187,162,0.15);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  margin-top: 8px;
  margin-bottom: 8px;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #30506B;
  color: #F5F5F5;
  box-shadow: 0 2px 13px 0 rgba(68,118,101,0.12);
  outline: none;
}

/* ======================
   Testimonials Section
   ====================== */
.testimonial-slider {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #F5F5F5;
  color: #232A33;
  font-size: 1.06rem;
  max-width: 400px;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 14px 0 rgba(35,42,51,0.07);
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.06rem;
  margin-bottom: 10px;
  color: #232A33;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  color: #30506B;
  font-weight: 500;
}

/* ======================
   Footer
   ===================== */
footer {
  width: 100%;
  background: #232A33;
  color: #fff;
  padding: 46px 0 32px 0;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 10px;
}
footer nav a {
  color: #87BBA2;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
  transition: color 0.19s;
}
footer nav a:hover {
  color: #fff;
}
footer address {
  font-size: 0.97rem;
  color: #e7e7e7;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer address img {
  height: 1.25em;
  width: 1.25em;
  vertical-align: middle;
  margin-right: 3px;
}
footer address a {
  color: #87BBA2;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.17s;
}
footer address a:hover {
  color: #fff;
}
footer span {
  display: block;
  color: #BFD2CC;
  font-size: 0.92rem;
}

/* ======================
   Responsive Design
   ====================== */
@media (max-width: 1080px) {
  .container { max-width: 900px; }
}
@media (max-width: 900px) {
  .container { max-width: 100%; }
  .feature-grid,
  .testimonial-slider,
  footer .container {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 10px;
  }
  section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slider,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .content-wrapper {
    gap: 12px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 560px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  section, .section {
    padding: 14px 4px;
    border-radius: 7px;
  }
  .feature-grid > div { padding: 14px 8px; }
}

/* ======= Cookie Banner ======= */
#cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 94%;
  max-width: 600px;
  background: #232A33;
  color: #fff;
  box-shadow: 0 4px 26px 0 rgba(35,42,51,0.20);
  border-radius: 16px;
  padding: 26px 20px 20px 20px;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
  gap: 18px;
  z-index: 12001;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s cubic-bezier(.4,.14,1,1);
}
#cookie-banner.show {
  opacity: 1;
  pointer-events: all;
}
#cookie-banner .cookie-text {
  flex: 1 1 0%;
  color: #fff;
  font-size: 1rem;
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  border: none;
  background: #87BBA2;
  color: #232A33;
  border-radius: 32px;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(135,187,162,0.09);
  transition: background 0.15s, color 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #30506B;
  color: #fff;
  outline: none;
}
.cookie-btn.cookie-reject {
  background: #fff;
  color: #232A33;
  border: 1.5px solid #30506B;
}
.cookie-btn.cookie-reject:hover {
  background: #eaeaea;
  color: #232A33;
  border: 1.5px solid #87BBA2;
}
.cookie-btn.cookie-settings {
  background: transparent;
  color: #87BBA2;
  border: 1.5px solid #87BBA2;
}
.cookie-btn.cookie-settings:hover {
  background: #eaf6f2;
  color: #30506B;
}
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 8px 11px 10px;
  }
  #cookie-banner .cookie-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ======= Cookie Modal ======= */
#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(35,42,51,0.71);
  z-index: 12900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s cubic-bezier(.4,.14,1,1);
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #232A33;
  padding: 38px 32px 28px 32px;
  border-radius: 18px;
  width: 96%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 5px 38px rgba(35,42,51,0.23);
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #232A33;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #87BBA2;
  cursor: pointer;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #232A33;
  font-size: 1.9rem;
  position: absolute;
  right: 18px;
  top: 12px;
  cursor: pointer;
  padding: 3px 9px;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #87BBA2;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 430px) {
  .cookie-modal-dialog {
    padding: 13px 3vw;
    border-radius: 8px;
    gap: 14px;
  }
}

/* ======= Miscellaneous ======= */
::-webkit-input-placeholder { color: #425059; opacity: 0.9; }
::-moz-placeholder { color: #425059; opacity: 0.9; }
:-ms-input-placeholder { color: #425059; opacity: 0.9; }
::placeholder { color: #425059; opacity: 0.9; }

hr, .divider {
  border: none;
  border-top: 1px solid #e4e9ec;
  margin: 28px 0;
}

/* Remove number spinner arrows */
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;
}

/* ======= Hide visually but keep available to screen readers ======= */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ======= Animations & Transitions ======= */
.section, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, background 0.15s;
}

/* ======= Accessibility ======= */
:focus {
  outline: 2px solid #87BBA2;
  outline-offset: 1px;
}

/* ======= Print Tweaks ======= */
@media print {
  header, footer, #cookie-banner, .mobile-menu { display: none !important; }
  section, .section { box-shadow: none !important; background: #fff !important; }
}
