/* --- CSS RESET & NORMALIZE --- */
html, body, div, span,
ap, h1, h2, h3, h4, h5, h6, ul, li, nav, footer, header, section, main, address, img, button, a {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: #F7FAFF;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #19325d;
  background: #F7FAFF;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, .btn-primary {
  font-family: 'Quicksand', 'Roboto', Arial, sans-serif;
  cursor: pointer;
}
ul {
  list-style: none;
}

/* --- BRAND COLORS & FONTS (VIBRANT ENERGETIC) --- */
:root {
  --primary: #28579A;
  --secondary: #FFD02E;
  --accent: #FFFFFF;
  --bg-light: #F7FAFF;
  --bg-card: #FFF;
  --shadow: 0 2px 12px 0 rgba(40,87,154,0.12);
  --shadow-strong: 0 4px 28px 0 rgba(40,87,154,0.18);
  --highlight: #FF5D61;
  --text-title: #27456c;
  --text-body: #19325d;
  --testimonial-bg: #FFFDF1;
  --success: #2DC86D;
  --danger: #F04E4E;
  --info: #30C4F3;
  --font-display: 'Quicksand', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- TYPOGRAPHY (Modern, Bold, Energetic) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.14; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.3rem; line-height: 1.35; margin-bottom: 12px; }
p, address, span, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
}
strong {
  color: var(--primary);
  font-weight: 700;
}

/* --- MAIN CONTAINER & LAYOUTS --- */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 28px;
  min-width: 250px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.015);
}
.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: 15px;
  padding: 20px 26px;
  background: var(--testimonial-bg);
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(255, 208, 46, 0.16);
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER & NAVBAR STYLES --- */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 2px 10px 0 rgba(40,87,154,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  gap: 22px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.15s;
}
nav a:hover, nav a:focus {
  color: var(--highlight);
  border-bottom: 2px solid var(--secondary);
}
.btn-primary {
  padding: 10px 32px;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.11rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(40,87,154,.08);
  transition: background 0.16s, color 0.16s, box-shadow 0.2s, transform 0.12s;
  margin-left: 18px;
  margin-right: 4px;
  cursor: pointer;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 24px 0 rgba(40,87,154,0.16);
  transform: translateY(-1px) scale(1.04);
}

/* --- MOBILE NAVIGATION MENU --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  padding: 7px 10px;
  border-radius: 8px;
  margin-left: 16px;
  display: none;
  transition: background 0.15s, color 0.15s;
  z-index: 1001;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--highlight);
  background: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,87,154,0.98);
  z-index: 1100;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.86,-0.02,.53,1.17);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 12px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--secondary);
  align-self: flex-end;
  margin: 16px 18px 8px 0;
  cursor: pointer;
  outline: none;
  transition: color 0.20s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--highlight);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  margin-top: 36px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #FFF;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.45rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  transition: color 0.18s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(255,255,255,0.10);
  border-radius: 6px;
}

/* --- HERO, SECTIONS, ICON LISTS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
}
section:first-child {
  background: linear-gradient(90deg, var(--secondary) 0%, #FFC700 100%);
  box-shadow: 0 3px 24px 0 rgba(255, 208, 46, 0.13);
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}
section:first-child h1, section:first-child p {
  color: var(--primary);
}
section:first-child .btn-primary {
  box-shadow: 0 3px 18px 0 rgba(40,87,154,0.18);
  background: var(--primary);
  color: var(--secondary);
}
section:first-child .btn-primary:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 28px 0 rgba(40,87,154,0.19);
}
ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 0 0;
  padding-left: 0;
}
ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  color: var(--text-body);
  background: none;
}
ul li img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #F2F6FB;
  box-shadow: 0 2px 9px 0 rgba(40,87,154,0.05);
  margin-right: 4px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  margin-bottom: 20px;
  padding: 20px 26px;
  border-left: 5px solid var(--secondary);
  background: var(--testimonial-bg);
  color: #222;
  font-size: 1.08rem;
  font-family: var(--font-body);
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(255, 208, 46, 0.16);
}
.testimonial-card p {
  margin-bottom: 10px;
  font-weight: 500;
  color: #2E3460;
}
.testimonial-card span {
  color: #876C06;
  font-size: 0.99rem;
  font-family: var(--font-display);
  font-weight: 700;
}

/* --- FOOTER --- */
footer {
  padding: 40px 0 24px 0;
  background: #27456c;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-logo {
  flex: 0 0 auto;
}
.footer-logo img {
  width: 56px;
  height: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-right: 28px;
}
footer nav a {
  color: var(--secondary);
  font-size: 1.11rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 3px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-bottom 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFF;
  border-bottom: 1px solid var(--secondary);
}
.footer-contact {
  color: #f9e5a4;
  font-size: 0.99rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-body);
}
footer address {
  font-style: normal;
  color: #f6e5a2;
}

