/* --- 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, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #fff;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px 0;
}
a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #205961;
  outline: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #111;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p, li, span {
  color: #222;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: #111;
}

/* --- GLOBAL CONTAINERS & WRAPPERS --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(36,36,36,0.04);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .container {
    padding: 0 10px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}

/* --- HEADER/NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 18px 20px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 36px;
}
.main-nav {
  display: flex;
  font-family: 'Montserrat', Arial, sans-serif;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.25s;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #205961;
  transition: width 0.23s cubic-bezier(0.4,0,0.2,1);
  border-radius: 2px;
  margin-top: 2px;
}
.main-nav a:hover::after, .main-nav a.active::after {
  width: 80%;
}

.cta-btn {
  margin-left: 36px;
  background: #111;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  padding: 12px 32px;
  border-radius: 30px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  box-shadow: 0 2px 16px 0 rgba(30,30,30,0.08);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: #205961;
  border: 2px solid #205961;
  box-shadow: 0 6px 32px 0 rgba(30,30,30,0.11);
}

header .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #205961;
  font-size: 2rem;
  margin-left: 18px;
  cursor: pointer;
  z-index: 1201;
  transition: color 0.18s;
}
header .mobile-menu-toggle:focus {
  outline: 2px solid #205961;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 15px;
  }
  .cta-btn { margin-left: 12px; padding: 11px 18px; }
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; gap: 15px; }
  .cta-btn { font-size: 0.98rem; padding: 10px 13px; }
  header img { height: 33px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    padding: 13px 16px;
    font-size: 1rem;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  z-index: 1500;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,27,27,0.96);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.77,0,0.18,1);
  will-change: transform;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  color: #fff;
  background: none;
  border: none;
  font-size: 2.3rem;
  margin: 19px 32px 10px 0;
  cursor: pointer;
  transition: color 0.13s;
  z-index: 1510;
  outline: none;
}
.mobile-menu-close:focus {
  color: #C6793A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 45px 38px 20px 40px;
  gap: 28px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  width: 100%;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C6793A;
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* --- MAIN CONTENT LAYOUTS: FLEXBOX ONLY --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fafafd;
  border: 1px solid #ededed;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(30,30,30,0.06);
  padding: 32px 28px;
  min-width: 220px;
  flex: 1 1 300px;
  transition: box-shadow 0.18s, border-color 0.15s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(36,36,36,0.14);
  border-color: #C6793A;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid { flex-direction: column !important; gap: 20px; }
  .card-container { flex-direction: column; gap: 18px; }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; align-items: stretch; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin: 0 0 20px 0;
  background: #fafafd;
  border-left: 5px solid #205961;
  border-radius: 12px;
  box-shadow: 0 1px 10px 0 rgba(44,44,44,0.06);
}
.testimonial-card p {
  color: #222;
  font-size: 1.04rem;
  margin: 0 0 6px 0;
}
.testimonial-card span {
  color: #222;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.93rem;
  margin-left: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

.text-section {
  margin-bottom: 16px;
  padding: 0 0 12px 0;
}

/* --- TABLE STYLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(0,0,0,0.06);
  margin-bottom: 28px;
  overflow: hidden;
  font-size: 1.01rem;
}
thead {
  background: #222;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
th, td {
  padding: 13px 17px;
  border-bottom: 1px solid #ececec;
  text-align: left;
}
th {
  font-weight: bold;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #f3f3f3;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  th, td {
    padding: 11px 10px;
    border: none;
    border-bottom: 1px solid #ededed;
  }
}
/* --- SCHEDULE & FILTERS --- */
.schedule-table {
  font-size: 1rem;
}
.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.filters strong { color: #111; }
.filters span {
  background: #222;
  color: #fff;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 0.96rem;
}

/* --- FOOTER --- */
footer {
  background: #111;
  color: #fff;
  font-size: 1rem;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px 20px;
}
footer img {
  height: 38px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #eee;
  opacity: 0.87;
  font-size: 0.97rem;
  transition: color 0.18s, opacity 0.17s;
}
.footer-nav a:hover { color: #C6793A; opacity: 1; }
.contact-info {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.82;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 12px;
  }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 10px 18px; }
}

/* --- BUTTONS, LINKS, INTERACTIVES --- */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  border: none;
}
button::-moz-focus-inner { border: 0; }
::-webkit-input-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

/* Subtle shadow for cards, sections, and floating elements */
.card, .testimonial-card, section, .section {
  box-shadow: 0 3px 22px 0 rgba(0,0,0,0.06);
}

/* --- UTILITIES --- */
.text-center { text-align: center; }
.flex-row, .instructor-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
@media (max-width: 800px) {
  .flex-row, .instructor-grid { flex-direction: column; gap: 18px; }
}

