/* ===================================================================  
   0. CSS RESET & ROOT 
   =================================================================== */
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: #F9F6FC;
  color: #26394E;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block; max-width: 100%; height: auto;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font: inherit;
}
:root {
  /* Brand Palette */
  --primary: #26394E;
  --secondary: #EBC06A;
  --accent: #FFFFFF;
  /* Soft Pastels */
  --pastel-blue: #C7D8F7;
  --pastel-lilac: #E7DBF9;
  --pastel-mint: #D2FAEF;
  --pastel-peach: #FFECE3;
  --pastel-yellow: #FFF8E2;
  --pastel-pink: #FCE4EE;
  /* Text Colors */
  --text-dark: #26394E;
  --text-light: #FFFFFF;
  --text-soft: #7A8AA3;
  /* Gradients */
  --gradient-main: linear-gradient(120deg, #C7D8F7 0%, #FFF8E2 90%);
  --gradient-subtle: linear-gradient(120deg, #E7DBF9 0%, #FFD6E0 100%);
  /* Shadows */
  --shadow-low: 0 2px 8px 0 rgba(38,57,78,0.07);
  --shadow-medium: 0 4px 24px rgba(38,57,78,0.08);
  /* Border radius */
  --radius-card: 18px;
  --radius-btn: 28px;
  --radius-section: 32px;
}

body, html {
  background: var(--pastel-blue);
  min-height: 100vh; 
}

/* ===================================================================  
   1. TYPOGRAPHY 
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4 { font-size: 1.1rem; margin-bottom: 12px; }

p, li, .philosophy-text {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
strong { font-weight: 700; }

.text-section p, .text-section ul {
  font-size: 1.1rem;
}

/* Responsive Headings */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
}

/* ===================================================================  
   2. LAYOUT STRUCTURE & SECTIONS
   =================================================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-section);
  background: var(--pastel-peach);
  box-shadow: var(--shadow-low);
  transition: box-shadow 0.25s;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 28px 8px;
    border-radius: 16px;
  }
}
.content-wrapper, .text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.text-section {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

/* ===================================================================  
   3. HEADER & NAVIGATION 
   =================================================================== */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: var(--shadow-low);
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.logo {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 16px;
}
.logo img {
  height: 40px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 13px;
  border-radius: 20px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a.button {
  margin-left: 16px;
}
.main-nav a:hover:not(.button), .main-nav a:focus:not(.button) {
  background: var(--pastel-blue);
  color: var(--secondary);
}

/* Hide main nav on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .logo { height: 62px; }
}

/* ===================================================================  
   4. BURGER MENU for MOBILE
   =================================================================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 60;
  background: var(--pastel-mint);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-low);
  transition: background 0.17s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--pastel-blue);
  outline: 2px solid var(--primary);
}
@media (max-width: 1000px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--pastel-lilac);
  z-index: 1002;
  display: flex; flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-102vw);
  transition: transform 0.44s cubic-bezier(0.67,0.01,0.5,1.04);
  box-shadow: var(--shadow-medium);
  opacity: 1;
}
.mobile-menu.open { 
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  font-size: 2rem;
  background: var(--pastel-mint);
  border: none;
  color: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: var(--shadow-low);
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--pastel-blue); }

.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 34px 40px 34px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--primary);
  padding: 15px 0 11px 8px;
  border-radius: 15px;
  transition: background 0.15s;
  margin-bottom: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-peach);
  color: var(--secondary);
}

/* Block scroll when menu open */
body.mobile-menu-open { overflow: hidden; }

/* ===================================================================  
   5. BUTTONS, LINKS, INTERACTION
   =================================================================== */
.button {
  padding: 12px 34px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  box-shadow: var(--shadow-low);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.22s, color 0.20s, box-shadow 0.14s;
  margin-top: 12px;
}
.button.primary {
  background: var(--secondary);
  color: var(--primary);
}
.button:hover, .button:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 7px 24px 0 rgba(38,57,78,0.13);
}
.button:active {
  background: var(--pastel-mint);
  color: var(--primary);
}

/* Ensure links are obvious */
a { text-decoration: none; }
a:focus-visible { outline: 2px solid var(--secondary); outline-offset: 4px; }

/* ===================================================================  
   6. HERO + CTA SECTIONS
   =================================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-section);
  box-shadow: var(--shadow-low);
  background: var(--pastel-peach);
  display: flex;
  flex-direction: column;
  gap: 0px;
}
@media (max-width: 768px) { section { margin-bottom: 38px; padding: 26px 6px; border-radius: 17px; }}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 0;
}
.text-section h1, .text-section h2 {
  margin-bottom: 10px;
}

/* ===================================================================  
   7. FLEXBOX LAYOUTS FOR CONTENT
   =================================================================== */
.features-grid, .services-grid, .workshop-overview, .program-overview, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}
.card-container, .card-grid, .content-grid {
  gap: 20px;
}
.features-grid, .program-overview, .workshop-overview, .services-grid {
  justify-content: space-between;
}
/* Adjust for mobile */
@media (max-width: 900px) {
  .features-grid,
  .services-grid,
  .workshop-overview, 
  .program-overview, 
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

.card, .feature-card, .service-card, .workshop-topic, .program-block {
  background: var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-low);
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.21s, transform 0.23s;
}
.card:hover, .feature-card:hover, .service-card:hover, .workshop-topic:hover, .program-block:hover {
  box-shadow: 0 8px 28px 0 rgba(38,57,78,0.10);
  transform: translateY(-3px) scale(1.013);
  z-index: 3;
}

