@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/inter-var.woff2') format('woff2');
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1a2340; background: #fff; overflow-x: hidden; }

:root {
  --blue-dark:  #1a3a6b;
  --blue-mid:   #1f5bb4;
  --blue-light: #4a90d9;
  --blue-pale:  #e8f1fb;
  --teal:       #6ba3a0;
  --white:      #ffffff;
  --grey-light: #f5f7fa;
  --grey-text:  #6b7280;
}

/* ══ NAVBAR ══════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 16px rgba(26,58,107,0.10);
  transition: box-shadow 0.3s;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500;
  color: #3a4a6b; letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-mid); font-weight: 700; }

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; position: absolute; left: 50%; transform: translateX(-50%);
}
/* Clip the logo PNG to show only the circle ring */
.nav-brand-logo {
  height: 52px; overflow: hidden;
  flex-shrink: 0; display: flex; align-items: center;
}
.nav-brand-logo img {
  height: 52px; width: auto;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-text .brand-sub {
  font-size: 0.65rem; font-weight: 400; color: var(--grey-text);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.nav-brand-text .brand-name {
  font-size: 1.0rem; font-weight: 700; color: var(--blue-dark); letter-spacing: 0.03em;
}

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-social { display: flex; gap: 8px; }
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid #c5d3e8; color: var(--blue-dark);
  text-decoration: none; transition: all 0.2s;
}
.nav-social a:hover { background: var(--blue-mid); border-color: var(--blue-mid); color: white; }
.nav-social svg { width: 15px; height: 15px; }
.btn-contact {
  padding: 7px 20px; border: 2px solid var(--blue-dark); border-radius: 999px;
  font-size: 0.83rem; font-weight: 600; color: var(--blue-dark);
  text-decoration: none; letter-spacing: 0.04em;
  transition: all 0.2s; background: transparent; cursor: pointer;
}
.btn-contact:hover { background: var(--blue-dark); color: white; }

/* ══ HERO ════════════════════════════════════════════════ */
#hero {
  position: relative; height: 100vh; min-height: 580px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('Background Image.png') center center / cover no-repeat;
  filter: brightness(0.50); z-index: 0;
}
.hero-content {
  position: relative; z-index: 1; max-width: 860px; padding: 0 24px;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800;
  color: #fff; line-height: 1.13; letter-spacing: -0.01em;
}
.hero-cta {
  margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.75); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
.hero-scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.75);
  border-bottom: 2px solid rgba(255,255,255,0.75);
  transform: rotate(45deg); animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* ══ INTERIOR PAGE HERO (About / Projects / Members / Contact) ══ */
.page-hero {
  position: relative; height: 42vh; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: url('Background Image.png') center center / cover no-repeat;
  filter: brightness(0.45); z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; padding: 0 24px; color: #fff; }
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15;
}
.page-hero .subtitle {
  margin-top: 12px; font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.85);
}

/* ══ GLOBAL SHAPERS COMMUNITY SECTION ═══════════════════ */
#community { background: var(--white); padding: 96px 48px; }
.community-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}

/* Left column */
.community-left { }
.section-supertag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--grey-text); margin-bottom: 6px;
  display: block;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800;
  color: var(--blue-dark); line-height: 1.15; margin-bottom: 28px;
}
.community-text {
  background: var(--blue-dark); border-radius: 12px;
  padding: 28px 32px; margin-bottom: 24px;
}
.community-text p {
  font-size: 0.93rem; line-height: 1.8;
  color: var(--blue-light); margin-bottom: 14px;
}
.community-text p:last-child { margin-bottom: 0; }

/* Global stats teal box */
.global-stats {
  background: var(--teal); border-radius: 12px;
  padding: 24px 28px;
  display: flex; justify-content: space-around; align-items: center; gap: 12px;
}
.gs-stat { text-align: center; }
.gs-stat-num { font-size: 1.7rem; font-weight: 800; color: var(--blue-dark); line-height: 1; margin-bottom: 4px; }
.gs-stat-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: white; }
.gs-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.3); }

