/* =========================================================
   CSS RESET & FOUNDATION (mobile-first, normalization)
   ========================================================= */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F5E8;
  color: #234045;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #234045;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid #ccd8bb; margin: 32px 0; }

/* =========================================================
   BRAND & PLAYFUL DYNAMIC STYLE: COLORS & TYPOGRAPHY
   ========================================================= */
:root {
  --primary: #234045;
  --secondary: #98B76E;
  --accent: #F7F5E8;
  --fun-yellow: #ffd34d;
  --fun-orange: #ff897b;
  --fun-purple: #6161e8;
  --contrast-dark: #1b3925;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
}
h1, h2, h3, .cta-btn {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-shadow: 1px 3px 0 var(--fun-yellow), 0px 0px 5px rgba(152,183,110,0.06);
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--secondary);
  letter-spacing: 0.025em;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
p, li, span {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
.subheadline {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 28px;
  font-weight: 500;
}

/* FUN FONTS */
body, h1, h2, h3, .cta-btn {
  font-variation-settings: "wght" 600;
}

/* =========================================================
   CONTAINERS & RESPONSIVE SPACING
   ========================================================= */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Zebra playful backgrounds on sections */
.hero {
  background: linear-gradient(120deg, var(--fun-yellow) 0 60%, var(--accent) 60% 100%);
  border-radius: 0 0 46px 46px;
  min-height: 330px;
  padding: 60px 0 50px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1, .hero .subheadline {
  color: var(--contrast-dark);
}

.features, .about, .services, .team, .testimonials, .contact, .legal {
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 rgba(152,183,110,0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =========================================================
   FLEXBOX SPACING & LAYOUT RULES
   ========================================================= */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 18px; box-shadow: 0 4px 18px rgba(54,64,69,0.09); overflow: hidden; }
.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; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; margin-bottom: 24px; background: #F7F5E8; border-radius: 16px; box-shadow: 0 2px 12px rgba(227,205,95,0.07); border-left: 6px solid var(--secondary); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Main nav always flex */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 14px 0;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  align-items: center;
}
.main-nav li {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.main-nav li a {
  line-height: 1.8;
  position: relative;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.17s, color 0.23s;
}
.main-nav li a:hover, .main-nav li a:focus {
  color: var(--secondary);
  background: var(--fun-yellow);
}

.cta-btn {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 32px;
  font-size: 1.05rem;
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  padding: 5px 36px 13px 36px;
  font-weight: 700;
  margin-left: 16px;
  box-shadow: 0 3px 16px 0 rgba(255,211,77,0.13);
  cursor: pointer;
  transition: background 0.19s, transform 0.18s, box-shadow 0.18s;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--fun-orange);
  color: var(--contrast-dark);
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 6px 24px rgba(255,137,123,0.21);
}

/* =============================
   FEATURES & SERVICE CARDS
   ============================= */
.features ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--primary);
  box-shadow: 0 2px 9px rgba(127,183,98,0.08);
}
.features ul li img {
  width: 32px;
  height: 32px;
}

.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.services .service-card {
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(255,211,77,0.04);
  padding: 24px 20px 20px 20px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid var(--fun-yellow);
  position: relative;
  transition: box-shadow 0.19s, transform 0.17s, border-color 0.15s;
}
.services .service-card:hover {
  box-shadow: 0 8px 24px 0 rgba(255,211,77,0.12);
  transform: scale(1.03) rotate(-1.7deg);
  border-color: var(--fun-purple);
  z-index: 2;
}
.services .service-card .price {
  font-weight: 700;
  color: var(--fun-purple);
  margin-top: 6px;
  font-size: 1.05rem;
}

.services ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.services ul li {
  background: var(--accent);
  color: var(--primary);
  padding: 15px 18px;
  border-radius: 13px;
  margin-bottom: 4px;
  box-shadow: 0 1px 7px rgba(255,172,68,0.07);
}
.services ul li strong {
  color: var(--fun-orange);
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
}

