/* =============================================
   EmpowerHer — Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500&family=Noto+Sans:wght@400;500;600;700&display=swap&subset=cyrillic,greek');

/* --- Variables --- */
:root {
  --purple:       #7B5EA7;
  --purple-light: #9B7EC8;
  --purple-dark:  #5C4480;
  --green:        #4E9D7A;
  --green-light:  #6BB896;
  --green-dark:   #3A7A5C;
  --beige:        #F5ECD7;
  --beige-dark:   #EDD9B5;
  --orange:       #C47843;
  --orange-dark:  #A05E2C;

  --white:      #FFFFFF;
  --gray-50:    #FAFAF8;
  --gray-100:   #F4F3EF;
  --gray-200:   #E8E6E0;
  --gray-300:   #D0CEC6;
  --gray-500:   #8C8880;
  --gray-700:   #4A4744;
  --text:       #2D2926;

  --gradient: linear-gradient(135deg, var(--purple), var(--green));
  --gradient-soft: linear-gradient(135deg, #EDE6F5, #DFF0E9);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --transition: .2s ease;

  --max-w: 1140px;
  --section-py: 80px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', 'Noto Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
main { min-height: 70vh; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* Force Google Translate <font> wrappers to inherit styling */
font { font-family: inherit !important; font-size: inherit !important; font-weight: inherit !important; color: inherit !important; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--gray-700); }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section-py) 0; }
.section-label {
  display: inline-block;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 9px;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all .2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

/* Primary — glass purple */
.btn-primary {
  background: rgba(107, 75, 160, 0.88);
  color: var(--white);
  border-color: rgba(255,255,255,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 2px 8px rgba(90,55,140,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-primary:hover {
  background: rgba(92, 60, 140, 0.96);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    0 6px 20px rgba(90,55,140,.32);
}

/* Outline — transparent with purple border */
.btn-outline {
  background: transparent;
  border-color: rgba(123, 94, 167, .5);
  color: var(--purple);
}
.btn-outline:hover {
  background: rgba(123, 94, 167, .07);
  border-color: var(--purple);
}

/* White glass — for use on gradient/dark backgrounds */
.btn-white {
  background: rgba(255,255,255,.18);
  color: var(--white);
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-white:hover {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.7);
}

.btn-sm { padding: 7px 18px; font-size: .82rem; border-radius: 7px; }
.btn-lg { padding: 14px 36px; font-size: 1rem; border-radius: 10px; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-body { padding: 28px; }

/* --- Grid helpers --- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo img {
  height: 64px;
  width: auto;
  display: block;
}
.navbar-logo-text {
  display: none; /* logo image already includes the "EmpowerHer" wordmark */
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--purple);
  background: #F0EBFA;
}
.navbar-cta {
  margin-left: 16px;
  background: rgba(107, 75, 160, 0.92) !important;
}
.navbar-nav-mobile-cta { display: none; }

/* ── Back to top button ── */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(90,55,140,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 999;
  cursor: pointer;
  border: none;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

/* ── GTranslate: hide injected widget, use custom pills ── */
/* wrapper must stay in DOM so GTranslate initialises and exposes doGTranslate */
.gtranslate_wrapper {
  position: fixed !important;
  left: -9999px !important;
  bottom: 0 !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
.gt_switcher_wrapper { pointer-events: none !important; }
/* Hide Google Translate toolbar injected at top of page */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }

/* ── Language pills (custom navbar switcher) ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  background: transparent;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.lang-pill img {
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}
.lang-pill:hover {
  color: var(--purple);
  border-color: var(--purple);
  background: #F0EBFA;
}
.lang-pill.active {
  color: var(--purple);
  border-color: var(--purple);
  background: #F0EBFA;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   EU TOPBAR
   ============================================= */
.eu-topbar {
  background: #F3EEF9;
  border-bottom: 1px solid rgba(123,94,167,.12);
  padding: 7px 0;
}
.eu-topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.eu-topbar-logo { height: 22px; width: auto; }
.eu-topbar-short { display: none; }
.eu-topbar span {
  font-size: .72rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 500;
  color: var(--purple-dark);
  letter-spacing: .01em;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  overflow: hidden;
}

/* Left half */
.hero-left {
  background: linear-gradient(160deg, #FAF7FF 0%, #F0FBF5 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 64px 80px 40px;
}
.hero-content {
  max-width: 460px;
  width: 100%;
}

/* Right half — full photo */
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #FAF7FF 0%,
    rgba(250,247,255,.55) 20%,
    transparent 45%
  );
  pointer-events: none;
  z-index: 1;
}

/* EmpowerHer logo badge floating on photo */
.hero-logo-badge {
  position: absolute;
  bottom: 36px;
  right: 36px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 3px solid rgba(255,255,255,.7);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  overflow: hidden;
  backdrop-filter: blur(6px);
  z-index: 3;
}
.hero-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* crop to show just the icon, not the text below */
  padding: 0;
}

/* Floating info cards */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  z-index: 4;
}
.hero-float-card .icon { color: var(--purple); }
.hero-float-card--1 { top: 14%;  right: 20%; }
.hero-float-card--2 { bottom: 20%; right: 16%; }

/* Text elements */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-soft);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: .75rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 24px;
  letter-spacing: .04em;
}
.eyebrow-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}
.hero-title { margin-bottom: 20px; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: #F7F4FD;
  border-top: 1px solid #E2DAF0;
  border-bottom: 1px solid #E2DAF0;
}
.stats-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 0;
  gap: 24px;
}
.stats-inner .stats-group:last-child {
  justify-self: end;
  align-items: flex-end;
  text-align: right;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-item strong {
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--purple);
}
.stats-group .stat-item + .stat-item {
  border-top: 1px solid #DDD5F0;
  padding-top: 10px;
}
.stat-item span {
  font-size: .78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
  flex-shrink: 0;
}
.stats-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stats-group .stat-divider { display: none; }
.stats-eu-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border-left: 1px solid #D8CEF0;
  border-right: 1px solid #D8CEF0;
}
.stats-eu-logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
}
.about-feature-text h4 { margin-bottom: 4px; }

