/* === CSS RESET & NORMALIZE === */
:root {
  --primary: #19305C;
  --secondary: #A5C15B;
  --accent: #F9EFE3;
  --text-main: #14213d;
  --text-dark: #19305C;
  --text-light: #FFFFFF;
  --text-muted: #6B7687;
  --bg-main: #F9EFE3;
  --bg-light: #FFFFFF;
  --bg-footer: #f7fafd;
  --gray-100: #f1f4f8;
  --gray-200: #e3e8ef;
  --gray-300: #d0d8e2;
  --gray-400: #b4becc;
  --gray-500: #828fa3;
  --shadow: 0 6px 24px 0 rgba(25,48,92,0.08), 0 1.5px 4px 0 rgba(25,48,92,0.02);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --font-display: 'Russo One', Arial, sans-serif;
  --font-body: 'Montserrat', 'Arial', sans-serif;
  --transition: all 0.2s cubic-bezier(.4,0,.2,1);
}
html {
  box-sizing: border-box;
  font-size: 16px;
  background: var(--bg-main);
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover, a:focus { color: var(--secondary); outline: none; }
ul, ol { margin-left: 18px; }
strong { color: var(--primary); }
hr { border: none; border-top: 1px solid var(--gray-200); margin: 24px 0; }

/* === GENERAL CONTAINERS === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.11;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; font-weight: bold; }
h2 { font-size: 2rem; margin-bottom: 14px; font-weight: 700; }
h3 { font-size: 1.375rem; margin-bottom: 12px; font-weight: 600; }
h4 { font-size: 1.125rem; margin-bottom: 10px; font-weight: 600; }

p, ul, ol {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.text-section p { margin-bottom: 16px; }
.text-section ul, .text-section ol { margin-bottom: 16px; }

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.225rem; }
}

/* === FLEX LAYOUT CLASSES === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  flex: 1 1 320px;
  max-width: 380px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(25,48,92,0.12);
  z-index: 1;
}
.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;
  border-radius: var(--radius);
  background: var(--accent);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  flex: 1 1 320px;
  min-width: 320px;
  color: var(--text-dark);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === MAIN NAVIGATION === */
header {
  background: var(--bg-light);
  box-shadow: 0 2px 12px 0 rgba(25,48,92,0.09);
  position: sticky;
  top: 0;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 68px;
  padding: 0 20px;
}
.main-nav a {
  display: flex;
  align-items: center;
  height: 68px;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.main-nav li {
  margin-right: 2px;
}
.main-nav li:last-child {
  margin-right: 0;
}
.main-nav ul li a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--primary);
  background: none;
  transition: background 0.18s, color 0.18s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.main-nav ul li .cta {
  color: var(--text-light);
  background: var(--secondary);
  font-weight: bold;
  margin-left: 8px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(165,193,91,0.15);
  padding: 8px 24px;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s;
}
.main-nav ul li .cta:hover,
.main-nav ul li .cta:focus {
  background: var(--primary);
  color: #fff;
}

/* === HAMBURGER MENU MOBILE === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 14px;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--secondary); }

.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,48,92,0.85);
  z-index: 200;
  justify-content: flex-end;
  align-items: stretch;
  animation: menuFadeIn 0.3s cubic-bezier(.4,0,.2,1);
}
@keyframes menuFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.mobile-menu nav {
  background: #fff;
  height: 100%;
  min-width: 72vw;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 32px 28px 24px;
  box-shadow: -3px 0 22px 0 rgba(25,48,92,0.21);
  transform: translateX(0);
  transition: transform 0.26s cubic-bezier(.4,0,.2,1);
  position: relative;
  z-index: 201;
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 20px;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 210;
  transition: color .13s;
}
.mobile-menu-close:focus { outline: 2px solid var(--secondary); }
.mobile-nav {
  margin-top: 48px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  width: 100%;
  font-size: 1.2rem;
  color: var(--primary);
  padding: 15px 0 15px 12px;
  border-bottom: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* === HERO + INTRO SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
@media (min-width: 900px) {
  .content-wrapper { gap: 24px; }
}

.brand-story-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 16px;
}
.brand-story-visual img {
  height: 76px;
  width: auto;
  filter: drop-shadow(0 1.5px 8px #d0d8e2);
}

/* === FEATURES == */
.features-list, .content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding-left: 0;
}
.features-list li, .content-wrapper > ul > li {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 24px 16px 20px 16px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, background 0.18s;
  font-size: 1rem;
}
.features-list li:hover, .content-wrapper > ul > li:hover {
  background: var(--accent);
  box-shadow: 0 6px 24px 0 rgba(25,48,92,0.15);
}
.features-list img, .content-wrapper > ul > li > img {
  height: 40px;
  width: 40px;
  margin-bottom: 5px;
}
.features-list strong, .content-wrapper > ul > li > strong {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

/* === CARDS (used for services, workshops, resources etc.) === */
.card, .content-wrapper > ul > li {
  margin-bottom: 20px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--accent);
  color: var(--text-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.08rem;
  min-width: 250px;
  transition: box-shadow 0.16s, border 0.14s;
}
.testimonial-card:hover {
  border: 1.5px solid var(--secondary);
  box-shadow: 0 7px 24px 0 rgba(25,48,92,0.15);
}
.testimonial-card span {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

/* === BUTTONS & CTA === */
.cta, .button, button[type=submit], input[type=button], input[type=submit] {
  background: var(--secondary);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: bold;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  margin-top: 6px;
  box-shadow: 0 2px 14px 0 rgba(165,193,91,0.13);
  transition: background 0.18s, transform 0.13s, box-shadow 0.18s;
  display: inline-block;
}
.cta:hover, .cta:focus, 
.button:hover, .button:focus,
button[type=submit]:hover, input[type=button]:hover, input[type=submit]:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 22px 0 rgba(25,48,92,0.17);
}

/* === FORMS === */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 12px;
  border: 1.5px solid var(--gray-300);
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  width: 100%;
  color: var(--primary);
  transition: border-color 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}
