/* ============================================
   BEST Vienna — Redesign
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:        #003751;
  --navy-mid:    #515e66;
  --orange:      #db5e26;
  --orange-dark: #b84e1f;
  --orange-light: #ed925f;
  --white:       #ffffff;
  --off-white:   #ffffff;
  --gray-light:  #e4e8ea;
  --gray:        #738891;
  --text:        #515e66;
  --title-white: #f2f2f2;
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --transition:  0.3s ease;
  --radius:      12px;
  --radius-sm:   8px;
  --max-width:   1200px;
  --light-bg:    #f8f9fa;
  --light-border: #e4e8ea;
}

html {
  scroll-behavior: smooth;
}

html {
  overflow-x: clip;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-pad {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
}

.text-center { text-align: center; }
.text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 82, 26, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--orange);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  padding: 9px 20px;
  letter-spacing: 0.03em;
}

.announcement-bar a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}

.nav-logo img {
  width: 65px;
  height: 92px;
  transform: rotate(-90deg);
  margin: -10px 0;
}

.nav-logo-text { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex: 1;
  height: 72px;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 20px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  position: relative;
}

/* Home icon: larger font */
.nav-links a:first-child {
  font-size: 1.3rem;
  padding: 0 16px;
}

/* APPLY! pill button */
.nav-apply-btn {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
  margin-left: 8px;
  border-bottom: none !important;
  border-top: none !important;
  font-size: 0.82rem !important;
  align-self: center;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-apply-btn::before { display: none !important; }

.nav-apply-btn:hover {
  background: var(--orange-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* vertical dividers between links */
.nav-links a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--gray-light);
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-links a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 0;
  border-top: 1px solid var(--gray-light);
}

.mobile-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 12px 20px;
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--navy);
  background: rgba(13, 27, 42, 0.04);
}

.mobile-nav.open {
  display: flex;
}

/* ---------- About Pillars ---------- */
.pillars-section {
  background: var(--off-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.pillar-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pillar-body {
  padding: 24px;
}

.pillar-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.pillar-body h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pillar-body p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--navy);
  padding: 72px 0;
}

.stats-header {
  text-align: center;
  margin-bottom: 52px;
}

.stats-header h2 {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.stats-header h2 span {
  color: var(--orange);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(232, 82, 26, 0.15);
  border-color: var(--orange);
  transform: translateY(-4px);
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ---------- Contact Section ---------- */
.contact-section {
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-left h2 {
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-left p {
  margin-bottom: 16px;
}

.contact-left .highlight-box {
  background: var(--off-white);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  margin: 24px 0;
}

.contact-left .highlight-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-link-item.featured {
  background: var(--navy);
  border: none;
}

.contact-link-item.featured .link-text {
  color: var(--white);
  font-weight: 600;
}

.contact-link-item.featured .link-label {
  color: rgba(255,255,255,0.55);
}

.contact-link-item.featured:hover {
  background: var(--navy-mid);
  transform: translateX(4px);
}

.contact-link-item:hover {
  background: rgba(232, 82, 26, 0.08);
  transform: translateX(4px);
}

.contact-link-item .icon {
  width: 40px;
  height: 40px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.contact-link-item .icon .contact-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  display: block;
}

.contact-link-item .link-text {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-link-item .link-label {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 1px;
}

.contact-right {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  min-height: 420px;
}

.contact-right iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}


/* ============================================
   BOARD PAGE SPECIFIC
   ============================================ */

/* ---------- Board Hero ---------- */
.board-hero {
  position: relative;
  height: calc(100vh - 112px); /* full viewport minus navbar + announcement bar */
  overflow: hidden;
}

.board-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* keep faces/group visible */
  display: block;
}

.board-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,21,33,0.80) 0%, rgba(0,21,33,0.20) 55%, transparent 100%);
}

.board-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-bottom: 52px;
  color: var(--white);
}

.board-hero-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.board-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
}

/* ---------- Board Members Section ---------- */
.board-members-section {
  background: var(--off-white);
}

.board-members-intro {
  max-width: 600px;
  margin: 0 auto 52px;
  text-align: center;
}

.board-members-intro h2 {
  color: var(--navy);
  margin-bottom: 12px;
}

.board-members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.member-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  opacity: 0;
  transition: opacity var(--transition);
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.member-card:hover::before {
  opacity: 1;
}

