/* ===== CSS RESET & NORMALIZE ===== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #222;
  background: #F7F6F2;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol { padding-left: 24px; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; padding: 12px 16px; }
th { font-weight: 700; background: #ece9dd; color: #293980; }
td { background: #fff; border-bottom: 1px solid #ece7cb; }

/* ===== VARIABLES ===== */
:root {
  --color-primary: #293980;
  --color-secondary: #34A77D;
  --color-accent: #F7F6F2;
  --color-gold: #C9A44C;
  --color-dark: #181825;
  --color-light: #fff;
  --color-muted: #ece9dd;
  --color-shadow: rgba(60,44,17,0.09);

  --font-display: 'Montserrat', 'Open Sans', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ===== GENERAL CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ===== HEADINGS/TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.18;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; margin-top: 16px; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem;  }
h5 { font-size: 0.99rem; }
p, ul, ol, table { margin-bottom: 16px; }
ul, ol { font-size: 1rem; }

strong { font-weight: 600; }
em { font-style: italic; }

/* Remove default list styling and add luxury dots */
ul:not([class]), ol:not([class]) {
  list-style: none;
  padding-left: 0;
}
ul:not([class]) li, ol:not([class]) li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}
ul:not([class]) li:before, ol:not([class]) li:before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  display: inline-block;
}

/* ===== PRIMARY BUTTON / CTA ===== */
.primary-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  border-radius: 32px;
  background: var(--color-primary);
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow: 0 2px 10px var(--color-shadow);
  letter-spacing: 0.03em;
  transition: background 0.25s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  margin-top: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  text-shadow: 0 1px 1px #fff6, 0 2px 8px #0001;
}
.primary-cta:hover,
.primary-cta:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.035);
}

/* ===== LINKS ===== */
a {
  color: var(--color-primary);
  transition: color 0.21s;
}
a:hover, a:focus {
  color: var(--color-gold);
  text-decoration: underline;
}

/* ===== HEADER ===== */
header {
  background: var(--color-light);
  box-shadow: 0 2px 12px rgba(201,164,76,0.04);
  border-bottom: 2px solid var(--color-gold);
  position: sticky;
  top: 0;
  z-index: 2000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--color-primary);
  padding: 6px 0;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  border-radius: 2px;
  width: 0%;
  background: var(--color-gold);
  transition: width 0.21s;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.main-nav .primary-cta {
  margin: 0 0 0 12px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-gold);
  padding: 8px;
  border-radius: 6px;
  background: var(--color-primary);
  border: 2px solid var(--color-gold);
  transition: background 0.18s, color 0.18s;
  z-index: 2500;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(40,54,120,0.98);
  z-index: 3000;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.66,.06,.31,1.19);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 26px 12px 0;
  font-size: 2.2rem;
  color: var(--color-gold);
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 3050;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 1.35rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(249,239,163,0.07);
  transition: color 0.2s, background 0.3s;
  border-radius: 0 2px 2px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.09);
  color: #fff;
  padding-left: 8px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(120deg, #fff 75%, #f9f6ed 100%);
  padding-top: 32px; padding-bottom: 36px;
  border-bottom: 3px solid var(--color-gold);
}
.hero .container { min-height: 310px; }
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.4rem;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.18rem;
  max-width: 540px;
  color: var(--color-dark);
}

/* ===== SPACING AND FLEX ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 18px var(--color-shadow);
  overflow: hidden;
}
.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: 16px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 24px;
  max-width: 640px;
  border-left: 6px solid var(--color-gold);
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 36px var(--color-shadow);
  border-left: 8px solid var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section { gap: 14px; }

/****** PAGE-SPECIFIC FLEX LAYOUTS ******/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
  list-style: none;
}
.feature-grid li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 22px 28px 18px 28px;
  min-width: 220px;
  flex: 1 1 210px;
  max-width: 290px;
  display: flex; flex-direction: column; align-items: flex-start;
  border-left: 4px solid var(--color-gold);
  transition: transform 0.15s, box-shadow 0.18s, border-color 0.18s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 8px 28px var(--color-shadow);
  border-left: 5px solid var(--color-secondary);
}
.feature-grid img { width: 36px; height: 36px; margin-bottom: 10px; }

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin-bottom: 24px;
}
.service-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 20px 26px 16px 26px;
  min-width: 210px;
  flex: 1 1 190px;
  max-width: 275px;
  margin-bottom: 10px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.service-list li:hover {
  box-shadow: 0 8px 28px var(--color-shadow);
  transform: translateY(-2px) scale(1.02);
}

