/* ------------ CSS RESET & NORMALIZE -------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F6F6;
  color: #222b3a;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
a {
  color: #1E2839;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e65798;
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1E2839;
  line-height: 1.2;
  margin-bottom: 0.3em;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; }
h2 { font-size: 2rem;  margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.2rem; }

blockquote {
  font-style: italic;
  color: #30186c;
  background: #F9EDFF;
  border-left: 6px solid #76C8C2;
  padding: 16px 30px 16px 20px;
  border-radius: 18px;
  margin-bottom: 10px;
}
cite {
  display: block;
  font-style: normal;
  font-size: 1rem;
  color: #1E2839;
  margin-top: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.8;
}

/* ------------ COLOR PALETTE & PLAYFUL EXTRAS -------------- */
:root {
  --brand-primary: #1E2839;
  --brand-secondary: #76C8C2;
  --brand-accent: #F6F6F6;
  --fun-blue: #457BFF;
  --fun-fuschia: #E65798;
  --fun-yellow: #FFD93D;
  --fun-green: #7FE67E;
  --fun-orange: #FFA064;
  --text-dark: #1E2839;
  --text-light: #FFF;
  --card-bg: #fff;
  --card-shadow: 0 8px 32px 0 rgba(61, 66, 103, 0.12);
}

/* -------------- GLOBAL SPACING & WRAPPER ------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: 40px;
  box-shadow: 0 4px 18px 0 rgba(34, 43, 58, 0.06);
  transition: box-shadow 0.25s;
}

.section:hover {
  box-shadow: 0 8px 32px 0 rgba(61, 66, 103, 0.14);
}

/* ------------ HEADER / NAVIGATION ---------------- */
header {
  width: 100%;
  background: var(--card-bg);
  box-shadow: 0 1px 12px 0 rgba(34, 43, 58, 0.07);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-right: auto;
  margin-left: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  color: #1E2839;
  padding: 8px 10px 8px 10px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--fun-yellow);
  color: #30186c;
}

header .btn-primary {
  margin-left: 28px;
}

.mobile-menu-toggle {
  background: var(--fun-fuschia);
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 16px;
  padding: 0 16px;
  height: 46px;
  width: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 12px rgba(229,87,152,0.13);
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--fun-blue);
}

/* ---------- MOBILE MENU ------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1E2839;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: var(--fun-fuschia);
  border: none;
  font-size: 2rem;
  border-radius: 2em;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  margin-bottom: 24px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(229,87,152,0.21);
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fun-yellow);
  color: #1E2839;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  padding: 15px 32px;
  border-radius: 16px 0 0 16px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--fun-blue);
  color: #FFD93D;
}

/* Hide normal nav and show burger on mobile */
@media (max-width: 1024px) {
  header nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    gap: 8px;
  }
}

