/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AMEU.ma Custom CSS
   Built on Bootstrap 5 â€” overrides and additions
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Variables â”€â”€ */
:root {
  --primary:        #1a3c6e;
  --primary-dark:   #0e2347;
  --primary-light:  #2a5298;
  --primary-xlight: #3d6db5;
  --accent:         #d4993a;
  --accent-dark:    #b07a28;
  --gold:           #d4993a;
  --gold-light:     #f0c060;
  --navy:           #1a3c6e;
  --navy-deep:      #0a1428;
  --text:           #1e2a3a;
  --text-muted:     #6b7a90;
  --bg-light:       #f4f6f9;
  --bg-section:     #eef1f6;
  --white:          #ffffff;
  --border-color:   #dde2eb;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --section-py: 5rem;
  --border-radius: 0.875rem;
  --border-radius-sm: 0.5rem;
  --shadow-sm: 0 2px 12px rgba(26, 60, 110, 0.07);
  --shadow-md: 0 6px 28px rgba(26, 60, 110, 0.13);
  --shadow-lg: 0 12px 48px rgba(26, 60, 110, 0.18);

  /* Dark section surface */
  --dark-bg:       #08132b;
  --dark-bg-mid:   #0f1e3d;
  --dark-bg-light: #162750;
}

/* â”€â”€ Base font smoothing â”€â”€ */
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* â”€â”€ Bootstrap overrides â”€â”€ */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(26,60,110,0.35);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
}
.btn-outline-primary:hover { background-color: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(26,60,110,0.25); }

.text-primary { color: var(--primary) !important; }
.bg-primary   { background-color: var(--primary) !important; }

/* â”€â”€ Typography â”€â”€ */
body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6,
.section-title, .hero-title, .page-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

/* â”€â”€ Dark-section text resets â”€â”€ */
/* Any heading inside a dark background section should default to white */
[class*="bg-navy"] h1,[class*="bg-navy"] h2,[class*="bg-navy"] h3,
[class*="bg-navy"] h4,[class*="bg-navy"] h5,[class*="bg-navy"] h6,
[class*="bg-navy"] .section-title,
.section-congress h2, .section-congress .section-title,
.congress-hero h2, .congress-hero .section-title,
.section-members .section-title,
.section-members h2 {
  color: #fff;
}

/* â”€â”€ Navbar â”€â”€ */
#main-nav {
  background-color: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  padding: 0.55rem 0;
  transition: box-shadow 0.3s, padding 0.3s, background 0.3s;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
#main-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 0.35rem 0;
}

#main-nav .navbar-brand img { height: 50px; transition: height 0.3s; }
#main-nav.scrolled .navbar-brand img { height: 42px; }

#main-nav .nav-link {
  color: var(--primary) !important;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  font-size: 0.91rem;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
#main-nav .nav-link:hover,
#main-nav .nav-link.active { color: var(--gold) !important; }

#main-nav .navbar-toggler { border-color: rgba(26,60,110,0.25); }
#main-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826%2C60%2C110%2C0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#main-nav .dropdown-menu {
  border: none;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 0.5rem 0;
}
#main-nav .dropdown-item {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 1.25rem;
  transition: background 0.15s, color 0.15s;
}
#main-nav .dropdown-item:hover { background-color: var(--bg-light); color: var(--gold); }

.lang-switch {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem !important;
  border-radius: 6px !important;
}
.lang-switch:hover {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #fff !important;
}

/* â”€â”€ Hero â”€â”€ */
.hero-section {
  position: relative;
  min-height: 90vh;
  background-image: url('/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,19,40,0.92) 0%, rgba(26,60,110,0.72) 100%);
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: 740px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.80);
  max-width: 580px;
  margin-bottom: 0;
  line-height: 1.7;
}

/* â”€â”€ Buttons â”€â”€ */
.btn-gold {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-gold:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212,153,58,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.6) !important;
}

/* â”€â”€ Section utilities â”€â”€ */
.py-6 { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.bg-navy { background-color: var(--navy); }
.bg-dark-deep { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-mid) 100%); }
.text-gold { color: var(--gold) !important; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* â”€â”€ Page header â”€â”€ */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}
.page-title {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}
.page-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.page-lead { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 600px; }
.page-header .breadcrumb { margin-top: 1rem; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.75); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.5); }

/* â”€â”€ Stat cards â”€â”€ */
.stat-card {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.stat-card:hover { border-bottom-color: var(--gold); box-shadow: var(--shadow-md); }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* â”€â”€ Members grid â”€â”€ */
.member-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1.75rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid transparent;
}
.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212,153,58,0.2);
}

