/* ----------------------------------------------------------
   CSS RESET & BASE TYPOGRAPHY
---------------------------------------------------------- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F7FA;
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #20396D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B59D5B;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
}
::-webkit-input-placeholder { color: #9399A5; }
::-moz-placeholder { color: #9399A5; }
:-ms-input-placeholder { color: #9399A5; }
::placeholder { color: #9399A5; }

/* ----------------------------------------------------------
   LUXURY PREMIUM PALETTE & BRAND FONTS WITH GOLD ACCENT
---------------------------------------------------------- */
:root {
  --brand-primary: #20396D;
  --brand-secondary: #36B37E;
  --brand-accent: #F5F7FA;
  --gold: #B59D5B;
  --dark: #181A1F;
  --grey: #EEF1F7;
  --white: #FFFFFF;
  --cta-gradient: #B59D5B;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}

/* ----------------------------------------------------------
   CONTAINER, SPACING & FLEX GLOBALS
---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(32, 57, 109, 0.06);
  position: relative;
}
/* Section override for hero */
.hero {
  padding-top: 64px;
  padding-bottom: 64px;
  background: var(--white);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 12px 40px rgba(32, 57, 109, 0.05);
}

/* ----------------------------------------------------------
   TYPOGRAPHY SCALE & HEADINGS
---------------------------------------------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -1px;
  margin-bottom: 8px;
  line-height: 1.13;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 6px;
  line-height: 1.25;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 5px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}
p, li, label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #222;
  margin-bottom: 0;
}
strong {
  color: var(--brand-primary);
  font-family: var(--font-display);
}

/* Typography Responsive */
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.375rem; }
  h3, .h3 { font-size: 1.08rem; }
}

/* ----------------------------------------------------------
   HEADER & NAVIGATION MENU
---------------------------------------------------------- */
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(32,57,109,0.05);
  padding: 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 0;
}
/* logo sizing */
header img {
  max-height: 46px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  font-family: var(--font-display);
  font-size: 1rem;
}
.main-nav a {
  color: var(--dark);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a.cta {
  background: var(--gold);
  color: #fff;
  padding: 10px 30px;
  border-radius: 50px;
  margin-left: 6px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 12px 0 rgba(181,157,91,0.08);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(32,57,109,0.13);
}

/* Hamburger menu */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2.2rem;
  padding: 8px 12px;
  margin-left: 10px;
  border-radius: 6px;
  display: none;
  cursor: pointer;
  transition: background 0.13s;
  z-index: 1101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-secondary);
  color: var(--white);
}

/* -----------------------------------------------------
   MOBILE NAVIGATION MENU (SLIDE IN)
----------------------------------------------------- */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,57,109,0.95);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.45s cubic-bezier(.53,.21,0,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 30px 0 16px 28px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 1120;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--gold);
}
.mobile-nav {
  margin: 24px 0 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-left: 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  padding: 11px 8px 11px 6px;
  border-radius: 8px;
  display: block;
  width: fit-content;
  transition: background 0.15s, color 0.11s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: #20396D;
}

@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  header img { max-height: 38px; }
}
@media (max-width: 890px) {
  .main-nav { gap: 8px; font-size: 0.95rem; }
  header img { max-height: 36px; }
}
@media (max-width: 850px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
  .container { padding: 0 10px; }
}
@media (max-width: 540px) {
  header .container { height: 64px; }
  header img { max-height: 30px; }
  .mobile-menu-close { font-size: 2rem; margin-left: 12px; }
  .mobile-nav { padding-left: 18px; }
  .mobile-nav a { font-size: 1.05rem; }
}

/* ----------------------------------------------------------
   BANNER, HERO, CARDS, FLEX SECTIONS, BUTTONS
---------------------------------------------------------- */
.hero .container {
  min-height: 380px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 26px;
  max-width: 580px;
}
.hero h1 {
  color: var(--brand-primary);
}
.hero h2 {
  font-size: 1.5rem;
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 400;
}

.cta,
.button,
input[type="submit"] {
  display: inline-block;
  background: var(--gold);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  border-radius: 42px;
  border: none;
  padding: 13px 38px;
  margin-top: 13px;
  box-shadow: 0 2px 16px 0 rgba(181,157,91,0.11);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.11s;
  text-align: center;
  outline: none;
}
.cta:hover, .cta:focus, .button:hover, .button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--brand-secondary);
  color: #fff !important;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 8px 44px 0 rgba(54,179,126,0.06);
}

