/* ----------------- CSS 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, menu, 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
:focus {
  outline: 2px solid #FFD041;
  outline-offset: 2px;
}
html {
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: linear-gradient(135deg, #F6F8F9 0%, #E9EFFA 100%);
  color: #20314C;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin: 0 0 1.5em 1.2em;
}
li {
  margin-bottom: 0.5em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #20314C;
  margin-bottom: 12px;
  line-height: 1.18;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, blockquote {
  font-size: 1rem;
  margin-bottom: 18px;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #FFD041;
  padding-left: 18px;
  color: #20314C;
  background: #FFF7DA;
  border-radius: 8px;
  margin-bottom: 8px;
}
a {
  color: #20314C;
  text-decoration: underline;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #FFD041;
  text-decoration: none;
}
strong {
  font-weight: bold;
}

/* ---- CONTAINER and SECTION LAYOUTS ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 20px;
  position: relative;
}

/* ---- NAVIGATION ---- */
header {
  background: linear-gradient(90deg, #20314C 0%, #2D4672 100%);
  color: #fff;
  width: 100%;
  box-shadow: 0 8px 24px rgb(32 49 76 / 7%);
  z-index: 50;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 18px;
}
header nav a img {
  height: 36px;
}
header nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
header nav ul li {
  margin: 0;
}
header nav ul li a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.2s;
  position: relative;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: #FFD041;
}
header .cta-primary {
  margin-left: 30px;
  min-width: 120px;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFD041;
  font-size: 2.2rem;
  margin-left: 16px;
  cursor: pointer;
  z-index: 101;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #20314C 60%, #FFD041 100%);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 0 0 24px;
  background: #FFD041;
  border: none;
  border-radius: 50%;
  color: #20314C;
  font-size: 2rem;
  font-weight: bold;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(32,49,76,0.13);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #20314C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 64px 0 0 36px;
  width: 80%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.31rem;
  text-decoration: none;
  padding: 8px 0 8px 2px;
  border-radius: 5px;
  transition: color 0.17s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #20314C;
  background: #FFD041;
}

/* Hide desktop nav on mobile */
@media (max-width: 992px) {
  header nav ul,
  header .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---- BUTTONS ---- */
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, #FFD041 0%, #FFF3A8 100%);
  color: #20314C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 13px 35px;
  font-size: 1.15rem;
  border: none;
  border-radius: 33px;
  cursor: pointer;
  box-shadow: 0 4px 22px 0 rgb(255 208 65 / 10%);
  margin-top: 18px;
  margin-bottom: 12px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s, transform 0.12s;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #FFD041 40%, #20314C 100%);
  color: #fff !important;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 7px 24px 0 rgb(32 49 76 / 21%);
}

/* ---- HERO, FEATURES, CARDS ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 6px;
}
.feature-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgb(32 49 76 / 10%);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  max-width: 310px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.25s;
}
.feature-item img {
  height: 42px;
  margin-bottom: 0.5em;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 10px 32px 0 rgba(32,49,76,0.14);
  transform: translateY(-3px);
}

/* Service / Course lists */
.service-list, .course-list, .workshop-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 34px;
  margin-left: 0;
}
.service-list li, .course-list li, .workshop-list li {
  background: #fff;
  padding: 24px 22px 22px 22px;
  border-radius: 18px;
  box-shadow: 0 5px 19px 0 rgb(32 49 76 / 10%);
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.25s;
}
.service-list li:hover, .course-list li:hover, .workshop-list li:hover {
  box-shadow: 0 10px 32px 0 rgba(32,49,76,0.14);
  transform: translateY(-3px);
}
.price, .schedule {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #20314C;
  background: #FFF3A8;
  border-radius: 5px;
  font-size: 1.01rem;
  padding: 5px 12px;
}

