/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F5F2;
  color: #1A2740;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

:root {
  --brand-primary: #1A2740;
  --brand-secondary: #9EB59B;
  --brand-accent: #F5F5F2;
  --brand-playful-yellow: #FFD400;
  --brand-playful-pink: #FF7DA1;
  --brand-playful-blue: #61C3FF;
  --brand-playful-green: #77D57F;
  --text-color: #1A2740;
  --heading-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Lato', Arial, sans-serif;
  --shadow-1: 0 4px 18px 0 rgba(26,39,64,0.09);
  --radius: 18px;
  --radius-lg: 32px;
  --transition: 0.22s cubic-bezier(.58,.31,.41,.99);
}

body {
  font-family: var(--body-font);
  background: var(--brand-accent);
  color: var(--text-color);
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 900;
  line-height: 1.155;
  letter-spacing: 0.5px;
  color: var(--brand-primary);
}
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.15rem; margin-bottom: 8px; }
p, ul, ol { font-size: 1rem; margin-bottom: 14px; }
strong, b { font-weight: 700; }

/* CONTAINER & SECTION STYLES */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  position: relative;
  transition: box-shadow var(--transition);
}
.section:hover {
  box-shadow: 0 8px 30px 0 rgba(97,195,255,0.09);
}

/* CONTENT LAYOUTS (ALL FLEXBOX!) */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  z-index: 1;
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(255,125,161,0.11);
}
.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;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px 0 rgba(26,39,64,0.07);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px) scale(1.03) rotate(-0.6deg);
  box-shadow: 0 8px 24px 0 rgba(119,213,127,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section ul,
.content-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.content-wrapper ul > li,
.text-section ul > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.content-wrapper ul > li img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-playful-blue);
  padding: 6px;
  box-shadow: 0 2px 8px 0 rgba(97,195,255,0.12);
}

.text-section {
  background: var(--brand-playful-yellow);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 rgba(255,212,0,0.11);
  padding: 30px 22px;
  margin-bottom: 24px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(26,39,64,0.07);
  position: sticky;
  top: 0;
  z-index: 99;
  padding: 0 0 0 0;
}
header .container {
  padding: 0 16px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav {
  flex-wrap: wrap;
}
header nav a {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--brand-primary);
  padding: 12px 10px;
  border-radius: 12px;
  transition: background var(--transition), color var(--transition);
  position: relative;
  z-index: 1;
}
header nav a:hover, nav a:focus {
  background: var(--brand-playful-pink);
  color: #fff;
}
header nav a img {
  width: 48px;
  height: 48px;
  margin-right: 4px;
  vertical-align: middle;
  display: inline-block;
}

.cta-primary,
.cta-secondary {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.1rem;
  border-radius: 30px;
  padding: 13px 34px;
  box-shadow: 0 2px 12px 0 rgba(255,125,161,0.13);
  margin-left: 18px;
  margin-bottom: 10px;
  margin-top: 8px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cta-primary {
  color: #fff;
  background: linear-gradient(92deg, var(--brand-playful-blue) 15%, var(--brand-playful-pink) 85%);
  letter-spacing: 1px;
  border: 2px solid var(--brand-playful-pink);
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--brand-playful-pink) 5%, var(--brand-playful-blue) 95%);
  color: #fff;
  transform: scale(1.048);
  box-shadow: 0 2px 18px 0 rgba(255,125,161,0.19);
}
.cta-secondary {
  background: var(--brand-playful-yellow);
  color: var(--brand-primary);
  border: 2px solid var(--brand-playful-yellow);
  letter-spacing: 0.5px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-playful-blue);
  color: #fff;
  border-color: var(--brand-playful-pink);
  transform: scale(1.04);
  box-shadow: 0 4px 26px 0 rgba(119,213,127,0.20);
}