input, textarea {
  border-radius: 8px;
  border: 1.5px solid #C5CEDF;
  padding: 12px;
  font-size: 1rem;
  background: #fff;
  color: #202329;
  width: 100%;
  margin-bottom: 12px;
  transition: border 0.14s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--brand-primary);
  background: #FAFBFC;
}

/* ----------------------------------------------------------
   FLEXIBLE CARD LAYOUTS & STRUCTURES
---------------------------------------------------------- */
.card-container, .features-grid, .services-list, .content-grid, .course-catalog, .testimonial-list, .featured-posts, .success-stories, .category-filters, .blog-categories, .newsletter-form, .learning-outcomes, .faq-accordion ul, .step-timeline, .platform-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {  
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(32,57,109,0.08);
  padding: 28px 28px 24px 28px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.20s, transform 0.20s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(181,157,91,0.13);
  transform: translateY(-4px) scale(1.01);
}

ul.features-grid {
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
ul.features-grid li {
  flex: 1 1 220px;
  min-width: 190px;
  background: var(--white);
  border-radius: 12px;
  padding: 24px 18px 20px 18px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px 0 rgba(181,157,91,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #eee;
  transition: box-shadow 0.13s, border-color 0.13s;
}
ul.features-grid li:hover {
  box-shadow: 0 8px 32px 0 rgba(54,179,126,0.12);
  border-color: var(--gold);
}
ul.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}

.services-list {
  gap: 24px;
  margin-bottom: 28px;
}
.services-list li {
  flex: 1 1 210px;
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 rgba(32,57,109,0.06);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid #eee;
  transition: border-color 0.16s, box-shadow 0.11s;
}
.services-list li:hover {
  border-color: var(--brand-secondary);
  box-shadow: 0 2px 16px 0 rgba(54,179,126,0.09);
}

.course-catalog {
  gap: 26px;
}
.course-catalog li {
  flex: 1 1 255px;
  min-width: 200px;
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 1px 10px 0 rgba(32,57,109,0.07);
  padding: 22px 16px 18px 16px;
  border: 1.5px solid #E3E7EF;
  transition: border-color 0.12s, box-shadow 0.11s;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.course-catalog li:hover, .featured-posts article:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 20px 0 rgba(181,157,91,0.14);
}

.featured-posts {
  gap: 28px;
  margin-bottom: 0;
}
.featured-posts article {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 14px rgba(32,57,109,0.07);
  padding: 25px 20px 18px 20px;
  border: 1px solid #f3f2eb;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.13s, border 0.11s;
}
.featured-posts a {
  color: var(--gold); font-weight: 600;
}
.featured-posts a:hover { text-decoration: underline; }

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 22px 19px 22px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(181,157,91,0.10);
  margin-bottom: 20px;
  border: 1px solid #ECE7DF;
  max-width: 420px;
  min-width: 225px;
  position: relative;
  transition: box-shadow 0.17s, border 0.17s, transform 0.13s;
}
.testimonial-card:after {
  content: "";
  position: absolute;
  width: 34px; height: 3px;
  left: 22px; bottom: 18px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.13;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border: 1px solid var(--gold);
  box-shadow: 0 6px 34px 0 rgba(181,157,91,0.17);
  transform: translateY(-3px) scale(1.017);
}
.rating-summary {
  margin-top: 20px;
  color: var(--brand-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.star-ratings {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
}

.success-stories {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 0;
}
.success-stories .text-section {
  max-width: 540px;
  background: var(--white);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px 0 rgba(54,179,126,0.07);
}

.video-quotes {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 18px;
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
}
.video-quotes img {
  height: 18px;
  margin-right: 7px;
  margin-top: -3px;
  display: inline-block;
}

/* Info blocks & contact info */
.contact-info, .address-map, .awards-certifications {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 0;
  color: var(--brand-primary);
  font-size: 1rem;
  font-family: var(--font-body);
}
.contact-info p, .address-map p {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #313133;
  gap: 9px;
}
.contact-info img, .address-map img, .awards-certifications img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  display: inline-block;
}

.confirmation-message {
  background: #fff;
  border-radius: 12px;
  padding: 25px 22px;
  box-shadow: 0 1px 8px 0 rgba(181,157,91,0.07);
  margin-bottom: 22px;
  font-size: 1.08rem;
}

.next-steps {
  margin-bottom: 8px;
}
.next-steps ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 10px 0 0 0;
}
.next-steps a {
  color: var(--brand-primary);
  font-weight: 600;
  transition: color 0.13s;
}
.next-steps a:hover {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 1020px) {
  .card-container, .features-grid, .services-list, .course-catalog, .featured-posts, .testimonial-list, .success-stories {
    gap: 16px;
  }
  .content-wrapper, .section { padding: 32px 10px; }
}
@media (max-width: 900px) {
  .card, ul.features-grid li, .services-list li, .course-catalog li, .featured-posts article, .success-stories .text-section { min-width: 145px; }
}
@media (max-width: 768px) {
  .container { padding-left: 0; padding-right: 0; }
  .hero { border-radius: 0 0 32px 32px; }
  .content-wrapper { gap: 20px; }
  .card, ul.features-grid li, .services-list li, .course-catalog li, .featured-posts article { min-width: 90vw; flex: 1 1 98vw; padding: 18px 11px; }
  .testimonial-card { min-width: unset; max-width: 98vw; padding: 14px 8px 14px 8px; }
  .testimonial-list { gap: 14px; }
  .success-stories .text-section { padding: 15px 8px; }
}

