/* === 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.5;
  background: #F5EFE7;
  color: #255160;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #255160;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #ffc900; /* playful accent yellow */
}
ul, ol {
  margin-left: 1.5em;
}
strong, b {
  font-weight: bold;
}

/* ========== BRANDED FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6, .btn-primary {
  font-family: 'Montserrat', 'Comic Sans MS', 'Comic Neue', cursive, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, li, ol, address { font-family: 'Open Sans', Arial, sans-serif; font-size: 1rem;} 
.subtitle {
  font-size: 1.25rem;
  color: #255160;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 18px;
}

/* --- Playful/Dynamic Color Palette & Utility --- */
:root {
  --primary: #255160;
  --secondary: #C9D6CC;
  --accent: #FFC900;
  --bg: #F5EFE7;
  --playful-pink: #FA5C98;
  --playful-blue: #39B3E6;
  --playful-green: #6CE6B5;
  --text-dark: #255160;
  --text-light: #fff;
}

/* =========================================
   LAYOUT & CONTAINER SPACING / FLEXBOX
========================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px 0 rgba(57,179,230,0.07);
  transition: box-shadow 0.3s;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.cta-section {
  align-items: center;
  text-align: center;
  background: #fffbe6;
  border: 2px dashed var(--accent);
  box-shadow: 0 8px 32px 0 rgba(250,92,152,0.09);
}

.text-section {
  margin-bottom: 24px;
  background: #FDFDFD;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(108,230,181,0.06);
  padding: 24px 24px 20px 24px;
  font-size: 1.06rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== FLEXBOX PATTERNS - CRITICAL ===== */
