/* BGA custom CSS — Refine pass: body contrast + meta 2x2 mobile + heading scale +
   CRITICAL: override Astra's global `h1,h2,h3 { color: var(--ast-global-color-3) }`
   which otherwise renders hero + cta + modules headings dark on dark backgrounds. */

/* ═══ HARD COLOR OVERRIDES — BGA custom sections ═══
   Astra applies a global dark color to all headings via the selector
   `body, h1, .entry-content h1, h2, ...` which wins specificity against bare
   .bga-* classes. We force-override here with !important, scoped per section. */
.bga-hero, .bga-hero *,
.bga-objectives, .bga-objectives *,
.bga-modules, .bga-modules *,
.bga-transform, .bga-transform *,
.bga-cta, .bga-cta *,
.bga-intro, .bga-intro *,
.bga-stats, .bga-stats * {
  -webkit-font-smoothing: antialiased;
}

/* Hero headings — white / violet-light italic */
.bga-hero .bga-hero-title { color: #fff !important; }
.bga-hero .bga-hero-title em { color: var(--bga-violet-light) !important; }
.bga-hero .bga-hero-sub { color: rgba(255,255,255,0.55) !important; }
.bga-hero .bga-hero-eyebrow { color: var(--bga-gold) !important; }
.bga-hero .bga-hero-meta-item .bga-label { color: var(--bga-violet-light) !important; }
.bga-hero .bga-hero-meta-item .bga-value { color: #fff !important; }
.bga-hero .bga-btn-primary { color: var(--bga-ink) !important; }
.bga-hero .bga-btn-ghost { color: rgba(255,255,255,0.6) !important; }
.bga-hero .bga-btn-ghost:hover { color: #fff !important; }

/* Intro (light bg) — dark ink headings, violet accent in title span */
.bga-intro .bga-intro-title { color: var(--bga-ink) !important; }
.bga-intro .bga-intro-title span { color: var(--bga-violet) !important; }
.bga-intro .bga-intro-copy { color: var(--bga-muted) !important; }
.bga-intro .bga-intro-erasmus { color: var(--bga-violet) !important; }

/* Stats row (mixed bg per .nth-child) */
.bga-intro .bga-stat-box,
.bga-intro .bga-stat-box .bga-stat-number,
.bga-intro .bga-stat-box .bga-stat-desc { color: #fff !important; }
.bga-intro .bga-stat-box:nth-child(4),
.bga-intro .bga-stat-box:nth-child(4) .bga-stat-number,
.bga-intro .bga-stat-box:nth-child(4) .bga-stat-desc { color: var(--bga-ink) !important; }

/* Objectives (dark bg) */
.bga-objectives .bga-objectives-title { color: #fff !important; }
.bga-objectives .bga-section-eyebrow { color: var(--bga-gold) !important; }
.bga-objectives .bga-obj-heading { color: #fff !important; }
.bga-objectives .bga-obj-copy { color: rgba(255,255,255,0.55) !important; }
.bga-objectives .bga-obj-num { color: rgba(255,255,255,0.06) !important; }
.bga-objectives .bga-obj-card:hover .bga-obj-num { color: rgba(180,142,219,0.25) !important; }

/* Modules (violet-pale bg) */
.bga-modules .bga-modules-title { color: var(--bga-ink) !important; }
.bga-modules .bga-section-eyebrow.bga-violet-eyebrow { color: var(--bga-violet) !important; }
.bga-modules .bga-modules-intro { color: var(--bga-muted) !important; }
.bga-modules .bga-module-item .bga-mod-num { color: var(--bga-violet-light) !important; }
.bga-modules .bga-module-item .bga-mod-title { color: var(--bga-ink) !important; }
.bga-modules .bga-module-item .bga-mod-desc { color: var(--bga-muted) !important; }
.bga-modules .bga-module-item .bga-mod-pills span { color: var(--bga-violet) !important; }
.bga-modules .bga-module-item .bga-mod-arrow { color: var(--bga-violet-light) !important; }
.bga-modules .bga-module-item:hover .bga-mod-num,
.bga-modules .bga-module-item:hover .bga-mod-title,
.bga-modules .bga-module-item:hover .bga-mod-desc { color: #fff !important; }
.bga-modules .bga-module-item:hover .bga-mod-pills span { color: rgba(255,255,255,0.7) !important; }
.bga-modules .bga-module-item:hover .bga-mod-arrow { color: var(--bga-gold) !important; }

/* Transform (violet-pale bg) */
.bga-transform .bga-transform-heading { color: var(--bga-ink) !important; }
.bga-transform .bga-transform-copy { color: var(--bga-muted) !important; }

/* CTA final (violet bg) */
.bga-cta .bga-cta-title { color: #fff !important; }
.bga-cta .bga-cta-title em { color: var(--bga-gold) !important; }
.bga-cta .bga-cta-copy { color: rgba(255,255,255,0.7) !important; }
.bga-cta .bga-cta-info-label { color: rgba(255,255,255,0.55) !important; }
.bga-cta .bga-cta-info-value { color: #fff !important; }
.bga-cta .bga-cta-info-value a { color: #fff !important; }
.bga-cta .bga-cta-btn { color: var(--bga-ink) !important; }
.bga-cta .bga-cta-follow { color: rgba(255,255,255,0.55) !important; }
.bga-cta .bga-cta-follow a { color: rgba(255,255,255,0.85) !important; }

/* ═══ ELEMENTOR-RETAINED SECTIONS: body contrast + heading scale ═══ */
body.page-id-20768 .elementor-element .elementor-widget-text-editor,
body.page-id-20768 .elementor-element .elementor-widget-text-editor p,
body.page-id-20768 .elementor-element .elementor-widget-text-editor li,
body.page-id-20768 .elementor-element .elementor-widget-text-editor span {
  color: #1A1025;
}
body.page-id-20768 .elementor-widget-heading .elementor-heading-title {
  color: #1A1025;
}
body.page-id-20768 .elementor-widget-text-editor .elementor-widget-container {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
body.page-id-20768 .elementor-widget-heading h2.elementor-heading-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
}


:root {
  --bga-violet: #5B2D8E;
  --bga-violet-mid: #7B4DBE;
  --bga-violet-light: #B08EDB;
  --bga-violet-pale: #EDE6F8;
  --bga-gold: #D4A853;
  --bga-cream: #FAF7F2;
  --bga-ink: #1A1025;
  --bga-muted: #7A6D8A;
}

/* Reset within BGA HTML widgets only */
.bga-hero *, .bga-hero *::before, .bga-hero *::after { box-sizing: border-box; }

/* ═══ HERO ═══ */
.bga-hero {
  min-height: 100vh;
  background: var(--bga-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  margin: 0;
}
.bga-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 30%, rgba(91,45,142,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(123,77,190,0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.bga-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}
.bga-hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bga-gold);
  margin: 0 0 28px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bga-hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--bga-gold);
  display: block;
}
.bga-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 12px 0;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .bga-hero .bga-hero-title { white-space: normal; }
}
.bga-hero-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--bga-violet-light);
}
.bga-hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin: 0 0 40px 0;
  line-height: 1.4;
}
.bga-hero-meta {
  display: flex;
  gap: 32px;
  margin: 0 0 48px 0;
  flex-wrap: wrap;
}
.bga-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bga-hero-meta-item .bga-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bga-violet-light);
  font-weight: 500;
}
.bga-hero-meta-item .bga-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #fff;
  font-weight: 400;
}
.bga-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.bga-btn-primary {
  background: var(--bga-gold);
  color: var(--bga-ink) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.bga-btn-primary:hover,
.bga-btn-primary:focus {
  background: #e8bc6a;
  color: var(--bga-ink) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}
.bga-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.6) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.bga-btn-ghost:hover,
.bga-btn-ghost:focus {
  color: #fff !important;
  text-decoration: none !important;
}

/* Animations */
@keyframes bgaFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bga-hero-inner > * {
  opacity: 0;
  animation: bgaFadeUp 0.7s ease forwards;
}
.bga-hero-eyebrow { animation-delay: 0.1s; }
.bga-hero-title   { animation-delay: 0.25s; }
.bga-hero-sub     { animation-delay: 0.4s; }
.bga-hero-meta    { animation-delay: 0.55s; }
.bga-hero-cta     { animation-delay: 0.7s; }

/* ═══ INTRO + STATS ═══ */
.bga-intro {
  background: var(--bga-cream);
  padding: 100px 40px;
  margin: 0;
}
.bga-intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.bga-intro-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bga-ink);
  margin: 0 0 24px 0;
}
.bga-intro-title span { color: var(--bga-violet); }
.bga-intro-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--bga-muted);
  max-width: 480px;
  margin: 0 0 16px 0;
}
.bga-intro-erasmus {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--bga-violet);
  font-weight: 500;
  max-width: 480px;
  margin: 0;
  line-height: 1.6;
}
.bga-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.bga-stat-box {
  background: var(--bga-ink);
  color: #fff;
  padding: 36px 28px;
}
.bga-stat-box:nth-child(2) { background: var(--bga-violet); }
.bga-stat-box:nth-child(3) { background: var(--bga-violet-mid); }
.bga-stat-box:nth-child(4) { background: var(--bga-gold); color: var(--bga-ink); }
.bga-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.bga-stat-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ═══ OBJECTIVES ═══ */
.bga-objectives {
  background: var(--bga-ink);
  padding: 100px 40px;
  color: #fff;
  margin: 0;
}
.bga-objectives-inner { max-width: 1200px; margin: 0 auto; }
.bga-section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bga-gold);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bga-section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--bga-gold);
  display: block;
}
.bga-objectives-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 60px 0;
  max-width: 500px;
  line-height: 1.15;
}
.bga-obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.bga-obj-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.bga-obj-card:hover { background: rgba(91,45,142,0.2); }
.bga-obj-num {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
  pointer-events: none;
}
.bga-obj-card:hover .bga-obj-num { color: rgba(180,142,219,0.25); }
.bga-obj-heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px 0;
  font-style: italic;
  position: relative;
  z-index: 2;
}
.bga-obj-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* ═══ MODULES (hover-invert list) ═══ */
.bga-modules {
  background: var(--bga-violet-pale);
  padding: 100px 40px;
  scroll-margin-top: 80px;
  margin: 0;
}
.bga-modules-inner { max-width: 1200px; margin: 0 auto; }
.bga-modules-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}
.bga-violet-eyebrow { color: var(--bga-violet); }
.bga-violet-eyebrow::before { background: var(--bga-violet); }
.bga-modules-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--bga-ink);
  max-width: 400px;
  margin: 12px 0 0 0;
  line-height: 1.15;
}
.bga-modules-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--bga-muted);
  max-width: 360px;
  line-height: 1.7;
  margin: 0;
}
.bga-modules-list { display: flex; flex-direction: column; gap: 2px; }
.bga-module-item {
  background: #fff;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 36px 44px;
  transition: background 0.25s ease;
}
.bga-module-item:hover { background: var(--bga-ink); }
.bga-module-item:hover .bga-mod-num,
.bga-module-item:hover .bga-mod-title,
.bga-module-item:hover .bga-mod-desc { color: #fff; }
.bga-module-item:hover .bga-mod-pills span {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}
.bga-module-item:hover .bga-mod-arrow { color: var(--bga-gold); }
.bga-mod-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--bga-violet-light);
  transition: color 0.25s ease;
  line-height: 1;
}
.bga-mod-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--bga-ink);
  margin-bottom: 6px;
  transition: color 0.25s ease;
}
.bga-mod-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--bga-muted);
  margin-bottom: 14px;
  transition: color 0.25s ease;
}
.bga-mod-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.bga-mod-pills span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  background: var(--bga-violet-pale);
  color: var(--bga-violet);
  padding: 4px 12px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.bga-mod-arrow {
  font-size: 22px;
  color: var(--bga-violet-light);
  transition: color 0.25s ease;
}

