/* ========================
   TWINKLEPIKE ACTIVE CSS
   Geometric Structured Style
   ======================== */
/* CSS RESET & 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, 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FAF9F6;
  color: #1B2845;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #14B8A6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1B2845;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.8em;
}
strong {
  font-weight: 700;
}

/* ========================
   TYPOGRAPHY
   ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: #1B2845;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #222;
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* =========================
   LAYOUT CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(24,40,69,0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
}

/* FLEX LAYOUT CLASSES */
.card-container,
.card-grid,
.feature-grid,
.services-grid,
.team-grid,
.benefits-grid,
.testimonials-list,
.blog-list,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.card-container { gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { 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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.feature-grid, .services-grid, .team-grid, .benefits-grid {
  width: 100%;
}

@media (max-width: 1024px) {
  .feature-grid, .services-grid, .team-grid, .benefits-grid,
  .testimonials-list, .blog-list, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .services-grid, .team-grid, .benefits-grid,
  .testimonials-list, .blog-list, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  width: 100%;
  background: #FAF9F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 14px rgba(24,40,69,0.03);
  z-index: 100;
  position: relative;
}
header a img {
  height: 40px;
  margin-right: 18px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #1B2845;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
nav a:hover,
nav a:focus {
  background: #14B8A6;
  color: #fff;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 28px;
  background: #14B8A6;
  color: #fff;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(20,184,166,0.08);
  letter-spacing: 0.09em;
  margin-left: 24px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1B2845;
  color: #14B8A6;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 20px rgba(27,40,69,0.12);
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-toggle {
  display: none;
  background: #14B8A6;
  border-radius: 8px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 8px 12px;
  margin-left: 20px;
  z-index: 101;
  border: none;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #1B2845;
  color: #fff;
}

/* MOBILE NAV */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B2845;
  color: #fff;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.83,-0.09,.23,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: #fff;
  background: transparent;
  border-radius: 7px;
  margin-bottom: 24px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #14B8A6;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 14px 10px 14px 0;
  border-bottom: 1px solid #14B8A680;
  transition: color 0.17s, background 0.17s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #14B8A6;
  background: rgba(20,184,166,0.07);
}

@media (max-width: 1024px) {
  nav { gap: 18px; }
  .cta-btn { margin-left: 13px; }
}
@media (max-width: 900px) {
  header {
    padding: 13px 9px;
  }
  nav { gap: 13px; }
  .cta-btn { margin-left: 3px; }
}
@media (max-width: 768px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* =========================
   HERO INTRO SECTIONS
   ========================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
}
@media (max-width: 750px) {
  section { padding: 26px 7px; }
}

/* =========================
   FEATURES & PROGRAM CARDS
   ========================= */
.feature-block, .service-card, .coach-profile, .blog-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(27,40,69,0.07);
  border: 2px solid #14B8A617;
  padding: 28px 22px;
  flex: 1 1 290px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.19s;
}
.feature-block img, .service-card img, .benefits-grid img, .contact-details img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}
.feature-block:hover, .service-card:hover, .blog-post:hover, .coach-profile:hover {
  transform: translateY(-4px) scale(1.021);
  box-shadow: 0 6px 36px rgba(20,184,166,0.10);
  border-color: #14B8A6;
}
.secondary-link {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1B2845;
  border-bottom: 2px solid #14B8A6;
  margin-top: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 2px;
  font-size: 1rem;
  transition: color 0.14s, border 0.14s;
}
.secondary-link:hover,
.secondary-link:focus {
  color: #14B8A6;
  border-bottom-color: #1B2845;
}

@media (max-width: 768px) {
  .feature-block, .service-card, .coach-profile, .blog-post {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 18px 8px;
  }
}

/* ===============================
   TESTIMONIALS
   =============================== */
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  background: #FAF9F6;
  border-left: 6px solid #14B8A6;
  border-radius: 10px;
  font-style: italic;
  color: #1B2845;
  min-width: 260px;
  max-width: 420px;
  box-shadow: 0 1.5px 9px rgba(27,40,69,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(20,184,166,0.14);
  transform: translateY(-3px) scale(1.018);
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  color: #1B2845;
  margin-top: 8px;
  letter-spacing: 0.004em;
}

/* ================================
   BLOG STYLES
   ================================ */
.blog-list {
  width: 100%;
  margin-bottom: 12px;
}
.blog-post {
  margin-bottom: 20px;
}
.featured-article {
  background: #14B8A6;
  color: #fff;
  border-radius: 9px;
  padding: 20px 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  box-shadow: 0 2px 16px rgba(27,40,69,0.09);
  font-size: 1.12rem;
  margin-top: 22px;
  margin-bottom: 16px;
}
.featured-article h3 {
  color: #fff;
  margin-bottom: 7px;
  font-size: 1.2rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .featured-article { padding: 10px 7px; }
}

/* FILTERS AND CATEGORIES */
.categories-filter, .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 16px 0 22px 0;
}
.categories-filter button, .filter-options button {
  background: #14B8A6;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, transform 0.15s;
}
.categories-filter button:hover, .filter-options button:hover {
  background: #1B2845;
  color: #14B8A6;
  transform: scale(1.045);
}

/* =========================
   ABOUT/INFO TEXT BLOCKS
   ========================= */