/* RIGHT — 3 image frames */
.community-right { display: flex; flex-direction: column; gap: 12px; }
.img-frame-top {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 16/9; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
}
.img-frame-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.img-frame-bottom {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 1; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
}
.img-frame-top img, .img-frame-bottom img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--blue-mid); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; opacity: 0.6; text-align: center; padding: 12px;
}
.img-placeholder svg { width: 28px; height: 28px; }
/* Connect / Empower / Act pillar cards (in place of photos) */
.pillar-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; height: 100%; width: 100%; padding: 22px; gap: 10px;
}
.pillar-icon { width: 40px; height: 40px; color: var(--blue-mid); }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-title { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.06em; color: var(--blue-dark); text-transform: uppercase; }
.pillar-desc { font-size: 0.85rem; line-height: 1.55; color: var(--blue-mid); max-width: 340px; }

/* ══ WHO WE ARE — HEIDELBERG (dark navy) ══════════════════ */
#the-hub { background: var(--blue-dark); padding: 96px 48px; }
.hub-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.hub-photo {
  border-radius: 16px; overflow: hidden; aspect-ratio: 4/3;
  background: var(--blue-mid); display: flex; align-items: center; justify-content: center;
}
.hub-photo img { width: 100%; height: 100%; object-fit: cover; }
.hub-photo-placeholder {
  color: rgba(255,255,255,0.35); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
}
.hub-right { }
.hub-supertag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  display: block; margin-bottom: 6px;
}
.hub-title {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800;
  color: white; line-height: 1.15; margin-bottom: 24px;
}
/* HD stats teal box */
.hd-stats {
  background: var(--teal); border-radius: 12px;
  padding: 20px 24px; margin-bottom: 28px;
  display: flex; justify-content: space-around; align-items: center; gap: 8px;
}
.hd-stat { text-align: center; }
.hd-stat-num { font-size: 1.45rem; font-weight: 800; color: var(--blue-dark); line-height: 1; margin-bottom: 4px; }
.hd-stat-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: white; }
.hd-stat-div { width: 1px; height: 30px; background: rgba(255,255,255,0.3); }

.hub-text { }
.hub-text p {
  font-size: 0.93rem; line-height: 1.8;
  color: rgba(255,255,255,0.75); margin-bottom: 14px;
}
.hub-text p:last-child { margin-bottom: 0; }
.hub-text strong { color: white; }

.ishape-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.ishape-pill {
  padding: 7px 18px; border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.82); letter-spacing: 0.04em;
}

/* ══ PROJECTS ════════════════════════════════════════════ */
#projects { background: var(--grey-light); padding: 96px 48px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-mid); margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.0rem; color: var(--grey-text);
  line-height: 1.75; max-width: 600px; margin-top: 12px;
}
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: 48px;
}
.project-card {
  background: white; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,58,107,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(26,58,107,0.13); }
.project-card .see-more {
  font-size: 0.78rem; font-weight: 600; color: var(--blue-mid);
  letter-spacing: 0.04em; margin-top: 12px; display: inline-flex;
  align-items: center; gap: 4px;
}
.project-card .see-more::after { content: '→'; }