label { font-weight: 600; color: var(--primary); margin-bottom: 5px; display: block; }

/* === FOOTER === */
footer {
  background: var(--bg-footer);
  padding-top: 32px;
  padding-bottom: 42px;
  font-size: 1rem;
  color: var(--primary);
  border-top: 1.5px solid var(--gray-200);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.footer-nav a {
  color: var(--primary);
  opacity: 0.75;
  margin-right: 5px;
  transition: color 0.13s, opacity 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.contact-info > p, .contact-info a {
  color: var(--primary);
  font-size: 1rem;
  opacity: 0.88;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.social-links a img {
  height: 27px; width: 27px; filter: grayscale(0.35) contrast(1.1);
  transition: filter .16s, transform .13s;
}
.social-links a:hover img { filter: grayscale(0) contrast(1.13); transform: scale(1.06); }
.brand-logo {
  margin-top: 14px;
}
.brand-logo img {
  height: 54px;
  width: auto;
  opacity: 0.93;
}

/* === ADDITIONAL CONTENT STYLES === */
.map-location {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 10px 0;
}
.age-groups {
  margin-top: 10px;
  padding: 12px 18px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}
.category-filter {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.category-filter a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--radius-xs);
  background: var(--gray-200);
  transition: background 0.14s, color 0.13s;
}
.category-filter a:hover,
.category-filter a:focus {
  background: var(--secondary);
  color: #fff;
}
.faq-short ul, .faq-short ol {
  margin-top: 8px;
  padding-left: 20px;
}
.faq-short li {
  margin-bottom: 12px;
  font-size: 0.99rem;
  color: var(--primary);
}

.methodology {
  margin-top: 12px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
}
.trust-signals {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 18px 18px;
  margin-top: 18px;
  color: var(--text-main);
  font-size: 0.99rem;
}

/* === RESPONSIVE FLEX ADJUSTMENTS === */
@media (max-width: 900px) {
  .content-wrapper,
  .content-grid,
  .features-list,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .card, .features-list li, .card-container > * {
    max-width: 100%;
    min-width: 0;
  }
  .main-nav > ul { gap: 6px; }
}
@media (max-width: 768px) {
  .main-nav > ul { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-nav, .social-links, .brand-logo, .contact-info, footer .container {
    align-items: flex-start !important;
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .section { padding: 28px 10px; margin-bottom: 32px; }
  section { padding: 28px 0; }
  .container { padding: 0 7px; }
}
@media (max-width: 540px) {
  .main-nav { padding: 0 6px; }
  .brand-story-visual img { height: 54px; }
  footer .container { gap: 7px; }
  .testimonial-card { font-size: 0.98rem; padding: 12px 8px; }
  .content-wrapper { gap: 9px; }
}
@media (max-width: 640px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: #fff;
  color: var(--primary);
  width: 100vw;
  box-shadow: 0 -2px 20px 0 rgba(25,48,92,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.23s cubic-bezier(.4,0,.2,1);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.cookie-banner.hide { transform: translateY(110%); }
.cookie-banner .cookie-actions {
  display: flex; gap: 12px; margin-left: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--secondary);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.13s, transform 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}
.cookie-banner .cookie-settings {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  margin-left: 10px;
  font-size: 0.97rem;
  font-weight: 500;
  transition: background 0.13s;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: var(--secondary);
}
@media (max-width: 576px) {
  .cookie-banner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cookie-banner .cookie-actions { margin-left: 0; }
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(25,48,92,0.38);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: cookieModalIn .19s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes cookieModalIn { 0% { opacity: 0; } 100% { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 480px;
  width: 95vw;
  padding: 32px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--primary);
  position: relative;
}
.cookie-modal h3 { font-size: 1.3rem; margin-bottom: 8px; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label { font-size: 1.05rem; color: var(--primary); }
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal button {
  background: var(--secondary);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.14s;
}
.cookie-modal button.cancel {
  background: var(--gray-300);
  color: var(--primary);
  font-weight: 500;
}
.cookie-modal button.cancel:hover { background: var(--gray-400); color: var(--primary); }
.cookie-modal button:hover { background: var(--primary); }
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.4rem; cursor: pointer;
}

/* === MISC === */
::-webkit-scrollbar {
  width: 8px;
  background: var(--gray-200);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 6px;
}

/* === PRINT (OPTIONAL) === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: var(--text-main); }
}
