/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #F4F5F7;
  color: #26334D;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  font-size: 16px;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  padding-left: 24px;
}
a {
  color: #205081;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB347;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  margin-bottom: 12px;
  color: #205081;
}
h1 {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 24px;
}
h3 {
  font-size: 1.125rem;
  font-weight: 700;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #26334D;
  margin-bottom: 10px;
}
strong, b {
  font-weight: bold;
}

/* CONTAINER & WRAPPING */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(32, 80, 129, 0.07);
  padding: 36px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.text-section {
  background: #fcfcff;
  border-radius: 16px;
  box-shadow: 0 1px 10px 0 rgba(32, 80, 129, 0.04);
  padding: 28px 20px;
  margin-bottom: 12px;
}

/* SECTION SPACING & FLEX LAYOUTS */
section {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(32, 80, 129, 0.07);
  padding: 24px 18px;
  flex: 1 1 270px;
  min-width: 240px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(255, 179, 71, 0.17);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe6;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(32, 80, 129, 0.05);
  margin-bottom: 20px;
  max-width: 600px;
  border-left: 6px solid #FFB347;
  color: #26334D;
}
blockquote {
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-size: 1.15rem;
  color: #26334D;
  font-style: italic;
  margin: 0 0 6px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* UL/OL LISTS WITH ICONS (FEATURES, ETC.) */
ul, ol {
  margin-bottom: 22px;
}
ul li, ol li {
  position: relative;
  padding-left: 40px;
  min-height: 32px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  margin-right: 14px;
}

/* BUTTONS & CTA */
.cta,
button.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: #FFB347;
  border-radius: 999px;
  color: #205081;
  font-weight: bold;
  font-size: 1.14rem;
  box-shadow: 0 2px 10px 0 rgba(255, 179, 71, 0.09);
  transition: background 0.22s, color 0.2s, transform 0.15s;
  border: none;
  margin-top: 10px;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.cta:hover, .cta:focus, button.cta:hover, button.cta:focus {
  background: #205081;
  color: #fff;
  transform: scale(1.045);
}

/* NAVIGATION DESKTOP */
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: #fff;
  width: 100%;
  padding: 0 32px 0 12px;
  height: 70px;
  border-bottom: 3px solid #FFB347;
  z-index: 10;
  box-sizing: border-box;
  position: relative;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #205081;
  font-size: 1.06rem;
  transition: color 0.16s;
  padding: 6px 10px;
  border-radius: 6px;
}
.main-nav a.cta {
  margin-left: auto;
  margin-right: 0;
  background: #FFB347;
  color: #205081;
  font-weight: bold;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFB347;
  background: #20508111;
}
.main-nav img {
  height: 38px;
  margin-right: 10px;
}

/* MOBILE MENU (BURGER) */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 16px;
  background: #FFB347;
  color: #205081;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  font-size: 2.1rem;
  z-index: 1001;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(255,179,71,0.10);
  transition: background 0.18s, color 0.18s, transform 0.16s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #205081;
  color: #FFB347;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 26px 8px rgba(32,80,129,0.12);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.51,1.08,.59,1), box-shadow 0.28s;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 18px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFB347;
  color: #205081;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  margin: 20px 16px 8px 0;
  align-self: flex-end;
  transition: background 0.16s, color 0.19s;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(255,179,71,0.09);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #205081;
  color: #FFB347;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 0 32px;
  width: 90vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #205081;
  padding: 12px 4px 12px 0;
  border-radius: 8px;
  transition: color 0.14s, background 0.14s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB347;
  color: #fff;
}

/* MAIN AND SECTIONS FLEX */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 26px;
  margin-bottom: 26px;
  position: relative;
}
section + section {
  margin-top: 20px;
}

/* FOOTER */
footer {
  background: #205081;
  color: #fff;
  padding: 36px 0 18px 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  width: 100%;
}
.footer-content img {
  height: 42px;
  margin-right: 18px;
  margin-bottom: 10px;
}
.footer-content nav {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #fff;
  margin-bottom: 8px;
}
.footer-content nav a {
  color: #fff;
  margin: 0 8px;
  transition: color 0.13s;
}
.footer-content nav a:hover,
.footer-content nav a:focus {
  color: #FFB347;
}
.footer-legal {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  color: #F4F5F7;
  margin-bottom: 10px;
}
.footer-legal a {
  color: #fff;
  margin: 0 8px;
  transition: color 0.13s;
}
.footer-legal a:hover,
.footer-legal a:focus {
  color: #FFB347;
}
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.footer-social a img {
  height: 28px;
  width: 28px;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}
