/* =====================================================
   The Voice of Lady Zainab Foundation — style.css
   Color palette:
     dark-teal  #0d4f4f
     gold       #c9a227
     cream      #faf6ef
     dark       #0d1f1f
   ===================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --teal:       #0d4f4f;
  --teal-light: #155f5f;
  --teal-dark:  #083838;
  --gold:       #c9a227;
  --gold-light: #e0b93a;
  --gold-pale:  #f5e9c0;
  --cream:      #faf6ef;
  --cream-dark: #f0e9dc;
  --dark:       #0d1f1f;
  --dark-mid:   #1a3333;
  --text-main:  #2c2c2c;
  --text-muted: #5a6a6a;
  --white:      #ffffff;
  --shadow-sm:  0 2px 8px rgba(13,31,31,0.10);
  --shadow-md:  0 6px 24px rgba(13,31,31,0.14);
  --shadow-lg:  0 16px 48px rgba(13,31,31,0.18);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --transition: 0.3s ease;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --font-arabic:'Amiri', 'Times New Roman', serif;
  --nav-h:      76px;
  --announce-h: 0px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.arabic-text {
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: 1.4rem;
  color: var(--teal);
}

/* ---------- Utility ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 52px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.divider {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 14px auto 0;
}
.divider-left { margin: 14px 0 0; }

.text-gold   { color: var(--gold); }
.text-teal   { color: var(--teal); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.fw-600      { font-weight: 600; }
.mb-0        { margin-bottom: 0 !important; }
.mt-24       { margin-top: 24px; }
.mt-32       { margin-top: 32px; }
.mt-48       { margin-top: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(201,162,39,0.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--dark);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.87rem; }

/* ---------- Announcement Bar ---------- */
.announce-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.88);
  font-size: 0.83rem;
  min-height: var(--announce-h);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1001;
  padding: 6px 0;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
  text-align: center;
  flex-wrap: wrap;
}
.announce-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}
.announce-inner strong { color: var(--gold); }
.announce-inner a { color: var(--gold); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  border-bottom-color: rgba(212,175,55,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.logo-emblem {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.logo-emblem svg { width: 26px; height: 26px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal);
}
.logo-sub {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-mid);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}
/* Animated underline */
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav-links > li > a:hover { color: var(--teal); background: rgba(13,79,79,0.06); }
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links > li > a.active { color: var(--teal); font-weight: 600; }
.nav-links > li > a.active::after { transform: scaleX(1); background: var(--gold); }

.chevron { font-size: 0.65rem; margin-left: 1px; transition: transform 0.25s ease; }
.has-dropdown:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 220px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 200;
  border-top: 3px solid var(--gold);
  list-style: none;
}
/* Arrow pointer */
.dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--gold);
  border-top: none;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.875rem;
  color: var(--dark-mid);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.dropdown li a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.dropdown li a:hover {
  color: var(--teal);
  background: rgba(13,79,79,0.05);
  padding-left: 28px;
}
.dropdown li a:hover::before { opacity: 1; transform: translateX(0); }

/* Donate CTA */
.nav-donate > a {
  background: var(--gold) !important;
  color: #1a1a1a !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(212,175,55,0.35);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s !important;
}
.nav-donate > a::after { display: none !important; }
.nav-donate > a:hover {
  background: #c9a227 !important;
  box-shadow: 0 4px 16px rgba(212,175,55,0.5) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero Sections ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,31,0.60) 0%, rgba(13,79,79,0.35) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 740px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px; height: 1.5px;
  background: var(--gold);
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 2.0rem;
  color: rgb(255 255 255 / 85%);
  margin-bottom: 0px;
  max-width: 1060px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page Hero (shorter) */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.page-hero .hero-bg { opacity: 0.28; }
