/* --- CSS RESET & 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F6FB;
  color: #352E3A;
  line-height: 1.55;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #35A7DF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6093d8;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- SOFT PASTEL BRAND COLOR SCHEME + UTILITIES --- */
:root {
  --primary: #172137;
  --secondary: #35A7DF;
  --pastel-blue: #CFE6FA;
  --pastel-violet: #E2DCF7;
  --pastel-pink: #F7D6DD;
  --pastel-yellow: #FFF6D7;
  --pastel-green: #EBF7EE;
  --brand-accent: #F9F9FC;
  --white: #fff;
  --shadow-soft: 0 4px 24px 0 rgba(39, 60, 117, 0.06);
}

/* SPACING SCALE (8/16/24/32/40/60) */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-top: 16px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.12rem;
  font-weight: 600;
}
p, li {
  color: #433E51;
  margin-bottom: 8px;
  font-size: 1rem;
}
strong {
  font-weight: 600;
}
.subheadline {
  font-size: 1.2rem;
  color: #6a6681;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.5;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  color: #463d57;
}

@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .section { padding: 24px 8px; }
}

/* --- HEADER/NAVIGATION --- */
header {
  background: var(--pastel-blue);
  box-shadow: 0 2px 8px 0 rgba(46,80,161,0.06);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 0;
}
header a img {
  height: 38px;
  margin-top: 6px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 12px;
  transition: background 0.18s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--pastel-violet);
  color: var(--secondary);
}
.cta-primary {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  margin-left: 24px;
  border: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.22s, transform 0.16s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #66c6e6;
  box-shadow: 0 8px 32px 0 rgba(39, 60, 117, 0.12);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: var(--pastel-pink);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  display: inline-block;
  margin-top: 18px;
  transition: background 0.2s, box-shadow 0.22s, transform 0.16s;
  border: none;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--pastel-yellow);
  color: #58316b;
  box-shadow: 0 8px 32px 0 rgba(39, 60, 117, 0.10);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
  margin-left: 24px;
  display: none;
  cursor: pointer;
  z-index: 1021;
  border-radius: 8px;
  transition: background 0.15s;
  padding: 2px 12px 2px 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-violet);
  outline: none;
}
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (max-width: 800px) {
  header .cta-primary {
    margin-left: 10px;
    padding: 9px 18px;
    font-size: 0.98rem;
  }
  header a img { height: 30px; }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  max-width: 94vw;
  height: 100vh;
  background: var(--pastel-violet);
  box-shadow: 2px 0 36px 0 rgba(48,36,82,0.15);
  z-index: 2001;
  transform: translateX(-110%);
  transition: transform 0.35s cubic-bezier(.77,.2,.05,1.0);
  display: flex;
  flex-direction: column;
  padding: 32px 22px 22px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2.2rem;
  font-weight: 300;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ede2fa;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 0px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  padding: 10px 0 10px 6px;
  border-radius: 12px;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
@media (max-width: 400px) {
  .mobile-menu { padding: 20px 8px 8px 8px; }
  .mobile-nav a { font-size: 1.01rem; }
}

/* Overlay for mobile menu when open */
.mobile-menu-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(23, 33, 55, 0.38);
  z-index: 2000;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.32s;
  display: none;
}
.mobile-menu.open + .mobile-menu-backdrop {
  display: block;
  opacity: 1;
}

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(155deg, #E2DCF7 60%, #F7D6DD 140%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 1px 40px 0 rgba(190, 115, 220, 0.08);
  padding: 48px 0 64px 0;
  margin-bottom: 44px;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  color: #4c3577;
  font-size: 2.4rem;
  margin-bottom: 18px;
}
.hero p, .hero .subheadline {
  color: #73607a;
  font-size: 1.1rem;
}
.hero .cta-primary {
  margin-top: 22px;
}
@media (max-width: 700px) {
  .hero {
    padding: 30px 0 35px 0;
    border-radius: 0 0 18px 18px;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

/* --- FEATURES / CARDS / FLEX LAYOUTS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.feature {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 24px 18px 20px 18px;
  min-width: 220px;
  flex: 1 1 240px;
  transition: box-shadow 0.22s, transform 0.12s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.feature img {
  height: 38px;
  margin-bottom: 7px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 44px 0 rgba(124, 70, 166, 0.16);
  transform: translateY(-2px) scale(1.022);
}
@media (max-width: 960px) {
  .features-grid { gap: 18px; }
  .feature { min-width: 160px; font-size: 0.97em; }
}
@media (max-width: 600px) {
  .features-grid { flex-direction: column; gap: 20px; }
  .feature { min-width: 0; width: 100%; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(88, 117, 172, 0.10);
  transform: translateY(-2px) scale(1.016);
}

/* Provider/Card List Styles */
.provider-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
  justify-content: flex-start;
}
.provider-card {
  background: var(--pastel-blue);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  flex: 1 1 230px;
  min-width: 210px;
  margin-bottom: 20px;
  padding: 18px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.19s;
}
.provider-card:hover {
  box-shadow: 0 10px 24px 0 rgba(46,142,194,0.13);
}
.provider-card a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.98rem;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .provider-card-list { flex-direction: column; gap: 20px; }
  .provider-card { width: 100%; }
}

