/* CSS RESET & BASELINE NORMALIZATION */
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 { font-size: 100%; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F5F6FA;
  color: #243447;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: #52768B; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #243447; text-underline-offset: .2em; }
ul, ol { margin-left: 1.5em; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #243447;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 16px; }
h4 { font-size: 1.125rem; line-height: 1.25; margin-bottom: 12px; }
body, p, li, .footer-contact, .testimonial-card p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
p { margin-bottom: 16px; }
strong { font-weight: 700; }

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section,
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  margin-bottom: 24px;
}

/* FLEXBOX SPACING PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(140,179,199,0.08), 0 1.5px 6px rgba(36,52,71,0.04);
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(140,179,199,0.15), 0 2px 8px rgba(36,52,71,0.06);
}
.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 28px;
  margin-bottom: 20px;
  background: #FAFBFE;
  border-radius: 18px;
  border: 1px solid #E1EAF4;
  box-shadow: 0 2px 12px rgba(140,179,199,0.10);
}
.testimonial-card p {
  color: #243447;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #52768B;
  font-size: 0.97rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li, .feature-grid > div {
  background: #F2F7FB;
  border-radius: 16px;
  padding: 16px 20px;
  color: #243447;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.04rem;
  box-shadow: 0 1.5px 4px rgba(140,179,199,0.08);
  margin-bottom: 0; /* Controlled by flex gap */
  transition: box-shadow .18s;
}
.feature-grid li img, .feature-grid > div img {
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.feature-grid li:hover, .feature-grid > div:hover {
  box-shadow: 0 4px 16px rgba(140,179,199,0.14);
}

/* CTA PRIMARY BUTTON */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 28px;
  background: #8CB3C7;
  color: #243447;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  box-shadow: 0 2px 10px rgba(140,179,199,0.11);
  cursor: pointer;
  margin-top: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  transition: background .18s, color .18s, box-shadow .22s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #A0C8DD;
  color: #23324a;
  box-shadow: 0 6px 24px rgba(140,179,199,0.19);
}

/* HEADER: MAIN NAVIGATION */
header {
  background: #FAF6FF;
  box-shadow: 0 1.5px 8px rgba(140,179,199,0.04);
  position: relative;
  z-index: 5;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 18px 12px 14px 12px;
  justify-content: flex-start;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #32395e;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background .18s, color .18s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #F2F7FB;
  color: #243447;
}
.main-nav > a.cta-primary {
  margin-left: auto;
  font-size: 1.11rem;
  background: #8CB3C7;
  color: #243447;
  box-shadow: 0 2px 10px rgba(140,179,199,0.12);
}
.main-nav > a.cta-primary:hover, .main-nav > a.cta-primary:focus {
  background: #A0C8DD;
  color: #23324a;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 21;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #243447;
  border-radius: 12px;
  transition: background .16s;
  padding: 4px 12px;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2F7FB;
}
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1001;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(245,246,250,0.98);
  transform: translateX(105%);
  transition: transform 0.36s cubic-bezier(.49,.03,.38,1.11);
  box-shadow: -8px 0 40px rgba(140,179,199,0.12);
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px; right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #243447;
  cursor: pointer;
  transition: background .17s;
  padding: 4px 12px;
  border-radius: 12px;
  z-index: 1002;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E1EAF4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
  align-items: flex-start;
  padding: 38px 36px 20px 36px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat',Arial,sans-serif;
  color: #243447;
  background: transparent;
  border-radius: 10px;
  padding: 12px 8px;
  width: 100%;
  transition: background .2s, color .17s;
  min-width: 140px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EBF1FA;
  color: #8CB3C7;
}

@media (max-width: 1024px) {
  .container { max-width: 94vw; }
  .main-nav {
    gap: 18px;
    padding-left: 6px; padding-right: 6px;
  }
}
@media (max-width: 900px) {
  .section, section { padding: 32px 0 32px 0; }
  .feature-grid { gap: 14px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; margin-bottom: 18px; }
  h2 { font-size: 1.35rem; margin-bottom: 15px; }
  h3 { font-size: 1.07rem; }
  .container { padding: 0 8px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .feature-grid { justify-content: center; }
  .section, section { padding: 26px 0 26px 0; }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-card, .feature-grid li, .feature-grid > div, .card {
    min-width: 0;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  html { font-size: 93%; }
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.07rem; }
  .container { padding: 0 3vw; }
}

/* FOOTER */
footer {
  background: #F5F6FA;
  border-top: 2px solid #E1EAF4;
  margin-top: 60px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 12px 24px 12px;
  gap: 18px;
}
.footer-content > img {
  width: 58px; margin-bottom: 6px;
}
.footer-nav {
  display: flex; gap: 20px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #52768B;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 7px;
  transition: background .14s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E1EAF4; color: #243447;
}
.footer-contact {
  color: #243447;
  font-size: 0.98rem;
  text-align: center;
}
.footer-content p {
  font-size: 0.93rem;
  color: #8CB3C7;
  margin-top: 10px;
}

/* VISUAL ELEMENTS */
.card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(140,179,199,0.08);
  margin-bottom: 20px;
  padding: 26px 22px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(140,179,199,0.16);
}

/* FORMS (for contact page) */
input[type="text"],
input[type="email"],
textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #D8E6EF;
  background: #FAFBFE;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #243447;
  transition: border-color .17s;
}
input:focus, textarea:focus {
  border-color: #8CB3C7;
  outline: none;
}