/* Photo layout */
.about-photo { position: relative; }
.about-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gray-200);
}
.about-photo-badge-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
}
.about-photo-badge strong {
  display: block;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.about-photo-badge span {
  font-size: .78rem;
  color: var(--gray-500);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works { background: var(--gray-50); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 32px; left: calc(12.5% + 16px); right: calc(12.5% + 16px);
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(123,94,167,.3);
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p  { font-size: .9rem; }

/* =============================================
   ACHIEVE SECTION
   ============================================= */
.achieve { background: var(--beige); }
.achieve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.achieve-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123,94,167,.07);
  transition: var(--transition);
}
.achieve-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(123,94,167,.18);
}
.achieve-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(123,94,167,.12) 0%, rgba(78,157,122,.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.achieve-card h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.achieve-card p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-text p  { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.45);
  color: var(--white) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
}

/* =============================================
   MENTOR CARDS
   ============================================= */
.mentors-preview-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(123,94,167,.08);
  border: 1px solid rgba(123,94,167,.18);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: .83rem;
  color: var(--purple);
  margin-bottom: 32px;
}
/* =============================================
   MENTORS PAGE
   ============================================= */
.mentor-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.mentor-filter-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
}
.mentor-filter-select {
  padding: 8px 36px 8px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B5EA7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  color: var(--gray-700, #2D1B5E);
  font-size: .85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .15s;
  min-width: 180px;
}
.mentor-filter-select:focus {
  outline: none;
  border-color: var(--purple);
}
@media (max-width: 600px) {
  .mentor-filter-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mentor-filter-select { width: 100%; min-width: 0; }
}

.mentor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* horizontal card */
.mentor-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 24px 28px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.mentor-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(123,94,167,.25);
}

/* square photo */
.mentor-card-avatar {
  width: 148px;
  min-height: 130px;
  border-radius: 12px;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  position: relative;
}
.mentor-card-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* middle: main content */
.mentor-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}
.mentor-card-top { display: block; }
.mentor-card-main { display: flex; flex-direction: column; gap: 8px; }

/* right: badges + buttons column */
.mentor-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 200px;
  justify-content: flex-start;
}
.mentor-card-actions button:first-of-type {
  margin-top: auto;
}
.mentor-card-actions .btn {
  width: 100%;
  justify-content: center;
}
.mentor-card-actions .mentor-badge {
  display: block;
  text-align: center;
}
.mentor-card-body .mentor-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mentor-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(123,94,167,.25);
}
.mentor-avatar--lg    { width: 90px; height: 90px; font-size: 1.6rem; }
img.mentor-avatar--photo { object-fit: cover; object-position: center top; background: none; }
.mentor-card-bio {
  font-size: .83rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}
.mentor-name  { font-size: 1rem; margin-bottom: 2px; }
.mentor-field {
  font-size: .82rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 4px;
}
.mentor-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  color: var(--gray-400);
}
.mentor-meta-extra {
  font-size: .78rem;
  color: var(--gray-400);
  margin: 0;
}
.mentor-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.mentor-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(123,94,167,.08);
  color: var(--purple);
  font-size: .75rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 600;
}
.mentor-tag--green  { background: rgba(78,157,122,.1);   color: var(--green); }
.mentor-tag--purple { background: rgba(123,94,167,.12); color: var(--purple-dark); }
.mentor-tag--more   { background: transparent; border: 1px solid rgba(123,94,167,.2); color: var(--gray-400); }
.mentor-formats { display: flex; flex-wrap: wrap; gap: 6px; }
.mentor-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(123,94,167,.08);
  color: var(--purple);
  font-size: .72rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 600;
}
.mentor-badge--green { background: rgba(78,157,122,.1); color: var(--green); }