.scheduling-info {
  list-style: disc;
  margin-left: 19px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.text-section {
  margin-bottom: 30px;
  font-size: 1rem;
}
.text-section ul {
  margin-left: 22px;
}
.text-section li {
  margin-bottom: 6px;
}

/* ---- LAYOUT FLEXBOX PATTERNS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(32,49,76,0.13);
  padding: 24px 20px;
}
.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: #fff;
  border-radius: 17px;
  box-shadow: 0 4px 16px 0 rgba(32,49,76,0.13);
  color: #263853;
  margin-bottom: 20px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card blockquote {
  border: none;
  padding-left: 0;
  background: none;
  color: #1a2534;
  margin: 0 0 0 0;
  font-size: 1.1rem;
}
.testimonial-card span {
  font-size: 1rem;
  font-style: normal;
  color: #20314C;
  opacity: 0.85;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 9px 36px 0 rgba(32,49,76,0.17);
  transform: translateY(-2px) scale(1.02);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-list .feature-item {
  flex: 1 1 210px;
  max-width: 300px;
}

/* ---- CONTACT DETAILS ---- */
.contact-details {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #263853;
}

/* ---- CALL TO ACTION SUBTEXT ---- */
.cta-subtext {
  color: #364D6F;
  margin-top: 14px;
  font-size: 1.05rem;
  opacity: 0.87;
}

/* ---- FOOTER ---- */
footer {
  background: linear-gradient(90deg, #20314C 0%, #2D4672 100%);
  color: #fff;
  padding: 42px 0 19px 0;
  margin-top: 42px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}
footer nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  opacity: 0.9;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD041;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 19px;
}
.footer-contact img {
  height: 34px;
}
.footer-contact address {
  font-style: normal;
  color: #FFD041;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 0.98rem;
}
footer p {
  text-align: center;
  color: #FFF;
  opacity: 0.7;
  margin-top: 12px;
  font-size: 0.93rem;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #20314C;
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -2px 22px 0 rgba(32,49,76,0.13);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px 16px 22px 16px;
  font-size: 1rem;
  transition: transform 0.45s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 700px;
  margin: inherit;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-right: 4px;
}
.cookie-btn.accept {
  background: #FFD041;
  color: #20314C;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFF7DA;
}
.cookie-btn.reject {
  background: #fff;
  color: #20314C;
  border: 1px solid #FFD041;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD041;
  color: #20314C;
}
.cookie-btn.settings {
  background: none;
  color: #FFD041;
  border: 1px solid #FFD041;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFD041;
  color: #20314C;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,49,76, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s;
}
.cookie-modal {
  background: #fff;
  color: #20314C;
  border-radius: 16px;
  padding: 38px 22px 22px 32px;
  min-width: 340px;
  min-height: 240px;
  box-shadow: 0 8px 42px 0 rgba(32,49,76,0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  display: none;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #F6F8F9;
  transition: background 0.2s;
  border-radius: 13px;
}
.cookie-toggle input:checked + .cookie-slider {
  background-color: #FFD041;
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 2.5px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
}
.cookie-toggle input:checked + .cookie-slider:before  {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: #FFD041;
  color: #20314C;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #20314C;
  color: #FFD041;
}

/* --- RESPONSIVE FLEX, LAYOUT, SECTION --- */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid, .feature-list {
    gap: 16px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 100vw;
  }
  .feature-grid, .feature-list, .service-list, .course-list {
    flex-direction: column;
  }
  .feature-item, .card {
    max-width: 100%;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  header nav {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .section {
    padding: 23px 7px 25px 7px;
  }
  .feature-item, .card {
    padding: 18px 12px 16px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 14px 9px 15px 9px;
    min-width: unset;
  }
  .feature-item img {
    height: 36px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px !important;
  }
  .cookie-modal {
    min-width: 240px;
    padding: 26px 9px 13px 11px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 3vw;
  }
  .cookie-banner-content {
    max-width: 95vw;
  }
  .cookie-modal {
    min-width: 150px;
    font-size: 0.98rem;
  }
}

/* --- Misc UTILS --- */
.hide {
  display: none !important;
}

/* --- Animations --- */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: none; }
}
.section, .feature-grid, .feature-item, .card, .testimonial-card, .footer-contact, .service-list li, .card-container {
  animation: fadeInUp 0.8s cubic-bezier(.16,1,.3,1) backwards;
}

/* --- Accessibility --- */
.visually-hidden {
  position: absolute!important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  white-space: nowrap;
}

/* Import fonts (use system fallback if CDN fails) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans-Regular');
}
