/* =========================
   Reset & Base Styles
=========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F9F6F1;
  color: #24395E;
  font-family: 'Roboto', serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.75em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  color: #24395E;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 0.8em;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.125rem;
  color: #24395E;
}
p {
  margin-bottom: 1.2em;
}
strong {
  font-weight: 700;
}
blockquote {
  border-left: 4px solid #86CEC7;
  padding-left: 1em;
  margin: 1.2em 0;
  font-style: italic;
  color: #2e435c;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  align-items: center;
  text-align: center;
}

/* =========================
   Header & Navigation
=========================== */
header {
  background: #fff;
  border-bottom: 1px solid #E6E6E6;
  box-shadow: 0 2px 8px 0 rgba(36, 57, 94, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 32px;
}
header a img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #24395E;
  padding: 3px 0;
  position: relative;
}
.main-nav a:after {
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background: #86CEC7;
  transition: width 0.3s;
  border-radius: 1px;
  margin-top: 2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 32px;
  padding: 0.75em 2em;
  outline: none;
  border: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(36,57,94,0.07);
}
.btn-primary {
  background: #24395E;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #86CEC7;
  color: #24395E;
}
.btn-secondary {
  background: #86CEC7;
  color: #24395E;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #24395E;
  color: #fff;
}

/* Hamburger mobile button */
.mobile-menu-toggle {
  display: none;
  background: #24395E;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 32px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #86CEC7;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F9F6F1;
  box-shadow: 0 8px 32px 0 rgba(36,57,94,0.06);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 48px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: #fff;
  color: #24395E;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  border-radius: 24px;
  width: 44px;
  height: 44px;
  box-shadow: 0 2px 8px rgba(36,57,94,0.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.25rem;
  padding: 10px 0;
  color: #24395E;
  font-weight: 500;
  transition: color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #86CEC7;
}

/* Hide navigation on mobile, show hamburger */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .btn-primary[href="contact.html"] {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   Hero and Section Layouts
=========================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  section {
    padding: 30px 8px;
    margin-bottom: 40px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* =========================
   Card Patterns
=========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 1px solid #E6E6E6;
  box-shadow: 0 2px 12px rgba(36,57,94,0.07);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 220px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 6px 20px rgba(36,57,94,0.14);
  z-index: 2;
}

/* Service cards (courses, workshops, etc) */
.service-cards, .course-list, .workshop-list, .coaching-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border: 1px solid #E6E6E6;
  box-shadow: 0 2px 10px rgba(36,57,94,0.05);
  border-radius: 18px;
  padding: 28px 22px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  min-width: 215px;
  transition: box-shadow 0.18s, border 0.2s;
  gap: 18px;
}
.service-card h3 {
  color: #24395E;
  font-size: 1.25rem;
  margin-bottom: 0.3em;
}
.service-card p {
  font-size: 1rem;
  color: #465a78;
}
.service-card strong {
  color: #86CEC7;
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .service-cards, .course-list, .workshop-list, .coaching-options {
    flex-direction: column;
  }
}

/* Feature list/grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(36,57,94,0.06);
  padding: 24px 20px;
  flex: 1 1 265px;
  min-width: 190px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.18s;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item h3 {
  font-size: 1.1rem;
  color: #24395E;
}
.feature-item p {
  color: #495e7e;
  font-size: 0.98rem;
}
.feature-item:hover {
  box-shadow: 0 4px 18px rgba(36,57,94,0.10);
  border-color: #86CEC7;
  z-index: 2;
}

/* =========================
   Testimonials & Reviews
=========================== */
.testimonials-slider, .testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #C4D4DF;
  box-shadow: 0 2px 12px 0 rgba(36,57,94,0.09);
  max-width: 420px;
  min-width: 230px;
  flex: 1 1 300px;
}
.testimonial-card p {
  color: #24395E;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-meta {
  font-size: 0.96rem;
  color: #465a78;
  margin-bottom: 0;
}
.star-rating {
  font-size: 1.3rem;
  color: #F4C150;
  letter-spacing: 0.1em;
}

.before-after {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #f2f4f7;
  border-radius: 12px;
  padding: 18px 24px;
  border: 1px solid #dee7ed;
}
.before-after blockquote {
  border-left: 2px solid #86CEC7;
  font-size: 1rem;
  color: #24395E;
}