.card-container, .category-grid, .feature-grid, .course-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(250,92,152,0.11);
  transition: transform 0.16s, box-shadow 0.16s;
}
.card:hover {
  transform: translateY(-5px) scale(1.03) rotate(-1deg);
  box-shadow: 0 6px 28px 0 rgba(39,179,230,0.14);
}
.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-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 10px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(39,179,230,0.09);
  padding: 20px;
  min-width: 230px;
  max-width: 330px;
  flex: 1 1 230px;
  border-left: 8px solid var(--playful-pink);
  position: relative;
  margin-bottom: 12px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px 0 rgba(106,230,181,0.18);
}
.customer-info span {
  font-size: 1em;
  font-weight: bold;
  color: var(--primary);
  opacity: 0.85;
  display: inline-block;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------ FORMS, ADDRESS ------------------ */
address {
  font-style: normal;
  font-family: inherit;
  font-size: 1rem;
  color: var(--primary);
  margin-top: 14px;
  background: #f1faee;
  border-radius: 12px;
  padding: 14px 18px;
  display: inline-block;
}

/* ========== HERO / MAIN BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1.2rem;
  border-radius: 36px;
  border: none;
  background: linear-gradient(90deg,var(--playful-pink) 61%, var(--playful-blue) 98%);
  color: #fff;
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 900;
  box-shadow: 0 1px 14px 0 rgba(39,179,230,0.16);
  cursor: pointer;
  letter-spacing: 0.07em;
  margin-top: 8px;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px #fff6;
  transition: background 0.24s, transform 0.18s, box-shadow 0.14s;
  outline: none;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--playful-blue) 60%, var(--playful-green) 100%);
  transform: translateY(-2px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 6px 30px 0 rgba(250,92,152,0.23);
  color: #fff;
}

/* =========== NAVIGATION HEADER =========== */
header {
  width: 100%;
  background: #255160;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 5px 20px 0 rgba(39,179,230,0.12);
  position: relative;
  z-index: 10;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 22px;
  padding: 7px 16px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  letter-spacing: .01em;
}
nav a:hover, nav a:focus {
  background: var(--playful-pink);
  color: #fff;
}
header .btn-primary {
  margin-left: 20px;
  padding: 11px 22px;
  font-size: 1rem;
  background: linear-gradient(90deg,var(--playful-green) 61%, var(--playful-pink) 98%);
  box-shadow: 0 2px 10px 0 rgba(250,92,152,0.13);
}

/* ----- FOOTER ------ */
footer {
  padding: 48px 0 24px 0;
  background: #C9D6CC;
  color: #255160;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  justify-content: center;
}
.footer-nav a {
  color: #255160;
  font-weight: 600;
  font-size: 1em;
  border-radius: 16px;
  padding: 6px 13px;
  background: #f4fefd;
  transition: background 0.16s;
}
.footer-nav a:hover {
  background: var(--playful-green);
  color: #255160;
}
.footer-contact {
  text-align: center;
  margin-bottom: 14px;
}
.footer-logo img {
  margin-top: 15px;
  width: 68px;
  height: 68px;
  animation: bobble 1.8s infinite cubic-bezier(.32,1.32,.36,1.01) alternate-reverse;
}
@keyframes bobble {
  0% { transform: translateY(0) rotate(-4deg); }
  30% { transform: translateY(-6px) rotate(2deg); }
  100% { transform: translateY(3px) rotate(3deg);}
}

/* ========== COMPONENTS & SPECIAL ELEMENTS ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.feature-grid li,
.course-list .text-section,
.category-grid .text-section {
  background: #fffefa;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(255,201,0,0.08);
  flex: 1 1 220px;
  padding: 22px 18px 18px 18px;
  transition: box-shadow 0.19s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid li:hover,
.course-list .text-section:hover,
.category-grid .text-section:hover {
  box-shadow: 0 5px 30px 0 rgba(57,179,230,0.13);
  transform: scale(1.04) rotate(-1deg);
}
.feature-grid img,
.category-grid img,
.course-list img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list li {
  flex: 1 1 220px;
  background: #f1faee;
  border-radius: 14px;
  box-shadow: 0 1px 10px 0 rgba(108,230,181,0.05);
  padding: 22px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  border-left: 5px solid #39B3E6;
  transition: box-shadow 0.16s, transform 0.18s;
}
.service-list li:hover {
  box-shadow: 0 8px 28px 0 rgba(108,230,181,0.12);
  transform: scale(1.03) rotate(1deg);
}
.service-list .price {
  font-weight: bold;
  color: var(--playful-pink);
  margin-top: 9px;
  font-size: 1.06rem;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.text-section ul li,
.text-section ol li {
  margin-bottom: 9px;
  padding-left: 0.4em;
}

.text-section ul li img,
.text-section ol li img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 0.62em;
}
.text-section .mission {
  font-size: 1.14rem;
  color: var(--playful-blue);
  font-weight: bold;
  padding-left: 0.44em;
  font-style: italic;
  margin-top: 8px;
}

ol {
  padding-left: 18px;
  margin-bottom: 12px;
}
ul {
  padding-left: 15px;
  margin-bottom: 10px;
}

/* ======= MICRO INTERACTIONS & ANIMATIONS ======= */
.section h2, .cta-section h2, .section h1 {
  position: relative;
}
.section h2:before, .cta-section h2:before, .section h1:before {
  content: '';
  width: 40px;
  height: 7px;
  background: var(--accent);
  position: absolute;
  left: -7px;
  top: -16px;
  border-radius: 14px;
  opacity: 0.7;
  z-index: 0;
  animation: wavy 2.5s linear infinite;
}
@keyframes wavy {
  0% { left: -7px; }
  30% { left: -11px; }
  49% { left: 28px; }
  50% { left: -7px; }
  100% { left: -7px; }
}

.section, .btn-primary, .feature-grid li, .category-grid .text-section, .service-list li, .testimonial-card, .card {
  will-change: transform, box-shadow;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 20px;
  z-index: 120;
  background: var(--playful-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(39,179,230,0.18);
  transition: background 0.2s, transform 0.15s;
}
.mobile-menu-toggle:active {
  background: var(--playful-pink);
  transform: scale(0.96) rotate(3deg);
}
/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #39B3E6 85%, #FA5C98 100%);
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.86,-0.45,.62,1.48);
  box-shadow: 0 0 0 800px rgba(57,179,230,0.14);
  overflow-y: auto;
  padding-top: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  padding: 13px 19px 7px;
  cursor: pointer;
  margin-bottom: 12px;
  align-self: flex-end;
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 35px 42px 7px 30px;
  margin-top: 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.33rem;
  font-weight: 900;
  background: #F5EFE777;
  padding: 17px 0 17px 24px;
  border-radius: 26px 0 0 26px;
  box-shadow: 0 3px 18px 0 rgba(255,201,0,0.07);
  margin-right: 24vw;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  text-shadow: 0 1px 10px #25516060;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #39B3E6;
  background: #fff;
  transform: translateX(8px) scale(1.09) skewX(-3deg);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
  header {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 92vw;
  }
  nav {
    gap: 12px;
  }
}
@media (max-width: 860px) {
  .container {
    max-width: 97vw;
  }
  nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 780px) {
  .feature-grid, .category-grid, .service-list, .course-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-slider,
  .testimonial-list {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .container {
    max-width: 100vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .section { padding: 27px 7px; }
}
@media (max-width: 600px) {
  .content-wrapper, .cta-section {
    gap: 14px;
    padding: 0 2px;
  }
  .text-section {
    padding: 15px 8px 13px 8px;
    gap: 7px;
  }
  .footer-logo img {
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 520px) {
  .section { border-radius: 12px; }
  .feature-grid li, .category-grid .text-section, .service-list li {
    border-radius: 8px;
    padding: 13px 8px 12px 8px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ========== COOKIE BANNER and MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffefa;
  box-shadow: 0 -2px 20px 0 #b4dcff33;
  padding: 26px 16px 19px 16px;
  z-index: 9000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  border-top: 6px solid var(--accent);
  transition: transform 0.3s cubic-bezier(.98,1,.34,1), opacity 0.14s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 22px;
  padding: 11px 23px;
  border: none;
  margin-right: 7px;
  margin-left: 0;
  cursor: pointer;
  margin-top: 0;
  margin-bottom: 0;
  transition: background 0.13s, color 0.17s, box-shadow 0.14s;
  box-shadow: 0 1px 8px 0 #C9D6CC44;
}
.cookie-banner .accept-btn {
  background: var(--playful-green);
  color: var(--primary);
}
.cookie-banner .accept-btn:hover {
  background: var(--playful-blue);
  color: #fff;
}
.cookie-banner .reject-btn {
  background: var(--playful-pink);
  color: #fff;
}
.cookie-banner .reject-btn:hover {
  background: #ff4481;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: var(--playful-pink);
  border: 2px solid var(--playful-pink);
}
.cookie-banner .settings-btn:hover { 
  background: #fff7f0;
  color: var(--primary);
  border-color: var(--playful-blue); 
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(57,179,230,0.12);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fffbe6;
  border-radius: 20px;
  max-width: 410px;
  width: 94vw;
  box-shadow: 0 3px 42px 0 rgba(57,179,230,0.19);
  padding: 36px 30px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 17px;
  right: 17px;
  background: none;
  border: none;
  color: var(--playful-pink);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-cookie-modal:hover {
  color: var(--playful-blue);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--playful-green);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1.7px solid var(--playful-blue);
  margin-right: 7px;
}
.cookie-category input[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-category label {
  font-weight: bold;
  font-size: 1.01rem;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 22px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.12s, color 0.18s, box-shadow 0.11s;
  box-shadow: 0 1px 7px 0 #C9D6CC33;
}
.cookie-modal .accept-btn {
  background: var(--playful-blue);
  color: #fff;
}
.cookie-modal .accept-btn:hover {
  background: var(--playful-green); color: var(--primary);
}
.cookie-modal .reject-btn {
  background: var(--playful-pink);
  color: #fff;
}
.cookie-modal .reject-btn:hover { background: #ff4481;}

/* =========== Misc/Helpers ========== */
::-webkit-scrollbar { width: 7px; background: #fff; }
::-webkit-scrollbar-thumb { background: #E8F4F8; border-radius: 4px; }

/* --- Icon bounce for fun! --- */
.feature-grid img, .category-grid img, .course-list img {
  animation: bouncey 1.9s infinite alternate;
}
@keyframes bouncey {
  0% { transform: translateY(0);}
  15% { transform: translateY(-6px) rotate(-2deg); }
  45% { transform: translateY(2px) rotate(1.7deg); }
  80% { transform: translateY(-4px) rotate(-3deg);}
  100% { transform: translateY(2px); }
}

/* --- Testimonial color contrast --- */
.testimonial-card {
  background: #fff;
  color: #255160;
  font-size: 1.12rem;
  border-left: 8px solid var(--playful-pink);
  box-shadow: 0 2px 18px 0 rgba(250,92,152,0.10);
}
.testimonial-card p {
  color: #255160;
}

/* --- Error/Info --- */
.mission, .info {
  font-style: italic;
  color: var(--playful-pink);
}

/* --- Hide elements util --- */
.hide, .hidden { display: none !important; }

/* ========== END MAIN CSS ========== */