/* ═══ TRANSFORM ═══ */
.bga-transform {
  background: var(--bga-violet-pale);
  padding: 100px 40px;
  margin: 0;
}
.bga-transform-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.bga-transform-card {
  background: #fff;
  padding: 48px 44px;
  border-left: 4px solid var(--bga-violet);
}
.bga-transform-gold { border-left-color: var(--bga-gold); }
.bga-transform-heading {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--bga-ink);
  margin: 0 0 16px 0;
  font-style: italic;
  line-height: 1.2;
}
.bga-transform-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bga-muted);
  margin: 0;
}

/* ═══ CTA FINAL ═══ */
.bga-cta {
  background: var(--bga-violet);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.bga-cta::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.bga-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.bga-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 20px 0;
}
.bga-cta-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--bga-gold);
}
.bga-cta-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 420px;
}
.bga-cta-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bga-cta-info-row {
  padding: 20px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.bga-cta-info-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.bga-cta-info-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}
.bga-cta-info-value a {
  color: #fff !important;
  text-decoration: none !important;
}
.bga-cta-info-value a:hover { text-decoration: underline !important; }
.bga-cta-btn {
  display: block;
  background: var(--bga-gold);
  color: var(--bga-ink) !important;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 22px 32px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
  margin-top: 6px;
}
.bga-cta-btn:hover,
.bga-cta-btn:focus {
  background: #e8bc6a;
  color: var(--bga-ink) !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}