/* -------------- HERO SECTIONS ------------- */
.hero {
  background: linear-gradient(100deg, #FFD93D 0%, #76C8C2 100%);
  padding: 54px 0 48px 0;
  border-radius: 0 0 44px 44px;
  margin-bottom: 36px;
  box-shadow: 0 8px 36px 0 rgba(34, 43, 58, 0.10);
  position: relative;
  overflow: hidden;
  animation: enterHero 1s cubic-bezier(0.51, 0.51, 0, 1.1);
}
@keyframes enterHero {
  from { opacity:0; transform: translateY(80px) }
  to { opacity:1; transform: none; }
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  font-size: 2.9rem;
  color: #1E2839;
  letter-spacing: -2px;
  filter: drop-shadow(0 7px 18px #ffd93d70);
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero p {
  font-size: 1.18rem;
  color: #40298e;
  max-width: 620px;
  margin-bottom: 20px;
}

/* -------------- BUTTONS & CTAs -------------- */
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  background: var(--fun-fuschia);
  color: #fff;
  padding: 15px 40px;
  font-size: 1.1rem;
  border: none;
  border-radius: 25px 8px 30px 8px;
  box-shadow: 0 6px 26px 0 rgba(229,87,152,0.15);
  transition: background 0.18s, transform 0.13s, box-shadow 0.2s;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary:after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 135%;
  height: 100%;
  background: linear-gradient(90deg,rgba(255,255,255,0.17) 0%,rgba(255,255,255,0) 60%);
  transition: left 0.4s cubic-bezier(0.36,0,0.66,1);
  z-index:2;
}
.btn-primary:hover:after,
.btn-primary:focus:after { left: 0.05%; }
.btn-primary:hover, .btn-primary:focus {
  background: var(--fun-blue);
  color: #FFD93D;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
}

/* ------------ FEATURE/ARTICLE GRIDS & CARDS ------------ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 38px 18px 38px 18px;
  box-shadow: 0 4px 18px 0 rgba(67, 180, 190, 0.08);
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 20px 28px 26px;
  position: relative;
  gap: 14px;
  margin-bottom: 20px;
  border: 3px solid transparent;
  transition: border 0.2s, box-shadow 0.18s, transform 0.17s;
}
.feature-grid > div:hover {
  border: 3px solid var(--fun-yellow);
  box-shadow: 0 14px 38px 0 rgba(118, 200, 194, 0.19), 0 2px 6px #FFD93D22;
  transform: scale(1.019) rotate(-0.5deg);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
  border-radius: 10px;
  background: #76C8C247;
  padding: 5px;
}
.feature-grid h3 {
  color: var(--fun-fuschia);
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-grid p {
  color: #3b265c;
  font-size: 1.05rem;
}

/* ------------ TESTIMONIAL CARDS ------------ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 36px 16px 32px 16px;
  padding: 20px 32px 18px 22px;
  margin-bottom: 20px;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 4px 18px 0 rgba(34, 43, 58, 0.09);
  border-left: 8px solid #76C8C2;
  position: relative;
  transition: box-shadow 0.19s, border-color 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 38px 0 rgba(34, 43, 58, 0.21);
  border-left: 8px solid #FFD93D;
}
.testimonial-card blockquote {
  color: #2A2D49;
  background: none;
  border-left: none;
  padding-left: 0;
  font-size: 1.12rem;
  margin-bottom: 0;
}
.testimonial-card cite {
  font-size: 0.99rem;
  color: #7e58b5;
  margin-top: 2px;
  opacity: 1;
}

/* Extra: side badge for playfulness */
.testimonial-card:before {
  content: '\2728';
  position: absolute;
  left: -34px; top: 14px;
  font-size: 2rem;
  color: var(--fun-yellow);
  opacity: 0.6;
  pointer-events: none;
  animation: fun-bounce 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}
@keyframes fun-bounce {
  0%, 100% { transform: translateY(0); }
  23% { transform: translateY(-5px) scale(1.1) rotate(-5deg); }
  40% { transform: translateY(0); }
}

/* ----------------- PARTNER LOGOS ---------------- */
.partner-logos {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 24px;
  align-items: center;
}
.partner-logos img {
  width: 74px;
  height: auto;
  filter: grayscale(0.3) brightness(0.95);
  transition: filter 0.16s, transform 0.14s;
}
.partner-logos img:hover {
  filter: drop-shadow(0 4px 13px #FFD93D55);
  transform: scale(1.08) rotate(3deg);
}


/* -------------- TEXT & IMAGE SECTIONS, TIMELINE, ETC. -------------*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section p {
  display: flex;
  align-items: center;
  gap: 14px;
}
.text-section img {
  width: 28px;
  height: 28px;
  margin-right: 4px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}
.timeline > div {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E65798;
  font-size: 1.08rem;
  padding-left: 18px;
  position: relative;
}
.timeline > div:before {
  content: '\25CF';
  color: #FFD93D;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
}

/* -------------- CARD CONTAINERS (FLEX) -------------- */
.card-container, .card-grid {
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------- FOOTER ------------------- */
footer {
  background: #1E2839;
  color: #fff;
  padding: 44px 0 34px 0;
  border-top-left-radius: 44px;
  border-top-right-radius: 44px;
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 16px;
}
footer nav a {
  color: #FFD93D;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #E65798;
}
footer .text-section {
  color: #fff;
  font-size: 0.96rem;
  text-align: center;
  opacity: 0.97;
  margin-top: 6px;
}

/* --------------- COOKIE BANNER --------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fffffd;
  color: #1E2839;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 18px 0 rgba(67, 180, 190, 0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  gap: 20px;
  z-index: 3010;
  font-size: 1rem;
  animation: fadeInUp 0.69s cubic-bezier(0.37,0.48,0.68,1.2);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: none; }
}
.cookie-banner p {
  flex: 2;
  color: #1E2839;
  margin: 0 6px 0 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 16px 6px 16px 6px;
  border: none;
  cursor: pointer;
  font-size: 1.01rem;
  margin-left: 2px;
  transition: background 0.17s, color 0.13s, transform 0.12s;
}
.cookie-banner .accept {
  background: #7FE67E;
  color: #1E2839;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #76C8C2;
  color: #ffd93d;
  transform: scale(1.07);
}
.cookie-banner .reject {
  background: #FFD93D;
  color: #1E2839;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E65798;
  color: #fff;
  transform: scale(1.07);
}
.cookie-banner .settings {
  background: #fff;
  color: #1E2839;
  border: 2px solid #76C8C2;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #76C8C2;
  color: #fff;
  transform: scale(1.07);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,40,57,0.32);
  z-index: 3030;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px 40px 28px 16px;
  padding: 34px 32px 26px 32px;
  width: 94vw;
  max-width: 450px;
  box-shadow: 0 8px 48px 0 rgba(34, 43, 58, 0.23);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: floatIn 0.45s cubic-bezier(0.41,0.85,0.59,1.23);
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(44px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cookie-modal-header h3 {
  font-size: 1.22rem;
  color: #1E2839;
}
.cookie-modal-close {
  background: var(--fun-fuschia);
  color: #fff;
  border: 0;
  border-radius: 17px;
  font-size: 1.2rem;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFD93D;
  color: #1E2839;
}
.cookie-modal-section {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-modal-section label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-toggle {
  margin-left: auto;
  width: 44px;
}
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 44px; height: 24px;
  border-radius: 13px;
  background: #eee;
  outline: none;
  position: relative;
  margin: 0;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: #76C8C2;
}
.cookie-toggle input[type="checkbox"]:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 6px #bbb2;
}
.cookie-toggle input[type="checkbox"]:checked:before {
  left: 22px;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}


/* -------------- PLAYFUL ANIMATION EXTRAS --------------- */
/* For playful spin or pop on hover */
.feature-grid > div img,
.partner-logos img {
  transition: transform 0.22s, box-shadow 0.13s, filter 0.15s;
}
.feature-grid > div:hover img {
  transform: rotate(-7deg) scale(1.11);
  filter: saturate(1.4) brightness(1.12);
  box-shadow: 0 9px 18px #FFD93D33;
}

/* -------------- RESPONSIVENESS ------------------ */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .partner-logos {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 14px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .hero {
    padding: 36px 0 27px 0;
    border-radius: 0 0 22px 22px;
  }
  .section,
  .card,
  .content-wrapper {
    padding: 22px 6px !important;
    margin-bottom: 24px;
  }
  .feature-grid,
  .content-grid,
  .card-container,
  .partner-logos{
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  footer {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 10px;
  }
  .cookie-modal {
    max-width: 96vw;
    padding: 22px 7vw;
  }
  .feature-grid > div {
    padding: 18px 14px 22px 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 16px 16px 14px 14px;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 5px;
  }
  .hero .content-wrapper, .content-wrapper {
    padding: 7px 0 !important;
  }
}

/* -------------- MISC SMALL EXTRAS ----------------- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #FFD93D55;
  border-radius: 20px;
}
::-webkit-scrollbar-track {
  background: #F6F6F6;
}

/* -------------- TYPOGRAPHY & UTILS ----------------- */
.font-playful {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.4px;
}

/* -------------- Z-INDEX LAYERING GUIDELINES -------------- */
header { z-index: 20; }
.mobile-menu { z-index: 2000; }
.cookie-banner, .cookie-modal-overlay { z-index: 3000; }

/* -------------- UTILITY CLASSES -------------- */
.accent {
  color: var(--fun-blue);
  font-weight: 700;
}
.hide { display: none !important; }

/* -------------- End of CSS -------------- */