.page-hero .hero-content { max-width: 100%; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 12px; }
.page-hero .hero-label { font-size: 0.76rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.card-body h3 { margin-bottom: 10px; }
.card-body p  { color: var(--text-muted); font-size: 0.92rem; }

/* Grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Section Colors ---------- */
.bg-cream      { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-white      { background: var(--white); }
.bg-teal       { background: var(--teal); }
.bg-dark       { background: var(--dark); }
.bg-pattern {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Stats Stripe ---------- */
.stats-stripe {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 48px 0;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 { font-size: 2.4rem; color: var(--gold); margin-bottom: 6px; }
.stat-item p   { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin: 0; }

/* ---------- About Section ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-img-wrap img {
  width: 100%; height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-img-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--gold);
  color: var(--dark);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.about-img-badge .badge-num  { font-size: 1.8rem; display: block; line-height: 1; }
.about-img-badge .badge-text { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }

.mission-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.mission-item { display: flex; gap: 16px; align-items: flex-start; }
.mission-icon {
  width: 40px; height: 40px;
  background: rgba(13,79,79,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.mission-text h4 { margin-bottom: 4px; color: var(--teal); }
.mission-text p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---------- Story Cards ---------- */
.story-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.story-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(201,162,39,0.13);
  position: absolute;
  top: 16px; right: 20px;
  line-height: 1;
}
.story-card h3 { color: var(--teal); margin-bottom: 12px; }
.story-card p  { color: var(--text-muted); font-size: 0.93rem; line-height: 1.75; }

/* ---------- Activity Cards ---------- */
.activity-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.activity-card-img { width: 100%; height: 200px; object-fit: cover; }
.activity-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.activity-card-body h3 { color: var(--teal); margin-bottom: 10px; }
.activity-card-body p  { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.activity-card-footer { padding: 0 24px 24px; }

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.gallery-tab {
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.gallery-tab.active, .gallery-tab:hover { background: var(--teal); color: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(13,31,31,0.52);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 88vw; max-height: 84vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  color: var(--white); font-size: 1.8rem;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  border: none;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--white); font-size: 1.6rem;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  border: none;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-caption {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8); font-size: 0.88rem;
  background: rgba(0,0,0,0.5);
  padding: 5px 16px;
  border-radius: 100px; white-space: nowrap;
}

/* ---------- Merchandise ---------- */
.merch-category { margin-bottom: 64px; }
.merch-category-header { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.merch-category-header h3 { color: var(--teal); font-size: 1.5rem; white-space: nowrap; }
.merch-category-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.merch-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.merch-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.merch-item img {
  width: 100%; height: 190px;
  object-fit: contain;
  padding: 16px;
  background: var(--cream);
}
.merch-item-body { padding: 14px; border-top: 1px solid var(--cream-dark); }
.merch-item-body p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 2.4rem;
  margin: 0 auto 20px;
  border: 4px solid var(--gold-pale);
}
.team-card h4 { color: var(--teal); margin-bottom: 4px; }
.team-card .role { font-size: 0.85rem; color: var(--gold); font-weight: 600; margin-bottom: 12px; display: block; }
.team-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Donate ---------- */
.cause-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cause-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cause-card-top { height: 8px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.cause-card-body { padding: 30px; }
.cause-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(13,79,79,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 1.6rem;
  margin-bottom: 18px;
}
.cause-card-body h3 { color: var(--teal); margin-bottom: 10px; }
.cause-card-body p  { color: var(--text-muted); font-size: 0.92rem; }
.donate-big-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  padding: 20px 56px;
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 28px rgba(201,162,39,0.4);
  transition: all var(--transition);
  font-family: var(--font-head);
  border: none;
  cursor: pointer;
}
.donate-big-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201,162,39,0.5); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.contact-info-item { display: flex; gap: 18px; margin-bottom: 28px; align-items: flex-start; }
.contact-info-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-info-text h4 { color: var(--teal); margin-bottom: 4px; font-size: 1rem; }
.contact-info-text p, .contact-info-text a { color: var(--text-muted); font-size: 0.92rem; }
.contact-info-text a:hover { color: var(--teal); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { color: var(--teal); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--dark); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem; color: var(--dark); background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,79,79,0.1);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6a6a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; padding-right: 36px; }

.map-placeholder {
  height: 240px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-align: center; margin-top: 28px; gap: 10px;
}
.map-placeholder .map-icon { font-size: 2.4rem; }
.map-placeholder p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin: 0; }
.map-placeholder a { color: var(--gold); text-decoration: underline; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: rgba(201,162,39,0.08); border-radius: 50%;
}
.cta-banner::after {
  content: ''; position: absolute;
  bottom: -80px; left: -40px;
  width: 220px; height: 220px;
  background: rgba(201,162,39,0.06); border-radius: 50%;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.82); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo-main { color: var(--gold); font-size: 1rem; }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.45); }