/* Price information blocks */
.price-detail, .price-information, .price-overview {
  background: var(--fun-yellow);
  border-radius: 12px;
  padding: 18px 20px 16px 18px;
  color: var(--contrast-dark);
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 18px;
  box-shadow: 0 1px 8px rgba(255,211,77,0.07);
}
.price-detail h3,
.price-information h3, .price-overview h3 {
  color: var(--fun-purple);
  margin-bottom: 8px;
}
.price-detail ul, .price-information ul, .price-overview ul {
  gap: 0px;
}

/* =========================================
   TESTIMONIALS, QUOTES & CARDS (BRIGHT)
   ========================================= */
.testimonials h2 {
  color: var(--fun-orange);
}
.testimonial-card {
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(255,211,77,0.10);
  border-left: 6px solid var(--fun-yellow);
  margin-bottom: 24px;
  transition: box-shadow 0.2s, border-color 0.15s;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: var(--primary);
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--fun-purple);
  font-weight: 600;
}
.testimonial-card:hover {
  border-left-color: var(--fun-orange);
  box-shadow: 0 8px 40px 0 rgba(255,211,77,0.16);
}

/* =============================
   NAVBAR & FOOTER
   ============================= */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(80,80,92,0.08);
  border-radius: 0 0 24px 24px;
  position: relative;
  z-index: 10;
}
footer {
  background: #FAF9ED;
  padding: 32px 0 16px 0;
  border-radius: 24px 24px 0 0;
  margin-top: 60px;
  box-shadow: 0 -3px 19px rgba(34,64,69,0.03);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.footer-nav img {
  width: 48px;
  margin-right: 14px;
}
.footer-nav nav a {
  color: var(--fun-purple);
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  margin-right: 9px;
  font-size: 1rem;
  transition: color 0.21s;
  text-decoration: underline dotted var(--secondary) 2px;
}
.footer-nav nav a:hover { color: var(--fun-orange); }

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 24px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 11px;
}
.social-links a {
  background: var(--fun-yellow);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.16s;
}
.social-links a:hover { background: var(--fun-orange); transform: rotate(-6deg) scale(1.06); }
.legal-links { margin-top: 8px; }
.legal-links a {
  color: var(--secondary);
  font-size: 0.96rem;
  transition: color 0.18s;
}
.legal-links a:hover { color: var(--fun-purple); text-decoration: underline; }

.copyright {
  margin-top: 18px;
  color: var(--primary);
  font-size: 0.96rem;
  text-align: left;
}

/* =============================
   ABOUT PAGE TEAM BLOCKS
   ============================= */