.member-photo-wrap {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gray-light);
  transition: border-color var(--transition);
}

.member-card:hover .member-photo-wrap {
  border-color: var(--orange);
}

.member-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.member-card:hover .member-photo-wrap img {
  transform: scale(1.07);
}

.member-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.member-role {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.member-divider {
  width: 36px;
  height: 2px;
  background: var(--gray-light);
  margin: 0 auto 14px;
  border-radius: 2px;
}

.member-study {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 10px;
}

.member-email {
  font-size: 0.82rem;
  color: var(--navy-mid);
  font-weight: 500;
  word-break: break-all;
  transition: color var(--transition);
}

.member-email:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.07s; }
.fade-up.delay-2 { transition-delay: 0.14s; }
.fade-up.delay-3 { transition-delay: 0.21s; }
.fade-up.delay-4 { transition-delay: 0.28s; }
.fade-up.delay-5 { transition-delay: 0.35s; }

/* ============================================
   HOME PAGE — NEW SECTIONS
   ============================================ */

/* ---------- btn-lg ---------- */
.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
}

/* ---------- section-pad-sm ---------- */
.section-pad-sm {
  padding: 48px 0;
}

/* ---------- Hero / Video ---------- */
.hero-video {
  display: block;
  overflow: hidden;
  background: var(--navy);
  position: relative;
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  background-image: url('../images/Website_Header_Loading_Placeholder.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.hero-placeholder.fade-out {
  opacity: 0;
  pointer-events: none;
}

.hero-video-bg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-title-box {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 48px 40px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  background: rgba(13,27,42,0.3);
  max-width: 560px;
  width: 90%;
}

.hero-title-box h1 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-title-box p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Join / Become a member ---------- */
.join-section {
  background: var(--white);
}

.join-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.join-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.join-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.join-image:hover img {
  transform: scale(1.03);
}

.join-content h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.join-content p {
  margin-bottom: 28px;
}

/* ---------- Section Divider ---------- */
.section-divider {
  display: flex;
  align-items: center;
  padding: 48px 0 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-light);
}

.section-divider span {
  padding: 0 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}

/* ---------- Word Cloud ---------- */
.wordcloud-section {
  background: var(--off-white);
}

.wordcloud-menti {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: visible;
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wordcloud-menti svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wordcloud-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
  pointer-events: none;
  opacity: 0; /* hidden once JS runs */
}

/* ---------- BEST in NUMBERS (bubble layout) ---------- */
.numbers-section {
  background: var(--off-white);
  padding: 64px 0;
  overflow: hidden;
}

.numbers-inner {
  display: flex;
  justify-content: center;
}

/* Fixed canvas for organic, asymmetric layout matching mockup */
.bubble-wrap {
  position: relative;
  width: 760px;
  height: 380px;
  max-width: 100%;
}

/* Tiny decorative dots — foreground (z-index 5) */
.bubble-dot {
  border-radius: 50%;
  background: var(--gray-light);
  position: absolute;
  pointer-events: none;
  z-index: 5;
}
.dot-xs { width: 12px; height: 12px; }
.dot-sm { width: 24px; height: 24px; }
.dot-md { width: 42px; height: 42px; }
.dot-lg { width: 58px; height: 58px; }

/* All bubbles share base styles */
.bubble {
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
}

/* Background title bubble (z-index 1, behind everything) */
.bubble-center {
  width: 300px;
  height: 300px;
  background: var(--navy);
  left: 230px;
  top: 40px;
  z-index: 1;
  box-shadow: none;
}
.bubble-center-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.bubble-center-bold {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* Stat bubbles (z-index 3, on top of background bubble) */
.bubble-stat {
  background: var(--white);
  border: 2px solid var(--gray-light);
  box-shadow: var(--card-shadow);
  z-index: 3;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.bubble-stat:hover {
  transform: scale(1.07);
  border-color: var(--orange);
  box-shadow: 0 10px 36px rgba(219,94,38,0.2);
  z-index: 4;
}

/* 84 Local BEST Groups — large, lower-left, slight overlap with center */
.bubble-a {
  width: 200px;
  height: 200px;
  left: 65px;
  top: 155px;
}
/* 30 Countries — smaller, upper-left, overlapping a and center */
.bubble-b {
  width: 130px;
  height: 130px;
  left: 130px;
  top: 18px;
}
/* 4000 Volunteers — medium, right side, overlapping center */
.bubble-c {
  width: 170px;
  height: 170px;
  left: 458px;
  top: 75px;
}

.bubble-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.bubble-b .bubble-number { font-size: 1.4rem; }

.bubble-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-top: 5px;
  line-height: 1.3;
}

/* Pulse ring on large stat bubbles */
.bubble-pulse::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(219,94,38,0.2);
  animation: pulse-ring 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.9);  opacity: 0.8; }
  70%  { transform: scale(1.14); opacity: 0;   }
  100% { transform: scale(1.14); opacity: 0;   }
}