.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  margin-top: 14px; margin-bottom: 20px;
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--white); font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,162,39,0.2);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.87rem; color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.86rem; color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.footer-contact-item a { color: rgba(255,255,255,0.55); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-contact-icon { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

.social-links { display: flex; gap: 10px; margin-top: 4px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--gold); color: var(--dark); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.81rem; color: rgba(255,255,255,0.38);
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--gold); }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--gold); color: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  cursor: pointer; border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ---------- Misc Components ---------- */
.quote-block {
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  background: rgba(201,162,39,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  margin: 24px 0;
}
.quote-block cite {
  display: block; font-style: normal; font-weight: 600;
  color: var(--teal); font-size: 0.88rem; margin-top: 10px;
}

.badge-pill {
  display: inline-block; padding: 4px 12px;
  border-radius: 100px; font-size: 0.76rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-gold  { background: var(--gold-pale); color: var(--gold); }
.badge-teal  { background: rgba(13,79,79,0.1); color: var(--teal); }
.badge-green { background: rgba(39,174,96,0.1); color: #27ae60; }

.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; gap: 22px; align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.event-date-box {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center; min-width: 66px; flex-shrink: 0;
}
.event-date-box .month { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; }
.event-date-box .day   { font-size: 1.7rem; font-family: var(--font-head); font-weight: 700; line-height: 1; }
.event-date-box .year  { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.event-info h4 { color: var(--teal); margin-bottom: 5px; }
.event-info p  { font-size: 0.87rem; color: var(--text-muted); margin: 0; }
.event-info .event-meta { display: flex; gap: 14px; margin-top: 7px; font-size: 0.8rem; color: var(--text-muted); }
.event-info .event-meta span { display: flex; align-items: center; gap: 4px; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201,162,39,0.1));
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: ''; position: absolute;
  left: -26px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
}
.timeline-item h4 { color: var(--teal); margin-bottom: 6px; }
.timeline-item p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.timeline-year {
  display: inline-block; font-size: 0.74rem; font-weight: 700;
  color: var(--gold); background: var(--gold-pale);
  padding: 2px 10px; border-radius: 100px; margin-bottom: 8px;
}

/* Video placeholder */
.video-placeholder {
  background: var(--dark);
  border-radius: var(--radius-md);
  height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--white); text-align: center; overflow: hidden; position: relative;
}
.play-btn {
  width: 66px; height: 66px;
  background: rgba(201,162,39,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--dark);
  transition: all var(--transition);
  border: 3px solid rgba(255,255,255,0.25);
  cursor: pointer;
}
.play-btn:hover { background: var(--gold-light); transform: scale(1.08); }

/* Vision box */
.vision-box {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vision-box::before {
  content: '"';
  position: absolute; top: -20px; left: 24px;
  font-size: 12rem; font-family: var(--font-head);
  color: rgba(201,162,39,0.12); line-height: 1;
}
.vision-box h3 { color: var(--gold); margin-bottom: 18px; }
.vision-box p  { color: rgba(255,255,255,0.88); font-size: 1.12rem; font-style: italic; max-width: 700px; margin: 0 auto; line-height: 1.8; }

/* Photo mosaic for hero sub-pages */
.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.photo-mosaic img:first-child { grid-row: 1 / 3; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .vision-box { padding: 36px 28px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    gap: 0; margin: 0; z-index: 999;
  }
  .nav-links.open {
    max-height: 90vh;
    overflow-y: auto;
    padding: 16px 0 24px;
    border-top: 2px solid var(--gold);
  }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { padding: 13px 24px; border-radius: 0; width: 100%; }
  .hamburger { display: flex; }

  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: none;
    border-left: 3px solid var(--gold);
    border-radius: 0; padding: 0;
    margin-left: 24px;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .has-dropdown.open .dropdown { max-height: 600px; }
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
  .dropdown li a { padding: 10px 16px; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .event-card { flex-direction: column; }
  .photo-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .photo-mosaic img:first-child { grid-row: auto; }
}
@media (max-width: 480px) {
  .hero { min-height: 72vh; }
  .hero-btns { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 24px 20px; }
  .vision-box { padding: 28px 20px; }
  .donate-big-btn { padding: 16px 32px; font-size: 1rem; }
}
@media print {
  .navbar, .announce-bar, .back-to-top, .lightbox { display: none !important; }
  body { background: white; }
}