/* preview notice */
.mentors-preview-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #F3EDF8, #EAF5F0);
  border: 1px solid rgba(123,94,167,.2);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.mentors-preview-notice svg { flex-shrink: 0; color: var(--purple); }

/* modal overlay */
.mentor-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,8,30,.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mentor-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.mentor-modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(15,8,30,.25);
  transform: translateY(24px) scale(.97);
  transition: transform .25s;
}
.mentor-modal-overlay.is-open .mentor-modal-box { transform: translateY(0) scale(1); }
.mentor-modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--gray-500);
  z-index: 10;
  transition: var(--transition);
  padding: 0;
}
.mentor-modal-close:hover { background: var(--gray-100); color: var(--gray-700); }
.mentor-modal-body        { padding: 32px; }
.mmodal-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.mmodal-header-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.mmodal-header-info { flex: 1; min-width: 0; }
/* larger rounded-square avatar in modal */
.mentor-avatar--lg {
  width: 80px; height: 80px;
  border-radius: 14px;
  font-size: 1.6rem;
  flex-shrink: 0;
}
img.mentor-avatar--lg.mentor-avatar--photo {
  object-fit: cover;
  object-position: center top;
}
.mmodal-header-connect {
  width: 100%;
}
.mmodal-header-connect .btn {
  width: 100%;
  justify-content: center;
  font-size: .95rem;
  padding: 11px 0;
}
.mmodal-header h2           { font-size: 1.35rem; margin-bottom: 4px; }
.mmodal-section             { margin-bottom: 24px; }
.mmodal-section h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.mmodal-section h4 svg      { color: var(--purple); }
.mmodal-section p           { font-size: .9rem; color: var(--gray-500); line-height: 1.65; margin: 0; }
.mmodal-info-grid           { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.mmodal-info-item           { display: flex; flex-direction: column; gap: 2px; }
.mmodal-info-label {
  font-size: .7rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-400);
}
.mmodal-info-item span:not(.mmodal-info-label) { font-size: .88rem; color: var(--gray-700); }
.mmodal-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: center;
}

/* contact sub-form inside modal */
.mmodal-contact-wrap {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(123,94,167,.04), rgba(78,157,122,.03));
  border-radius: 14px;
  border: 1.5px solid rgba(123,94,167,.12);
}
.mmodal-contact-header {
  margin-bottom: 20px;
}
.mmodal-contact-header h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  color: var(--gray-700);
  margin-bottom: 4px;
}
.mmodal-contact-header h4 svg { color: var(--purple); }
.mmodal-contact-header p {
  font-size: .85rem;
  color: var(--gray-400);
  margin: 0;
}
.mmodal-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mmodal-contact-form .form-group { margin-bottom: 14px; }
.mmodal-contact-form label {
  display: block;
  font-size: .78rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}
.mmodal-contact-form label .req      { color: var(--purple); }
.mmodal-contact-form label .optional { font-weight: 400; color: var(--gray-400); }
.mmodal-contact-form input,
.mmodal-contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .2s;
  box-sizing: border-box;
}
.mmodal-contact-form input:focus,
.mmodal-contact-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123,94,167,.1);
}
.mmodal-contact-form textarea { resize: vertical; min-height: 80px; }
.mmodal-contact-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}

