/* ================================================
   HUManity Foundation — Shared CSS
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────── */
:root {
  --primary: #3191c2;
  --primary-dark: #2580b0;
  --secondary: #004E89;
  --accent: #ffac00;
  --accent-dark: #e69b00;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --radius: 0.75rem;
  --font-sans: 'Open Sans', system-ui, sans-serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: #2D3142;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
}

/* ── Layout Utilities ──────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

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

.text-right {
  text-align: right;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.overflow-hidden {
  overflow: hidden;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.object-cover {
  object-fit: cover;
  object-position: center;
}

.object-contain {
  object-fit: contain;
}

.pointer-events-none {
  pointer-events: none;
}

.hidden {
  display: none;
}

/* ── Grid ──────────────────────────────────────── */
.grid {
  display: grid;
}

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Typography Utilities ──────────────────────── */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.text-8xl {
  font-size: 6rem;
}

.font-bold {
  font-weight: 700;
}

.font-black {
  font-weight: 900;
}

.font-heading {
  font-family: var(--font-heading);
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.uppercase {
  text-transform: uppercase;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.75;
}

/* ── Color Utilities ───────────────────────────── */
.text-white {
  color: #fff;
}

.text-black {
  color: #000;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.text-gray-400 {
  color: var(--gray-400);
}

.text-gray-500 {
  color: var(--gray-500);
}

.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-900 {
  color: var(--gray-900);
}

.bg-black {
  background: #000;
}

.bg-white {
  background: #fff;
}

.bg-primary {
  background: var(--primary);
}

.bg-accent {
  background: var(--accent);
}

/* ── Button Component ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-md {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(49, 145, 194, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 30px rgba(49, 145, 194, 0.5);
}

.btn-accent {
  background: var(--accent);
  color: #000;
  box-shadow: 0 4px 20px rgba(255, 172, 0, 0.35);
}

.btn-accent:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 30px rgba(255, 172, 0, 0.5);
}

.btn-dark {
  background: #000;
  color: #fff;
}

.btn-dark:hover {
  background: #222;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-square {
  border-radius: var(--radius);
}

/* ── Navbar ────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
}

.nav-logo img {
  height: 4.5rem;
  width: auto;
  transition: transform 0.3s;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-600);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-donate-btn {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(49, 145, 194, 0.3);
}

.nav-donate-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(49, 145, 194, 0.45);
}

/* Mobile Nav */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

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

.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-menu {
  display: none;
  position: fixed;
  top: 5.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
}

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

.mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gray-700);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
}

.mobile-menu .mobile-donate {
  margin-top: 1rem;
}

/* ── Footer ────────────────────────────────────── */
footer {
  background: var(--secondary);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  display: flex;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

footer ul {
  list-style: none;
}

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

footer ul li a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

footer ul li a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ── Floating CTAs ─────────────────────────────── */
/* ── Floating CTAs ─────────────────────────────── */
.floating-ctas {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 3.5rem;
  padding: 0 0 0 1rem;
  border-radius: 9999px 0 0 9999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  /* collapsed — just enough for the icon */
  width: 3.5rem;
  /* white stroke on the left arc */
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-right: none;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease;
}

.floating-ctas:hover .floating-cta {
  width: 11rem;
  box-shadow: -6px 0 28px rgba(0, 0, 0, 0.35);
}

.floating-cta svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.floating-cta .cta-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.2s ease 0.1s, max-width 0.35s ease;
  pointer-events: none;
}

.floating-ctas:hover .floating-cta .cta-label {
  opacity: 1;
  max-width: 8rem;
}

/* Colour variants */
.fcta-donate {
  background: #3191c2;
  color: #fff;
}

.fcta-volunteer {
  background: #ffac00;
  color: #1a1a00;
}

.fcta-partner {
  background: #ffac00;
  color: #1a1a00;
}

/* Staggered slide-in on load */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.floating-cta:nth-child(1) {
  animation: slideInRight 0.5s 0.4s ease both;
}

.floating-cta:nth-child(2) {
  animation: slideInRight 0.5s 0.55s ease both;
}

.floating-cta:nth-child(3) {
  animation: slideInRight 0.5s 0.7s ease both;
}