@media (max-width: 700px) {
  .testimonials-slider, .testimonials-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* =========================
   Instructor Profiles (About)
=========================== */
.instructor-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.instructor-snippet {
  background: #f2f6f6;
  border-radius: 12px;
  border: 1px solid #dee7ed;
  padding: 18px 18px;
  min-width: 180px;
  flex: 1 1 220px;
}
.instructor-snippet h4 {
  margin-bottom: 0.35em;
}

/* =========================
   Social Links (Contact)
=========================== */
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.social-links a {
  display: flex;
  align-items: center;
  transition: transform 0.14s;
}
.social-links a:hover {
  transform: scale(1.10);
}
.social-links img {
  width: 28px;
  height: 28px;
}

/* =========================
   Footer
=========================== */
footer {
  background: #fff;
  border-top: 1px solid #e6e6e6;
  margin-top: 60px;
  padding: 16px 0 0 0;
}
footer .container {
  justify-content: center;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  opacity: 0.9;
  transition: color 0.2s, text-decoration 0.2s;
  color: #24395E;
}
.footer-nav a:hover {
  color: #86CEC7;
  text-decoration: underline;
}
footer p {
  font-size: 0.93rem;
  color: #657891;
  margin: 0 0 18px 0;
  text-align: center;
}

/* =========================
   List, Contact & Utility
=========================== */
ul li, ol li {
  margin-bottom: 0.7em;
  font-size: 1rem;
}
section ul li img {
  vertical-align: middle;
  margin-right: 10px;
  width: 20px;
  height: 20px;
}
span {
  font-weight: 500;
}

/* =========================
   Cookie Consent Banner
=========================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #24395e;
  color: #fff;
  z-index: 2400;
  box-shadow: 0 -4px 18px 0 rgba(36,57,94,0.11);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.35s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn,
.cookie-btn-primary,
.cookie-btn-secondary {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  padding: 0.55em 1.3em;
  margin: 0;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn-primary {
  background: #86CEC7;
  color: #24395E;
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #fff;
  color: #24395E;
  outline: 2px solid #86CEC7;
}
.cookie-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid #86CEC7;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #86CEC7;
  color: #24395E;
}
.cookie-btn {
  background: #fff;
  color: #24395E;
  border: 1.5px solid #24395E;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #24395E;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 57, 94, 0.62);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #24395E;
  border-radius: 22px;
  padding: 40px 28px;
  width: 97vw;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(36,57,94,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2520;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.7em;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #E6E6E6;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  outline: none;
  border: none;
  appearance: none;
}
.cookie-toggle:checked {
  background: #86CEC7;
}
.cookie-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1.5px;
  left: 2.5px;
  transition: transform 0.18s;
  box-shadow: 0 1px 4px rgba(36,57,94,0.11);
}
.cookie-toggle:checked::after {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-btn-secondary {
  background: #fff;
  color: #24395E;
  border-color: #86CEC7;
}
.cookie-modal .cookie-btn-secondary:hover {
  background: #86CEC7;
  color: #fff;
}

/* =========================
   Animation & Interactions
=========================== */
.btn-primary, .btn-secondary, .service-card, .feature-item, .testimonial-card, .card {
  transition: background 0.18s, color 0.13s, box-shadow 0.22s, border 0.2s, transform 0.1s;
}
.btn-primary:active, .btn-secondary:active {
  transform: translateY(1.5px) scale(0.98);
}
.service-card:active, .feature-item:active {
  transform: scale(0.987);
}
.main-nav a:focus-visible, .footer-nav a:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid #86CEC7;
  outline-offset: 4px;
}

/* =========================
   Responsive Typography
=========================== */
@media (max-width: 1190px) {
  h1 { font-size: 2.125rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.03rem; }
  .container { padding: 0 6px; }
}

/* =========================
   Utilities
=========================== */
.hide { display: none !important; }

/* Accessibility */
:focus {
  outline: 2px solid #86CEC7;
  outline-offset: 1px;
}

/* =========================
   Print Styles
=========================== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body { color: #000; background: #fff; }
  section { background: #fff; }
}
