/* 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #FDF6F6;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #20416C;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #4E7CBF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9B68D4;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 20px 18px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* SOFT-PASTEL BRAND COLORS - OVERRIDES & UTILS */
:root {
  --color-primary: #20416C;
  --color-secondary: #F4D35E;
  --color-accent: #FFFFFF;
  --color-pastel-lav: #F6EAFB;
  --color-pastel-blu: #E3F0FB;
  --color-pastel-pink: #FFE2EB;
  --color-pastel-mint: #E2F7F3;
  --color-pastel-peach: #FFEAD1;
  --color-pastel-sky: #E6F8FB;
  --color-pastel-grape: #E6E1FA;
  --color-font: #20416C;
  --color-shadow: rgba(155,104,212,0.12);
  --shadow-soft: 0 3px 32px 0 rgba(67,80,184,0.10), 0 1.5px 5px 0 rgba(155,104,212,0.06);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 16px;
}
strong {
  color: #634AA0;
  font-weight: 600;
}
.hero-sub {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: #634AA0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* === CONTAINER & SPACING === */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-pastel-blu);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
section {
  margin-bottom: 60px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  gap: 12px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  flex: 1 1 320px;
  background: var(--color-pastel-lav);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  padding: 28px 22px 20px 22px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 50px 0 rgba(67,80,184,0.18),0 2px 8px rgba(155,104,212,0.12);
  transform: translateY(-4px) scale(1.02);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.feature-grid li {
  background: var(--color-pastel-mint);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  flex: 1 1 220px;
  padding: 28px 18px 20px 18px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 40px 0 rgba(32,65,108,0.10), 0 1.5px 8px rgba(244,211,94,0.16);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

/* === BUTTONS === */
.cta-btn, .cookie-btn, .cookie-settings-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  padding: 13px 32px;
  border-radius: 32px;
  background: linear-gradient(90deg, #F4D35E 0%, #E3F0FB 100%);
  color: #20416C;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 1.5px 7px 0 rgba(155,104,212,0.08);
  margin-top: 6px;
  margin-bottom: 6px;
  position: relative;
  transition: box-shadow 0.16s, background 0.18s, color 0.16s, transform 0.16s;
  outline: none;
}
.cta-btn:hover, .cookie-btn:hover, .cookie-settings-btn:hover,
.cta-btn:focus, .cookie-btn:focus, .cookie-settings-btn:focus {
  background: linear-gradient(90deg, #FFE2EB 0%, #E2F7F3 100%);
  color: #634AA0;
  box-shadow: 0 4px 16px 0 rgba(155,104,212,0.12);
  transform: translateY(-3px) scale(1.03);
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: var(--color-pastel-peach);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 0;
  box-shadow: 0 2px 14px 0 rgba(204,204,204,.08);
  transition: background 0.16s;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #634AA0;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 18px;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-pastel-lav);
  color: #20416C;
}
header .cta-btn {
  margin: 0 12px 0 12px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-pastel-grape);
  color: #8f53a1;
  border: none;
  font-size: 2rem;
  padding: 7px 14px;
  border-radius: 18px;
  cursor: pointer;
  margin-left: 5px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #20416C;
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F7F4FF;
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.55,0,.35,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 8px 40px 0 rgba(32,65,108,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #8f53a1;
  font-size: 2.3rem;
  cursor: pointer;
  align-self: flex-end;
  padding: 16px 21px 0 16px;
  margin-bottom: 10px;
  margin-top: 9px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 14px 33px 14px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  color: #20416C;
  font-weight: 600;
  background: var(--color-pastel-peach);
  padding: 12px 14px;
  border-radius: 14px;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-pink);
  color: #9B68D4;
}

/* === HERO SECTIONS === */
main > section:first-of-type,
.section.hero, .hero {
  background: var(--color-pastel-pink);
  box-shadow: var(--shadow-soft);
  border-radius: 30px;
  margin-bottom: 50px;
  padding: 50px 0 38px 0;
}
main > section:first-of-type h1 {
  color: #634AA0;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--color-pastel-grape);
  box-shadow: var(--shadow-soft);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.04rem;
  color: #20416C;
  max-width: 420px;
  min-width: 220px;
  width: 100%;
  transition: box-shadow 0.18s, background 0.17s;
}
.testimonial-card p {
  color: #20416C;
  font-size: 1.08rem;
  font-style: italic;
  text-align: center;
  margin-bottom: 8px;
}
.testimonial-card span {
  display: block;
  color: #634AA0;
  font-size: 0.99rem;
  letter-spacing: 0.01em;
}
.testimonial-card strong {
  color: #634AA0;
  font-weight: 600;
}
.testimonial-card:hover {
  background: var(--color-pastel-peach);
  box-shadow: 0 8px 44px 0 rgba(244,211,94,0.20);
}

.content-wrapper {
  gap: 24px;
}

/* === ABOUT, TEAM, ETC === */
.team-teaser {
  background: var(--color-pastel-mint);
  border-radius: 18px;
  padding: 18px;
  color: #20416C;
  box-shadow: var(--shadow-soft);
  margin: 12px 0;
}

/* === FOOTER === */
footer {
  background: var(--color-pastel-blu);
  border-top: 2px solid #F4D35E;
  padding: 40px 0 22px 0;
  margin-top: 55px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #634AA0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  background: var(--color-pastel-peach);
  border-radius: 13px;
  padding: 7px 10px;
  transition: background 0.13s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-pastel-pink);
  color: #20416C;
}
.footer-contact {
  text-align: center;
}
.footer-contact a {
  color: #4E7CBF;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-pastel-grape);
  z-index: 999;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-shadow: 0 -2px 18px 0 rgba(67,80,184,.13);
  align-items: center;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  animation: cookiebannerin 0.55s cubic-bezier(.42,0,.38,1);
}
@keyframes cookiebannerin {
  from { transform: translateY(100%); opacity: 0;} 
  to   { transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #20416C;
  font-size: 1.07rem;
  margin-bottom: 3px;
  text-align: center;
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn {
  margin: 0 6px;
  min-width: 145px;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #E2F7F3 0%, #F4D35E 100%);
  color: #20416C !important;
}
.cookie-btn.reject {
  background: #FFE2EB;
  color: #634AA0 !important;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(44,16,108,0.16);
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiemodalin 0.38s cubic-bezier(.55,0,.36,1);
}
@keyframes cookiemodalin {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-pastel-peach);
  border-radius: 26px;
  padding: 34px 26px 22px 26px;
  box-shadow: var(--shadow-soft);
  max-width: 365px;
  width: 92%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2, .cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #634AA0;
  margin-bottom: 5px;
}
.cookie-modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #E3F0FB;
}
.cookie-category:last-child {
  border-bottom: 0;
}
.cookie-category label {
  font-size: 1.04rem;
  color: #20416C;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #F4D35E;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 17px;
  background: none;
  border: none;
  color: #8f53a1;
  font-size: 2.1rem;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}

/*** UTILITY CLASSES ***/
.dreamy-gradient-bg {
  background: linear-gradient(110deg, #F4D35E 0%, #FFE2EB 45%, #E2F7F3 100%);
}
.rounded-lg {
  border-radius: 20px;
}
.shadow-smooth {
  box-shadow: var(--shadow-soft);
}

/* === RESPONSIVENESS === */
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
    padding: 0 12px;
  }
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid li,
  .card, .feature-item {
    flex: 1 1 90vw;
    min-width: 220px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 105;
  }
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  .content-wrapper, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 98vw;
  }
  .feature-grid li, .card {
    min-width: 0;
    width: 99vw;
    padding-left: 13px;
    padding-right: 13px;
  }
  .section, section {
    padding: 25px 5px;
    margin-bottom: 38px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  footer {
    padding: 26px 3vw 14px 3vw;
    gap: 10px;
  }
  .footer-nav {
    gap: 14px;
    font-size: 1rem;
    margin-bottom: 4px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  .footer-contact, .footer-contact p {
    font-size: 0.98rem;
  }
  .mobile-nav a {
    font-size: 1.05rem;
    padding: 8px 8px;
  }
  .cookie-modal {
    padding: 14px 6vw 14px 6vw;
    max-width: 97vw;
  }
}

/* === SCROLLBARS & SELECTION === */
::selection {
  background: #F4D35E;
  color: #20416C;
}

/* === FOCUS STATES === */
*:focus-visible {
  outline: 2px solid #9B68D4;
  outline-offset: 2px;
}

/* === MICRO-INTERACTIONS & ANIMATION === */
.cta-btn, .cookie-btn, .cookie-settings-btn, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, transform 0.13s;
}

/* === MISC: Hide Text Overflow for Cards === */
.card, .feature-grid li, .testimonial-card {
  overflow: hidden;
}

/* === CUSTOM FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');
