/* 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #f9fbfb;
  color: #205072;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  min-width: 100vw;
  position: relative;
}
img {
  max-width: 100%;
  display: inline-block;
  height: auto;
}
a {
  color: #409ea5;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #205072;
  outline: none;
}
ul, ol {
  margin: 1em 0 1em 2em;
}
li {
  margin-bottom: 8px;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #205072;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

p, li, td, th, span, label, input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #205072;
}

/* GENERAL LAYOUT CONTAINERS */
.container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* PASTEL BACKGROUNDS */
.hero, .cta-final {
  background: #eaf6ff;
  background: linear-gradient(135deg, #eaf6ff 0%, #f6fafc 100%);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #f6fafc;
  border-radius: 28px;
}
.features {
  margin-bottom: 60px;
  padding: 40px 0;
}
.how-it-works {
  background: #f9fbfa;
  margin-bottom: 60px;
  border-radius: 24px;
}

/* FLEXBOX LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.feature-block {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(80,160,200,0.09);
  padding: 28px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  transition: transform .14s, box-shadow .14s;
}
.feature-block img {
  width: 48px; height: 48px;
  margin-bottom: 8px;
}
.feature-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px 0 rgba(80,160,200,0.17);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(80,160,200,0.10);
  padding: 28px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .14s, transform .14s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(80,160,200,0.17);
  transform: translateY(-2px);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px 0 rgba(32,80,114,0.10);
  min-width: 260px;
  max-width: 420px;
  color: #1e2d3b;
  position: relative;
  transition: box-shadow .18s;
  border: 2px solid #d5efef;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(80,160,200,0.19);
}
.testimonial-card p {
  color: #1e2d3b;
  font-weight: 400;
  font-size: 1.05rem;
}
.testimonial-card span {
  color: #40596d;
  font-size: 0.99rem;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 18px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 rgba(80,160,200,0.08);
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 285px;
  transition: box-shadow .13s, transform .13s;
}
.service-item:hover {
  box-shadow: 0 8px 32px 0 rgba(80,160,200,0.17);
  transform: translateY(-4px);
}
.service-item img {
  width: 42px; height: 42px;
}

.faq-snippet, .faq-entry {
  background: #fff;
  border-radius: 13px;
  padding: 18px 16px;
  box-shadow: 0 2px 12px 0 rgba(80,160,200,.09);
  margin-bottom: 20px;
}
.faq-snippet h3, .faq-entry h2 {
  margin-bottom: 10px;
  color: #409ea5;
  font-size: 1.13rem;
}

.text-section {
  background: #f6fafc;
  border-radius: 11px;
  padding: 16px 18px 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px 0 rgba(80,160,200,.03);
}

/* BUTTONS & CTA */
.cta-btn,
button.cta-btn {
  display: inline-block;
  background: #51bea3;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 12px 36px;
  margin-top: 8px;
  letter-spacing: .03em;
  box-shadow: 0 2px 10px 0 rgba(81,190,163,.14);
  border: none;
  transition: background 0.2s, box-shadow 0.18s, transform .12s;
  cursor: pointer;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #36a791;
  box-shadow: 0 6px 18px 0 rgba(81,190,163,0.23);
  color: #fff;
  transform: translateY(-1px) scale(1.02);
  outline: none;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 12px 0 rgba(80,160,200,0.07);
  overflow: hidden;
  font-size: 1rem;
}
th, td {
  padding: 15px 12px;
  text-align: left;
  border-bottom: 1px solid #e6f5f8;
}
th {
  background: #eaf6ff;
  color: #205072;
}
tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #eaf6ff;
  border-top: 2px solid #d5efef;
  padding: 40px 0 10px 0;
  margin-top: 60px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
}
.footer-grid > div, .footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid nav a {
  color: #205072;
  opacity: 0.90;
  margin-bottom: 3px;
  font-size: 1rem;
  transition: color .15s;
}
.footer-grid nav a:hover, .footer-grid nav a:focus {
  color: #51bea3;
  opacity: 1;
}
.footer-socials {
  display: flex;
  gap: 18px;
  margin: 20px 0 10px 0;
  align-items: center;
  justify-content: flex-start;
}
.footer-socials a img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 1px 5px 0 rgba(81,190,163,.07);
  transition: box-shadow .14s;
}
.footer-socials a:hover img {
  box-shadow: 0 3px 20px 0 rgba(81,190,163,.17);
}
.copyright {
  margin-top: 10px;
  font-size: .98rem;
  color: #4a6f81;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #f9fbfa;
  border-bottom: 2px solid #eaf6ff;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 90px;
  padding-top: 4px;
  padding-bottom: 4px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  color: #205072;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .02em;
  margin-right: 4px;
  padding: 6px 6px;
  transition: color .15s;
}
header nav a.cta-btn {
  margin-left: 12px;
  margin-right: 0;
  padding-left: 24px;
  padding-right: 24px;
  background: #51bea3;
  color: #fff;
  border-radius: 20px;
  transition: background .18s;
}
header nav a.cta-btn:hover, header nav a.cta-btn:focus {
  background: #36a791;
}
header nav a:hover:not(.cta-btn), header nav a:focus:not(.cta-btn) {
  color: #51bea3;
}
header img {
  height: 52px;
  width: auto;
  margin-right: 16px;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #51bea3;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  padding: 8px 15px 8px 15px;
  z-index: 55;
  border: none;
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #36a791;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246,250,252, 0.97);
  box-shadow: 0 9px 40px 0 rgba(32,80,114,0.12);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.82,.02,.11,1.02);
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 0 0 20px;
  background: #205072;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(32,80,114,0.10);
  border: none;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #51bea3;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 36px 0 0 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #205072;
  padding: 10px 0;
  letter-spacing: .03em;
  border-bottom: 1px solid #eaf6ff;
  width: 94%;
  transition: color .14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a.cta-btn {
  background: #51bea3;
  color: #fff;
  border-radius: 18px;
  padding: 12px 28px;
  margin-top: 16px;
  width: auto;
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
}
.mobile-nav a.cta-btn:hover, .mobile-nav a.cta-btn:focus {
  background: #36a791;
}

