/* --- CSS RESET & BASE STYLES -- */
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, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0;
  font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  background: linear-gradient(135deg, #e7eff7 0%, #fff 100%);
  color: #1B446D;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img, picture { max-width: 100%; height: auto; display: block; }
a { color: #215489; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #F5A623; outline: none; }
strong { font-weight: 700; }
ul, ol { margin-left: 1.5em; }

/* --- BRAND FONTS --- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #215489;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.18; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
.subheadline { font-size: 1.25rem; font-family: 'Open Sans', Arial, Helvetica, sans-serif; color: #215489; margin-bottom: 24px; }

p, li, label, span {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1B446D;
}

/* --- CONTAINERS & STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(33, 84, 137, 0.05);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 22px 0 rgba(33,84,137,0.07);
  position: sticky;
  top: 0; left: 0; z-index: 100;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #215489;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #e7eff7;
  color: #F5A623;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(90deg, #215489 0%, #F5A623 100%);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 5px 16px 0 rgba(245, 166, 35, 0.07);
  transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #F5A623 0%, #215489 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(245, 166, 35, 0.11);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #215489;
  margin-left: 22px;
  cursor: pointer;
  z-index: 201;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #F5A623;
  outline: 2px solid #F5A623;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
  .cta-btn {
    padding: 10px 22px;
    font-size: 0.98rem;
  }
  header .container {
    height: 70px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE NAV --- */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,84,137, 0.90);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.57,.23,.05,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  padding: 16px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  color: #F5A623;
  outline: 2px solid #F5A623;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 48px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 4px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5A623;
  color: #215489;
}
@media (min-width: 901px) {
  .mobile-menu { display: none!important; }
  .mobile-menu-toggle { display: none!important; }
}

/* --- MAIN --- */
main {
  background: transparent;
  min-height: 70vh;
  width: 100%;
  padding-bottom: 40px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 954px) {
  main {
    padding-bottom: 24px;
  }
}
@media (max-width: 768px) {
  main { padding-bottom: 12px; }
}

