/* --- CSS RESET & NORMALIZE --- */
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,main,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section { display: block; }
body { line-height: 1.5; }
ol,ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
*, *:before, *:after { box-sizing: border-box; }

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #21406C;
  --secondary: #F6F7FA;
  --accent: #FFB12E;
  --text: #222;
  --text-light: #fff;
  --border-radius: 18px;
  --shadow: 0 4px 24px 0 rgba(33,64,108,0.06);
  --shadow-card: 0 6px 32px 0 rgba(33,64,108,0.09);
  --transition: all 0.25s cubic-bezier(0.4,0.2,0.2,1);
  --section-padding: 40px 20px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--secondary);
  color: var(--text);
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(135deg,#DEE7F3 0%,#F6F7FA 100%);
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--primary);
}
h1 { font-size: 2.8rem; margin-bottom: 26px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.10rem; margin-bottom: 10px; }

p,li,span {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
}
p { margin-bottom: 18px; }

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  /* force stacking on small screens */
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* --- HEADER --- */
header {
  background: linear-gradient(90deg,#21406C 0%,#3A61AF 100%);
  box-shadow: 0 2px 16px rgba(33,64,108,.08);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 1rem;
}
header nav a:hover {
  background: rgba(255,255,255,0.08);
}
header .cta-btn {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  border-radius: 1.6em;
  padding: 8px 26px 8px 26px;
  margin-left: 24px;
  transition: var(--transition);
  box-shadow: 0 1px 8px 0 rgba(255,177,46, .08);
  display: inline-block;
}
header .cta-btn:hover, .cta-btn:focus {
  background: #ffd070;
  color: var(--primary);
  box-shadow: 0 2px 12px 0 rgba(255,177,46, .20);
}
header img {
  max-height: 45px;
  margin-right: 16px;
}
header .mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  display: none;
  margin-left: 24px;
  cursor: pointer;
  z-index: 1001;
  transition: color .2s;
}
header .mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,64,108,0.96);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.73,0,.30,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 19px;
  right: 21px;
  z-index: 1004;
  cursor: pointer;
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 90px;
  width: 85vw;
  max-width: 380px;
  padding: 16px 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  border-radius: 10px;
  padding: 13px 12px;
  transition: background .2s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* --- MAIN HERO SECTION --- */
.hero {
  min-height: 340px;
  background: linear-gradient(97deg,#FAF8F5 0%,#DEE7F3 100%);
  border-radius: var(--border-radius);
  margin-bottom: 38px;
  padding: 56px 0 56px 0;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
  color: var(--primary);
  background: linear-gradient(90deg,var(--primary) 65%,#335F91 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subheadline {
  font-size: 1.22rem;
  color: var(--primary);
  margin-bottom: 22px;
  font-weight: 400;
}
.hero .cta-btn {
  margin-top: 6px;
}

/* --- GENERIC FLEX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(33,64,108,0.13);
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 4px 18px 0 rgba(33,64,108,0.10);
  margin-bottom: 20px;
  max-width: 420px;
  min-width: 240px;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(33,64,108,0.18);
}
.testimonial-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.03rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 24px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

/* --- FEATURE/CARDS GRID VARIANTS --- */
.feature-grid, .course-overview-list, .course-list, .testimonial-slider, .testimonial-grid, .instructors-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 10px 0;
}
.feature-grid > div, .course-overview-list > div, .course-list > div, .instructors-bios > div {
  flex: 1 1 220px;
  min-width: 240px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px 0 rgba(33,64,108,0.07);
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .22s;
}
.feature-grid > div:hover, .course-overview-list > div:hover, .course-list > div:hover, .instructors-bios > div:hover {
  box-shadow: 0 10px 32px 0 rgba(33,64,108,0.15);
}

.testimonial-slider, .testimonial-grid {
  justify-content: flex-start;
  gap: 32px;
}
.testimonial-slider .testimonial-card, .testimonial-grid .testimonial-card {
  flex: 1 1 280px;
  min-width: 240px;
  background: #fff;
  color: #232b33;
}

.course-overview-list, .course-list {
  justify-content: flex-start;
  gap: 24px;
}

.instructors-bios {
  gap: 24px;
}
.instructors-bios > div span {
  background: var(--secondary);
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 500;
}

/* --- LISTS & UL VARIANTS --- */
.course-levels, .audience-segments, .benefits-list, .core-values, main ul {
  margin-top: 6px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: disc inside;
}
.core-values, .audience-segments, .benefits-list {
  list-style: none;
  padding-left: 0;
}
main ul li,
footer ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 400;
}
main ul li img, footer ul li img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
}