.service-detailed-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-detailed-list li {
  background: #fff;
  padding: 22px 32px 18px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 20px;
  flex: 1 1 320px;
  max-width: 490px;
  min-width: 260px;
  border-left: 4px solid var(--color-gold);
  transition: box-shadow 0.17s, border-color 0.13s;
}
.service-detailed-list li:hover, .service-detailed-list li:focus-within {
  border-left: 5px solid var(--color-secondary);
  box-shadow: 0 8px 28px var(--color-shadow);
}

/****** FAQ LIST (Pricing) ******/
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 20px 22px;
  min-width: 220px;
  max-width: 340px;
  border-left: 4px solid var(--color-secondary);
  margin-bottom: 20px;
}

/****** TESTIMONIALS ******/
.stars {
  color: var(--color-gold);
  font-size: 1.22em;
  margin-left: 6px;
  display: inline-block;
  letter-spacing: 1px;
}
blockquote {
  font-family: var(--font-body);
  font-size: 1.1em;
  position: relative;
  color: #222;
  margin-bottom: 10px;
}
.testimonial-card blockquote:before {
  content: '\201C';
  color: var(--color-gold);
  font-size: 2.3em;
  line-height: 0.3em;
  vertical-align: -0.4em;
  margin-right: 7px;
}
.testimonial-card blockquote:after {
  content: '';
}
.testimonial-card div {
  font-size: 1em;
  color: var(--color-primary);
  margin-top: 8px;
  font-family: var(--font-display);
}

/****** CTA BANNER ******/
.cta-banner {
  background: var(--color-primary);
  color: var(--color-gold);
  padding: 38px 0;
  margin-top: 42px;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 18px var(--color-shadow);
}
.cta-banner .container { align-items: center; }
.cta-banner .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
}
.cta-banner h2 { color: var(--color-gold); }
.cta-banner p { color: #fff; font-size: 1.12rem; }
.cta-banner .primary-cta {
  background: var(--color-gold);
  color: var(--color-primary);
  border: 2px solid #fff;
}
.cta-banner .primary-cta:hover {
  background: #fff;
  color: var(--color-gold);
}

/****** FOOTER ******/
footer {
  background: var(--color-muted);
  border-top: 2px solid var(--color-gold);
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  padding-bottom: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 0.8;
  transition: color 0.15s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-gold);
  opacity: 1;
}
footer p {
  font-size: 0.98rem;
  color: #626262;
}

