/* 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, 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, main, menu, nav, section {
  display: block;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FBFBFD;
  color: #2C3960;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
}
a {
  color: #204080;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F0B429;
  outline: none;
}
strong {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #e0e4f5;
  margin: 32px 0;
}

/* TYPOGRAPHY -------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C3163;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, ul, ol {
  margin-bottom: 16px;
}
.text-section h2 {
  margin-bottom: 16px;
}
.text-section h3 {
  margin-bottom: 12px;
}

/* COLORS & PASTEL THEME --------------------------------------------- */
:root {
  --primary: #204080;
  --secondary: #EBF0FA;
  --accent: #F0B429;
  --pastel1: #E3EAF9;
  --pastel2: #FBEFE3;
  --pastel3: #E4F7F3;
  --pastel4: #F3E5F5;
  --pastel5: #FFF7EA;
  --soft-shadow: 0 3px 24px rgba(44,57,96,0.07), 0 0.5px 2px rgba(44,57,96,0.07);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

/* CONTAINERS, LAYOUT ------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: none;
}

/* FLEX PATTERNS (MANDATORY) ---------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  padding: 32px 24px;
  min-width: 280px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(44,57,96,0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--pastel1);
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.2s;
}
.testimonial-card p {
  color: #204080;
  font-size: 1.1rem;
  font-style: italic;
  flex: 1 1 0%;
}
.testimonial-card strong {
  color: #2C3960;
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial-card:hover {
  background: var(--pastel2);
  box-shadow: 0 8px 32px rgba(44,57,96,0.13);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  flex: 1 1 240px;
  min-width: 220px;
  transition: box-shadow 0.2s, background 0.2s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  display: block;
  margin-bottom: 6px;
  background: var(--pastel2);
  border-radius: 50%;
  padding: 6px;
}
.feature-item:hover {
  background: var(--pastel4);
  box-shadow: 0 8px 32px rgba(44,57,96,0.13);
}

/* HERO BANNERS ----------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--pastel2) 0%, var(--pastel1) 80%);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  padding: 48px 0 32px 0;
  margin-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  font-size: 2.3rem;
  letter-spacing: 0.01em;
  color: #204080;
}
.hero p {
  font-size: 1.2rem;
}
.hero .cta-button {
  margin-top: 18px;
  font-size: 1.15rem;
}

/* BUTTONS ---------------------------------------------------------- */
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #F8D385 0%, var(--accent) 100%);
  color: #204080;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 13px 34px;
  border-radius: var(--radius-lg);
  border: none;
  outline: none;
  box-shadow: 0 3px 14px rgba(240,180,41,0.10);
  transition: background 0.23s, color 0.18s, box-shadow 0.22s, transform 0.19s;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #F0B429 0%, #F8D385 100%);
  color: #1C3163;
  box-shadow: 0 6px 24px rgba(240,180,41,0.17);
  transform: translateY(-2px) scale(1.03);
}
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  padding: 11px 22px;
  cursor: pointer;
  background: #EBF0FA;
  color: #204080;
  transition: background 0.18s, color 0.15s, box-shadow 0.21s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #D4E1F9;
  color: #204080;
  outline: none;
}

/* HEADER & NAVIGATION ---------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(44, 57, 96, 0.05);
  padding: 0;
  margin-bottom: 0px;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
header nav a {
  color: #204080;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.16s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #E9E4FC;
  color: #F0B429;
  outline: none;
}
header nav .cta-button {
  margin-left: 14px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 14px;
}

/* MOBILE NAVIGATION (BURGER MENU) ---------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #204080;
  color: #fff;
  font-size: 2.2rem;
  border-radius: var(--radius-md);
  padding: 4px 14px 2px 14px;
  margin-left: 12px;
  cursor: pointer;
  z-index: 1030;
  border: none;
  transition: background 0.21s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F0B429;
  color: #204080;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(235, 240, 250, 0.98);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.83,-0.03,.44,.91);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 4px 32px rgba(44,57,96,0.07);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 12px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #204080;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F0B429;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  margin-left: 32px;
}
.mobile-nav a {
  font-size: 1.12rem;
  color: #204080;
  padding: 12px 8px 12px 0;
  border-radius: var(--radius-md);
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F0B429;
  color: #fff;
}

/* Hide main nav and show burger on mobile -------------------------- */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN SECTIONS ---------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  width: 100%;
}
.section:last-child {
  margin-bottom: 0;
}
.text-section {
  width: 100%;
  max-width: 700px;
}