/* --- TABLES --- */
.course-dates-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 14px 0 22px 0;
  overflow: hidden;
}
.course-dates-table th, .course-dates-table td {
  padding: 12px 12px;
  text-align: left;
  color: var(--primary);
  border-bottom: 1px solid #e0e7ef;
}
.course-dates-table th {
  background: #EAF0F7;
  font-weight: 700;
}
.course-dates-table tr:last-child td {
  border-bottom: none;
}

/* --- BUTTONS/STYLED CTAS --- */
.cta-btn {
  background: var(--accent);
  color: var(--primary);
  border: none;
  outline: none;
  border-radius: 1.7em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 11px 34px;
  box-shadow: 0 2px 10px 0 rgba(255,177,46, .06);
  cursor: pointer;
  transition: var(--transition);
}
.cta-btn:hover,.cta-btn:focus {
  background: #ffd070;
  color: var(--primary);
}
button {
  font-family: inherit;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
}
footer .container {
  padding: 36px 24px 28px 24px;
}
footer .content-wrapper {
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-right: 24px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  opacity: .90;
  transition: color .15s;
}
footer nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
footer .social-media-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
footer .social-media-links a img { width: 32px; height: 32px; }
footer p { color: #c8ddfa; font-size: .96rem; margin: 11px 0 0 0; }
footer ul li {
  color: #dcedfc;
}
footer ul {
  margin: 10px 0 0 0;
}

/* --- BRAND MISSION & SPECIALTY CLASSES --- */
.brand-mission {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--primary);
  background: #EAF0F7;
  padding: 12px 19px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.founding-story {
  font-style: italic;
  color: var(--primary);
}

/* --- TEACHING PHILOSOPHY --- */
.teaching-philosophy {
  margin-top: 32px;
  padding: 16px 30px;
  background: #F6F7FA;
  border-radius: 14px;
}
.teaching-philosophy h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 825px) {
  .footer .content-wrapper,
  footer .content-wrapper,
  .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  footer .content-wrapper { gap: 16px; }
  .feature-grid, .course-overview-list, .course-list, .testimonial-slider, .testimonial-grid, .instructors-bios {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature-grid > div, .course-overview-list > div, .course-list > div, .instructors-bios > div {
    min-width: unset;
  }
  .testimonial-slider, .testimonial-grid {
    gap: 16px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .section { padding: 28px 8px; }
  .hero {
    padding: 32px 0 36px 0;
    min-height: 210px;
  }
  .content-wrapper { gap: 14px; }
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 98vw;
    padding: 16px 8px;
  }
  .card {
    min-width: unset;
    max-width: 98vw;
    padding: 15px 6px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature-item { padding: 14px 8px; }
  .course-overview-list > div, .feature-grid > div, .course-list > div, .instructors-bios > div {
    padding: 18px 10px;
  }
  footer .container {
    padding: 24px 8px 14px 8px;
  }
}
@media (max-width: 525px) {
  .container { padding: 0 4px; }
  .section { padding: 13px 2px; margin-bottom: 34px; }
  h1 { font-size: 1.45rem; margin-bottom: 13px; }
  .hero { padding: 18px 0 19px 0; border-radius: 0; }
}

/* --- TABLE ON MOBILE --- */
@media (max-width: 640px) {
  .course-dates-table th, .course-dates-table td {
    padding: 8px 4px;
    font-size: 0.92rem;
  }
}

/* --- ANIMATIONS AND MICRO-INTERACTIONS --- */
a, .cta-btn, button {
  transition: var(--transition);
}
.cta-btn:active { transform: scale(0.98); }

/* Focus states for accessibility */
a:focus, .cta-btn:focus, button:focus, input:focus, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #21406C;
  box-shadow: 0 -4px 28px 0 rgba(33,64,108,0.09);
  z-index: 2002;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 17px 12px 14px 12px;
  font-size: 1rem;
  animation: cookie-slide-in .7s cubic-bezier(.7,.2,.4,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p { margin-right: 10px; color: var(--primary); font-size: 1rem; }
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 11px;
  align-items: center;
}
.cookie-consent-banner button, .cookie-consent-banner .cookie-settings-btn {
  border-radius: 1.7em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: .98rem;
  border: none;
  padding: 7px 18px;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-consent-banner .accept-btn {
  background: var(--accent);
  color: var(--primary);
}
.cookie-consent-banner .accept-btn:hover { background: #ffd070; }
.cookie-consent-banner .reject-btn {
  background: #dde6f2;
  color: var(--primary);
}
.cookie-consent-banner .reject-btn:hover { background: #b2c9e9; }
.cookie-consent-banner .cookie-settings-btn {
  background: transparent;
  color: var(--primary);
  text-decoration: underline;
  padding: 7px 11px;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(61,84,126,.34);
  z-index: 2003;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #f6f7fa;
  color: #21406c;
  border-radius: 20px;
  box-shadow: 0 7px 40px 0 rgba(33,64,108,0.18);
  padding: 30px 24px 20px 24px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: cookie-modal-slide .3s cubic-bezier(.57,.17,.44,1);
}
@keyframes cookie-modal-slide {
  from { transform: translateY(70px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 7px;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 10px 0 4px 0;
}
.cookie-category input[type='checkbox'] {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  accent-color: var(--accent);
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
}
.cookie-modal .close-modal {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  position: absolute;
  top: 20px;
  right: 22px;
  cursor: pointer;
  outline: none;
}
.cookie-modal .modal-footer {
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-footer button {
  font-size: 1rem;
  font-weight: 700;
  border-radius: 1.3em;
  padding: 7px 15px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 1px 10px 0 rgba(255,177,46, .07);
  transition: var(--transition);
}
.cookie-modal .modal-footer button:hover {
  background: #ffd070;
}

/* --- UTILITIES & MICROS --- */
.bold { font-weight: 700; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-24 { margin-bottom: 24px; }
.text-accent { color: var(--accent); }
.bg-accent { background: var(--accent); color: var(--primary); }

/* --- VISUALS / ICONS --- */
img[alt*='star'] {
  width: 20px;
  height: 20px;
  display: inline;
  vertical-align: middle;
}

/* --- OVERLAP PREVENTION / SPACING RULES --- */
section, .section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card, .feature-item, .testimonial-card, .content-wrapper > div, .instructors-bios > div {
  margin-bottom: 20px !important;
}
.feature-grid, .course-list, .instructors-bios, .testimonial-slider, .testimonial-grid, .card-container, .content-grid {
  gap: 24px !important;
}
.text-image-section {
  gap: 30px !important;
}
/* Make sure no elements overlap */
section + section, .section + .section, .content-wrapper > * + * {
  margin-top: 20px !important;
}

/* --- DARK TEXT ON TESTIMONIALS --- */
.testimonial-card, .testimonial-card p, .testimonial-meta span {
  color: #232b33 !important;
  background: #fff !important;
}

/* --- HIDE SCROLLBAR FOR OVERFLOW IN SLIDERS (DESKTOP ONLY) --- */
@media (min-width: 900px) {
.testimonial-slider, .testimonial-grid {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #dee7f3 #fff;
}
}

/* --- NO GRID/COLUMN PROPERTIES --- */
/* Lint check: Never use display: grid/columns/grid-* props */