/* --- GENERAL FLEX PATTERNS --- */
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .content-grid { flex-direction: column; gap: 20px; }
}

.steps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
  padding-left: 0;
  counter-reset: step;
  list-style: none;
}
.steps-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pastel-green);
  border-radius: 12px;
  padding: 16px 24px;
  min-width: 190px;
  font-weight: 500;
  position: relative;
  margin-bottom: 12px;
}
.steps-list img {
  height: 30px;
  width: 30px;
}
@media (max-width: 600px) {
  .steps-list { flex-direction: column; gap: 16px; }
  .steps-list li { width: 100%; }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--pastel-yellow);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 38px 0 32px 0;
}
.testimonials h2 {
  text-align: center;
  color: #55617d;
  margin-bottom: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(64,93,137,0.06);
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-card p {
  color: #4d3556;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.35;
  text-align: center;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.86;
}
.testimonial-info img {
  height: 22px;
}
@media (max-width: 600px) {
  .testimonial-card { padding: 16px 8px; }
  .testimonials { padding: 24px 0 18px 0; }
}

/* --- ACCORDION FAQ --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0 12px 0;
}
.faq-item {
  padding: 18px 20px;
  background: var(--pastel-blue);
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(134,151,219,0.058);
  margin-bottom: 8px;
  position: relative;
}
.faq-item h3 {
  font-size: 1.10rem;
  margin-bottom: 8px;
  color: #266792;
}
.faq-item p {
  margin-bottom: 2px;
}

/* FAQ top links */
.faq-topics, .filter-topics {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.faq-topics a, .filter-topics a {
  background: var(--pastel-pink);
  color: var(--primary);
  padding: 4px 15px;
  border-radius: 12px;
  font-size: 0.97em;
  font-weight: 500;
  transition: background 0.15s;
  margin-bottom: 4px;
}
.faq-topics a:hover, .filter-topics a:hover {
  background: var(--pastel-violet);
  color: #51455c;
}

/* --- ARTICLES & LISTS --- */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 22px 0 0 0;
}
.articles-list li {
  background: var(--pastel-green);
  border-radius: 13px;
  padding: 16px 22px 14px 22px;
  box-shadow: 0 1px 8px 0 rgba(141, 179, 156, 0.068);
}
.articles-list h3 a {
  color: #34416e;
  font-size: 1.08rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: color 0.17s;
}
.articles-list h3 a:hover { color: #4a88c8; }

/* --- FOOTER --- */
footer {
  background: var(--pastel-blue);
  padding: 38px 0 24px 0;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -2px 28px rgba(58, 108, 218, 0.05);
  margin-top: 54px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo img {
  max-width: 65px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: var(--primary);
  opacity: 0.88;
  font-size: 1.05rem;
  padding: 6px;
  border-radius: 10px;
  transition: color 0.15s, background 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-violet);
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: #394468;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.88;
}
.footer-contact img {
  height: 17px;
  margin-right: 6px;
}

@media (max-width: 870px) {
  footer .container {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }
  .footer-nav { flex-direction: row; gap: 18px; margin-bottom:4px; }
}
@media (max-width: 600px) {
  footer { border-radius: 15px 15px 0 0; padding: 19px 0 11px 0; }
  footer .container { gap: 12px; }
  .footer-logo img { max-width: 42px; }
}

/* --- BUTTONS & FORMS --- */
button, .button, input[type=submit] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.14s;
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(112,158,219,0.09);
  margin-bottom: 2px;
}
button:hover, .button:hover, input[type=submit]:hover {
  background: #66c6e6;
  color: #fff;
}
.button-secondary {
  background: var(--pastel-pink);
  color: var(--primary);
}
.button-secondary:hover { background: var(--pastel-yellow); color: #322C44; }

input, textarea, select {
  padding: 9px 14px;
  border-radius: 7px;
  border: 1px solid #dbdbf0;
  box-shadow: none;
  margin-bottom: 17px;
  font-size: 1rem;
  background: var(--brand-accent);
  color: #222140;
  width: 100%;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  background: #fff;
}

/* ----- COOKIE CONSENT BANNER ----- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--pastel-violet);
  box-shadow: 0 -2px 16px 0 rgba(75,88,140,0.10);
  z-index: 4000;
  padding: 18px 24px 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  transition: transform 0.28s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner__info {
  flex: 1;
  color: #4b3663;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  border: none;
  font-weight: 600;
  min-width: 112px;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #66c6e6;
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: var(--primary);
  margin-left: 0;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--pastel-yellow);
}
.cookie-btn.settings {
  background: none;
  color: #523485;
  border: 1.5px solid #e3c6e3;
  margin-left: 0;
  padding: 8px 13px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--pastel-violet);
  border-color: #beafea;
}
@media (max-width: 690px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 4vw; font-size: 0.96em; }
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 4010;
  background: rgba(50, 38, 79, 0.23);
  display: none;
  transition: opacity 0.25s;
  opacity: 0;
}
.cookie-modal-backdrop.show {
  display: block;
  opacity: 1;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -49%) scale(1);
  background: var(--pastel-violet);
  box-shadow: 0 15px 60px rgba(98,87,120,0.18);
  border-radius: 23px;
  min-width: 310px;
  max-width: 97vw;
  width: 400px;
  z-index: 4030;
  padding: 35px 22px 24px 28px;
  display: none;
  flex-direction: column;
  gap: 21px;
  animation: cookieFadeIn 0.36s;
}
.cookie-modal.show {
  display: flex;
}
@keyframes cookieFadeIn {
  0% { transform: translate(-50%, -48%) scale(0.94); opacity: 0.3; }
  100% { transform: translate(-50%, -49%) scale(1); opacity: 1; }
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #222051;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 6px;
  transition: background 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #ede2fa;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  padding: 10px 3px 10px 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #553173;
  font-weight: 500;
  gap: 16px;
}
.cookie-category label {
  font-size: 1rem;
  margin-left: 7px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-category.essential label {
  font-weight: 700;
  color: #6C3991;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #A49CEC;
}
.cookie-category .locked {
  vertical-align: middle;
  margin-left: 4px;
  color: #b877bb;
  font-size: 1.07em;
}
.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 19px;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .cookie-modal { min-width: 90vw; padding: 19px 6vw 12px 6vw; }
}

/* --- RESPONSIVE UTILITIES & ADJUSTMENTS --- */
@media (max-width: 570px) {
  .content-wrapper, .section { padding: 12px 2vw; }
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 8px;
  background: #edf0f7;
}
::-webkit-scrollbar-thumb {
  background: #DDDDEB;
  border-radius: 8px;
}

/* Remove gap at top for body and add white space */
body {
  padding-top: 0;
  padding-bottom: 74px;
}

/* --- END CSS --- */
