@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2A4A;
  --navy-dark: #0F1A2E;
  --navy-light: #243660;
  --gold: #C9922A;
  --gold-light: #E8B84B;
  --gold-pale: #F5E5C0;
  --green: #2D5F3F;
  --green-light: #3A7A52;
  --green-pale: #D4EBD9;
  --black: #0A0A0A;
  --off-white: #F8F5EE;
  --text-muted: #6B7280;
  --border: rgba(201,146,42,0.2);
}

html { scroll-behavior: smooth; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  overflow-wrap: break-word;
  word-break: break-word;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy-dark);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  animation: pageFadeIn 0.4s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

body.page-leaving {
  animation: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 0 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  color: rgba(248,245,238,0.72);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 6px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.2s, transform 0.2s;
  transform-origin: center;
}

.nav-links a:hover { color: var(--off-white); }
.nav-links a:hover::after { opacity: 0.6; transform: scaleX(1); }

.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { opacity: 1; transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  margin-left: 1.25rem;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(248,245,238,0.15);
}

@media (max-width: 1000px) {
  .nav-right {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}

.nav-cta {
  background: var(--gold);
  color: var(--navy-dark);
  text-decoration: none;
  padding: 0.5rem 1.15rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--gold-light); }

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}

/* SECTIONS */
section { position: relative; }

/* HERO */
#home {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, #1A3A28 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 4rem;
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,146,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 860px; position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--off-white);
  margin-bottom: 0.3rem;
}

h1 span { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(248,245,238,0.7);
  max-width: 620px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.8;
}

.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--off-white);
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(248,245,238,0.4);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,245,238,0.55);
  margin-top: 0.4rem;
}

/* PAGE HERO (for inner pages) */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 2rem 3rem;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
}

/* DIVIDER */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 3rem;
}

.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.divider-symbol {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
}

/* SECTION TITLES */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.75rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--off-white);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 span { color: var(--gold); }

.section-intro {
  text-align: center;
  color: rgba(248,245,238,0.65);
  max-width: 580px;
  margin: 0 auto 3.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* CHALLENGE SECTION */
#about { background: var(--navy); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.challenge-card {
  background: rgba(10,10,10,0.4);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.challenge-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.challenge-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.challenge-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(248,245,238,0.75);
}

.challenge-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}

.response-card {
  background: rgba(45,95,63,0.2);
  border: 1px solid rgba(45,95,63,0.5);
  border-radius: 8px;
  padding: 2rem;
}

.response-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 1.2rem;
}

.transform-chain {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chain-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(248,245,238,0.75);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chain-item:last-child { border-bottom: none; }

.chain-arrow {
  color: var(--green-light);
  font-size: 1.2rem;
  font-weight: 300;
}

.philosophy-quote {
  text-align: center;
  margin-top: 4rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(201,146,42,0.05);
  max-width: 700px;
  margin: 4rem auto 0;
}

.philosophy-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.philosophy-quote cite {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,245,238,0.45);
  font-style: normal;
}

/* VISION */
#vision { background: var(--navy-dark); }

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.vision-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(248,245,238,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.vision-item:hover {
  border-color: rgba(201,146,42,0.5);
  background: rgba(201,146,42,0.05);
}

.vision-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(45,95,63,0.3);
  border: 1px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--green-light);
  margin-top: 2px;
}

.vision-text {
  font-size: 0.9rem;
  color: rgba(248,245,238,0.75);
  line-height: 1.6;
}

/* PILLARS */
#pillars { background: var(--navy); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.pillar-card {
  background: rgba(10,10,10,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}

.pillar-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201,146,42,0.25);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pillar-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.pillar-desc {
  font-size: 0.78rem;
  color: rgba(248,245,238,0.5);
  line-height: 1.5;
}

/* GOVERNANCE */
#governance { background: var(--navy-dark); }

.gov-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.gov-node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gov-box {
  background: rgba(27,42,74,0.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 2rem;
  text-align: center;
  min-width: 260px;
}

.gov-box.top {
  background: rgba(201,146,42,0.15);
  border-color: var(--gold);
}

.gov-box .gov-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gov-box .gov-sub {
  font-size: 0.7rem;
  color: rgba(248,245,238,0.45);
  margin-top: 2px;
}

.gov-line {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* COMMUNITIES */
#communities { background: var(--navy); }

.communities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.community-card {
  background: rgba(10,10,10,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.community-card:hover { border-color: var(--green); }

.community-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 0.25rem;
}

.community-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 0.5rem;
}

.community-counties {
  font-size: 0.75rem;
  color: rgba(248,245,238,0.5);
  line-height: 1.6;
}

/* AMBASSADOR */
#ambassador { background: linear-gradient(135deg, var(--navy-dark) 0%, #1A3A28 100%); }

.ambassador-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.big-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin: 1rem 0;
  letter-spacing: -0.02em;
}

.ambassador-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  text-align: left;
}