/* BURGER MENU BUTTON */
.mobile-menu-toggle {
  background: var(--brand-playful-blue);
  color: #fff;
  border-radius: 50%;
  padding: 12px 18px;
  font-size: 2rem;
  transition: background var(--transition), color var(--transition);
  display: none;
  margin-left: 18px;
  border: 2px solid var(--brand-playful-pink);
  line-height: 1;
  z-index: 101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-playful-pink);
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 16px 40px 0 rgba(26,39,64,0.22);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.175,1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 16px 16px 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--brand-playful-pink);
  background: var(--brand-playful-yellow);
  border-radius: 50%;
  align-self: flex-end;
  margin-bottom: 30px;
  padding: 10px 16px;
  border: 2px solid var(--brand-playful-pink);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
  background: var(--brand-playful-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  color: var(--brand-primary);
  background: var(--brand-playful-blue);
  margin: 0 0 6px 0;
  border-radius: 12px;
  padding: 16px 10px;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-playful-pink);
  color: #fff;
}

@media (max-width: 996px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 997px) {
  .mobile-menu {
    display: none !important;
    visibility: hidden;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* FOOTER */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 32px 0 12px 0;
  box-shadow: 0 -2px 24px 0 rgba(26,39,64,0.08);
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 16px;
  transition: background var(--transition);
}
footer nav a:hover, footer nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
footer .brand-info address,
footer .brand-info p {
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 4px;
  font-style: normal;
}
footer .brand-info a {
  color: var(--brand-playful-yellow);
  font-weight: bold;
  font-size: 1.02rem;
}
footer .brand-info a:hover {
  color: var(--brand-playful-blue);
  text-decoration: underline;
}

/* SPACING CONSISTENCY */
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
}
main > section:last-child {
  margin-bottom: 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 12px;
}

/* CARDS & FEATURE LISTS */
.content-wrapper ul > li {
  padding: 12px 12px 12px 0;
  border-radius: var(--radius);
  background: rgba(97,195,255,0.06);
  box-shadow: 0 2px 8px 0 rgba(119,213,127,0.04);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.content-wrapper ul > li:hover {
  background: var(--brand-playful-yellow);
  box-shadow: 0 10px 35px 0 rgba(255,212,0,0.10);
  transform: scale(1.015);
}

/* TESTIMONIALS - HIGH CONTRAST STYLES */
.testimonial-card {
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 4px 24px 0 rgba(26,39,64,0.10);
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #1A2740;
  font-family: var(--body-font);
}
.testimonial-card span {
  font-size: 1.02rem;
  font-family: var(--heading-font);
  color: var(--brand-playful-pink);
  font-weight: bold;
}

/* FORMS (if present) */
input, textarea, select {
  font-family: var(--body-font);
  border: 2px solid var(--brand-playful-blue);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 18px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--brand-playful-pink);
  box-shadow: 0 2px 11px 0 rgba(255,125,161,0.09);
}
label {
  font-family: var(--heading-font);
  font-size: 1rem;
  color: var(--brand-primary);
  margin-bottom: 6px;
  display: block;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .testimonial-card, .content-wrapper ul>li {
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.cta-primary, .cta-secondary {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .section, main > section, .text-section {
    padding: 22px 8px 22px 8px;
    margin-bottom: 36px;
    border-radius: var(--radius);
  }
  .content-wrapper, .footer .content-wrapper {
    gap: 18px;
    padding: 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.34rem;
  }
  .testimonial-card,
  .card {
    padding: 13px 11px;
    min-width: unset;
    font-size: 1rem;
  }
  .card-container,
  .content-grid,
  .feature-item {
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .content-wrapper ul > li {
    font-size: 0.98rem;
    padding: 9px 8px 10px 0;
  }
}

/* SPACING BETWEEN CARDS/SECTIONS */
.card-container > *,
.content-grid > *,
.feature-item > * {
  margin-bottom: 0;
}
.section + .section,
main > section + section {
  margin-top: 24px;
}


/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--brand-primary);
  padding: 26px 17px 18px 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 22px 0 rgba(26,39,64,0.09);
  z-index: 1200;
  animation: cookie-slide-in 0.39s cubic-bezier(.58,.31,.41,.99);
  gap: 15px;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1.02rem;
  font-family: var(--body-font);
  margin-bottom: 8px;
  color: var(--brand-primary);
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 4px;
  align-items: center;
}
.cookie-btn {
  min-width: 110px;
  font-family: var(--heading-font);
  font-weight: bold;
  border-radius: 22px;
  padding: 9px 25px;
  font-size: 0.97rem;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(255,212,0,0.06);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn.accept {
  background: var(--brand-playful-green);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-playful-blue);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--brand-playful-pink);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--brand-playful-yellow);
  color: var(--brand-primary);
}
.cookie-btn.settings {
  background: var(--brand-playful-yellow);
  color: var(--brand-primary);
  border: 2px solid var(--brand-playful-pink);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-playful-blue);
  color: #fff;
}