/* ----------------------------------------------------------
   FLEX PATTERNS FOR SECTION ELEMENTS
---------------------------------------------------------- */
.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; }

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* ----------------------------------------------------------
   NEWSLETTER FORM
---------------------------------------------------------- */
.newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
}
.newsletter-form input[type="email"] {
  flex: 1 1 215px;
  max-width: 310px;
  padding: 11px 12px;
  border-radius: 20px;
  border: 1.5px solid #C5CEDF;
}
.newsletter-form .cta {
  margin-top: 0;
  padding: 12px 32px;
}
@media (max-width: 620px) {
  .newsletter-form { flex-direction: column; gap: 10px; }
}

/* ----------------------------------------------------------
   BLOG SEARCH & CATEGORIES
---------------------------------------------------------- */
.blog-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 18px;
  gap: 8px;
}
.blog-search input[type="text"] {
  flex: 1 1 285px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid #bcc4d4;
  background: #fff;
  font-size: 1rem;
}
.blog-categories, .category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.blog-categories span, .category-filters span {
  font-family: var(--font-display);
  color: var(--gold);
  margin-right: 8px;
  font-weight: 600;
}
.blog-categories a, .category-filters a {
  background: #fff;
  color: var(--brand-primary);
  border: 1.5px solid #eee;
  border-radius: 10px;
  padding: 7px 18px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.13s, color 0.12s, border 0.12s;
}
.blog-categories a:hover, .category-filters a:hover {
  background: var(--gold);
  color: #fff;
  border: 1.5px solid var(--gold);
}

/* ----------------------------------------------------------
   SPECIAL FLEX LISTS (FAQ, STEP TIMELINE, OUTCOMES)
---------------------------------------------------------- */
.faq-accordion ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.faq-accordion li {
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  border-radius: 7px;
  padding: 13px 17px;
  box-shadow: 0 2px 6px rgba(32,57,109,0.04);
  border-left: 4px solid var(--gold);
}