.bga-cta-follow {
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 8px 0 0 0;
}
.bga-cta-follow a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
}
.bga-cta-follow a:hover { color: #fff !important; }

/* Responsive */
@media (max-width: 900px) {
  .bga-hero { padding: 80px 24px; min-height: auto; }
  .bga-hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }
  .bga-hero-cta { flex-direction: column; align-items: stretch; }
  .bga-btn-primary, .bga-btn-ghost { text-align: center; }
  .bga-btn-ghost { border-bottom: none; padding: 14px 20px; border: 1px solid rgba(255,255,255,0.2); }

  .bga-intro { padding: 60px 24px; }
  .bga-intro-inner { grid-template-columns: 1fr; gap: 48px; }
  .bga-stats { grid-template-columns: 1fr; }

  .bga-objectives { padding: 60px 24px; }
  .bga-obj-grid { grid-template-columns: 1fr; }
  .bga-obj-card { padding: 36px 28px; }
  .bga-obj-num { font-size: 60px; top: 12px; right: 18px; }

  .bga-modules { padding: 60px 20px; }
  .bga-modules-header { flex-direction: column; align-items: flex-start; }
  .bga-module-item { grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 20px; }
  .bga-mod-num { font-size: 32px; }
  .bga-mod-title { font-size: 18px; }
  .bga-mod-arrow { display: none; }

  .bga-transform { padding: 60px 24px; }
  .bga-transform-inner { grid-template-columns: 1fr; gap: 16px; }
  .bga-transform-card { padding: 36px 28px; }

  .bga-cta { padding: 60px 24px; }
  .bga-cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .bga-cta-copy { max-width: none; }
}