/* ── Scroll Animations ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ── Keyframe Animations ───────────────────────── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scaleInX {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ── Hero Sections ─────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* ── Gradient Text ─────────────────────────────── */
.gradient-text-gold {
  background: linear-gradient(135deg, var(--accent), #ffd24d, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: linear-gradient(135deg, var(--primary), #67c9f0, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-mixed {
  background: linear-gradient(90deg, var(--accent), #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Labels ────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.label-blue {
  background: rgba(49, 145, 194, 0.12);
  color: var(--primary);
  border: 1px solid rgba(49, 145, 194, 0.2);
}

.label-gold {
  background: rgba(255, 172, 0, 0.12);
  color: #b87000;
  border: 1px solid rgba(255, 172, 0, 0.25);
}

.label-white {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.label-dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Stats Counter ─────────────────────────────── */
.stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  letter-spacing: -0.04em;
}

/* ── Logo Ticker ───────────────────────────────── */
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: ticker 40s linear infinite;
}

.ticker-track img {
  height: 5rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}

.ticker-wrapper:hover .ticker-track img {
  filter: grayscale(0);
  opacity: 1;
}

/* ── Cards ─────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

/* ── Photo Gallery ─────────────────────────────── */
.gallery-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 1.5rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--gray-200);
}

.gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 3px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.gallery-item {
  flex-shrink: 0;
  scroll-snap-align: center;
  width: 18rem;
  height: 13rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 2px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ── Collage Grid ──────────────────────────────── */
.collage-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(2, 1fr);
  height: 100%;
  position: absolute;
  inset: 0;
}

.collage-grid div {
  overflow: hidden;
}

.collage-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  animation: slowZoom 12s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06);
  }
}

/* ── Newspaper Section ─────────────────────────── */
.newspaper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.newspaper-left {
  background: #120800;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 172, 0, 0.15);
}

.newspaper-right {
  background: #1a1a1a;
  padding: 4rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newspaper-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  z-index: 2;
}

.newspaper-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.newspaper-serif {
  font-family: Georgia, 'Times New Roman', serif;
}

.stat-box-light {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #000;
  padding: 1rem;
  transition: background 0.2s;
}

.stat-box-light:hover {
  background: #fff;
}

.stat-box-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  transition: background 0.2s;
}

.stat-box-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Volunteer Perks Cards ─────────────────────── */
.perk-card {
  position: relative;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 2px solid rgba(49, 145, 194, 0.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.perk-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  border-top: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
  border-radius: 0 1rem 0 0;
}

.perk-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(49, 145, 194, 0.6);
}

/* ── Slideshow Component ───────────────────────── */
.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.slideshow img.active {
  opacity: 1;
}

/* ── Program Grid Card ─────────────────────────── */
.program-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.program-card-blue {
  background: var(--primary);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(100, 180, 220, 0.3);
}

.program-card-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(200, 230, 245, 0.9);
  border-bottom: 1px solid rgba(200, 230, 245, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.program-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.program-card-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  color: #fff;
}

.program-card-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, var(--primary), rgba(49, 145, 194, 0.7), transparent);
  z-index: 20;
}

.program-icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.program-icon-circle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ── Impact Stats ──────────────────────────────── */
/* ── Stats Section ─────────────────────────────── */
.stats-section {
  position: relative;
  background: #000;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.stats-photo-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(2, 1fr);
  height: 100%;
  width: 100%;
}

.mosaic-cell {
  overflow: hidden;
}

.mosaic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.9);
  animation: slowZoom 12s ease-in-out infinite alternate;
}

.mosaic-cell:nth-child(even) img {
  animation-direction: alternate-reverse;
  animation-duration: 14s;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 1;
}

.stats-accent-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffac00, #3191c2, #ffac00);
  z-index: 2;
}

.stats-accent-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3191c2, #ffac00, #3191c2);
  z-index: 2;
}

.stats-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 4.5rem 3rem;
}

.stats-card {
  display: flex;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 1300px;
  width: 100%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px 4px rgba(255, 255, 255, 0.18),
    0 0 64px 12px rgba(255, 255, 255, 0.08),
    0 12px 60px rgba(0, 0, 0, 0.45);
}

.stat-item {
  flex: 1;
  min-width: 100px;
  padding: 2.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s;
  gap: 0.5rem;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.stat-num-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  line-height: 1;
}

.stat-plus {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  line-height: 1;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  margin-top: 0;
  line-height: 1.5;
}

/* Legacy .stats-container for any remaining usage */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}