/* success state */
.mmodal-contact-success {
  text-align: center;
  padding: 24px 0;
}
.mmodal-contact-success svg {
  color: var(--green);
  display: block;
  margin: 0 auto 12px;
  width: 40px; height: 40px;
}
.mmodal-contact-success h4 {
  font-size: 1.1rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.mmodal-contact-success p {
  font-size: .88rem;
  color: var(--gray-400);
  margin: 0;
}

@media (max-width: 768px) {
  .mentor-grid            { grid-template-columns: 1fr; }
  .mmodal-info-grid       { grid-template-columns: 1fr; }
  .mmodal-field-row       { grid-template-columns: 1fr; }
  .mentor-modal-body      { padding: 20px; }
  .mentor-card            { flex-direction: column; gap: 0; padding: 0; }
  .mentor-card-avatar     { width: 100%; min-height: 220px; border-radius: 12px 12px 0 0; font-size: 2rem; align-self: auto; }
  .mentor-card-body       { padding: 16px 18px 10px; justify-content: flex-start; }
  .mentor-card-actions    { flex-direction: column; width: 100%; padding: 4px 18px 18px; gap: 10px; }
  .mentor-card-actions .mentor-formats { flex-direction: row; flex-wrap: wrap; }
  .mentor-card-actions .btn { width: 100%; }

  /* modal header: stack avatar above text */
  .mentor-modal-box       { position: relative; }
  .mentor-modal-close     { position: absolute; top: 12px; right: 12px; float: none; }
  .mmodal-header-top      { flex-direction: column; align-items: center; text-align: center; }
  .mmodal-header-info     { width: 100%; }
  .mmodal-header-info .mentor-location { justify-content: center; }
  .mmodal-header-info .mentor-meta-extra { text-align: center; }

  /* contact form buttons: one per row */
  .mmodal-contact-actions { flex-direction: column-reverse; }
  .mmodal-contact-actions .btn { width: 100%; justify-content: center; }
}

/* =============================================
   PARTNERS
   ============================================= */
.partners { background: linear-gradient(160deg, #FAF7FF 0%, #F0FBF5 100%); }
.partner-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-dark);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.partner-card-logo {
  height: 120px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.partner-card-logo img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}
.partner-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.partner-card h4 { margin-bottom: 4px; }
.partner-card p  { font-size: .88rem; line-height: 1.6; flex: 1; }
.partner-country {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.partner-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--purple);
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  transition: var(--transition);
}
.partner-link:hover { color: var(--purple-dark); }

/* =============================================
   LEARNING HUB PREVIEW (homepage)
   ============================================= */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.hub-card-img {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.hub-card-img:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.hub-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.hub-card-img:hover img { transform: scale(1.04); }
.hub-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,20,40,.80) 0%, rgba(30,20,40,.20) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.hub-card-img-overlay h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.hub-card-img-overlay p {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  line-height: 1.5;
}

/* =============================================
   LEARNING HUB PAGE
   ============================================= */
.hub-section { margin-bottom: 72px; scroll-margin-top: 100px; }
.hub-section:last-child { margin-bottom: 0; }

.hub-section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hub-section-header--reverse { direction: rtl; }
.hub-section-header--reverse > * { direction: ltr; }

.hub-section-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.hub-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hub-section-meta {
  padding: 40px 40px 40px 0;
}
.hub-section-header--reverse .hub-section-meta {
  padding: 40px 0 40px 40px;
}
.hub-section-meta h2 { margin: 10px 0 14px; font-size: 1.6rem; }
.hub-section-meta p  { color: var(--gray-500); line-height: 1.7; }

/* Resource cards */
.resource-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.resource-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.resource-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.resource-card-body h4 { font-size: .95rem; }
.resource-card-body p  { font-size: .85rem; line-height: 1.6; flex: 1; }
.resource-category {
  font-size: .72rem;
  font-weight: 600;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
}
.resource-coming-soon {
  background: var(--gray-100) !important;
  color: var(--gray-500) !important;
  cursor: default;
  pointer-events: none;
  align-self: flex-start;
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: .85rem;
  color: var(--orange-dark);
}

/* =============================================
   RESOURCES PAGE
   ============================================= */
/* ── Resources sticky tab bar ── */
.res-tab-bar {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(45,27,94,.06);
  display: flex;
  align-items: stretch;
}
.res-tab-inner {
  flex: 1;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  /* centre tabs on desktop */
  justify-content: center;
}
.res-tab-inner::-webkit-scrollbar { display: none; }

.res-tab-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--purple);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color .15s, opacity .15s;
  padding: 0;
}
.res-tab-arrow:hover { color: var(--purple-dark); }
.res-tab-arrow--left  { border-right: 1px solid var(--gray-200); }
.res-tab-arrow--right { border-left:  1px solid var(--gray-200); }
.res-tab-arrow:disabled { opacity: .25; pointer-events: none; }

/* Desktop with overflowing tabs: show arrows and left-align */
.res-tab-bar.has-overflow .res-tab-arrow { display: flex; }
.res-tab-bar.has-overflow .res-tab-inner  { justify-content: flex-start; }

@media (max-width: 1024px) {
  .res-tab-arrow { display: flex; }
  .res-tab-inner { overflow: hidden; justify-content: center; }
  .res-tab { display: none !important; }
  .res-tab.active {
    display: flex !important;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 8px;
    font-size: .8rem;
    border-bottom-color: var(--purple);
    white-space: normal;
    line-height: 1.3;
    min-height: 56px;
  }
}

.res-tab {
  display: flex;
  flex-direction: column;
  padding: 14px 22px;
  border-bottom: 3px solid transparent;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.res-tab-label {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--purple-light);
  margin-bottom: 2px;
  line-height: 1;
}
.res-tab:hover { color: var(--purple); }
.res-tab.active {
  color: var(--purple);
  border-bottom-color: var(--purple);
  font-weight: 600;
}
.res-tab.active .res-tab-label { color: var(--purple); }