.member-photo-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(212,153,58,0.15);
}
.member-photo { width: 100%; height: 100%; object-fit: cover; }
.member-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.member-name { font-size: 0.97rem; font-weight: 700; color: var(--primary); margin-bottom: 0.2rem; }
.member-title { font-size: 0.78rem; margin-bottom: 0.5rem; color: var(--text-muted); line-height: 1.5; }
.section-members .member-card { background: #fff; }

.timeline-icon { width: 36px; height: 36px; object-fit: contain; margin-bottom: 0.4rem; }
.bg-gold { background-color: var(--gold) !important; }

/* â”€â”€ Event cards â”€â”€ */
.event-card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid var(--border-color);
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.event-card-img-wrap { height: 200px; overflow: hidden; }
.event-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.event-card:hover .event-card-img { transform: scale(1.06); }

.event-card-body { padding: 1.25rem; flex: 1; }
.event-card-footer { padding: 0 1.25rem 1.25rem; }

.event-date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 500; }
.event-title { font-size: 1rem; line-height: 1.45; margin-bottom: 0.75rem; }
.event-title a { color: var(--primary); text-decoration: none; font-weight: 600; }
.event-title a:hover { color: var(--gold); }

/* â”€â”€ Timeline â”€â”€ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--border-color));
}
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-year {
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 0.3rem;
  white-space: nowrap;
}
.timeline-title { font-size: 1.05rem; color: var(--primary); margin-bottom: 0.35rem; font-weight: 700; }
.timeline-desc { font-size: 0.9rem; color: var(--text-muted); }

/* â”€â”€ Video cards â”€â”€ */
.video-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid var(--border-color);
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.video-thumb-link { display: block; text-decoration: none; }
.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.video-thumb { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity 0.2s, transform 0.35s; }
.video-card:hover .video-thumb { opacity: 1; transform: scale(1.05); }

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(0,0,0,0.22);
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn i { text-shadow: 0 2px 12px rgba(0,0,0,0.5); color: #ff2020; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }

.video-card-body { padding: 1rem; flex: 1; }
.video-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-title a { color: var(--primary); text-decoration: none; }
.video-title a:hover { color: var(--gold); }
.video-date { font-size: 0.76rem; color: var(--text-muted); }

/* â”€â”€ Contact â”€â”€ */
.contact-info p { font-size: 1rem; margin-bottom: 0.75rem; }
.contact-info a { color: var(--primary); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* â”€â”€ Footer â”€â”€ */
.site-footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-dark) 100%);
  color: rgba(255,255,255,0.82);
  padding: 4.5rem 0 2rem;
}
.site-footer .text-muted { color: rgba(255,255,255,0.5) !important; }

.footer-logo { filter: brightness(0) invert(1); opacity: 0.90; }
.footer-desc { color: rgba(255,255,255,0.60); font-size: 0.88rem; line-height: 1.75; max-width: 300px; }
.footer-heading {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.60); text-decoration: none; font-size: 0.88rem; transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li {
  margin-bottom: 0.6rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.60);
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.footer-contact li i { margin-top: 0.2rem; color: var(--gold); flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.72); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold); }
.footer-address { line-height: 1.55; }
.footer-maps-link { color: var(--gold) !important; font-size: 0.84rem; text-decoration: none; }
.footer-maps-link:hover { text-decoration: underline; }

.footer-socials { display: flex; gap: 0.5rem; }
.footer-social {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-badge {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(212,153,58,0.45);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 3px;
}
.footer-lang-link { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.84rem; }
.footer-lang-link:hover { color: var(--gold); }

.footer-divider { border-color: rgba(255,255,255,0.1); margin: 2.5rem 0 1.5rem; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.38); }
.footer-copy a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-copy a:hover { color: var(--gold); }

/* â”€â”€ Member bio modal â”€â”€ */
.member-card--clickable { cursor: pointer; position: relative; }
.member-card--clickable:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.member-bio-hint {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.member-card--clickable:hover .member-bio-hint { opacity: 1; }

.member-modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-bottom: 3px solid var(--gold);
  align-items: flex-start;
}
.member-modal-header .modal-title { color: #fff; font-size: 1.1rem; }
.member-modal-header .text-muted { color: rgba(255,255,255,0.65) !important; }
.member-modal-header .btn-close { filter: invert(1); opacity: 0.75; }
.member-modal-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.member-modal-photo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}
.member-modal-specialty {
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
  padding: 0.6rem 1rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text);
}
.member-modal-bio { font-size: 0.95rem; line-height: 1.8; color: var(--text); }
.member-modal-bio p { margin-bottom: 0.75rem; }