/* ══ PROJECT MODAL ══════════════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,20,50,0.7); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: white; border-radius: 18px; width: 100%; max-width: 780px;
  max-height: 88vh; overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(10,20,50,0.28);
}
.modal-header {
  position: relative; height: 280px; background: var(--blue-dark);
  display: flex; align-items: flex-end; padding: 28px 32px;
  border-radius: 18px 18px 0 0; overflow: hidden;
}
.modal-header-bg {
  position: absolute; inset: 0; object-fit: cover;
  width: 100%; height: 100%; filter: brightness(0.5);
}
.modal-header-bg-placeholder {
  position: absolute; inset: 0; background: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2); font-size: 0.8rem; letter-spacing: 0.08em;
}
.modal-header-content { position: relative; z-index: 1; }
.modal-tag {
  display: inline-block; background: var(--blue-mid); color: white;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
  margin-bottom: 10px;
}
.modal-title {
  font-size: 1.7rem; font-weight: 800; color: white; line-height: 1.2;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%; background: white;
  border: none; cursor: pointer; font-size: 1.1rem; color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background 0.2s;
}
.modal-close:hover { background: var(--blue-pale); }
.modal-body { padding: 32px; }
.modal-body h4 {
  font-size: 1.05rem; font-weight: 700; color: var(--blue-dark);
  margin-bottom: 12px; margin-top: 28px;
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p {
  font-size: 0.95rem; color: #4a5568; line-height: 1.8; margin-bottom: 14px;
}
.modal-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px;
}
.modal-gallery-item {
  aspect-ratio: 1; border-radius: 8px; background: var(--blue-pale);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--blue-mid); font-weight: 500; letter-spacing: 0.05em;
}
.modal-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.project-img {
  height: 180px; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--blue-mid); font-weight: 500; letter-spacing: 0.05em;
}
.project-img img { height: 150px; width: auto; object-fit: contain; }
.modal-header-logo {
  position: absolute; right: 28px; bottom: 22px; z-index: 1;
  height: 170px; width: auto; object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}
/* Hub impact cards (temporary copy from previous site, in place of photos) */
.hub-impact-stack { display: flex; flex-direction: column; gap: 16px; }
.hub-impact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 26px 24px; text-align: center;
}
.hub-impact-icon { width: 42px; height: 42px; margin: 0 auto 14px; color: #a9b6f5; }
.hub-impact-icon svg { width: 100%; height: 100%; }
.hub-impact-title { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 2px; }
.hub-impact-num { font-size: 2.3rem; font-weight: 800; color: #bda9ec; line-height: 1.15; margin-bottom: 8px; }
.hub-impact-desc { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.55; max-width: 260px; margin: 0 auto; }
.project-body { padding: 24px; }
.project-tag {
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-mid); margin-bottom: 7px;
}
.project-title { font-size: 1.05rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 9px; line-height: 1.35; }
.project-desc { font-size: 0.87rem; color: var(--grey-text); line-height: 1.7; }

/* ══ JOIN US ═════════════════════════════════════════════ */
#join { background: var(--blue-dark); padding: 96px 48px; text-align: center; }
#join .section-tag { color: rgba(255,255,255,0.55); }
#join .section-title { color: white !important; }
#join .section-subtitle { color: rgba(255,255,255,0.7); }
#join .join-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); box-shadow: none; }
#join .join-card h3 { color: white; }
#join .join-card p { color: rgba(255,255,255,0.7); }
#join .join-card-icon { background: rgba(255,255,255,0.1); }
#join .join-card-icon svg { color: rgba(255,255,255,0.8); }
#join .section-inner { max-width: 780px; }
#join .section-subtitle { margin: 12px auto 48px; text-align: center; max-width: 560px; }
.join-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 26px; text-align: left; margin-bottom: 44px;
}
.join-card {
  background: white; border-radius: 14px; padding: 30px;
  box-shadow: 0 2px 12px rgba(26,58,107,0.07);
}
.join-card-icon {
  width: 46px; height: 46px; background: var(--blue-pale); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.join-card-icon svg { width: 22px; height: 22px; color: var(--blue-mid); }
.join-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 9px; }
.join-card p { font-size: 0.88rem; color: var(--grey-text); line-height: 1.7; }
.btn-primary-lg {
  display: inline-block; padding: 15px 42px;
  background: var(--blue-mid); color: white;
  border-radius: 8px; font-size: 1.0rem; font-weight: 700;
  text-decoration: none; border: 2px solid var(--blue-mid);
  transition: all 0.2s; letter-spacing: 0.02em;
}
.btn-primary-lg:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-primary-lg.ghost { background: transparent; border-color: rgba(255,255,255,0.5); }
.btn-primary-lg.ghost:hover { background: white; color: var(--blue-dark); border-color: white; }