.res-section { margin-bottom: 72px; scroll-margin-top: 165px; }

.res-section-header {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}
.res-section-img img { width: 100%; border-radius: var(--radius-md); }
.res-section-meta .section-label { margin-bottom: 8px; display: block; }
.res-section-meta h2 { font-size: 1.6rem; margin-bottom: 10px; }
.res-section-meta p  { color: var(--gray-500); line-height: 1.7; }

/* Language download button */
.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--purple);
  background: transparent;
  color: var(--purple);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.btn-lang:hover { background: #EDE5F7; color: var(--purple); }

/* Resource list (unified 1-per-row) */
.res-list { display: flex; flex-direction: column; gap: 12px; }
.res-list .resource-card {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  overflow: visible;
}
.res-list .resource-card-body { flex: 1; min-width: 0; padding: 0; }
.res-list .resource-card-body h4 { font-size: .95rem; font-weight: 600; margin-bottom: 0; }
.res-list .resource-card-body p  { font-size: .83rem; color: var(--gray-500); margin: 4px 0 0; line-height: 1.5; flex: unset; }
.res-list .res-lang-row { flex-shrink: 0; margin-top: 0; padding-top: 0; flex-wrap: nowrap; justify-content: flex-end; }

/* Language buttons */
.res-lang-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.res-lang-row .btn { gap: 5px; }
.res-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--purple);
  background: transparent;
  color: var(--purple);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: .15s;
  text-decoration: none;
}
.res-lang-btn:hover { background: var(--purple); color: #fff; }

/* Resource Bank */
.res-bank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.res-bank-count { font-size: .85rem; color: var(--gray-500); }
.res-bank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.res-bank-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: box-shadow .15s;
  min-width: 0;
}
.res-bank-card:hover { box-shadow: 0 4px 16px rgba(123,94,167,.1); }
.res-bank-card-icon { flex-shrink: 0; color: var(--purple); opacity: .6; }
.res-bank-card-body { flex: 1; min-width: 0; }
.res-bank-card-body .resource-category { margin-bottom: 2px; }
.res-bank-card-body h4 { font-size: .85rem; font-weight: 600; }
.res-bank-card > .btn { flex-shrink: 0; padding: 6px 10px; }
.res-bank-btns { display: flex; gap: 4px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.res-bank-btns .btn { padding: 6px 10px; gap: 5px; }

/* Learning Hub "See all" link */
.hub-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--purple);
}
.hub-see-all:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .res-section-header { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .res-bank-grid { gap: 8px; }
  .res-bank-card { flex-wrap: wrap; }
  .res-bank-btns { width: 100%; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--beige-dark); justify-content: flex-start; }
  .res-list .resource-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .res-list .res-lang-row { flex-wrap: wrap; justify-content: flex-start; border-top: 1px solid var(--beige-dark); padding-top: 12px; width: 100%; }
  .res-lang-btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
}

/* =============================================
   SVG ICONS
   ============================================= */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* =============================================
   EU BADGE
   ============================================= */