/* â”€â”€ Milestone strip (homepage) â”€â”€ */
.milestone-strip {
  background: linear-gradient(90deg, var(--dark-bg) 0%, var(--dark-bg-mid) 50%, var(--dark-bg) 100%);
  padding: 1.25rem 0;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.milestone-strip .milestone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.4rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.milestone-strip .milestone-item:last-child { border-right: none; }
.milestone-strip .milestone-value {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.milestone-strip .milestone-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}
.milestone-strip .milestone-badge {
  font-size: 0.62rem;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.3rem;
}

/* â”€â”€ Congress section (dark hero) â”€â”€ */
.congress-hero,
.section-congress {
  position: relative;
  overflow: hidden;
}
.congress-hero::before,
.section-congress::before {
  content: 'NACU';
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  font-family: var(--font-heading);
  font-size: 14rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Congress patron line */
.congress-patron {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(240,192,96,0.9);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.congress-patron i { color: var(--gold-light); flex-shrink: 0; }

/* Congress titles */
.congress-title-intl {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.congress-title-nacu {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.congress-theme-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff !important;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.congress-meta-line {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.75rem;
}
.congress-meta-line i { color: var(--gold); margin-right: 0.4rem; }

/* Congress badge card (right column) */
.congress-badge-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.congress-badge-numeral {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(212,153,58,0.3);
}
.congress-badge-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 0.25rem; }
.congress-badge-sublabel { font-size: 0.72rem; color: rgba(255,255,255,0.45); }
.congress-badge-divider { border-color: rgba(255,255,255,0.15); margin: 1.25rem 0; }
.congress-badge-meta { display: flex; justify-content: space-around; }
.congress-badge-meta-item-value { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: #fff; }
.congress-badge-meta-item-label { font-size: 0.7rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }

/* â”€â”€ Congress archive cards â”€â”€ */
.congress-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid var(--border-color);
}
.congress-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.congress-card-body { padding: 1.5rem; flex: 1; }
.congress-card-footer { padding: 0 1.5rem 1.5rem; }

.congress-edition-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}
.congress-nacu-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent-dark) 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
  margin-left: 0.35rem;
}
.congress-theme { font-size: 0.93rem; color: var(--text); line-height: 1.5; margin-bottom: 0.75rem; }
.congress-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 0.75rem; flex-wrap: wrap; }
.congress-meta i { color: var(--gold); }

/* â”€â”€ Partner cards & badges â”€â”€ */
.partner-logo-badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 0.6rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
}
.partner-logo-badge:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(212,153,58,0.2);
  transform: translateY(-2px);
  color: var(--primary-dark);
  text-decoration: none;
}

.partner-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid var(--border-color);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.partner-card-name { font-size: 0.94rem; font-weight: 700; color: var(--primary); margin-bottom: 0.4rem; }
.partner-card-desc { font-size: 0.84rem; color: var(--text-muted); flex: 1; line-height: 1.65; }
.partner-card-link { font-size: 0.79rem; color: var(--gold); font-weight: 600; text-decoration: none; margin-top: 0.75rem; display: inline-block; transition: color 0.2s; }
.partner-card-link:hover { text-decoration: underline; color: var(--accent-dark); }

.partner-category-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

/* â”€â”€ Innovation cards â”€â”€ */
.innovation-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--primary-light);
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary-light);
}
.innovation-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.innovation-card-icon { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
.innovation-card-title { font-size: 1.02rem; color: var(--primary); margin-bottom: 0.5rem; font-weight: 700; }
.innovation-card-text { font-size: 0.87rem; color: var(--text-muted); flex: 1; line-height: 1.7; }

/* â”€â”€ Mission (Africa) cards â”€â”€ */
.mission-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid var(--border-color);
}
.mission-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.mission-card-flag {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mission-flag-emoji { font-size: 2.5rem; line-height: 1; margin-bottom: 0.5rem; }
.mission-country { font-size: 0.82rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; }
.mission-city { font-size: 0.73rem; color: rgba(255,255,255,0.65); }
.mission-date { font-size: 0.7rem; color: var(--gold-light); font-weight: 600; margin-top: 0.3rem; }
.mission-ops-badge {
  background: var(--gold);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
  margin-top: 0.6rem;
}
.mission-card-body { padding: 1.5rem; flex: 1; }
.mission-summary { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 1rem; }
.mission-procedures-title, .mission-team-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.mission-procedures li, .mission-team li { font-size: 0.84rem; color: var(--text); }
.mission-partner {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-light);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 0.75rem;
  margin-top: 1rem;
  border-left: 3px solid var(--gold);
}

/* â”€â”€ Animated counters â”€â”€ */
.stat-number[data-count] { transition: none; }
@keyframes countUp {
  from { opacity: 0.3; transform: translateY(10px); }
  to   { opacity: 1;   transform: translateY(0); }
}
.stat-number.counting { animation: countUp 0.35s ease forwards; }

/* â”€â”€ 404 â”€â”€ */
.min-vh-60 { min-height: 60vh; }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 767px) {
  .hero-section { min-height: 70vh; }
  :root { --section-py: 3rem; }
  .page-header { padding: 2.5rem 0 2rem; }
  .congress-badge-numeral { font-size: 4rem; }
  .milestone-strip .milestone-item { padding: 0.4rem 0.6rem; }
}
@media (max-width: 575px) {
  .congress-hero::before, .section-congress::before { font-size: 8rem; }
}