.footer-social a:hover img {
  filter: brightness(1.8) sepia(1) saturate(9) hue-rotate(-30deg);
}
footer address {
  font-style: normal;
  font-size: 0.96rem;
  margin: 0 0 6px 0;
  color: #FFB347;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe6;
  color: #26334D;
  box-shadow: 0 -2px 26px 0 rgba(32,80,129,0.09);
  border-top: 3px solid #FFB347;
  padding: 22px 20px;
  z-index: 1200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  animation: cookieSlideIn 0.6s cubic-bezier(.5,1.85,.43,1) 1;
}
@keyframes cookieSlideIn {
  from { transform: translateY(80%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  max-width: 480px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  appearance: none;
  border-radius: 999px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  margin: 0;
  transition: background 0.21s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: #FFB347;
  color: #205081;
  box-shadow: 0 2px 10px 0 rgba(255,179,71,0.08);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #205081;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #205081;
  border: 2px solid #205081;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #205081;
  color: #fff;
}
.cookie-banner .settings {
  border: 2px solid #FFB347;
  background: #fff;
  color: #FFB347;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FFB347;
  color: #205081;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32, 80, 129, 0.32);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.38s cubic-bezier(.18,.89,.31,1);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 44px 0 rgba(32,80,129,0.19);
  padding: 36px 26px 22px 26px;
  max-width: 95vw;
  min-width: 300px;
  width: 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1450;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal-toggle {
  appearance: none;
  width: 38px;
  height: 18px;
  background: #F4F5F7;
  border-radius: 9px;
  position: relative;
  outline: none;
  transition: background 0.19s;
  margin-right: 10px;
  border: 1px solid #FFB347;
}
.cookie-modal-toggle:checked {
  background: #FFB347;
  border-color: #FFB347;
}
.cookie-modal-toggle::after {
  content: '';
  display: block;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #205081;
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: transform 0.22s cubic-bezier(.42,1.58,.65,1.21);
}
.cookie-modal-toggle:checked::after {
  transform: translateX(20px);
  background: #fff;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal-footer button {
  padding: 8px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  background: #FFB347;
  color: #205081;
  transition: background 0.17s, color 0.14s;
}
.cookie-modal-footer .close-modal {
  background: #fff;
  color: #205081;
  border: 1px solid #205081;
}
.cookie-modal-footer .close-modal:hover {
  background: #205081;
  color: #fff;
}

/* MICRO-INTERACTIONS & FUN DETAILS */
.cta, button.cta, .main-nav a.cta {
  box-shadow: 0 2px 14px 0 rgba(255,179,71,0.08); /* fun subtle shadow */
  position: relative;
  overflow: hidden;
}
.cta:after, button.cta:after {
  content: '';
  display: block;
  position: absolute;
  left: 20px; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ffdb9b;
  opacity: 0.35;
  transform: translateY(-50%) scale(1);
  pointer-events: none;
  animation: playful-dot 1.8s infinite cubic-bezier(.46,1.6,.38,1.1);
}
@keyframes playful-dot {
  0% { left: 24px; opacity: 0.33; }
  40% { left: 48px; opacity: 0.17; }
  50% { left: 34px; opacity: 0.23; }
  100% { left: 24px; opacity: 0.33; }
}

/* TYPOGRAPHY SCALE */
.display {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #205081;
}
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #FFB347;
  font-weight: 600;
}


/* ENERGETIC, PLAYFUL DESIGN TOUCHES */
.content-wrapper, .card, .text-section, .testimonial-card {
  border-top: 6px solid #FFB34733;
}
.card::before, .testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  top: -10px; left: 32px;
  width: 22px; height: 22px;
  background: #FFB34744;
  border-radius: 50%;
  opacity: 0.27;
  pointer-events: none;
  animation: bubble-pop 2.5s infinite cubic-bezier(.32,1.7,.38,1);
}
@keyframes bubble-pop {
  0% { transform: scale(1) translateY(0); opacity: 0.17; }
  70% { transform: scale(1.12) translateY(-4px); }
  90% { opacity: 0.34; }
  100% { transform: scale(1) translateY(0); opacity: 0.17; }
}

/* RESPONSIVE & FLEX ADJUSTMENTS */
@media (max-width: 1024px) {
  .footer-content {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 15px;
    padding: 0 12px;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 3vw;
    max-width: 100vw;
  }
  .content-wrapper {
    padding: 22px 10px;
    border-radius: 12px;
  }
  .footer-content {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: none; /* open with class 'open' added by JS */
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
  }
  .section {
    margin-bottom: 32px;
    padding: 20px 4vw;
  }
}
@media (max-width: 520px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 5px;
  }
  .content-wrapper, .section {
    border-radius: 10px;
    padding: 12px 2px;
  }
  .footer-content img {
    height: 32px;
  }
}

/* FOCUS VISIBLE FOR AAC & BUTTONS */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 3px solid #FFB347;
  outline-offset: 2px;
}

/* MISC/OVERRIDE CLASSES TO IMPROVE SPACING */
main section:last-child {
  margin-bottom: 0;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}
.text-section h2, .content-wrapper h2 {
  margin-top: 2px;
}

/* Prevent content overlap */
.card, .testimonial-card, .content-wrapper, .text-section {
  min-width: 0;
  word-break: break-word;
  box-sizing: border-box;
}

/* Hide cookie modal & banner when needed */
.cookie-banner.hidden { display: none !important; }
.cookie-modal-overlay.hidden { display: none !important; }

/* Decorative fun font accent (applied sparingly) */
span.playful-font {
  font-family: 'Fredoka One', 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  color: #FFB347;
  font-size: 1.2em;
  font-weight: 900;
}
/* Custom playful heading underline effect */
h2, .playful-underline {
  position: relative;
  display: inline-block;
}
h2::after, .playful-underline::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 48px;
  height: 6px;
  background: #FFB34755;
  border-radius: 7px;
}

/* Hide visually but keep readable for screen readers */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