.eu-badge {
  margin-top: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid var(--beige-dark);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.eu-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.eu-badge p {
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   APPLICATION FORMS (become-mentor / find-mentor)
   ============================================= */
.form-section-wrap { background: var(--white); }
.app-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 0 64px;
}
.app-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.app-section {
  background: linear-gradient(160deg, #F3EDF8 0%, #EAF5F0 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(123,94,167,.15);
  padding: 36px 40px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.app-section--highlight {
  border-color: rgba(123,94,167,.25);
  background: linear-gradient(160deg, #EBE3F5 0%, #E0F2E9 100%);
}
.app-section--error {
  border-color: #FCA5A5;
  background: linear-gradient(160deg, #FFF5F5 0%, #FFF0F0 100%);
}
.app-section--error .app-section-num {
  background: #EF4444;
}
.app-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.app-section-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}
.app-section-head h2 {
  font-size: 1.15rem;
  margin: 0 0 4px;
}
.app-section-desc {
  font-size: .83rem;
  color: var(--gray-400);
  margin: 0;
}
.field-group {
  margin-bottom: 24px;
}
.field-group:last-child { margin-bottom: 0; }
.field-group > label {
  display: block;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.field-group > label em {
  font-weight: 400;
  font-style: normal;
  color: var(--gray-400);
}
.field-group input[type="text"],
.field-group input[type="email"],
.field-group input[type="number"],
.field-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  box-sizing: border-box;
}
.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123,94,167,.12);
}
.field-group textarea { resize: vertical; }
.field-group--optional > label::after { display: none; }
.field-hint {
  font-size: .78rem;
  color: var(--gray-400);
  margin: -4px 0 8px;
  line-height: 1.5;
}
.photo-input {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 1.5px dashed rgba(123,94,167,.35);
  border-radius: var(--radius-sm);
  background: rgba(123,94,167,.03);
  font-size: .85rem;
  color: var(--gray-500);
  cursor: pointer;
  box-sizing: border-box;
}
.photo-input:hover { border-color: var(--purple); }
.field-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.field-row--2 { grid-template-columns: 1fr 1fr; }

/* Pill-style checkboxes / radios */
.pill-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.pill-opt {
  display: flex;
}
.pill-opt input { display: none; }
.pill-opt span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1.5px solid rgba(123,94,167,.2);
  background: var(--white);
  font-size: .83rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.pill-opt input:checked + span {
  background: rgba(123,94,167,.1);
  border-color: var(--purple);
  color: var(--purple);
}
.pill-opt span:hover {
  border-color: rgba(123,94,167,.4);
  color: var(--purple);
}

/* Scale (1-10) questions */
.scale-field {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}
.scale-field:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.scale-question {
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}
.scale-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scale-options {
  display: flex;
  gap: 5px;
  justify-content: space-between;
  position: relative;
}
.scale-options::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 17px; right: 17px;
  height: 2px;
  background: linear-gradient(to right, rgba(123,94,167,.18), rgba(78,157,122,.18));
  transform: translateY(-50%);
  border-radius: 1px;
  pointer-events: none;
}
.scale-opt { position: relative; z-index: 1; }
.scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: .68rem;
  color: var(--gray-400);
  padding: 0 2px;
  line-height: 1.3;
}
.scale-opt input { display: none; }
.scale-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(123,94,167,.2);
  background: var(--white);
  font-size: .8rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
}
.scale-opt input:checked + span {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.scale-opt span:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.req { color: var(--purple); font-weight: 700; }

/* Auto-mark all question labels as required */
.app-section .field-group > label::after {
  content: ' *';
  color: var(--purple);
  font-weight: 700;
}
/* Exception: labels that say "(select up to N)" — the * still applies but after the em */
.scale-question::after {
  content: ' *';
  color: var(--purple);
  font-weight: 700;
}

/* Required legend at top of form */
.form-required-legend {
  font-size: .8rem;
  color: var(--gray-400);
  margin-bottom: 20px;
  text-align: right;
}
.form-required-legend strong { color: var(--purple); }

/* Submit row */
.form-submit-row {
  background: linear-gradient(160deg, #F3EDF8 0%, #EAF5F0 100%);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  text-align: center;
  border: 1px solid rgba(123,94,167,.15);
  box-shadow: var(--shadow-sm);
}
.form-submit-note {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--gray-400);
}

/* Consent checkbox */
@keyframes btn-spin { to { transform: rotate(360deg); } }
.consent-check { margin-bottom: 20px; }
.consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.55;
}
.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--purple);
  cursor: pointer;
}
.consent-label a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.consent-error {
  margin-top: 8px;
  font-size: .82rem;
  color: #C0392B;
  font-weight: 600;
}
.consent-check.has-error .consent-label span {
  color: #C0392B;
}
.consent-check.has-error input[type="checkbox"] {
  outline: 2px solid #C0392B;
  outline-offset: 2px;
}

/* Cookie notice */
#cookie-notice {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: #F7F4FD;
  color: #2D1B5E;
  border-top: 2px solid #C4AEE8;
  padding: 13px 28px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .84rem;
  box-shadow: 0 -4px 20px rgba(45,27,94,.10);
  transition: opacity .3s;
}
#cookie-notice p { margin: 0; line-height: 1.5; color: #3D2B6B; }
#cookie-notice a { color: #7B5EA7; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#cookie-notice button {
  flex-shrink: 0;
  background: #7B5EA7;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}
#cookie-notice button:hover { opacity: .85; }
@media (max-width: 600px) {
  #cookie-notice { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 20px; }
  #cookie-notice button { align-self: stretch; text-align: center; }
}

/* Success / error */
.form-success-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.form-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(78,157,122,.15), rgba(78,157,122,.05));
  border: 2px solid rgba(78,157,122,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin: 0 auto 24px;
}
.form-success-box h2 { margin-bottom: 12px; }
.form-success-box p  { color: var(--gray-500); }
.form-error-box {
  background: #FFF3F3;
  border: 1px solid #FFB3B3;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: .9rem;
  color: #C0392B;
  margin-bottom: 20px;
}

/* ── Match results (after mentee form submit) ── */
.match-submitted-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #E8F5EF, #EAF5F0);
  border: 1px solid rgba(78,157,122,.3);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: .88rem;
  color: var(--gray-600);
  margin-bottom: 32px;
}
.match-submitted-notice svg { color: var(--green); flex-shrink: 0; }