/* ══ ORG DETAILS (Charity ID / address / mission) ════════ */
#org { background: var(--white); padding: 88px 48px; }
.org-inner { max-width: 1140px; margin: 0 auto; }
.org-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; margin-top: 40px;
}
.org-mission p {
  font-size: 1.0rem; line-height: 1.85; color: #2c3a5a; margin-bottom: 16px;
}
.org-mission p:last-child { margin-bottom: 0; }
.org-card {
  background: var(--grey-light); border: 1px solid #e2e8f2;
  border-radius: 14px; padding: 30px 32px;
}
.org-card h3 {
  font-size: 0.95rem; font-weight: 800; color: var(--blue-dark);
  letter-spacing: 0.02em; margin-bottom: 18px;
}
.org-field { margin-bottom: 16px; }
.org-field:last-child { margin-bottom: 0; }
.org-field-label {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--grey-text); margin-bottom: 3px;
}
.org-field-value { font-size: 0.95rem; line-height: 1.6; color: #1a2340; white-space: pre-line; }
.org-field-value a { color: var(--blue-mid); text-decoration: none; }
.org-field-value a:hover { text-decoration: underline; }

/* ══ MEMBERS ════════════════════════════════════════════ */
#members { background: var(--grey-light); padding: 96px 48px; text-align: center; }
#members .section-inner { max-width: 1100px; }
#members .section-title {
  font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 800;
  color: var(--blue-dark); line-height: 1.15; margin-bottom: 8px;
}
#members .section-subtitle {
  font-size: 1.0rem; color: var(--grey-text); line-height: 1.7;
  max-width: 580px; margin: 0 auto 52px;
}
.members-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.member-card {
  background: white; border-radius: 14px; padding: 20px 16px 18px;
  box-shadow: 0 2px 12px rgba(26,58,107,0.07);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.member-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(26,58,107,0.13); }
.member-photo {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  margin-bottom: 14px; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo-placeholder {
  font-size: 1.6rem; font-weight: 800; color: var(--blue-mid); letter-spacing: -0.02em;
}
.member-role {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue-mid);
  background: var(--blue-pale); border-radius: 999px;
  padding: 3px 10px; margin-bottom: 8px; display: inline-block;
}
.member-name {
  font-size: 0.88rem; font-weight: 700; color: var(--blue-dark); line-height: 1.3;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.member-name a {
  color: var(--blue-dark); text-decoration: none; transition: color 0.2s;
}
.member-name a:hover { color: var(--blue-mid); }
.li-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; background: var(--blue-mid); border-radius: 4px;
  flex-shrink: 0; transition: background 0.2s;
}
.li-icon:hover { background: var(--blue-dark); }
.li-icon svg { width: 11px; height: 11px; fill: white; }
/* "This could be you" card */
.member-card.tcby {
  border: 2px dashed #b0c4de; background: transparent;
  box-shadow: none; cursor: pointer;
}
.member-card.tcby:hover { background: var(--blue-pale); transform: translateY(-4px); }
.tcby-circle {
  width: 88px; height: 88px; border-radius: 50%;
  border: 2.5px dashed #b0c4de;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; background: transparent;
}
.tcby-circle svg { width: 32px; height: 32px; color: var(--blue-light); opacity: 0.6; }
.tcby-text {
  font-size: 0.92rem; font-weight: 700; color: var(--blue-mid); line-height: 1.35;
}
.tcby-sub { font-size: 0.75rem; color: var(--grey-text); margin-top: 6px; font-weight: 400; }

@media (max-width: 960px) {
  #members { padding: 64px 24px; }
  .members-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══ FOOTER ══════════════════════════════════════════════ */
footer { background: var(--blue-dark); color: rgba(255,255,255,0.6); padding: 56px 48px 32px; }
.footer-inner { max-width: 1140px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 44px; gap: 48px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-wrap {
  height: 52px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center;
}
.footer-logo-wrap img { height: 52px; width: auto; }
.footer-brand-name { font-size: 0.96rem; font-weight: 700; color: white; line-height: 1.25; }
.footer-brand-name span { display: block; font-size: 0.7rem; font-weight: 400; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; }
.footer-mission {
  font-size: 0.82rem; line-height: 1.65; color: rgba(255,255,255,0.55);
  max-width: 300px; margin-top: 4px;
}
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); text-decoration: none; transition: all 0.2s;
}
.footer-social a:hover { background: var(--blue-mid); border-color: var(--blue-mid); color: white; }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-col ul li span { color: rgba(255,255,255,0.5); font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

/* ══ RESPONSIVE ══════════════════════════════════════════ */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 20px; }
  #community, #the-hub, #projects, #join, #org { padding: 64px 24px; }
  .community-grid, .hub-grid, .org-grid { grid-template-columns: 1fr; gap: 36px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; gap: 28px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .join-cards { grid-template-columns: 1fr; }
  .global-stats, .hd-stats { flex-wrap: wrap; gap: 16px; }
  .gs-stat-div, .hd-stat-div { display: none; }
}