.feature-card img, .service-card img, .workshop-topic img, .program-block img {
  height: 38px; width: 38px; margin-bottom: 6px;
}
.feature-card h3, .service-card h2 {
  font-size: 1.16rem;
}
.service-price, .workshop-topic span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--secondary);
  margin: 8px 0 0 0;
}

/* Text-Image Section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  margin-top: 9px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ===================================================================  
   8. TESTIMONIALS
   =================================================================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px 22px 22px;
  background: var(--pastel-lilac);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-low);
  min-width: 260px;
  max-width: 350px;
  color: var(--text-dark);
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.18s;
  position: relative;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 26px 0 rgba(38,57,78,0.13);
  transform: translateY(-3px) scale(1.02);
  z-index: 3;
}
.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.testimonial-card p {
  color: var(--text-dark);
  font-style: italic;
  font-size: 1.12rem;
  margin-bottom: 7px;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
}
/* Ensure contrast */
.testimonial-card {
  background: var(--pastel-lilac);
}

/* ===================================================================  
   9. TABLES, ULs, PHILOSOPHY, VALUE-LIST
   =================================================================== */
.pricing-table, .schedule-overview {
  width: 100%;
  margin-bottom: 20px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pricing-table table {
  width: 100%;
  border-spacing: 0;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: var(--shadow-low);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.01em;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 13px 10px;
  border-bottom: 1px solid #ececec;
  text-align: left;
}
.pricing-table th {
  background: var(--pastel-mint);
  color: var(--primary);
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

.value-list, .usp-list, .benefits-list, .feature-list {
  margin-top: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding-left: 0;
}
.value-list li, .usp-list li, .benefits-list li, .feature-list li {
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01em;
  color: var(--primary);
  background: var(--pastel-mint);
  border-radius: 12px;
  padding: 11px 16px 11px 16px;
  margin-bottom: 10px;
}
.value-list li img, .feature-list li img {
  height: 23px; width: 23px; flex-shrink: 0;
}
@media (max-width: 600px) {
  .value-list li, .usp-list li, .benefits-list li, .feature-list li {
    font-size: 0.98em;
    padding: 8px 8px 8px 11px;
  }
}

.philosophy-text {
  color: var(--text-soft);
  background: var(--pastel-pink);
  padding: 16px 20px;
  border-radius: 11px;
  font-style: italic;
  margin-bottom: 13px;
}
@media (max-width: 700px) {
  .pricing-table th, .pricing-table td { padding: 9px 6px; font-size: 0.98em; }
}

/* ===================================================================  
   10. FOOTER
   =================================================================== */
footer {
  background: var(--pastel-lilac);
  border-top-left-radius: var(--radius-section);
  border-top-right-radius: var(--radius-section);
  box-shadow: var(--shadow-low);
  margin-top: 50px;
  padding: 32px 18px 15px 18px;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 13px;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  border-radius: 11px;
  padding: 7px 13px;
  transition: background 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-peach);
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 13px;
}
.footer-contact img {
  height: 45px; margin-right: 22px;
}
.footer-contact div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact p {
  font-size: 0.97em;
  color: var(--text-soft);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img[alt*="icon-"] {
  height: 17px; width: 17px; margin-right: 3px;
}
.footer-legal {
  width: 100%;
  font-size: 0.95em;
  color: var(--primary);
  margin-top: 10px;
  text-align: left;
}
@media (max-width: 800px) {
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 13px; }
}
/* ===================================================================  
   11. CONTACT & OPENING HOURS SECTIONS 
   =================================================================== */
.contact-information, .opening-hours {
  display: flex; flex-direction: column; gap: 7px; margin-bottom: 7px;
}
.contact-information p, .opening-hours p {
  display: flex; align-items: center; gap: 10px;
}
.contact-information img, .opening-hours img {
  height: 21px; width: 21px; flex-shrink: 0;
  margin-right: 6px;
}
@media (max-width: 600px) {
  .contact-information p, .opening-hours p { font-size: 0.99em; }
}

/* ===================================================================  
   12. COOKIE CONSENT BANNER & MODAL
   =================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1050;
  background: var(--pastel-yellow);
  box-shadow: 0 -4px 16px 0 rgba(38, 57, 78, 0.12);
  padding: 20px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: banner-slideup 0.6s cubic-bezier(0.88,0.12,0.36,1) 1;
}
@keyframes banner-slideup {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1.04em;
  margin-bottom: 0;
  text-align: center;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cookie-btns button {
  padding: 10px 25px;
  border-radius: 23px;
  border: none;
  box-shadow: var(--shadow-low);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  background: var(--secondary);
  color: var(--primary);
  transition: background 0.18s, color 0.18s;
}
.cookie-btns button.cookie-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btns button.cookie-reject {
  background: var(--pastel-pink);
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
.cookie-btns button.cookie-settings {
  background: var(--pastel-mint);
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
.cookie-btns button:hover, .cookie-btns button:focus {
  background: var(--primary);
  color: var(--accent);
}

/* Cookie prefs modal */
.cookie-modal {
  position: fixed;
  z-index: 1051;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39,49,78,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.34s cubic-bezier(0.67,0.19,0.52,1.18) 1;
}
@keyframes modal-in {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-content {
  background: var(--pastel-peach);
  border-radius: 23px;
  box-shadow: 0 12px 44px 0 rgba(38,57,78,0.15);
  max-width: 440px; width: 96vw;
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cookie-modal-content h2 {
  font-size: 1.37rem;
  margin-bottom: 13px;
  color: var(--primary);
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 11px; margin: 0 0 18px 0;
}
.cookie-modal-content li {
  display: flex; align-items: center; gap: 14px;
  font-size: 1.01rem;
  color: var(--primary);
}
.cookie-modal-content label {
  font-weight: 500;
}
.cookie-modal-content input[type=checkbox] {
  accent-color: var(--secondary);
  width: 18px; height: 18px; margin-right: 6px;
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  border: none;
  border-radius: 19px;
  padding: 9px 23px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--secondary);
  color: var(--primary);
  transition: background 0.14s, color 0.17s;
  cursor: pointer;
  box-shadow: var(--shadow-low);
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: var(--primary);
  color: var(--accent);
}

/* Required category disabled */
.cookie-modal-content input[data-required].cookie-toggle {
  accent-color: #cccccc;
  cursor: not-allowed;
}
.cookie-modal-content label[for="cookie-essential"] {
  color: #8b8b8b;
  font-style: italic;
}

@media (max-width: 520px) {
  .cookie-modal-content { padding: 18px 7px; min-width: 0; }
}

/* Hide banner/modal if closed */
.cookie-banner.closed, .cookie-modal.closed { display: none !important; }

/* ===================================================================  
   13. ANIMATIONS, HOVER EFFECTS
   =================================================================== */
.button, .card, .feature-card, .service-card, .workshop-topic, .program-block, .testimonial-card, .footer-nav a, .main-nav a, .mobile-nav a, .cookie-btns button
{
  transition: background 0.18s, color 0.16s, box-shadow 0.16s, transform 0.16s;
}
.button:active, .footer-nav a:active, .main-nav a:active, .mobile-nav a:active {
  transform: scale(0.97);
}

/* Micro-interactions for list check icon (soft bounce) */
.value-list li img, .feature-list li img {
  transition: transform 0.19s cubic-bezier(0.3,1.7,0.7,1.1);
}
.value-list li:hover img, .feature-list li:hover img {
  transform: scale(1.15) rotate(-3deg);
}

/* ===================================================================  
   14. CUSTOM UTILITIES
   =================================================================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-2 { margin-bottom: 2px !important; }
.mt-4 { margin-top: 4px !important; }
.mb-4 { margin-bottom: 4px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }

.text-center { text-align: center !important; }

/* ===================================================================  
   15. RESPONSIVE ADJUSTMENTS
   =================================================================== */
@media (max-width: 600px) {
  .container { padding: 0 6px; }
  .footer-nav { gap: 9px; }
}
@media (max-width: 400px) {
  .testimonial-card, .feature-card, .service-card, .workshop-topic {
    padding: 13px 6px;
    font-size: 0.96em;
  }
  .footer-contact img { height: 29px !important; }
  .footer-contact { gap: 8px; }
}
/* Don't let cards overlap! */
.card, .feature-card, .service-card, .workshop-topic, .program-block {
  margin-bottom: 20px;
}
@media (max-width:600px) {
  .card, .feature-card, .service-card, .workshop-topic, .program-block {
    min-width: 0;
    padding: 11px 6px 12px 10px;
    font-size: 0.96em;
  }
}

/* ===================================================================  
   16. UTILITY HELPERS
   =================================================================== */
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }

/******************** END ********************/