.match-results-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.match-results-title svg { color: var(--purple); }
.match-results-sub {
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

/* % match badge */
.match-pct-badge {
  background: var(--gradient);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  align-self: flex-start;
}

.match-no-results {
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.match-no-results svg { display: block; margin: 0 auto 12px; color: var(--gray-300); }

.match-team-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #F3EDF8, #EAF5F0);
  border: 1px solid rgba(123,94,167,.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 28px;
  font-size: .88rem;
  color: var(--gray-500);
}
.match-team-note svg { color: var(--purple); flex-shrink: 0; margin-top: 2px; }
.match-team-note strong { display: block; color: var(--gray-700); margin-bottom: 3px; font-size: .9rem; }

@media (max-width: 768px) {
  .app-section          { padding: 24px 20px; }
  .form-submit-row      { padding: 28px 20px; }
  .field-row--2         { grid-template-columns: 1fr; }

  /* Scale */
  .scale-options        { gap: 3px; }
  .scale-options::before { left: 14px; right: 14px; }
  .scale-opt span       { width: 28px; height: 28px; font-size: .72rem; }

  /* Pills — full-width list on mobile */
  .pill-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .pill-opt span {
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
    padding: 12px 16px;
    font-size: .875rem;
    border-radius: 10px;
    min-height: 44px;
  }
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section { overflow: hidden; padding: 0; }
.contact-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

/* Left: gradient panel */
.contact-panel-left {
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 72px 0;
}
.contact-panel-left-content {
  width: 100%;
  max-width: 480px;
  padding-right: 56px;
}
.contact-label-top {
  display: inline-block;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.contact-panel-left h2 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 2rem;
}
.contact-panel-left > .contact-panel-left-content > p {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-glass-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.contact-glass-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  text-decoration: none;
}
.contact-glass-card:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-2px);
}
.contact-glass-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.contact-glass-card small {
  display: block;
  font-size: .67rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-bottom: 2px;
}
.contact-glass-card strong {
  display: block;
  font-size: .83rem;
  font-weight: 600;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  color: var(--white);
}

/* Right: soft panel matching page background */
.contact-panel-right {
  background: linear-gradient(160deg, #FAF7FF 0%, #F0FBF5 100%);
  display: flex;
  align-items: center;
  padding: 72px 0;
}
.contact-panel-right-content {
  width: 100%;
  max-width: 440px;
  padding-left: 56px;
}
.contact-panel-right-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.contact-panel-right-content > p {
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 28px;
}
.contact-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-secondary-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(123,94,167,.12);
}
.contact-secondary-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-weight: 500;
  color: var(--purple);
  transition: var(--transition);
}
.contact-secondary-links a:hover { color: var(--purple-dark); }

.eu-badge {
  margin-top: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid var(--beige-dark);
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */
footer { background: #1E103C; }
footer::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--gradient);
}
.footer-top { padding: 56px 0 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 48px;
  align-items: start;
}
.footer-logo-img {
  height: 88px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.footer-logo-text { display: none; }
.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 10px;
}
.footer-org {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-org a { color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-org a:hover { color: var(--white); }
.footer-col-title {
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-contact-list a:hover { color: var(--white); }
.footer-col--cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-bottom-eu {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.footer-eu-logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  opacity: .75;
}
.footer-bottom-eu p {
  font-size: .68rem;
  color: rgba(255,255,255,.28);
  line-height: 1.55;
  margin: 0;
}
.footer-copyright {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
}

/* =============================================
   FORM STYLES
   ============================================= */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--gray-700);
}
.form-label .required { color: var(--orange); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(123,94,167,.12);
}
.form-control::placeholder { color: var(--gray-300); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }
.form-hint { margin-top: 4px; font-size: .8rem; color: var(--gray-500); }

.checkbox-group, .radio-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-label, .radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .95rem;
}
.checkbox-label input, .radio-label input { accent-color: var(--purple); width: 16px; height: 16px; }

.form-section-title {
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--purple);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--gradient);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.page-hero .section-label { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.12); }
.page-hero h1 { margin-bottom: 12px; color: var(--white); }
.page-hero p  { font-size: 1.05rem; max-width: 560px; color: rgba(255,255,255,.82); }