.teacher-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
  margin-top: 18px;
}
.teacher-bios > div {
  flex: 1 1 210px;
  background: var(--accent);
  border-radius: 12px;
  padding: 18px 16px 14px 16px;
  box-shadow: 0 2px 9px rgba(98,183,110,0.04);
  border-left: 4px solid var(--fun-purple);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-values {
  background: var(--fun-yellow);
  color: var(--contrast-dark);
  border-radius: 13px;
  padding: 13px 17px;
  font-size: 1rem;
  margin-top: 4px;
  font-weight: 600;
}

.founder-message, .philosophy-statement {
  background: var(--fun-purple);
  color: #fff;
  border-radius: 15px;
  padding: 18px 22px 12px 22px;
  box-shadow: 0 1px 7px rgba(97,97,232,.07);
  margin-bottom: 20px;
}
.founder-message h3, .philosophy-statement h3 {
  color: var(--fun-yellow);
}
.founder-message span {
  color: var(--fun-yellow);
  margin-top: 4px;
  display: block;
}

.club-highlights {
  background: var(--fun-orange);
  color: #fff;
  border-radius: 12px;
  padding: 11px 15px;
  font-size: 1rem;
  margin-top: 9px;
  font-weight: 600;
}

/* =============================
   CONTACT PAGE INFO
   ============================= */
.contact-info, .map, .hours {
  background: var(--accent);
  border-radius: 9px;
  padding: 13px 17px;
  font-size: 1rem;
  color: var(--contrast-dark);
  margin-bottom: 16px;
}
.contact-info {
  margin-bottom: 18px;
}
.map p strong {
  color: var(--fun-purple);
}

/* =============================
   FLEX & RESPONSIVE QUERIES
   ============================= */
@media (min-width: 750px) {
  .features ul, .services ul, .about ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 26px;
  }
  .features ul li, .services ul li, .about ul li {
    flex: 1 1 230px;
    min-width: 210px;
  }
  .testimonial-card {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
}
@media (min-width: 1000px) {
  .content-wrapper {
    padding-left: 50px;
    padding-right: 50px;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .service-list,
  .teacher-bios,
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav ul {
    gap: 11px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    border-radius: 0 0 34px 34px;
    padding: 30px 0 18px 0;
    min-height: 210px;
  }
  .section,
  .features, .about, .services, .team, .testimonials, .contact, .legal {
    padding: 23px 8px;
    margin-bottom: 36px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.21rem; }
}

/* =============================
   MOBILE NAV & BURGER MENU
   ============================= */
.mobile-menu-toggle {
  display: flex;
  background: var(--fun-yellow);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  position: absolute;
  right: 14px;
  top: 18px;
  z-index: 71;
  box-shadow: 0 2px 9px rgba(255,211,77,0.10);
  cursor: pointer;
  transition: background 0.18s, transform 0.13s;
}
.mobile-menu-toggle:hover { background: var(--fun-orange); transform: scale(1.07); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 100vw;
  width: 82vw;
  max-width: 410px;
  height: 100vh;
  background: linear-gradient(110deg, #fff 70%, var(--fun-yellow) 100%);
  box-shadow: -3px 0 28px rgba(34,64,69,0.13);
  z-index: 102;
  transition: transform 0.35s cubic-bezier(.8, 0,.25,1), left 0s 0.35s;
  transform: translateX(0);
  pointer-events: none;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(-100vw);
  pointer-events: auto;
  transition: transform 0.33s cubic-bezier(.7,0,.25,1);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--fun-orange);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 2.1rem;
  margin: 25px 24px 14px 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(255,137,123,0.08);
  transition: background 0.19s, transform 0.13s;
}
.mobile-menu-close:hover {
  background: var(--fun-purple);
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 34px 0 36px;
  width: 100%;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  background: var(--accent);
  border-radius: 12px;
  padding: 9px 22px 11px 17px;
  margin-bottom: 2px;
  box-shadow: 0 1px 5px rgba(255,211,77,0.055);
  transition: background 0.16s, color 0.13s, transform 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--fun-yellow);
  color: var(--fun-purple);
  transform: translateX(4px) scale(1.06);
}

@media (min-width: 951px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 950px) {
  .main-nav ul, .main-nav .cta-btn {
    display: none !important;
  }
  .main-nav {
    justify-content: flex-start;
  }
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbed;
  color: var(--contrast-dark);
  padding: 18px 16px;
  box-shadow: 0 -2px 18px 0 rgba(255,211,77,0.22);
  z-index: 9999;
  font-size: 1.03rem;
  pointer-events: auto;
  transition: transform 0.31s cubic-bezier(.8,0,.25,1), opacity 0.21s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-left: 14px;
}
.cookie-btn {
  border-radius: 18px;
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 17px 8px 17px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.14s, color 0.14s, transform 0.15s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover {
  background: var(--fun-orange);
  color: var(--contrast-dark);
  transform: scale(1.05);
}
.cookie-btn.reject {
  background: var(--fun-yellow);
  color: var(--primary);
}
.cookie-btn.reject:hover {
  background: var(--fun-orange);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  border: 2px solid var(--fun-purple);
  color: var(--fun-purple);
}
.cookie-btn.settings:hover {
  background: var(--fun-purple);
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,160%);
  opacity: 0;
  pointer-events: none;
  width: 96vw;
  max-width: 375px;
  background: #fffbe6;
  border-radius: 22px;
  box-shadow: 0 3px 38px 0 rgba(255,211,77,0.29);
  z-index: 10009;
  padding: 26px 20px 20px 22px;
  color: var(--primary);
  transition: transform 0.32s cubic-bezier(.8, 0,.25,1), opacity 0.21s;
}
.cookie-modal.open {
  transform: translate(-50%, -52%);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  background: var(--fun-orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  font-size: 1.17rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10011;
  transition: background 0.13s, transform 0.13s;
}
.cookie-modal-close:hover {
  background: var(--fun-purple);
  transform: scale(1.09);
}
.cookie-modal h3 {
  color: var(--fun-purple);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.cookie-category {
  display: flex;
  align-items: center;
  margin: 13px 0 0 0;
  gap: 10px;
  padding: 8px 0;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type=checkbox] {
  width: 19px;
  height: 19px;
  accent-color: var(--secondary);
}
.cookie-category .cookie-essential {
  font-weight: 700;
  color: var(--fun-orange);
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 19px;
  justify-content: flex-end;
}

/* ====================
   MICRO ANIMATIONS
   ==================== */
.cta-btn, .cookie-btn, .main-nav li a, .testimonials .testimonial-card,
.features ul li, .services .service-card, .card {
  transition: background 0.18s, color 0.22s, transform 0.18s, box-shadow 0.17s !important;
}

.section, .testimonials, .services, .features, .about, .team, .contact, .legal {
  animation: popfadein 0.6s both;
}
@keyframes popfadein {
  from {
    opacity: 0; transform: scale(.94) translateY(32px);
  }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero .container, .hero h1, .hero .subheadline, .hero .cta-btn {
  animation: heropop 0.7s cubic-bezier(.47,1.64,.41,.91) both;
}
@keyframes heropop {
  0% { opacity: 0; transform: scale(.83) translateY(-40px); }
  70% { opacity: 1; transform: scale(1.07) translateY(3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/*************************
  SCROLLBAR STYLING
**************************/
::-webkit-scrollbar {
  width: 11px;
  background: #F7F5E8;
}
::-webkit-scrollbar-thumb {
  background: var(--fun-yellow);
  border-radius: 24px;
}

/*************************
  INTERACTIVE INPUTS
**************************/
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 10px 14px;
  border-radius: 11px;
  border: 2px solid var(--secondary);
  margin-bottom: 16px;
  background: #fff;
  outline: none;
  box-shadow: 0 1px 5px rgba(152,183,110,0.07);
  transition: border 0.16s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--fun-purple);
  box-shadow: 0 1px 9px rgba(97,97,232,.11);
}

/*************************
  LEGAL & UTILITY PAGES
**************************/
.legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(34,64,69,.03);
  padding: 36px 20px;
}
.legal h1 {
  color: var(--secondary);
  margin-bottom: 16px;
}
.legal ul {
  margin: 19px 0 14px 17px;
  list-style-type: disc;
}
.legal ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--primary);
}
.legal a { color: var(--fun-purple); }
.legal a:hover { color: var(--fun-orange); text-decoration: underline; }

/***********************************************************
  ENSURE PROPER SPACING MOBILE/TABLET/DESKTOP
***********************************************************/
.section, .features, .about, .services, .team, .testimonials, .contact, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .features ul, .services ul, .teacher-bios, .social-links, .content-grid {
  gap: 20px;
  flex-wrap: wrap;
}
.card, .testimonial-card, .service-card {
  margin-bottom: 20px;
}

/***********************************************************
  Z-INDEX: NAVS, BANNERS, BURGERS, MODALS, ETC.
***********************************************************/
header { z-index: 9009; }
.mobile-menu-toggle { z-index: 9012; }
.mobile-menu { z-index: 9015; }
.cookie-banner { z-index: 9199; }
.cookie-modal { z-index: 9999; }

/***********************************************************
  MISC PLAYFUL DECORS (OPTIONAL: BUBBLE BGs, ETC.)
***********************************************************/
.hero::after {
  content: "";
  display: block;
  position: absolute;
  right: -88px;
  bottom: -24px;
  width: 160px;
  height: 90px;
  border-radius: 33% 56% 79% 21%;
  background: var(--fun-orange);
  opacity: 0.19;
  pointer-events: none;
  z-index: 0;
}

/* End of playful_dynamic style.css: All flexbox, never grid */