.learning-outcomes {
  flex-wrap: wrap;
  gap: 16px;
}
.learning-outcomes li {
  flex: 1 1 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(54,179,126,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1.5px solid #F4F6FA;
}
.learning-outcomes img {
  width: 22px; height: 22px;
}

.step-timeline {
  gap: 28px;
  margin-bottom: 0;
}
.step-timeline li {
  flex: 1 1 200px;
  min-width: 170px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(32,57,109,0.05);
  padding: 25px 13px 17px 13px;
  border: 1px solid #EEEEEE;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  position: relative;
}
.step-timeline img {
  width: 29px; height: 29px; margin-bottom: 3px;
}

.platform-features {
  gap: 22px;
  margin-bottom: 14px;
}
.platform-features li {
  flex: 1 1 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1.5px 7px 0 rgba(32,57,109,0.05);
  padding: 15px 14px 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #ECE7DF;
}
.platform-features img {
  width: 22px; height: 22px;
}

@media (max-width: 768px) {
  .step-timeline, .platform-features, .learning-outcomes {
    flex-direction: column;
    gap: 13px;
  }
  .step-timeline li, .platform-features li, .learning-outcomes li {
    min-width: unset;
    flex: 1 1 98vw;
    max-width: 94vw;
  }
}

/* ----------------------------------------------------------
   GENERIC TEXT SECTIONS
---------------------------------------------------------- */
.text-section, .confirmation-message, .next-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul,
.next-steps ul {
  list-style-type: disc;
  padding-left: 23px;
  margin-bottom: 0;
}
.text-section li {
  margin-bottom: 5px;
  font-size: 1rem;
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding-top: 36px;
  padding-bottom: 10px;
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  gap: 18px;
}
.footer-top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  border-bottom: 1.5px solid #223c5a33;
  padding-bottom: 22px;
}
.footer-top img {
  height: 48px; width: auto;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a, .footer-legal a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.86;
  transition: color 0.15s, opacity 0.15s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--gold);
  opacity: 1;
}
.footer-bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-top: 15px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-info {
  align-self: flex-end;
  color: #fadc8e;
  opacity: 0.70;
  font-size: 0.98rem;
}
@media (max-width: 880px) {
  .footer-top { flex-direction: column; gap: 23px; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  footer .container { gap: 8px; }
}
@media (max-width: 540px) {
  .footer-top img { height: 34px; }
  .footer-nav, .footer-legal { gap: 11px; flex-wrap: wrap; }
}

/* ----------------------------------------------------------
   COOKIE CONSENT BANNER & PREFERENCES MODAL
---------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: #222;
  padding: 24px 22px;
  box-shadow: 0 -2px 30px 0 rgba(32,57,109,0.11);
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  z-index: 1500;
  font-size: 1rem;
  border-top: 1.5px solid #fadc8e;
  animation: cookieSlideIn 0.85s cubic-bezier(.45,.21,0,1.08);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 29px;
  font-family: var(--font-display);
  margin-right: 7px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
  transition: background 0.17s, color 0.17s, transform 0.10s;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(181,157,91,0.11);
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #d2b060;
  color: #fff;
  margin-left: 2px;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: transparent;
  color: var(--brand-primary);
  border: 1px solid var(--gold);
  font-weight: 500;
}
.cookie-banner .cookie-btn:hover, 
.cookie-banner .cookie-btn:focus {
  background: var(--brand-secondary);
  color: #fff;
  transform: scale(1.06);
}

@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 17px 11px;
    font-size: 0.95rem;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,57,109,0.52);
  z-index: 1550;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; animation: fadeInModal 0.28s; }
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 56px 0 rgba(32,57,109,0.31);
  padding: 38px 38px 32px 38px;
  min-width: 320px;
  max-width: 90vw;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #222;
  position: relative;
  animation: modalOpen 0.42s cubic-bezier(.56,.11,0,1.14);
}
@keyframes modalOpen {
  from { transform: translateY(40px) scale(0.96); opacity: 0.65; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0;
}
.cookie-modal .cookie-category {
  background: #f9f7ef;
  border-radius: 10px;
  padding: 11px 17px;
  margin-bottom: 7px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--gold);
  margin-right: 7px;
}
.cookie-modal .cookie-category .always-on {
  color: var(--brand-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-left: auto;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 7px;
}
.cookie-modal .modal-close {
  position: absolute; top: 18px; right: 19px;
  font-size: 1.55rem;
  color: var(--brand-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--gold);
}
@media (max-width: 540px) {
  .cookie-modal { padding: 18px 7px 16px 12px; min-width: 195px; }
  .cookie-modal-overlay { padding: 8px; }
}

/* ----------------------------------------------------------
   OTHER INTERACTIVE/DETAILS/MICROINTERACTION
---------------------------------------------------------- */
.card, .testimonial-card, ul.features-grid li, .services-list li, .course-catalog li, .faq-accordion li {
  transition: box-shadow 0.17s, border 0.17s, transform 0.13s;
}
section, .section {
  transition: box-shadow 0.14s, background 0.24s;
}
.cta, .button {
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.11s;
}

/* Icons adjustments */
img[alt^="Icon"] { filter: drop-shadow(0 1px 1.5px #d4bc80); opacity: 0.98; }

/* Visual luxury touch for gold underline in h2 and major titles */
h2, .h2 {
  position: relative;
}
h2:not(.no-underline):after, .h2:not(.no-underline):after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  opacity: 0.62;
  border-radius: 2px;
  margin-top: 12px;
  margin-bottom: -6px;
}

/* Ensure all cards/sections have minimum 20px between */
.card-container > *,
.features-grid > *,
.services-list > *,
.course-catalog > *,
.featured-posts > *,
.success-stories > *,
.testimonial-list > *,
.content-grid > * {
  margin-bottom: 0; /* gap does the job */
}

/* ----------------------------------------------------------
   ACCESSIBILITY: FOCUS VISIBLE
---------------------------------------------------------- */
a:focus-visible, .cta:focus-visible, .button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ----------------------------------------------------------
   PRINT
---------------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