/* --- SPECIALS --- */
.instructor-grid {
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.instructor-grid .text-section {
  background: #F5F5F7;
  border-radius: 14px;
  box-shadow: 0 1px 9px 0 rgba(42,42,42,0.05);
  padding: 20px 22px;
  flex: 1 1 260px;
  margin-bottom: 10px;
  min-width: 220px;
  transition: box-shadow 0.2s;
}
.instructor-grid .text-section:hover {
  box-shadow: 0 3px 18px 0 rgba(22,22,22,0.14);
}

/* --- MONOCHROME SOPHISTICATED PALETTE ADJUSTMENTS --- */
body, .section, .content-wrapper, .card, .testimonial-card, .instructor-grid .text-section {
  background: #fff;
  color: #222;
}
h1, h2, h3, h4, h5, h6, strong, .cta-btn, .filters span, thead {
  color: #111;
}
.cta-btn {
  background: #111;
  color: #fff; /* monochrome btn by default */
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff !important;
  color: #205961 !important;
  border: 2px solid #205961 !important;
}

/* subtle accent for pressed/active */
.cta-btn:active {
  background: #222;
  color: #fff;
}

/* --- LISTS & CHECKS --- */
ul li {
  position: relative;
  padding-left: 21px;
  margin-bottom: 9px;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: #111;
  border-radius: 50%;
}
.section ul li strong {
  color: #205961;
}

/* --- ANIMATIONS --- */
.card, .testimonial-card, .instructor-grid .text-section, .cta-btn {
  transition: box-shadow 0.25s, border-color 0.18s, background 0.15s, color 0.15s;
}
.section, .card, .testimonial-card {
  transition: box-shadow 0.22s cubic-bezier(.2,.3,.4,1), background 0.13s, border-color 0.19s;
}

/* --- RESPONSIVE FONT ADJUSTMENTS --- */
@media (max-width: 420px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.15rem; }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  width: 100%;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  box-shadow: 0 -3px 20px 0 rgba(30,30,30,0.12);
  padding: 22px 0 12px 0;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.43s cubic-bezier(0.7,0,0.3,1);
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-consent-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.cookie-consent-text {
  flex: 2;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-consent-actions {
  flex: 1;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  background: #fff;
  border: none;
  color: #111;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 8px 21px;
  margin-top: 0;
  cursor: pointer;
  box-shadow: 0 1px 5px 0 rgba(34,34,34,0.08);
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  outline: none;
}
.cookie-btn.accept {
  background: #205961;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #fff;
  color: #205961;
  border: 2px solid #205961;
}
.cookie-btn.reject {
  background: #fff;
  color: #C6793A;
  border: 2px solid #C6793A;
}
.cookie-btn.reject:hover { background: #C6793A; color: #fff; }
.cookie-btn.settings {
  background: #f5f3eb;
  color: #111;
  border: 1px solid #f5f3eb;
}
.cookie-btn.settings:hover {
  background: #205961;
  color: #fff;
  border: 2px solid #205961;
}

@media (max-width: 900px) {
  .cookie-consent-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-consent-actions { justify-content: flex-start; gap: 9px; }
}
@media (max-width: 500px) {
  .cookie-consent-inner { padding: 0 5px; }
  .cookie-btn { padding: 8px 13px; font-size: 0.97rem; }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  z-index: 5100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.34s cubic-bezier(.33,.3,0,1);
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-dialog {
  background: #fff;
  max-width: 420px;
  width: 86vw;
  padding: 32px 20px 20px 20px;
  border-radius: 18px;
  box-shadow: 0 12px 64px 0 rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  font-size: 1rem;
  color: #222;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #222;
  cursor: pointer;
  margin-left: 12px;
  transition: color 0.13s;
}
.cookie-modal-close:focus { color: #205961; }

.cookie-modal-section {
  padding: 0 0 12px 0;
}
.cookie-modal-categories label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-modal-categories input[type="checkbox"] {
  accent-color: #C6793A;
  width: 16px;
  height: 16px;
}
.cookie-modal-categories .essential label,
.cookie-modal-categories .essential input {
  pointer-events: none;
  opacity: 0.68;
}
.cookie-modal-actions {
  margin-top: 24px;
  width: 100%;
  display: flex;
  gap: 14px;
}
.cookie-modal-actions .cookie-btn {
  flex: 1;
}

@media (max-width:600px) {
  .cookie-modal-dialog { padding: 17px 6px 13px 6px; }
}

/* --- MONOCHROME TWEAKS --- */
::-webkit-scrollbar {
  width: 8px;
  background: #e4e4e4;
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 8px;
}

/* --- FORMS (if exist) --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: #222;
  background: #fafafd;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 10px;
  margin: 8px 0 18px 0;
  width: 100%;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #205961;
  outline: none;
}

/* --- SPACING/ALIGNMENT CSS FROM REQUIREMENTS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Z-INDEX & PREVENTING OVERLAPS --- */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal { z-index: 1000; }
main, .section, .card, .testimonial-card, .instructor-grid .text-section {
  z-index: 1;
}

/* --- MINIMAL FOCUS/RING FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #C6793A;
  outline-offset: 1px;
}

/* --- PRINT SUPPORT (OPTIONAL for sophistication) --- */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  .section, .container { box-shadow: none !important; background: #fff !important; }
  body { color: #000; background: #fff; }
}