.text-section {
  margin-top: 8px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
ul.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 10px 0;
}
ul.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}
ul.feature-list li:before {
  content: "▸";
  color: #14B8A6;
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

/* =========================
   COACHES TEAM GRID
   ========================= */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 23px;
}
.coach-profile ul.qualifications-list {
  font-size: 0.99rem;
  margin-top: 4px;
  margin-bottom: 0;
  padding-left: 18px;
}

/* =========================
   TIMETABLE TABLE
   ========================= */
.timetable-table {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 24px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 14px rgba(27,40,69,0.06);
  overflow: hidden;
  font-size: 1rem;
}
.timetable-table th, .timetable-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid #14B8A617;
  font-family: 'Open Sans', Arial, sans-serif;
}
.timetable-table thead th {
  background: #14B8A6;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}
.timetable-table tr:last-child td {
  border-bottom: none;
}

/* =========================
   CONTACT DETAILS SECTION
   ========================= */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #222;
}
.map-location {
  background: #FAF9F6;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
  color: #1B2845;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
}
@media (max-width: 820px) {
  .contact-details { gap: 18px; }
}
@media (max-width: 570px) {
  .contact-details { flex-direction: column; gap: 10px; }
}

/* =========================
   FAQ & LIST STYLES
   ========================= */
.faq-list, .next-steps-list ul, .text-section ul {
  list-style: none;
  padding: 0;
  margin-top: 9px;
}
.faq-list li, .next-steps-list ul li, .text-section ul li, .faq-accordion ul li {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}
.faq-list li:before, .next-steps-list ul li:before, .faq-accordion ul li:before {
  content: '▲';
  position: absolute;
  left: 0;
  color: #14B8A6;
  font-size: 1em;
  top: 0.15em;
}

.faq-accordion h3 {
  margin-bottom: 9px;
}
.faq-accordion ul {
  margin-bottom: 23px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #1B2845;
  color: #fff;
  padding: 42px 16px 26px 16px;
  border-radius: 18px 18px 0 0;
  margin-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  font-family: 'Open Sans', Arial, sans-serif;
}
footer a img {
  height: 38px;
  margin-bottom: 19px;
}
.footer-nav {
  display: flex;
  gap: 21px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #14B8A6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
  text-align: center;
  color: #14B8A6;
  margin-bottom: 5px;
}
.footer-tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  opacity: 0.97;
  margin-top: 11px;
}
@media (max-width: 600px) {
  footer {
    padding: 21px 2px 14px 2px;
  }
  .footer-contact { font-size: 0.89rem; }
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #1B2845;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 18px 10px 18px 28px;
  box-shadow: 0 -2px 18px rgba(27,40,69,0.13);
  z-index: 5000;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 18px 18px 0 0;
  transition: transform 0.33s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-message {
  flex: 1 1 auto;
  max-width: 680px;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 11px;
  flex: none;
}
.cookie-banner button {
  background: #14B8A6;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 18px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(27,40,69,0.07);
  transition: background 0.17s, color 0.17s, transform 0.14s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #fff;
  color: #1B2845;
  transform: scale(1.04);
}
@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 2px 16px 2px;
  }
  .cookie-banner .cookie-message {
    margin-right: 0;
    font-size: 0.98rem;
    width: 100%;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 110%);
  background: #fff;
  color: #1B2845;
  min-width: 320px;
  max-width: 95vw;
  width: 400px;
  z-index: 5100;
  padding: 28px 24px 22px 24px;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -4px 32px rgba(24,40,69,0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.29s;
}
.cookie-modal.open {
  transform: translate(-50%, 0%);
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-modal-header h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 700;
  color: #1B2845;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #1B2845;
  font-size: 1.8rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #14B8A6;
  color: #fff;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal-category .toggle-switch {
  width: 34px;
  height: 18px;
  background: #1B2845;
  border-radius: 9px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-category .toggle-switch.on {
  background: #14B8A6;
}
.cookie-modal-category .toggle-switch:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.14s;
}
.cookie-modal-category .toggle-switch.on:after {
  left: 19px;
}
.cookie-modal-category label {
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1B2845;
}
.cookie-modal .save-preferences {
  background: #14B8A6;
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  margin-top: 10px;
  align-self: flex-end;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .save-preferences:hover,
.cookie-modal .save-preferences:focus {
  background: #1B2845;
  color: #14B8A6;
}

@media (max-width: 480px) {
  .cookie-modal { width: 97vw; padding: 10px 5px; }
}

/* =========================
   MICRO-INTERACTIONS/ANIMATIONS
   ========================= */
.cta-btn, .secondary-link, .feature-block, .service-card, .coach-profile, .testimonial-card, .blog-post {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}

/* =========================
   GEOMETRIC SHAPE ACCENT DECOR
   (For optional geometric style on larger screens) 
   ========================= */
.body::before {
  /* optional: add geometric svg/background shape here if desired */
}

/* =========================
   UTILITIES
   ========================= */
.text-center { text-align: center; }
.w-full { width: 100%; }
.mb-24 { margin-bottom: 24px; }

/* Geometric Buttons for Cookie and Filters */
button, .cta-btn {
  border-radius: 24px 6px 24px 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
}

/* Hide visually but keep for accessibility */
.sr-only {
  position: absolute;
  left: -9999px;
}

/* =========================
   PRINT STYLES (optional)
   ========================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section { box-shadow: none; background: #fff !important; }
}
