/* === CSS RESET & BASELINE === */
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, 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, main, 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, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #EFEFEF;
  color: #225A4E;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #225A4E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7AA36A;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* === BRAND COLORS & FONTS === */
:root {
  --primary: #225A4E;
  --secondary: #FFFFFF;
  --accent: #7AA36A;
  --accent-light: #A3C39B;
  --warning: #FFB300;
  --fun-pink: #FF76A6;
  --fun-blue: #59CBE8;
  --fun-yellow: #FFE563;
  --shadow: 0 3px 16px 0 rgba(34,90,78,0.10), 0 0.5px 2px 0 rgba(122,163,106,0.08);
}

/* === TYPOGRAPHY (PLAYFUL & DYNAMIC) === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.12;
  color: var(--fun-pink);
}
h2 {
  font-size: 2rem;
  color: var(--fun-blue);
}
h3 {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.25rem;
}
p, li {
  font-size: 1rem;
  color: #225A4E;
  line-height: 1.7;
}
strong {
  color: var(--accent);
  font-weight: bold;
}

/* === CONTAINER UTILITIES === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--secondary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px 16px;
  gap: 32px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--primary);
  background: none;
  border-radius: 8px;
  padding: 6px 16px;
  position: relative;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
header nav a:hover, header nav a:focus {
  color: var(--fun-blue);
  background: var(--accent-light);
  outline: none;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: var(--secondary);
  background: linear-gradient(90deg, var(--fun-pink) 70%, var(--fun-blue) 100%);
  border: none;
  border-radius: 27px;
  padding: 13px 32px;
  box-shadow: 0 4px 18px rgba(255,118,166,0.12);
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.25s, box-shadow 0.18s, transform 0.1s;
  outline: none;
  letter-spacing: 1px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--fun-blue) 70%, var(--fun-pink) 100%);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 7px 24px rgba(89,203,232,0.16);
}

/* === MOBILE MENU BURGER === */
.mobile-menu-toggle {
  display: none;
  background: var(--fun-pink);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  border: none;
  font-size: 2rem;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 150;
  box-shadow: 0 2px 16px 0 rgba(255, 118, 166, 0.18);
  justify-content: center;
  align-items: center;
  transition: background 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--fun-blue);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--secondary);
  box-shadow: 0 0 0 120vw rgba(0,0,0,0.15);
  z-index: 200;
  padding: 32px 24px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.18,1);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: var(--fun-blue);
  color: var(--secondary);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 220;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fun-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 56px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 0 13px 4px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: var(--fun-blue);
}

/* Hide desktop nav, show burger on mobile */
@media (max-width: 900px) {
  header nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(80deg, #EFEFEF 0%, #FFE563 100%);
  min-height: 320px;
  padding: 60px 0 60px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero .content-wrapper h1 {
  color: var(--fun-pink);
  text-shadow: 0 2px 14px #FFE56344, 0 1px 0 #fff;
  font-size: 2.7rem;
  margin-bottom: 10px;
}
.hero .content-wrapper p {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 22px;
}

/* === MAIN SECTIONS: SPACING & FLEXBOX === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 31px;
  box-shadow: var(--shadow);
}
.features, .testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* Feature Items */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 10px;
}
.features ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px 22px 76px;
  min-width: 220px;
  position: relative;
  flex: 1 1 240px;
  box-shadow: 0 2px 10px rgba(163,195,155,0.07);
  margin-bottom: 20px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.14s, box-shadow 0.19s;
  overflow: hidden;
}
.features ul li img {
  position: absolute;
  left: 20px;
  top: 28px;
  width: 44px;
  height: 44px;
}
.features ul li:hover {
  box-shadow: 0 6px 32px rgba(34,90,78,0.13);
  transform: scale(1.04) rotate(-1.5deg);
  background: #FFFBF3;
}

/* === CARD STRUCTURE === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--secondary);
  border-radius: 24px;
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.21s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 9px 38px rgba(34,90,78,0.12);
  transform: translateY(-3px) scale(1.03);
}

/* === CTA SECTION === */
.cta {
  background: linear-gradient(101deg, #FFFBF3 0%, #FF76A6 6%, #59CBE8 65%, #A3C39B 100%);
  border-radius: 40px;
  box-shadow: 0 4px 32px 0 #FFE56355, var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta .cta-button {
  margin: 20px 0 0 0;
}

/* === TESTIMONIALS === */
.testimonials {
  background: #FFF;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 18px rgba(89,203,232,0.06), var(--shadow);
}
.testimonials .content-wrapper {
  gap: 22px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #FFFBF3;
  border-radius: 20px;
  min-height: 70px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 #7AA36A22;
  position: relative;
  transition: box-shadow 0.15s, transform 0.13s;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.1rem;
  flex: 1 1 auto;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: var(--fun-pink);
  font-size: 1.04rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px #FF76A644, 0 1px 10px #FFE56323;
  background: #FFFCE7;
  transform: translateY(-2px) scale(1.016);
}

/* === INSTRUCTORS SECTION === */
.instructors {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
}
.instructor {
  background: #fff;
  border-radius: 20px;
  padding: 24px 24px 18px 24px;
  box-shadow: var(--shadow);
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.13s, transform 0.13s;
}
.instructor:hover {
  box-shadow: 0 6px 32px #A3C39B21;
  transform: scale(1.027);
}

/* === CARDS, GRIDS AND ENTITY WRAPPING === */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 48px 0 32px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.17s;
  margin-bottom: 6px;
  padding: 0 4px;
  border-radius: 4px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--fun-yellow);
  background: #7AA36A33;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
  margin-top: 10px;
  color: #fff;
}
.footer-contact img {
  width: 19px;
  margin-right: 10px;
  vertical-align: middle;
}