/* COOKIE MODAL DIALOG */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 39, 64, 0.35);
  z-index: 1250;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-fade-in 0.25s cubic-bezier(.58,.31,.41,.99);
}
@keyframes cookie-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px 0 rgba(26,39,64,0.17);
  padding: 30px 28px;
  min-width: 290px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookie-modal-show 0.32s cubic-bezier(.58,.31,.41,.99);
}
@keyframes cookie-modal-show {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-family: var(--heading-font);
  font-size: 1.14rem;
  color: var(--brand-playful-pink);
  margin-bottom: 0.7em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--brand-playful-pink);
  width: 22px; height: 22px;
}
.cookie-category label {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--brand-primary);
}
.cookie-modal .cookie-btn.close {
  align-self: flex-end;
  background: var(--brand-playful-pink);
  color: #fff;
  border-radius: 18px;
  padding: 6px 18px;
  font-size: 1rem;
  margin-top: 8px;
}

@media (max-width: 650px) {
  .cookie-modal {
    padding: 14px 7px;
    min-width: unset;
    max-width: 99vw;
  }
}

/* DECORATIVE CONFETTI CIRCLES/ANIMATIONS */
.section::before, .section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
  transition: all 0.22s;
}
.section::before {
  width: 70px;
  height: 70px;
  bottom: -24px; left: -36px;
  background: var(--brand-playful-yellow);
}
.section::after {
  width: 42px;
  height: 42px;
  top: -28px; right: -20px;
  background: var(--brand-playful-pink);
}
@media (max-width: 650px) {
  .section::before, .section::after {
    width: 40px; height: 40px;
    bottom: -13px; left: -12px;
    top: -15px; right: -8px;
  }
}

/**************************
  PLAYFUL FONT EFFECTS
***************************/
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-weight: bold;
  line-height: 1.18;
  position: relative;
  z-index: 1;
}
h1::after {
  content: '';
  display: block;
  width: 60px; height: 10px;
  background: var(--brand-playful-pink);
  border-radius: 6px;
  position: absolute;
  left: 0; bottom: -12px;
  opacity: 0.2;
  z-index: -1;
}
@media (max-width: 650px) {
  h1::after {
    width: 35px; height: 7px; bottom: -7px;
  }
}

/* ENERGETIC COLOR COMBINATIONS FOR DYNAMIC SECTIONS */
.main-highlight {
  background: var(--brand-playful-blue);
  color: #fff !important;
}
.main-highlight * {
  color: #fff !important;
}

/*************
   UTILITIES
**************/
.text-center { text-align: center !important; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.block { display: block; }
.hide { display: none !important; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/*************
   TRANSITIONS
**************/
a, button, .cta-primary, .cta-secondary, .content-wrapper ul > li, .card, .testimonial-card {
  transition: all var(--transition);
}

/******************************************************
   DESKTOP & TABLET FLEX LAYOUTS: FLEX, NEVER GRID!
*******************************************************/
@media (min-width: 769px) {
  .container {
    max-width: 1150px;
  }
  .card-container {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .feature-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}

/*************
 MOBILE ADJUSTMENTS
**************/
@media (max-width: 650px) {
  .footer .content-wrapper, .content-wrapper {
    gap: 10px;
  }
  .section, main > section, .text-section {
    margin-bottom: 23px;
    padding: 13px 2px 13px 2px;
  }
  .container {
    padding: 0 3px;
  }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1.00rem; }
}

/******************************************
      ENSURE MINIMUM 20PX BETWEEN ALL CARDS
*******************************************/
.card-container > *, .content-grid > *, .feature-item > *, .content-wrapper > * {
  margin-bottom: 0;
}
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-left: 20px;
}

/******************************************
   NO OVERLAPPING! ENOUGH SPACING BETWEEN
*******************************************/
.section, .content-wrapper, .card-container, .feature-item, .content-grid, .testimonial-card {
  margin-bottom: 24px;
}

/* END STYLE.CSS */