/****** TABLES for PRICING & COURSE PAGES ******/
table {
  width: 100%;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px var(--color-shadow);
}
th, td {
  border-bottom: 1px solid #ece7cb;
}
tr:last-child td { border-bottom: none; }
thead tr { background: #f7f6f2; }

/* Thank you page section */
.thank-you .container { min-height: 340px; }
.thank-you .content-wrapper {
  text-align: center;
  align-items: center;
  gap: 22px;
}
.thank-you .primary-cta { margin: 18px auto 0 auto; }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 51000;
  background: #fffbea;
  border-top: 2px solid var(--color-gold);
  box-shadow: 0 -2px 14px var(--color-shadow);
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: center;
  font-size: 1rem;
  animation: cookie-banner-slide-up 0.7s cubic-bezier(.64,.08,.43,.94);
}
@keyframes cookie-banner-slide-up {
  from { transform: translateY(70px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 420px;
  color: #222;
}
.cookie-banner button {
  font-family: var(--font-display);
  border-radius: 24px;
  font-size: 1rem;
  margin-left: 12px;
  margin-right: 3px;
  border: 2px solid var(--color-gold);
  background: #fff;
  color: var(--color-primary);
  padding: 10px 21px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-weight: 700;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-banner .accept {
  background: var(--color-gold);
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--color-primary);
  color: var(--color-gold);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(40,54,120,0.62);
  z-index: 52000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.3s cubic-bezier(.38,.51,.52,.9);
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffbea;
  border-radius: 14px;
  box-shadow: 0 12px 40px var(--color-shadow);
  padding: 32px 26px 24px 26px;
  min-width: 310px;
  max-width: 98vw;
  max-height: 90vh;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal h2 { color: var(--color-primary); font-size: 1.3rem; margin-bottom: 10px; }
.cookie-modal .close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  font-size: 1.7rem;
  color: var(--color-gold);
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0 18px 0;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-gold);
  width: 16px; height: 16px;
}
.cookie-modal button {
  font-family: var(--font-display);
  padding: 10px 24px;
  border-radius: 22px;
  font-size: 1rem;
  border: 2px solid var(--color-gold);
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 10px;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.cookie-modal button.accept {
  background: var(--color-gold);
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
}
.cookie-modal button.accept:hover,
.cookie-modal button.accept:focus {
  background: var(--color-primary);
  color: var(--color-gold);
}
.cookie-modal button:focus,
.cookie-modal button:hover { background: var(--color-gold); color: var(--color-primary); }

/* ===== RESPONSIVE DESIGN (MOBILE FIRST) ===== */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding-left: 12px; padding-right: 12px;
  }
  .main-nav { gap: 13px; }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .service-detailed-list, .faq-list, .content-grid {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .card-container { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 10px; }
  .section { margin-bottom: 36px; padding: 30px 8px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container {
    padding-left: 4vw; padding-right: 4vw; max-width: 100vw;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    padding: 10px 4vw 10px 4vw;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav { flex-direction: column; gap: 5px; }
  .feature-grid li, .service-list li, .service-detailed-list li, .faq-list > div {
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    padding-left: 12px; padding-right: 12px;
    box-sizing: border-box;
  }
  .cta-banner {
    border-radius: 24px 24px 0 0;
    padding: 24px 0;
    margin-top: 28px;
  }
  .testimonial-card { padding: 16px 12px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.12rem; }
  .hero .content-wrapper { padding-top: 12px; }
  .section { margin-bottom: 18px; padding: 22px 0 22px 0; }
  .footer .container, footer .container {
    flex-direction: column;
    gap: 6px;
    padding-top: 16px;
  }
  .cta-banner {
    border-radius: 12px 12px 0 0;
    padding: 16px 0;
    margin-top: 14px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ===== MINOR EFFECTS ===== */
.card, .service-list li, .feature-grid li, .service-detailed-list li {
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .service-list li:hover, .feature-grid li:hover, .service-detailed-list li:hover {
  box-shadow: 0 8px 32px var(--color-shadow);
  transform: translateY(-1px) scale(1.015);
}

/* ===== HIDE MOBILE MENU BY DEFAULT ===== */
.mobile-menu { display: flex; pointer-events: none; opacity: 0; }
.mobile-menu.active { pointer-events: auto; opacity: 1; transition: opacity 0.36s; }

/***** UTILITIES *****/
.muted { color: #848484; font-size: 0.98em; }
.d-flex {display: flex !important;}
.text-center { text-align: center !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.rounded { border-radius: 16px !important; }
.shadowed { box-shadow: 0 2px 14px var(--color-shadow); }

/* ===== REMOVE OUTLINES VISUALLY, KEEP FOR ACCESSIBILITY ===== */
:focus { outline: 2px solid var(--color-gold); outline-offset: 2px; }
:active { outline: 1.5px solid var(--color-primary); }

/* ===== OVERRIDE AUTOFILL ===== */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  background-color: #fffbea !important;
  box-shadow: 0 0 0 30px #fffbea inset !important;
  color: #293980 !important;
  caret-color: #293980 !important;
}

/***** SCROLLBAR STYLING FOR LUXURY EFFECT *****/
body {
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) #F7F6F2;
}
body::-webkit-scrollbar {
    width: 12px;
    background: #F7F6F2;
}
body::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 15px;
    border: 3px solid #F7F6F2;
}
body::-webkit-scrollbar-thumb:hover {
    background: #b89c4e;
}

/***** LUXURY DIVIDER (for cards and sections) *****/
.luxury-divider {
  width: 48px; height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
  margin: 20px auto 0 auto;
}

/* ===== PRINT STYLES (no shadow/CTA) ===== */
@media print {
  header, nav, footer, .primary-cta, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body, .container, .section { background: #fff !important; color: #222 !important; }
}