/* === CONTACT DETAILS SECTION === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.contact-details img {
  width: 21px;
  vertical-align: middle;
  margin-right: 8px;
}
.contact-details a {
  color: var(--fun-blue);
}

/* === MISC SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Responsive adjustments for .container, .content-wrapper, .instructors etc. */
@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  .features ul, .instructors, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .footer-contact {
    margin-top: 24px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero {
    padding: 30px 0 40px 0;
    min-height: 160px;
  }
  .cta {
    padding: 24px 6px;
  }
  section, .section, .features, .testimonials {
    padding: 22px 5px;
  }
  .card {
    padding: 18px 12px;
  }
  .features ul li {
    padding: 16px 12px 13px 56px;
    min-width: 150px;
    font-size: 0.98rem;
  }
}

/* === ANIMATIONS === */
.hero, .cta, .card, .section, .features ul li, .testimonial-card, .instructor {
  animation: fadein-pop 0.8s cubic-bezier(0.46,0.03,0.52,0.96) 0.05s both;
}
@keyframes fadein-pop {
  0% {
    opacity: 0;
    transform: scale(0.97) translateY(16px);
  }
  80% {
    opacity: 1;
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* === BUTTONS & MICRO-INTERACTIONS === */
button, .cta-button {
  outline: none;
  box-shadow: none;
  transition: background 0.13s, color 0.13s, transform 0.11s, box-shadow 0.14s;
}
button:active {
  transform: scale(0.97);
}

/* === FORMS (if needed in future) === */
input, textarea, select {
  border: 2px solid var(--accent-light);
  padding: 13px;
  border-radius: 12px;
  background: #FFF;
  color: var(--primary);
  font-size: 1.08rem;
  transition: border 0.11s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--fun-pink);
  outline: none;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: linear-gradient(90deg, #FFE563 60%, var(--fun-pink) 100%);
  box-shadow: 0 -8px 48px #A3C39B44;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px 16px 20px 16px;
  min-height: 64px;
  animation: fadein-pop 0.85s;
}
.cookie-banner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 740px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-right: 7px;
  background: var(--fun-pink);
  box-shadow: 0 2px 7px #FF76A644;
  cursor: pointer;
  transition: background 0.17s, transform 0.11s;
}
.cookie-btn:active, .cookie-btn:focus {
  background: var(--fun-blue);
}
.cookie-btn.settings {
  background: var(--fun-blue);
}
.cookie-btn.reject {
  background: #7AA36A;
}
.cookie-btn.settings:focus {
  background: var(--fun-pink);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 450px;
  min-height: 180px;
  background: #fff;
  box-shadow: 0 14px 67px #225A4E31, 0 0.5px 2px #A3C39B1E;
  border-radius: 30px;
  z-index: 3100;
  transform: translate(-50%,-50%) scale(1.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 22px 22px 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.19s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--fun-blue);
  color: #fff;
  border-radius: 50%;
  border: none;
  height: 38px;
  width: 38px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--fun-pink);
  font-weight: bold;
  margin-bottom: 12px;
}
.cookie-modal__group {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 30px;
  background: #EEE;
  position: relative;
  transition: background 0.17s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .cookie-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fun-blue);
  transition: left 0.19s, background 0.14s;
}
.cookie-toggle.active {
  background: var(--fun-blue);
}
.cookie-toggle.active .cookie-slider {
  left: 23px;
  background: var(--fun-pink);
}

/* === UTILITIES & SPACING PATTERNS === */
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.pb-20 { padding-bottom: 20px !important; }
.pt-24 { padding-top: 24px !important; }
.mt-16 { margin-top: 16px !important; }
.text-center { text-align: center !important; }

/* Allow responsive and playful headings */
@media (max-width: 430px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
}

/* === ACCESSIBILITY/FOCUS === */
:focus-visible {
  outline: 2.5px dashed var(--fun-blue);
  outline-offset: 3px;
}

/* === GENERAL INTERACTIVE EFFECTS === */
section, .card, .instructor, .features ul li, .testimonial-card, .cta, .hero {
  will-change: transform, box-shadow, opacity;
}

/* Hide something visually only */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto; width: 1px; height: 1px; overflow: hidden;
}

/* === OVERLAY FOR MODALS & MENUS === */
.overlay {
  position: fixed;
  z-index: 2990;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,90,78,0.28);
  transition: opacity 0.18s;
  opacity: 1;
}
.overlay.hidden { opacity: 0; pointer-events: none; }

/* === MISC === */
::-webkit-scrollbar {
  width: 8px;
  background: #FFFCE7;
}
::-webkit-scrollbar-thumb {
  background: #FFE563;
  border-radius: 8px;
}

/* === PRINT === */
@media print {
  header, footer, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal, .overlay {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