/* =============================================
   ALERTS / FLASH
   ============================================= */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  margin-bottom: 20px;
  border: 1px solid;
}
.alert-success { background: #E8F5EF; border-color: var(--green-light); color: var(--green-dark); }
.alert-error   { background: #FBEAE8; border-color: #E88080; color: #A03030; }


/* =============================================
   RESOURCE CARD (Learning Hub)
   ============================================= */
.resource-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.resource-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: #FBF0E6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.resource-card h4 { font-size: .95rem; }
.resource-card p  { font-size: .85rem; flex: 1; }
.resource-category {
  font-size: .72rem;
  font-weight: 600;
  font-family: 'Poppins', 'Noto Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

/* ── Navbar collapses to hamburger on tablets and below ── */
@media (max-width: 1024px) {
  .navbar-nav, .navbar-cta { display: none; }
  .navbar-cta { display: none !important; }
  .hamburger { display: flex; }

  .lang-pill span { display: none; }
  .lang-pill { padding: 3px 5px; gap: 0; }

  .navbar-nav-mobile-cta {
    display: block;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
  }
  .navbar-nav-mobile-cta a.btn {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    font-size: .95rem;
    color: var(--white) !important;
    border-radius: 9px !important;
    padding: 13px 20px !important;
  }

  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 12px 40px rgba(45,27,94,.13);
    z-index: 99;
    align-items: stretch;
  }
  .navbar-nav.open li:not(.navbar-nav-mobile-cta) { border-bottom: 1px solid var(--gray-100); }
  .navbar-nav.open li:not(.navbar-nav-mobile-cta):last-of-type { border-bottom: none; }
  .navbar-nav.open li:not(.navbar-nav-mobile-cta) a {
    display: block;
    padding: 14px 4px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 0;
    background: none;
  }
  .navbar-nav.open li:not(.navbar-nav-mobile-cta) a:hover,
  .navbar-nav.open li:not(.navbar-nav-mobile-cta) a.active { color: var(--purple); background: none; }
  .navbar-cta.open { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .eu-topbar-short { display: none; }

  .hero            { grid-template-columns: 1fr; min-height: auto; }
  .hero-left       { justify-content: flex-start; padding: 56px 24px 40px; }
  .hero-content    { max-width: 100%; }
  .hero-right      { height: 280px; }
  .hero-right-overlay {
    background: linear-gradient(to bottom, #FAF7FF 0%, transparent 35%, transparent 65%, #F0FBF5 100%);
  }
  .hero-float-card { display: none; }
  .hero-logo-badge { bottom: 14px; right: 14px; width: 68px; height: 68px; }
  .stats-inner     { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px 0; }
  .stats-inner .stats-group:last-child { justify-self: unset; align-items: center; text-align: center; }
  .stats-eu-logo   { order: -1; border-left: none; border-right: none; padding: 0; }
  .stats-eu-logo img { height: 40px; }
  .stats-group     { flex-direction: column; gap: 12px; width: 100%; align-items: center; }
  .stats-group .stat-item + .stat-item { border-top: none; padding-top: 0; }
  .stat-item       { align-items: center; text-align: center; }
  .stat-item       { text-align: center; }
  .stat-divider    { display: none; }

  .about-inner          { grid-template-columns: 1fr; }
  .about-photo          { margin-top: 40px; }
  .about-photo-badge    { left: 0; bottom: -16px; }
  .hub-grid             { grid-template-columns: 1fr; }
  .hub-section-header   { grid-template-columns: 1fr; direction: ltr; }
  .hub-section-header--reverse { direction: ltr; }
  .hub-section-meta     { padding: 24px !important; }
  .hub-section-img      { aspect-ratio: 16/9; }
  .achieve-grid         { grid-template-columns: 1fr 1fr; }
  .partner-cards        { grid-template-columns: 1fr; }
  .grid-2, .grid-3      { grid-template-columns: 1fr; }
  .contact-section-inner   { grid-template-columns: 1fr; }
  .contact-panel-left      { justify-content: flex-start; padding: 56px 24px; }
  .contact-panel-left-content { padding-right: 0; max-width: 100%; }
  .contact-panel-right     { padding: 48px 24px; }
  .contact-panel-right-content { padding-left: 0; max-width: 100%; }
  .eu-badge                { flex-direction: column; gap: 10px; }

  .cta-inner       { flex-direction: column; text-align: center; }
  .cta-actions     { justify-content: center; }

  .footer-inner         { grid-template-columns: 1fr; gap: 32px; }
  .footer-col--cta      { padding-top: 0; flex-direction: row; flex-wrap: wrap; }
  .footer-bottom-inner  { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-copyright { white-space: normal; }
}

@media (max-width: 480px) {
  .hero-stats   { flex-direction: column; gap: 16px; align-items: center; }
  .achieve-grid { grid-template-columns: 1fr; }
}

/* ── Legal Pages (Privacy Policy) ─────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 80px;
  color: var(--gray-700);
  line-height: 1.75;
}
.legal-content h2 {
  font-size: 1.15rem;
  color: var(--purple-dark);
  margin: 40px 0 12px;
  font-weight: 700;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p  { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a  { color: var(--purple); }
.legal-content code {
  background: var(--purple-light);
  color: var(--purple-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .85em;
}
.legal-eu-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 48px;
  padding: 20px;
  background: var(--purple-light);
  border-radius: 12px;
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.legal-eu-note p { margin: 0; }