/* CONTENT STYLES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* MOBILE-FIRST RESPONSIVE RULES */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
  .footer-grid {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 820px) {
  .feature-grid,
  .service-list,
  .content-grid,
  .footer-grid {
    gap: 16px;
  }
  .feature-block, .service-item {
    min-width: 160px;
    max-width: 100%;
    flex-basis: 95%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.08rem; }
  .hero, .cta-final, .section {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 0;
  }
  .feature-grid,
  .service-list,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-block, .service-item {
    max-width: 100%;
    padding: 22px 11px 18px;
    border-radius: 14px;
  }
  .testimonial-card {
    padding: 15px 11px;
    min-width: 90vw;
    max-width: 98vw;
    border-radius: 13px;
  }
  .footer-socials {
    gap: 11px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 100vw;
    padding: 0 4px;
  }
  .feature-block, .service-item, .card {
    padding: 16px 5px 13px;
    margin-bottom: 12px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff7e1;
  color: #26596e;
  box-shadow: 0 -2px 16px 0 rgba(32,80,114,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 1299;
  padding: 20px 16px;
  font-size: 1rem;
  border-top: 2px solid #ffeeb0;
  transition: transform .38s cubic-bezier(.63,1.5,.2,1.05);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner__content {
  max-width: 600px;
  font-size: 0.99rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #51bea3;
  color: #fff;
  border-radius: 22px;
  padding: 7px 21px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  margin-right: 4px;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-btn.reject {
  background: #f9a19a;
  color: #fff;
}
.cookie-btn.settings {
  background: #f9df99;
  color: #26596e;
  border: 1.5px solid #ffd45a;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #36a791;
  color: #fff;
  outline: none;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #ea6565;
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff3c9;
  border-color: #ffd45a;
  color: #26596e;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.98rem;
    padding: 15px 4px;
  }
  .cookie-banner__actions {
    gap: 8px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 94vw;
  max-width: 410px;
  background: #fffefb;
  border-radius: 22px;
  transform: translate(-50%,-50%);
  box-shadow: 0 8px 32px 0 rgba(110,180,180,.14);
  z-index: 2001;
  padding: 28px 22px 18px 22px;
  color: #205072;
  flex-direction: column;
  gap: 18px;
  animation: appear-modal .27s cubic-bezier(.81,.03,.36,1.35);
}
.cookie-modal.active {
  display: flex;
}
@keyframes appear-modal {
  from { opacity: 0; transform: translate(-50%,-45%) scale(.91); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}
.cookie-modal__header h2 {
  font-size: 1.2rem;
  color: #205072;
}
.cookie-modal__close {
  background: #f9a19a;
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #ea6565;
  outline: none;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 7px 0;
  font-size: 0.99rem;
}
.cookie-category label {
  font-weight: 500;
  color: #205072;
  font-size: 1.05rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #51bea3;
  width: 20px;
  height: 20px;
}
.cookie-category input[disabled] {
  accent-color: #e1e5e8;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

/* ANIMATIONS & MICROINTERACTIONS */
.cta-btn,
.feature-block,
.service-item,
.card,
.testimonial-card,
.cookie-banner,
.cookie-btn,
.mobile-menu,
.footer-socials a img {
  transition-property: box-shadow, background, color, transform;
  transition-duration: .14s;
  transition-timing-function: cubic-bezier(.41,.24,.17,1.12);
}

/* COLOURS – SOFT PASTEL PALETTE */
:root {
  --primary: #205072;
  --secondary: #51bea3;
  --accent: #fafafa;
  --pastel-blue: #eaf6ff;
  --pastel-green: #e4fff3;
  --pastel-pink: #fdebf6;
  --pastel-yellow: #fff7e1;
}

/* TYPOGRAPHY (SOFT PASTEL FEEL) */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.18;
}
p, li, td, th, span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* SOFT SHADOWS & SMOOTH RADIUS */
.hero, .section, .service-item, .feature-block, .testimonial-card, .card, .faq-snippet, .faq-entry, .cta-final {
  box-shadow: 0 4px 24px 0 rgba(90,180,160,0.06);
}
.hero, .cta-final, .section, .feature-block, .service-item, .testimonial-card, .card {
  border-radius: 22px;
}

/**** VISUAL HIERARCHY consisTENCY ****/
.hero h1, .cta-final h2 {
  color: #205072;
  font-size: 2.25rem;
  letter-spacing: .01em;
}
.hero p, .cta-final p {
  font-size: 1.08rem;
  color: #205072;
  max-width: 650px;
}

/* SPACING FOR BREATHING SPACE */
main section,
main .section {
  margin-bottom: 60px;
}
@media (max-width: 600px) {
  main section,
  main .section {
    margin-bottom: 36px;
    padding-bottom: 16px;
  }
}

/**** FORM ELEMENTS (for future forms if any) ****/
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select, textarea {
  border-radius: 16px;
  border: 1.4px solid #dbf4ec;
  background: #f3fbfa;
  padding: 11px 16px;
  font-size: 1rem;
  color: #205072;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border-color 0.15s;
}
input:focus, textarea:focus,
select:focus {
  outline: none;
  border-color: #51bea3;
}

/**** ACCESSIBILITY / FOCUS STYLES ****/
.cta-btn:focus,
.cookie-btn:focus,
.mobile-menu-close:focus,
input:focus, textarea:focus, select:focus {
  outline: 2px solid #205072;
  outline-offset: 2px;
}

/* CARD & SECTION MINIMUM SPACING */
.section > *,
.feature-grid > *,
.card-container > *,
.service-list > *,
.content-grid > *,
.text-image-section > *,
.testimonial-card + .testimonial-card,
.card + .card,
.faq-snippet + .faq-snippet,
.faq-entry + .faq-entry {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/**** PRINTING ****/
@media print {
  *, *:before, *:after { background: #fff !important; color: #111 !important; box-shadow: none !important; }
  header,footer,.cta-final,.mobile-menu,.cookie-banner,.cookie-modal { display: none !important; }
  body { margin: 0; padding: 0; }
}