/* ── Donation Form ─────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #fff;
  border-radius: 1rem;
  width: 100%;
  max-width: 36rem;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.modal-header h2 {
  color: #000;
  font-size: 1.4rem;
}

.modal-header p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  color: #000;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Form Elements */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--gray-50);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  background: #fff;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-error.show {
  display: block;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.amount-btn {
  padding: 0.6rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 0.5rem;
  background: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.amount-btn:hover {
  border-color: var(--accent);
  background: rgba(255, 172, 0, 0.05);
}

.amount-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.donation-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.donation-type-option {
  padding: 0.9rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.donation-type-option.selected {
  border-color: var(--accent);
  background: rgba(255, 172, 0, 0.08);
}

.donation-type-option span {
  display: block;
  font-weight: 700;
}

.donation-type-option small {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.phone-group {
  display: flex;
  gap: 0.5rem;
}

.phone-group .form-select {
  width: 5rem;
  flex-shrink: 0;
}

.phone-group .form-input {
  flex: 1;
}

/* ── Volunteer Form ─────────────────────────────── */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-item span {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* ── CCI Programs Page ─────────────────────────── */
.cci-hero {
  background: var(--primary);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cci-holistic {
  background: #1a2c4e;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* ── Speaker Label ─────────────────────────────── */
.speaker-label {
  position: absolute;
  bottom: 2.5rem;
  left: -1.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 17rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.speaker-label .bar {
  width: 4px;
  height: 2.5rem;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.speaker-label h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.speaker-label .role {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.speaker-label p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ── Badge ─────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-blue {
  background: rgba(49, 145, 194, 0.15);
  color: var(--primary);
}

.badge-gold {
  background: rgba(255, 172, 0, 0.15);
  color: #b87000;
}

.badge-gray {
  background: var(--gray-100);
  color: var(--gray-600);
}

.badge-solid-gold {
  background: var(--accent);
  color: #000;
}

/* ── News Grid ─────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: start;
}

.news-img-wrap {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.news-img-wrap:hover img {
  transform: scale(1.05);
}

.news-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.news-img-wrap:hover .news-hover-overlay {
  opacity: 1;
}

/* ── Impact Stories ─────────────────────────────── */
.story-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

/* ── Leadership Cards ──────────────────────────── */
.leader-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.leader-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

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

.leader-card:hover .leader-img-wrap img {
  transform: scale(1.05);
}

/* ── WhatsApp Chatbot ──────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 80;
  background: #25d366;
  color: #fff;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 1.8rem;
  height: 1.8rem;
}

/* ── Scroll Indicator ──────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  animation: scrollBounce 2s infinite;
  z-index: 20;
}

.scroll-indicator span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ── Accent Lines ──────────────────────────────── */
.accent-line-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
  animation: scaleInX 1s 1s ease both;
  transform-origin: left;
}

.accent-line-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
}

/* ── Home Hero Split ───────────────────────────── */
.split-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  overflow: hidden;
}

.split-hero-desktop {
  display: flex;
  height: 100vh;
}

.split-left,
.split-right {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.split-right {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.split-overlay-left {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(to right, rgba(180, 80, 0, 0.65) 0%, rgba(160, 60, 0, 0.55) 50%, rgba(0, 0, 0, 0.25) 100%);
}

.split-overlay-right {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(to left, rgba(10, 45, 100, 0.75) 0%, rgba(15, 60, 110, 0.65) 50%, rgba(0, 0, 0, 0.35) 100%);
}

.split-content {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 20;
  max-width: 32rem;
}

.split-content-right {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 20;
  max-width: 32rem;
  text-align: right;
}

.split-center {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}

.split-center .btns {
  pointer-events: auto;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

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

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

  .collage-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-donate-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .split-hero-desktop {
    flex-direction: column;
  }

  .split-left,
  .split-right {
    height: 50vh;
    flex: unset;
    width: 100%;
  }

  .split-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .collage-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .newspaper-left,
  .newspaper-right {
    padding: 2.5rem 1.5rem;
  }

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

  .stat-item {
    min-width: 120px;
    padding: 1.5rem 0.75rem;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 5rem);
  }

  .section {
    padding: 3rem 0;
  }

  .floating-cta {
    height: 2.75rem;
  }
}

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

  .donation-type-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Utility Overrides / Additions ─────────────── */
.shadow-lg {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-xl {
  border-radius: 1rem;
}

.rounded-2xl {
  border-radius: 1.25rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.aspect-video {
  aspect-ratio: 16/9;
}

.aspect-square {
  aspect-ratio: 1;
}

.aspect-9-16 {
  aspect-ratio: 9/16;
}

.mix-blend-overlay {
  mix-blend-mode: overlay;
}

.mix-blend-multiply {
  mix-blend-mode: multiply;
}

.grayscale {
  filter: grayscale(1);
}

.grayscale-0 {
  filter: grayscale(0);
}

/* ── Animations Applied ─────────────────────────── */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 3s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spin 8s linear infinite;
}

.animate-bounce {
  animation: scrollBounce 2s ease-in-out infinite;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease both;
}

/* ── Success State ──────────────────────────────── */
.success-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.success-icon {
  width: 5rem;
  height: 5rem;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: #16a34a;
}

/* ── Video Container ─────────────────────────────── */
.video-phone {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: #000;
  width: 100%;
  max-width: 22rem;
  border: 4px solid rgba(255, 255, 255, 0.2);
  aspect-ratio: 9/16;
}

.video-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Tags ───────────────────────────────────────── */
.tag-pill {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  display: inline-block;
}
/* ── Partner With Us — Navbar Buttons ─────────── */
.nav-partner-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-partner-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 172, 0, 0.4);
}

.mobile-partner-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  width: calc(100% - 2rem);
  margin: 0 1rem;
  transition: all 0.25s;
}
.mobile-partner-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* Reset button defaults for floating partner button */
button.floating-cta {
  background-color: #ffac00;
  appearance: none;
  -webkit-appearance: none;
}

/* ── Partner Modal Box ─────────────────────────── */
.partner-modal-box {
  max-width: 46rem;
  max-height: 92vh;
}

.partner-modal-header {
  position: relative;
  padding: 2rem 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 1rem 1rem 0 0;
}
.partner-modal-close {
  color: rgba(255,255,255,0.8) !important;
  background: rgba(255,255,255,0.15) !important;
}
.partner-modal-close:hover {
  background: rgba(255,255,255,0.3) !important;
  color: #fff !important;
}

.partner-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  color: #fff;
}

.partner-modal-header h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.partner-modal-header p {
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  margin-top: 0.3rem;
}

/* ── Partner Modal Body ────────────────────────── */
.partner-modal-body {
  padding: 1.75rem 1.75rem 1.5rem;
}

/* ── Two-column form row ───────────────────────── */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

/* ── Required star ─────────────────────────────── */
.req-star {
  color: #e53e3e;
}

/* ── Pill Toggle Groups ────────────────────────── */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.pill-option {
  position: relative;
  cursor: pointer;
}

.pill-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pill-option span {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: all 0.18s;
  user-select: none;
  white-space: nowrap;
}

.pill-option:hover span {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(49, 145, 194, 0.06);
}

/* Radio selected */
.pill-option input[type="radio"]:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(49, 145, 194, 0.35);
}

/* Checkbox selected */
.pill-option.pill-check input[type="checkbox"]:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 172, 0, 0.35);
}
.pill-option.pill-check:hover span {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(255, 172, 0, 0.07);
}

/* ── Other Geography Input ─────────────────────── */
.geo-other-input {
  margin-top: 0.6rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.geo-other-input.visible {
  max-height: 4rem;
  opacity: 1;
}

/* ── Partner Submit Button ─────────────────────── */
.btn-partner-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(49, 145, 194, 0.35);
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}
.btn-partner-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(49, 145, 194, 0.5);
}
.btn-partner-submit:active {
  transform: translateY(0);
}
.btn-partner-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ── Partner Success State ─────────────────────── */
.partner-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 1.5rem;
  animation: partnerSuccessFade 0.4s ease forwards;
}
@keyframes partnerSuccessFade {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.partner-success-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f9f0, #d1f2e4);
  border: 3px solid #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.1);
}

.partner-success h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}
.partner-success > p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.partner-success-contact {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 1.1rem 1.5rem;
  width: 100%;
  margin-bottom: 1.5rem;
}
.contact-intro {
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.partner-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: color 0.2s;
  border-radius: 0.5rem;
}
.partner-contact-link:hover {
  color: var(--secondary);
}
.partner-contact-link + .partner-contact-link {
  border-top: 1px solid var(--gray-200);
  margin-top: 0.25rem;
}

.btn-partner-done {
  padding: 0.7rem 2.5rem;
  border-radius: 9999px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-partner-done:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Partner Modal Responsive ──────────────────── */
@media (max-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .partner-modal-body {
    padding: 1.25rem 1rem 1rem;
  }
  .partner-modal-header {
    padding: 1.5rem 1rem 1.25rem;
  }
  .partner-modal-header h2 {
    font-size: 1.25rem;
  }
}