/* --- FLEXBOX LAYOUT STRUCTURES (MANDATORY) --- */
.card-container, .services-list, .course-list, .workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 3px 12px 0 rgba(33,84,137,.08);
  background: #fff;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, background 0.22s, transform 0.14s;
}
.card:hover, .service-highlight:hover, .workshop-detail:hover {
  background: #e7eff7;
  box-shadow: 0 7px 28px 0 rgba(33,84,137,.12);
  transform: translateY(-3px) scale(1.018);
}
.content-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}
@media (max-width: 850px) {
  .content-grid, .feature-grid, .card-container, .services-list, .course-list, .workshop-list, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- FEATURES FLEX --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f2f7fb;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 2px 8px 0 rgba(33, 84, 137, 0.14);
}
/* --- SERVICES & CARDS --- */
.services-list > div, .service-highlight, .course-entry, .workshop-detail {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(33,84,137,0.07);
  padding: 28px 22px;
  min-width: 250px;
  flex: 1 1 260px;
  transition: box-shadow 0.21s, background 0.21s, transform 0.14s;
}
.services-list > div:hover, .service-highlight:hover, .course-entry:hover, .workshop-detail:hover {
  background: #e7eff7;
  box-shadow: 0 4px 24px 0 rgba(33,84,137,0.18);
  transform: translateY(-2px) scale(1.02);
}
@media (max-width: 900px) {
  .services-list > div, .service-highlight, .course-entry, .workshop-detail {
    min-width: 210px;
    padding: 18px 12px;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(33,84,137,0.07);
  position: relative;
  transition: box-shadow 0.21s, background 0.21s, transform 0.14s;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #0a2d4a;
  font-style: italic;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: #215489;
  font-style: normal;
}
.testimonial-card:hover {
  background: #e7eff7;
  box-shadow: 0 7px 28px 0 rgba(33,84,137,0.12);
  transform: translateY(-3px) scale(1.015);
}

/* --- ADDRESS/CONTACT BLOCKS --- */
.address-block, .contact-info, .opening-hours {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #e7eff7;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #215489;
}
.info-text {
  margin-top: 18px;
  font-size: 1rem;
}

/* --- FOOTER --- */
footer {
  background: #215489;
  color: #fff;
  padding: 40px 0 14px 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
}
.footer-menu a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #215489;
  background: #F5A623;
}
.company-contact-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.03rem;
  text-align: center;
}
.company-contact-footer img {
  height: 32px; width: auto;
}
.company-contact-footer a {
  color: #F5A623;
  text-decoration: underline;
  font-weight: 600;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-links a img {
  height: 30px;
  transition: filter 0.2s, transform 0.15s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: brightness(1.25) drop-shadow(0 2px 8px #F5A623);
  transform: scale(1.11);
}
.copyright {
  font-size: 0.96rem;
  color: #dbe8f8;
  text-align: center;
  margin-top: 8px;
}
@media (max-width: 768px) {
  footer .container, .footer-menu, .company-contact-footer, .social-links {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* --- CTA BOTTOM --- */
.section:last-child .content-wrapper {
  margin-bottom: 0;
}

/* --- UTILITIES & MISC --- */
ul.core-values {
  background: #e7eff7;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 18px 0 24px 0;
  list-style: disc inside;
  font-size: 1.08rem;
  color: #215489;
}
div.team-brief { margin-top: 22px; }
div.team-brief p { margin-top: 2px; }

/* --- Buttons, Inputs --- */
button, .cta-btn {
  transition: background 0.18s, box-shadow 0.16s, color 0.16s, transform 0.13s;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #F5A623!important;
  outline-offset: 2px;
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  a, button, .cta-btn, .main-nav a, .footer-menu a, .card, .service-highlight, .workshop-detail, .testimonial-card, .social-links a img {
    transition: all 0.22s cubic-bezier(.57,.23,.05,1);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
}
@media (max-width: 1000px) {
  .container { max-width: 97vw; }
}
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section, section { margin-bottom: 32px; padding: 23px 7px; }
  .card, .service-highlight, .workshop-detail { min-width: 0; padding: 13px 6px; }
}

/* ------------ COOKIE BANNER ----------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #1B446D;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 18px 20px 18px;
  box-shadow: 0 -4px 24px 0 rgba(33, 84, 137, 0.27);
  font-size: 1rem;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  animation: fadeInBanner 0.8s cubic-bezier(.5,.05,.15,1);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner .cookie-text {
  color: #fff;
  font-size: 1.03rem;
  margin-bottom: 0;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 26px;
  border: none;
  padding: 9px 24px;
  margin: 0;
  background: #e7eff7;
  color: #215489;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.13s;
}
.cookie-consent-banner button.accept {
  background: #F5A623;
  color: #fff;
}
.cookie-consent-banner button.accept:hover {
  background: #fff7df;
  color: #215489;
}
.cookie-consent-banner button.reject {
  background: #fff;
  color: #215489;
  border: 1.5px solid #ccc;
}
.cookie-consent-banner button.reject:hover {
  background: #f5f7fa;
}
.cookie-consent-banner button.settings {
  background: none;
  color: #fff;
  text-decoration: underline;
  padding: 9px 10px;
}
.cookie-consent-banner button.settings:hover {
  color: #F5A623;
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    padding: 14px 8px;
  }
  .cookie-consent-banner .cookie-btns { width: 100%; justify-content: flex-start; }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,84,137,0.78);
  z-index: 11111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  color: #215489;
  border-radius: 22px;
  padding: 38px 28px 26px 28px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 2px 38px 0 rgba(33,84,137,0.19);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInModal 0.46s cubic-bezier(.5,.05,.15,1);
  position: relative;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: #1B446D;
  font-size: 1.22rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category label {
  flex: 1;
  color: #215489;
}
.cookie-toggle {
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: #e7eff7;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  appearance: none;
  outline: none;
}
.cookie-toggle:checked {
  background: #F5A623;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 5px; top: 4px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 23px;
}
.cookie-modal .button-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  padding: 8px 20px;
  margin: 0;
  margin-top: 16px;
  background: #215489;
  color: #fff;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal button:hover {
  background: #F5A623;
  color: #215489;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #215489;
  cursor: pointer;
}
.cookie-modal .close-modal:focus { color: #F5A623; outline: 2px solid #F5A623; }

/* --- LISTS, CHECKLISTS, ETC --- */
.benefits-list, .level-explanations ul, .platform-suggestions ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 13px 0;
  padding-left: 1.2em;
}
.consultation-process ol {
  margin: 13px 0 7px 1.2em;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #215489;
  font-size: 1rem;
}
.level-explanations, .course-schedule, .schedule-overview, .consultation-process, .platform-suggestions {
  background: #e7eff7;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 15px 0 10px 0;
  width: 100%;
}

/* --- COLOR OVERRIDES & ACCESSIBILITY --- */
h2, h3, .feature-grid h3, .core-values strong, .testimonial-info span, .footer-menu a {
  color: #215489;
}
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #1B446D;
  background: #fff;
}
.testimonial-card img {
  height: 23px; width: auto;
}

/* --- THANK YOU, SUCCESS, ERROR STATES --- */
body.thankyou main section {
  background: #e7eff7;
  border-radius: 22px;
  box-shadow: 0 10px 48px rgba(245,166,35,.12);
}

/* --- DEPRECATED/ACCESSIBILITY (Ensure Not Overlap) --- */
section, .container, .content-wrapper, .card, .service-highlight, .course-entry, .workshop-detail, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* --- END --- */