/* BLOG / POST / EVENT CARDS -------------------------------------- */
.event-list, .post-cards, .levels-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
  margin-bottom: 24px;
}
.event-card, .post-card {
  background: #fff;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 0;
  margin-right: 0;
  transition: box-shadow 0.21s, background 0.18s;
}
.event-card:hover, .post-card:hover {
  background: var(--pastel4);
  box-shadow: 0 8px 34px rgba(44,57,96,0.15);
}
.featured-post {
  background: var(--pastel5);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(240,180,41,0.08);
}
.levels-grid > div {
  background: var(--pastel3);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  font-size: 1.05rem;
  flex: 1 1 180px;
  min-width: 128px;
}

/* TABLE ---------------------------------------------------------- */
table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  margin-top: 10px;
  font-size: 1.02rem;
  overflow: hidden;
}
thead th {
  background: var(--pastel1);
  color: #204080;
  padding: 14px 12px;
  border-bottom: 2px solid #d6e1f8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-align: left;
}
tbody td {
  padding: 13px 12px;
  color: #2C3960;
}
tr:nth-child(even) td {
  background: var(--pastel2);
}

/* FOOTER ---------------------------------------------------------- */
footer {
  background: #E3EAF9;
  padding: 32px 0 24px 0;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  margin-top: 60px;
  color: #1C3163;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #204080;
  font-size: 1rem;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #F0B429;
  outline: none;
}
footer img {
  height: 42px;
  margin-bottom: 12px;
}
footer p {
  font-size: 0.96rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* COOKIE CONSENT BANNER -------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel1), var(--pastel2));
  box-shadow: 0 -2px 18px rgba(44,57,96,0.12);
  padding: 18px 16px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  transition: transform 0.27s, opacity 0.21s;
}
.cookie-banner__msg {
  color: #224080;
  font-family: 'Open Sans', Arial, sans-serif;
  flex: 1 1 220px;
  font-size: 1rem;
}
.cookie-banner .cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-banner .cookie-banner__button {
  background: #F0B429;
  color: #fff;
  padding: 9px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, transform 0.16s, color 0.11s;
}
.cookie-banner .cookie-banner__button:hover, 
.cookie-banner .cookie-banner__button:focus {
  background: #204080;
  color: #F0B429;
  transform: translateY(-1.5px) scale(1.03);
}
.cookie-banner .cookie-banner__link {
  background: none;
  border: none;
  color: #204080;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  transition: background 0.12s, color 0.13s;
}
.cookie-banner .cookie-banner__link:hover,
.cookie-banner .cookie-banner__link:focus {
  background: #F3E5F5;
  color: #F0B429;
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}

/* Cookie settings modal -------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(45,62,110,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 42px rgba(44,57,96,0.20);
  min-width: 340px;
  max-width: 97vw;
  padding: 32px 26px 24px 26px;
  color: #224080;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookieModalAppear 0.32s ease;
}
@keyframes cookieModalAppear {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal__close {
  align-self: flex-end;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #204080;
  cursor: pointer;
  margin-bottom: 9px;
  transition: color 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #F0B429;
}
.cookie-modal h2 {
  font-size: 1.15rem;
  margin-bottom: 7px;
  margin-top: 0;
}
.cookie-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F0B429;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-sm);
}
.cookie-category input[disabled] {
  opacity: 0.7;
}

/* MISC ------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: #E3EAF9;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #fff;
}

/* ANIMATIONS ------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  a, button, .cta-button, .feature-item, .card, .event-card, .post-card, .testimonial-card {
    transition: box-shadow 0.19s, background 0.18s, color 0.13s, transform 0.16s;
  }
}

/* RESPONSIVENESS --------------------------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .hero {
    padding: 33px 0 26px 0;
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .feature-grid, .levels-grid, .event-list, .post-cards, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 30px 0 17px 0;
  }
  .card, .feature-item, .event-card, .post-card, .testimonial-card, .featured-post {
    min-width: 0;
    width: 100%;
  }
  .content-wrapper, .card-container {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.39rem;
  }
  .cta-button, button, .cookie-banner__button {
    padding: 10px 12px;
    font-size: 1rem;
  }
  .cookie-modal {
    min-width: 0;
    width: 97vw;
    padding: 22px 10px 13px 10px;
  }
  .mobile-menu {
    padding-top: 18px;
  }
  .mobile-nav {
    margin-left: 13px;
  }
}

/* ACCESSIBLE FOCUS OUTLINE ----------------------------------------- */
a:focus, button:focus, .cta-button:focus, .cookie-banner__button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #F0B429;
  outline-offset: 2px;
}

/* UTILITY CLASSES ------------------------------------------------- */
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 16px !important;
}
.mb-2 {
  margin-bottom: 16px !important;
}
.mt-4 {
  margin-top: 32px !important;
}
.mb-4 {
  margin-bottom: 32px !important;
}

/* PRINT ----------------------------------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .container { max-width: 100vw; padding: 0; }
}