/* Pillar cards as links */
a.pillar-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ---------- OUR EVENTS ---------- */
.events-section {
  background: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.events-grid--four {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.event-card {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--event-color, var(--navy));
  position: relative;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--card-shadow);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

.event-card-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
  color: var(--white);
  text-align: center;
  transition: background var(--transition);
}

.event-card-inner .event-text {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 0 20px;
  transition: bottom var(--transition), transform var(--transition);
}

.event-card:hover .event-card-inner {
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
}

.event-card:hover .event-card-inner .event-text {
  bottom: 50%;
  transform: translateY(50%);
}

.event-abbr {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.event-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
}

.show-more {
  text-align: center;
  padding: 8px 0 16px;
}

.show-more a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.06em;
  transition: color var(--transition);
}

.show-more a:hover { color: var(--orange-dark); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  padding: 36px 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bar p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bar a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bar a:hover { color: var(--orange); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .join-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .join-image { order: -1; }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .board-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-grid--four {
    max-width: none;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-cols > div:first-child {
    grid-column: 1 / -1;
  }

  /* Contact: stack to single column */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-right {
    min-height: 300px;
  }

  .contact-right iframe {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section-pad {
    padding: 56px 0;
  }

  .board-members-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .events-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  .events-grid--four {
    max-width: 340px;
  }

  /* Contact links: single column so long URLs don't overflow */
  .contact-links {
    grid-template-columns: 1fr;
  }

  /* Bubble wrap: percentage-based so it never exceeds viewport */
  .bubble-wrap {
    width: 100%;
    max-width: 100%;
    height: 260px;
  }
  .bubble-center { width: 170px; height: 170px; left: calc(50% - 85px); top: 25px; }
  .bubble-center-title { font-size: 0.95rem; }
  .bubble-center-bold  { font-size: 1.25rem; }
  .bubble-a { width: 125px; height: 125px; left: 5%; top: 95px; }
  .bubble-b { width: 90px;  height: 90px;  left: calc(50% - 120px); top: 8px; }
  .bubble-c { width: 110px; height: 110px; right: 5%; left: auto; top: 55px; }
  .bubble-number { font-size: 1.2rem; }
  .bubble-b .bubble-number { font-size: 0.95rem; }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 28px;
  }
}

/* ============================================
   FAQ PAGE
   ============================================ */

/* Hero */
.faq-hero {
  background: var(--navy);
  padding: 72px 0 64px;
}
.faq-hero-inner {
  max-width: 720px;
}
.faq-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin: 10px 0 16px;
  line-height: 1.15;
}
.faq-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
}

/* Layout */
.faq-section { background: var(--off-white); }
.faq-inner   { max-width: 780px; margin: 0 auto; }

/* Accordion list */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:focus-within,
.faq-item:has(.faq-question[aria-expanded="true"]) {
  box-shadow: 0 4px 24px rgba(0,55,81,0.10);
  border-color: var(--orange);
}

/* Question button */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--orange); }
.faq-question[aria-expanded="true"] { color: var(--orange); }

/* Chevron icon */
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orange);
  transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq-answer.open {
  max-height: 600px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 10px;
}
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-answer a:hover { color: var(--orange-dark); }

/* CTA */
.faq-cta {
  margin-top: 56px;
  text-align: center;
}
.faq-cta p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* ---------- About Hero (reuses board-hero base) ---------- */
.about-hero {
  position: relative;
  height: calc(60vh - 112px);
  min-height: 340px;
  overflow: hidden;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,21,33,0.85) 0%, rgba(0,21,33,0.35) 55%, transparent 100%);
}

.about-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-bottom: 52px;
  color: var(--white);
}

.about-hero-content .board-hero-label {
  display: block;
  margin-bottom: 10px;
}

.about-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.about-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 540px;
}