.amb-feat {
  padding: 1.2rem;
  background: rgba(248,245,238,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  color: rgba(248,245,238,0.7);
  line-height: 1.6;
}

.amb-feat strong {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* ACADEMY */
#academy { background: var(--navy); }

.academy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.course-card {
  background: rgba(10,10,10,0.3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem;
  transition: border-left-color 0.2s;
}

.course-card:hover { border-left-color: var(--gold); }

.course-icon {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.course-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 0.4rem;
}

.course-desc {
  font-size: 0.78rem;
  color: rgba(248,245,238,0.5);
  line-height: 1.6;
}

/* JOIN / APPLY FORM */
#join { background: var(--navy-dark); }

.join-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.path-card {
  background: rgba(248,245,238,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s;
}

.path-card:hover {
  background: rgba(201,146,42,0.07);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.path-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.path-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.path-desc {
  font-size: 0.82rem;
  color: rgba(248,245,238,0.6);
  line-height: 1.6;
}

/* APPLICATION FORM */
.apply-form-wrap {
  background: rgba(27,42,74,0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem;
  max-width: 780px;
  margin: 0 auto;
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(248,245,238,0.55);
  margin-bottom: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,245,238,0.55);
}

input, select, textarea {
  background: rgba(10,10,10,0.4);
  border: 1px solid rgba(201,146,42,0.25);
  border-radius: 4px;
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
}

select option { background: var(--navy); }

textarea { resize: vertical; min-height: 110px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(248,245,238,0.6);
  line-height: 1.5;
  margin: 1rem 0;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
}

.submit-btn {
  width: 100%;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: 4px;
  padding: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 1rem;
}

.submit-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(45,95,63,0.2);
  border: 1px solid var(--green);
  border-radius: 8px;
  margin-top: 1.5rem;
}

.success-msg h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--green-light);
  margin-bottom: 0.5rem;
}

.success-msg p {
  font-size: 0.85rem;
  color: rgba(248,245,238,0.65);
}

/* CONTACT */
#contact { background: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.88rem;
  color: rgba(248,245,238,0.6);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(248,245,238,0.65);
  margin-bottom: 0.75rem;
}

.contact-detail-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201,146,42,0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 1rem;
}

/* FOOTER */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(248,245,238,0.45);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(248,245,238,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(248,245,238,0.3);
}

.ubuntu-motto {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* SCROLLED NAV */
nav.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 1px 20px rgba(0,0,0,0.4);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open a::after { display: none; }
}

@media (min-width: 1001px) {
  .nav-links { flex-shrink: 0; }
  .nav-center { overflow: hidden; }
}

@media (max-width: 1300px) {
  .nav-logo-text { display: none; }
  .nav-logo { margin-right: 0.75rem; }
}

@media (max-width: 480px) {
  .nav-cta { padding: 0.42rem 0.75rem; font-size: 0.62rem; }
  .nav-right { gap: 0.5rem; }
  .two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .apply-form-wrap { padding: 2rem 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Prevent fixed minimum widths from overflowing narrow phone screens */
  .vision-grid,
  .join-paths,
  .pillars-grid,
  .communities-grid,
  .academy-grid,
  .ambassador-features {
    grid-template-columns: 1fr;
  }
  .gov-box {
    min-width: 0;
    width: 100%;
    max-width: 300px;
    padding: 0.75rem 1.25rem;
  }
  .nav-logo-text { font-size: 0.85rem; }
  .nav-logo-mark { width: 38px; height: 38px; }
}

/* SACCO COUNTDOWN */
.countdown-section{
  background:linear-gradient(135deg,#050505,#111);
  text-align:center;
  padding:90px 20px;
  border-top:2px solid rgba(212,175,55,.25);
  border-bottom:2px solid rgba(212,175,55,.25);
}

.countdown-badge{
  display:inline-block;
  color:#d4af37;
  border:1px solid rgba(212,175,55,.4);
  padding:10px 22px;
  border-radius:50px;
  margin-bottom:25px;
  letter-spacing:2px;
  font-size:.85rem;
}

.countdown-section h2{
  color:white;
  font-size:3rem;
  margin-bottom:20px;
}

.countdown-description{
  color:#ddd;
  max-width:720px;
  margin:auto;
  line-height:1.8;
  margin-bottom:45px;
}

.countdown-grid{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:25px;
}

.time-box{
  width:140px;
  background:#121212;
  border:1px solid rgba(212,175,55,.3);
  border-radius:18px;
  padding:25px;
}

.time-box span{
  display:block;
  font-size:3rem;
  color:#d4af37;
  font-weight:bold;
}

.time-box small{
  color:white;
  letter-spacing:2px;
  text-transform:uppercase;
}

.launch-date{
  color:#d4af37;
  margin-top:45px;
  margin-bottom:35px;
}

/* WHATSAPP FLOAT BUTTON */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.wa-popup {
  background: #0F1A2E;
  border: 1px solid rgba(201,146,42,0.35);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  display: none;
  animation: waSlideIn 0.25s ease;
  position: relative;
}

@keyframes waSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-popup.open { display: block; }

.wa-popup-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,146,42,0.15);
}

.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-avatar svg { width: 22px; height: 22px; }

.wa-popup-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #C9922A;
  line-height: 1.2;
}

.wa-popup-status {
  font-size: 0.68rem;
  color: #25D366;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.wa-popup-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  display: inline-block;
}

.wa-bubble {
  background: rgba(255,255,255,0.06);
  border-radius: 0 8px 8px 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  color: rgba(248,245,238,0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
  position: relative;
}

.wa-bubble::before {
  content: '';
  position: absolute;
  top: 0; left: -6px;
  width: 0; height: 0;
  border-top: 6px solid rgba(255,255,255,0.06);
  border-left: 6px solid transparent;
}

.wa-bubble-time {
  font-size: 0.62rem;
  color: rgba(248,245,238,0.35);
  text-align: right;
  margin-top: 3px;
}

.wa-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.wa-start-btn:hover { background: #1ebe5c; }

.wa-start-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.wa-close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: rgba(248,245,238,0.35);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}

.wa-close:hover { color: rgba(248,245,238,0.7); }

.wa-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}

.wa-fab svg { width: 30px; height: 30px; }

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #C9922A;
  border: 2px solid #0F1A2E;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .wa-float { bottom: 1.25rem; right: 1.25rem; }
  .wa-popup { width: 240px; }
}