/* --- CARDS (Workshops, Programs, Features) --- */
.card {
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 28px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.015);
}

/* --- BUTTONS & INTERACTIONS --- */
.btn-primary, .btn {
  padding: 10px 32px;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.11rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(40,87,154,.08);
  transition: background 0.13s, color 0.13s, box-shadow 0.19s, transform 0.12s;
  margin-top: 12px;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus, .btn:hover, .btn:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 24px 0 rgba(40,87,154,0.16);
  transform: translateY(-1px) scale(1.04);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFFDF1;
  color: #2E3460;
  padding: 24px 24px 18px 24px;
  box-shadow: 0 -2px 18px 0 rgba(40,87,154,.11);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  z-index: 1200;
  font-size: 1rem;
  font-family: var(--font-body);
  animation: slideInBottom 0.7s;
}
@keyframes slideInBottom {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-left: auto;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  border: none;
  border-radius: 19px;
  font-size: 1.05rem;
  padding: 9px 26px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
}
.cookie-accept {
  background: var(--success);
  color: #FFF;
  font-weight: 700;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #21B869;
}
.cookie-reject {
  background: var(--danger);
  color: #FFF;
  font-weight: 700;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ED3939;
}
.cookie-settings {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1300;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(40, 87, 154, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.4s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FFFDF1;
  color: #2E3460;
  border-radius: 22px;
  padding: 36px 18px 28px 22px;
  box-shadow: var(--shadow-strong);
  max-width: 385px;
  width: 94vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1310;
  animation: modalPopIn 0.23s cubic-bezier(.72,-0.02,.53,1.17);
}
@keyframes modalPopIn {
  0% { transform: scale(0.94) translateY(36px); opacity: 0 }
  100% { transform: scale(1) translateY(0); opacity: 1 }
}
.cookie-modal h4 {
  font-family: var(--font-display);
  font-size: 1.19rem;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
}
.cookie-category label {
  font-family: var(--font-body);
  font-weight: 500;
  color: #2E3460;
  cursor: pointer;
  margin-left: 2px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.cookie-category .always-on {
  color: var(--success);
  font-size: 1.02rem;
  font-weight: 700;
  margin-left: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 18px;
  background: none;
  color: var(--danger);
  border: none;
  font-size: 1.63rem;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #B61111;
}

/* --- MISC/UTILITY --- */
::-webkit-scrollbar { width: 9px; background: #EEECE2; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 7px; }
hr {
  border: none;
  border-bottom: 2px solid var(--secondary);
  margin: 28px 0;
}

/* --- MEDIA QUERIES: RESPONSIVE (Mobile First) --- */
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 1000px) {
  .container { max-width: 700px; }
  nav { gap: 12px; }
}
@media (max-width: 850px) {
  .container { max-width: 94vw; }
  .content-wrapper { gap: 12px; }
  section { padding: 36px 8px; }
}
@media (max-width: 768px) {
/* Layout containers change direction */
  .container {
    max-width: 100vw;
    padding: 0 6vw;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 58px;
  }
  nav {
    display: none;
  }
  .btn-primary {
    margin-left: 4px;
    margin-right: 0;
    padding: 9px 18vw;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-logo img {
    width: 40px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 14px 14px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 0 6vw;
  }
  section { padding: 20px 2vw; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.31rem; }
}
@media (max-width: 480px) {
  .footer-logo img {
    width: 29px;
  }
  .cookie-modal { padding: 24px 8px 20px 8px; }
  .btn-primary, .btn { width: 100%; padding: 11px 0; text-align: center; }
}

/* --- MICRO-ANIMATIONS --- */
.btn-primary, .btn, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.14s, color 0.14s, box-shadow 0.17s, transform 0.13s;
}
section, .card, .testimonial-card {
  transition: box-shadow 0.16s, background 0.17s, transform 0.14s;
}

/* --- REMOVE GRID & COLUMN LAYOUTS (For Compliance) --- */
/* Nothing to remove because only flex is used and no grid/columns. */

/* --- MIN 20PX SPACING BETWEEN CARDS/SECTIONS --- */
section, .card, .testimonial-card {
  margin-bottom: 20px;
}

/* --- FOCUS STATE FOR ACCESSIBILITY --- */
a:focus-visible, .btn-primary:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* --- Hide cookie/modal when not active (add .hidden from JS) --- */
.cookie-banner.hidden, .cookie-modal-overlay.hidden {
  display: none !important;
}

/* --- COLORS & VIBRANCY (Electric Touch) --- */
section, .card, .testimonial-card {
  box-shadow: 0 2px 12px 0 rgba(40,87,154,0.09);
}
h1, h2, h3 {
  text-shadow: 0 1px 0 #fff5c3, 0 2px 6px #FFD02E11;
}

/* --- END OF CSS --- */