/* ---------- Who We Are (split layout) ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.about-split-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-split-img:hover img {
  transform: scale(1.03);
}

.about-split-text .board-hero-label {
  display: block;
  margin-bottom: 10px;
}

.about-split-text h2 {
  color: var(--navy);
  margin-bottom: 20px;
}

.about-split-text p {
  margin-bottom: 16px;
}

.about-stat-row {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.about-stat {
  text-align: center;
}

.about-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ---------- What We Do (service cards) ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 24px;
}

.service-card-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 8px;
}

.service-card-body h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Why Join (benefits grid) ---------- */
.benefits-section {
  background: var(--navy);
  padding: 80px 0;
}

.benefits-section .section-title {
  color: var(--white);
}

.benefits-section .section-subtitle {
  color: rgba(255,255,255,0.65);
}

.benefits-intro {
  text-align: center;
  margin-bottom: 52px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background var(--transition), transform var(--transition);
}

.benefit-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  line-height: 1;
}

.benefit-icon svg {
  width: 34px;
  height: 34px;
  color: var(--white);
}

.benefit-card h4 {
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ---------- Join CTA band ---------- */
.about-cta {
  background: var(--off-white);
  padding: 80px 0;
}

.about-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-cta h2 {
  color: var(--navy);
  margin-bottom: 16px;
}

.about-cta p {
  margin-bottom: 28px;
}

.about-cta .highlight-box {
  margin-top: 0;
}

/* ---------- About responsive ---------- */
@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-row {
    gap: 24px;
  }
}

/* ---------- Courses Page Styles ---------- */
.application-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step-card {
  text-align: center;
  padding: 28px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
  border-color: var(--orange);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--gray);
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.info-card {
  padding: 28px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  text-align: center;
  transition: all var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.info-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.info-icon svg {
  width: 42px;
  height: 42px;
  color: var(--navy);
  margin: 0 auto;
}

.info-card h4 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--gray);
  margin: 0;
}

.info-card a {
  color: var(--orange);
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

.course-highlights ul,
.course-highlights li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-highlights li {
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 500;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: white;
  transition: all var(--transition);
}

.faq-item:hover,
.faq-item:focus-within,
.faq-item[open] {
  border-color: var(--orange);
  box-shadow: var(--card-shadow);
}

.faq-item summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary:hover {
  background: var(--off-white);
}

.faq-item[open] summary {
  color: var(--orange);
}

.faq-content {
  padding: 0 20px 20px;
  color: var(--gray);
  border-top: 1px solid var(--gray-light);
}

.faq-content p {
  margin: 0;
  font-size: 0.95rem;
}

.cta-link {
  margin: 40px 0;
}

/* ---------- Courses Responsive ---------- */
@media (max-width: 900px) {
  .application-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }

  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .application-steps {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    padding: 16px;
    font-size: 0.95rem;
  }

  .faq-content {
    padding: 0 16px 16px;
  }

  .section-divider span {
    font-size: clamp(1.15rem, 4.5vw, 1.8rem);
    letter-spacing: 0.03em;
    padding: 0 14px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

/* ============================================
   MOTIVATION LETTERS PAGE
   ============================================ */
.sample-letters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.letter-card {
  background: white;
  border: 1px solid var(--light-border);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
}

.letter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.letter-author {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.letter-location {
  font-size: 0.9rem;
  color: var(--navy-mid);
  margin-bottom: 16px;
}

.letter-btn {
  display: inline-block;
  padding: 10px 16px;
  background-color: var(--orange-dark);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.letter-btn:hover {
  background-color: #96401a;
}

.author-group {
  margin-bottom: 40px;
}

.author-group-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
}

.author-letters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--navy);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner-text {
  color: var(--title-white);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  flex: 1 1 420px;
}

.cookie-banner-text a {
  color: var(--orange-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

.cookie-banner .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cookie-banner .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

/* ---------- Legal Pages (Privacy Policy, etc.) ---------- */
.legal-hero {
  background: var(--navy);
  padding: 100px 0 48px;
}

.legal-hero h1 {
  color: var(--white);
}

.legal-hero p {
  color: var(--gray-light);
  max-width: 640px;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--navy);
  margin-top: 44px;
  margin-bottom: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-content li {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--orange);
  text-decoration: underline;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.legal-content th,
.legal-content td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-light);
  color: var(--gray);
}

.legal-content th {
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.legal-updated {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 32px;
}