/* MISC: Lists and Details */
ul, ol {
  margin-top: 8px;
  margin-bottom: 14px;
  padding-left: 21px;
}
ul li, ol li {
  margin-bottom: 11px;
  color: #3F5368;
  line-height: 1.6;
}
strong {
  color: #243447;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
button, .cta-primary, .main-nav a, .footer-nav a, .feature-grid li, .feature-grid > div, .card {
  transition: background .19s, color .16s, box-shadow .19s, border-color .15s;
}

/* DREAMY, SOFT PASTEL BACKGROUNDS */
body, .section, section {
  background: #F5F6FA;
}
section {
  border-radius: 26px;
  /* Subtle illustration using box-shadow for dreamy effect */
  box-shadow: 0 6px 40px rgba(140,179,199,0.07);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  z-index: 12000;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #F2F7FB;
  box-shadow: 0 -2px 24px rgba(140,179,199,0.13), 0 -1.5px 8px rgba(36,52,71,0.07);
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  padding: 18px 24px;
  font-size: 1.04rem;
  color: #243447;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieBannerIn .55s cubic-bezier(.61,0,.47,1.14);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  background: #8CB3C7;
  color: #243447;
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  letter-spacing: 0.015em;
  padding: 10px 22px;
  cursor: pointer;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(140,179,199,0.11);
  transition: background .17s, color .14s;
}
.cookie-banner .cookie-btn.accept {
  background: #8CB3C7;
  color: #243447;
}
.cookie-banner .cookie-btn.reject {
  background: #E3A3A7;
  color: #243447;
}
.cookie-banner .cookie-btn.settings {
  background: #F5F6FA;
  color: #8CB3C7;
  border: 1.2px solid #8CB3C7;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  opacity: 0.93;
  box-shadow: 0 3px 12px rgba(140,179,199,0.17);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 12010;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,52,71,0.09);
  animation: fadeInOverlay .23s;
}
@keyframes fadeInOverlay {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-overlay.open { display: block; }
.cookie-modal {
  position: fixed;
  z-index: 12050;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  max-width: 98vw;
  width: 410px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 44px rgba(140,179,199,0.19);
  padding: 36px 30px 30px 30px;
  animation: scaleInModal .32s cubic-bezier(0,.68,.49,1.19);
}
@keyframes scaleInModal {
  from { opacity: 0; transform: translate(-50%,calc(-50% + 40px)) scale(.92); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 17px 0;
  font-size: 1.02rem;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #E1EAF4;
  position: relative;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal .cookie-toggle[data-checked="true"] {
  background: #8CB3C7;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(140,179,199,.12);
  transition: left .16s;
}
.cookie-modal .cookie-toggle[data-checked="true"] .slider {
  left: 18px;
}
.cookie-modal-close {
  position: absolute; top: 16px; right: 22px;
  font-size: 1.5rem;
  background: none; border: none;
  color: #243447;
  cursor: pointer; border-radius: 10px;
  transition: background .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F2F7FB;
}
.cookie-modal .cookie-btn-panel {
  display: flex;
  gap: 10px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 9px 20px;
  font-size: 1.04rem;
  border-radius: 13px;
}

@media (max-width: 520px) {
  .cookie-modal {
    width: 98vw;
    padding: 22px 10px 18px 10px;
  }
}

/* SOFT, PASTEL, DREAMY INFILL COLORS */
.section, section, .feature-grid li, .feature-grid > div, .card, .testimonial-card {
  /* Gentle blue/rose/vanilla pastel backgrounds */
  background-image: linear-gradient(112deg,#F5F9FE 85%,#F9F5FE 95%);
}

/* SELECTORS FROM HTML STRUCTURE, ENSURE MATCH */
.text-section {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(140,179,199,0.09);
  padding: 18px 18px 11px 18px;
  margin-bottom: 20px;
}
.text-section:last-child { margin-bottom: 0; }

/* ICONS AND ILLUSTRATIONS */
.text-section img {
  width: 22px; height: 22px;
  vertical-align: text-bottom;
  margin-right: 9px;
  margin-bottom: -2px;
  display: inline-block;
}

/* TABLES (for completeness) */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 28px;
}
th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #E1EAF4;
}
th {
  background: #F6FAFD;
}

/* MICRO-ANIMATION ON CARDS */
.card, .testimonial-card, .feature-grid li, .feature-grid > div {
  transition: box-shadow .20s, transform .20s;
}
.card:hover, .testimonial-card:hover, .feature-grid li:hover, .feature-grid > div:hover {
  transform: translateY(-2px) scale(1.028);
}

/* ROUNDED CORNERS FOR IMAGES AND BUTTONS */
img, svg {
  border-radius: 8px;
}

/* ENSURE GAP BETWEEN CONTENT SECTIONS */
section + section, .section + .section {
  margin-top: 0;
}

/* Z-INDEX SAFETY ON MENUS & BANNERS */
header, .cookie-banner, .cookie-modal, .cookie-modal-overlay {
  z-index: 4000 !important;
}

/* Accessibility and visible focus states */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px dashed #8CB3C7;
  outline-offset: 2px;
}

/* SCROLLBAR: Minimal, pastel style for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
  background: #F5F6FA;
}
::-webkit-scrollbar-thumb {
  background: #E1EAF4;
  border-radius: 10px;
}

/* STANDALONE UTILITIES */
.d-none { display: none !important; }

/* END */