/* ===== BHEF — Baduwa Health & Education Foundation ===== */
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --teal:        #1A6B6B;
  --teal-dark:   #124e4e;
  --teal-light:  #e8f5f5;
  --teal-mid:    #2a8f8f;
  --gold:        #D4A843;
  --gold-dark:   #b8882a;
  --gold-light:  #fdf3dc;
  --white:       #ffffff;
  --bg:          #f8fafa;
  --charcoal:    #1e2a2a;
  --text:        #2d3a3a;
  --text-muted:  #5a7070;
  --border:      #d0e4e4;
  --shadow-sm:   0 2px 8px rgba(26,107,107,0.08);
  --shadow-md:   0 6px 24px rgba(26,107,107,0.12);
  --shadow-lg:   0 12px 48px rgba(26,107,107,0.16);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --transition:  0.3s ease;
  --font-en:     'Poppins', sans-serif;
  --font-ur:     'Noto Nastaliq Urdu', serif;
  --nav-h:       72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-en);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

body.lang-ur {
  font-family: var(--font-ur);
  direction: rtl;
  text-align: right;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== UTILITY ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(212,168,67,0.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.45);
}

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

.btn-white {
  background: var(--white);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

/* ===== HEADER / NAV ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px; height: 44px;
  background: var(--teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 22px;
  flex-shrink: 0;
}

.logo-text .org-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}
.logo-text .org-short {
  font-size: 11px;
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { background: var(--teal-light); color: var(--teal); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--teal-light);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle button {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.lang-toggle button.active {
  background: var(--teal);
  color: var(--white);
}

.btn-donate-nav {
  background: var(--gold);
  color: var(--charcoal);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-donate-nav:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--teal); background: var(--teal-light); }
.mobile-nav .btn-donate-nav {
  display: block;
  text-align: center;
  margin-top: 20px;
  padding: 14px;
  font-size: 16px;
}

/* ===== PAGE WRAPPER ===== */
#page-content { padding-top: var(--nav-h); }

/* ===== PAGE VISIBILITY ===== */
.page { display: none; }
.page.active { display: block; }

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-mid) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 50%, var(--gold) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--white) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, var(--gold) 0%, transparent 40%);
  background-size: 100% 100%;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-shapes::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.08);
}
.hero-shapes::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(212,168,67,0.15);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 60px 0;
}

.hero-content .eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-content .eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.hero-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-title span { color: var(--gold); }

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Visual Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 380px;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-stat {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  display: block;
}

.hero-card-footer {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card-footer .avatar-group {
  display: flex;
}
.hero-card-footer .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
  margin-left: -8px;
}
.hero-card-footer .avatar:first-child { margin-left: 0; }
.hero-card-footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--charcoal);
  padding: 28px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-item .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}

/* ===== INTRO ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro-visual {
  position: relative;
}
.intro-img-box {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 80px;
}
.intro-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--charcoal);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.intro-badge .badge-num { font-size: 28px; font-weight: 800; display: block; }
.intro-badge .badge-txt { font-size: 12px; font-weight: 600; }

.intro-text { padding: 20px 0; }
.intro-features { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 15px; font-weight: 600; color: var(--charcoal); margin-bottom: 2px; }
.feature-item p  { font-size: 14px; color: var(--text-muted); }

/* ===== PROGRAMS ===== */
.programs-bg { background: var(--white); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.program-card-top {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 100%);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.program-card-top::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.program-icon { font-size: 40px; margin-bottom: 12px; }
.program-card-top h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.program-card-top .location { font-size: 12px; color: rgba(255,255,255,0.7); }
.program-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.program-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.program-tag {
  font-size: 11px;
  font-weight: 600;
  background: var(--teal-light);
  color: var(--teal);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.founder-card-top {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 36px;
  text-align: center;
  position: relative;
}
.founder-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--charcoal);
  border: 4px solid rgba(255,255,255,0.3);
}
.founder-card-top h3 { font-size: 20px; font-weight: 700; color: var(--white); }
.founder-card-top p  { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 4px; }
.founder-card-body { padding: 28px; }
.founder-card-body p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 20px 0;
  font-style: italic;
  color: var(--charcoal);
  font-size: 15px;
}
body.lang-ur .blockquote { border-left: none; border-right: 3px solid var(--gold); padding-left: 0; padding-right: 16px; }

.about-text h2 { font-size: 36px; font-weight: 700; color: var(--charcoal); margin-bottom: 16px; }
.about-text p  { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }

.philosophy-box {
  background: var(--teal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 28px 0;
}
.philosophy-box h4 { font-size: 16px; font-weight: 700; color: var(--teal); margin-bottom: 10px; }
.philosophy-box p  { font-size: 14px; color: var(--text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.team-card h4 { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.team-card p  { font-size: 12px; color: var(--text-muted); }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding: 40px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 40px;
  position: relative;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--teal);
  transform: translateX(-50%);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  max-width: 300px;
}
.timeline-year { font-size: 12px; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.timeline-content h4 { font-size: 15px; font-weight: 600; color: var(--charcoal); }
.timeline-content p  { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== FUTURE PLANS ===== */
.plans-bg { background: var(--teal-light); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.plan-card .plan-icon { font-size: 44px; margin-bottom: 16px; }
.plan-card h3 { font-size: 17px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.plan-card p  { font-size: 14px; color: var(--text-muted); }

.phase-box {
  background: var(--teal);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--white);
  margin-bottom: 48px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.phase-box .phase-badge {
  background: var(--gold);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  flex-shrink: 0;
}
.phase-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.phase-box p  { font-size: 14px; opacity: 0.85; }

/* ===== DONATE ===== */
.donate-bg { background: var(--white); }

.donate-intro {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.donate-intro::before {
  content: '❤️';
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  top: -40px; right: -40px;
  line-height: 1;
}
.donate-intro h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.donate-intro p  { font-size: 17px; opacity: 0.85; max-width: 560px; margin: 0 auto; }

.donate-steps {
  background: var(--teal-light);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 48px;
}
.donate-steps h3 { font-size: 20px; font-weight: 700; color: var(--charcoal); margin-bottom: 20px; }
.steps-list { display: flex; flex-direction: column; gap: 14px; }
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.step-num {
  width: 32px; height: 32px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-item p { font-size: 14px; color: var(--text); padding-top: 4px; }
.step-item strong { color: var(--teal); }

.accounts-table-wrap { overflow-x: auto; margin-bottom: 32px; }
.accounts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.accounts-table th {
  background: var(--teal);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.accounts-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.accounts-table tr:nth-child(even) td { background: var(--teal-light); }
.accounts-table tr:hover td { background: var(--teal-light); }
.copy-btn {
  background: var(--teal-light);
  color: var(--teal);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.copy-btn:hover { background: var(--teal); color: var(--white); }
.copy-btn.copied { background: #22c55e; color: white; border-color: #22c55e; }

.seasonal-box {
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 32px;
}
.seasonal-box .icon { font-size: 40px; flex-shrink: 0; }
.seasonal-box h4 { font-size: 17px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.seasonal-box p  { font-size: 14px; color: var(--text-muted); }

.swift-box {
  background: var(--charcoal);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  color: var(--white);
}
.swift-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--gold); }
.swift-codes { display: flex; flex-wrap: wrap; gap: 12px; }
.swift-code {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13px;
}
.swift-code .bank { color: rgba(255,255,255,0.6); font-size: 11px; margin-bottom: 2px; }
.swift-code .code { font-weight: 700; font-family: monospace; color: var(--gold); }

.note-box {
  background: #fff8e8;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}
body.lang-ur .note-box { border-left: none; border-right: 4px solid var(--gold); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item .ci-icon {
  width: 40px; height: 40px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item .ci-label { font-size: 11px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contact-item .ci-val   { font-size: 14px; color: var(--text); }
.contact-item a { color: var(--teal); }
.contact-item a:hover { text-decoration: underline; }

.hours-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.hours-item { display: flex; justify-content: space-between; font-size: 14px; }
.hours-item .day  { color: var(--text-muted); }
.hours-item .time { color: var(--teal); font-weight: 600; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-size: 22px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.contact-form-card p  { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map-placeholder {
  background: var(--teal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--teal);
  font-size: 40px;
  margin-top: 20px;
}
.map-placeholder p { font-size: 14px; color: var(--text-muted); }

.success-msg {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 16px;
  color: #166534;
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
}
.success-msg.show { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-icon { background: rgba(255,255,255,0.1); }
.footer-brand .org-name  { color: var(--white); }
.footer-brand .org-short { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 14px; margin-top: 16px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact p { font-size: 13px; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact p span:first-child { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom a { color: var(--gold); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.social-links a:hover { background: var(--teal); }

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: white; }

/* ===== ADMIN ===== */
.admin-page { display: none; }
.admin-page.active { display: flex; flex-direction: column; min-height: 100vh; }

.admin-login {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-card .logo-icon { margin: 0 auto 20px; width: 60px; height: 60px; font-size: 28px; }
.login-card h2 { font-size: 24px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.login-card .subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.login-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.login-error.show { display: block; }

/* Admin Layout */
.admin-layout { display: flex; flex: 1; min-height: calc(100vh - 0px); }

.admin-sidebar {
  width: 260px;
  background: var(--charcoal);
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 200;
  overflow-y: auto;
}
.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-header .brand { font-size: 16px; font-weight: 700; color: var(--white); }
.admin-sidebar-header .sub  { font-size: 12px; color: var(--gold); margin-top: 2px; }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  margin-bottom: 4px;
  transition: var(--transition);
}
.admin-nav-item:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-nav-item.active { background: var(--teal); color: var(--white); }
.admin-nav-item .nav-icon { font-size: 18px; flex-shrink: 0; }
.admin-nav-section { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); padding: 14px 14px 6px; }

.admin-sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--transition);
}
.logout-btn:hover { background: rgba(255,0,0,0.15); color: #ff7070; }

.admin-main {
  margin-left: 260px;
  flex: 1;
  background: var(--bg);
  min-height: 100vh;
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar h1 { font-size: 20px; font-weight: 700; color: var(--charcoal); }
.admin-topbar .user-chip {
  background: var(--teal-light);
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.admin-panel { display: none; padding: 32px; }
.admin-panel.active { display: block; }

.admin-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-section-title span { font-size: 24px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.dash-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.dash-stat .ds-icon { font-size: 32px; margin-bottom: 12px; }
.dash-stat .ds-num { font-size: 28px; font-weight: 800; color: var(--charcoal); }
.dash-stat .ds-lbl { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.dash-stat::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--teal-light);
  border-radius: 0 var(--radius-md) 0 80px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.data-table th {
  background: var(--teal-light);
  color: var(--teal);
  padding: 14px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}
.badge-green  { background: #dcfce7; color: #16a34a; }
.badge-yellow { background: #fef9c3; color: #a16207; }
.badge-red    { background: #fee2e2; color: #dc2626; }
.badge-blue   { background: #dbeafe; color: #1d4ed8; }

.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}
.admin-card h3 { font-size: 17px; font-weight: 700; color: var(--charcoal); margin-bottom: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.admin-form-group { margin-bottom: 16px; }
.admin-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}
.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,107,107,0.1);
}
.admin-form-group textarea { min-height: 100px; resize: vertical; }

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}
.btn-danger { background: #dc2626; color: white; }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: var(--teal); color: white; }
.btn-success:hover { background: var(--teal-dark); }

.beneficiary-table td:first-child { font-weight: 600; }

.action-btns { display: flex; gap: 8px; }
.icon-btn {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}
.icon-btn-edit  { background: var(--teal-light); color: var(--teal); }
.icon-btn-del   { background: #fee2e2; color: #dc2626; }
.icon-btn-edit:hover { background: var(--teal); color: white; }
.icon-btn-del:hover  { background: #dc2626; color: white; }

/* ===== RECEIPT PRINT ===== */
@media print {
  #header, .footer, .whatsapp-fab, .admin-sidebar, .admin-topbar { display: none !important; }
  .print-receipt { display: block !important; }
}
.print-receipt {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 36px;
  max-width: 600px;
  margin: 0 auto;
}
.receipt-header { text-align: center; padding-bottom: 20px; border-bottom: 2px dashed var(--border); margin-bottom: 20px; }
.receipt-header h2 { font-size: 22px; font-weight: 700; color: var(--teal); }
.receipt-header p  { font-size: 12px; color: var(--text-muted); }
.receipt-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.receipt-row .key { color: var(--text-muted); }
.receipt-row .val { font-weight: 600; color: var(--charcoal); }
.receipt-total { background: var(--teal-light); padding: 16px; border-radius: var(--radius-sm); margin-top: 16px; display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--teal); }
.receipt-footer { text-align: center; margin-top: 20px; padding-top: 20px; border-top: 2px dashed var(--border); font-size: 13px; color: var(--text-muted); }

/* ===== NOTIFICATIONS ===== */
.toast-container {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--charcoal);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  animation: toastIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  max-width: 300px;
}
.toast.success { background: #166534; }
.toast.error   { background: #991b1b; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  display: none;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 520px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-size: 18px;
  box-shadow: var(--shadow-md);
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--teal-dark); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-inner { min-height: auto; padding: 80px 0 60px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) { padding-left: 60px; padding-right: 0; justify-content: flex-start; }
  .timeline-dot { left: 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 60px 0; }
  .plans-grid { grid-template-columns: 1fr; }
  .phase-box { flex-direction: column; text-align: center; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; position: static; }
  .admin-main { margin-left: 0; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-title  { font-size: 30px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .login-card { padding: 28px 20px; }
  .whatsapp-fab { bottom: 16px; right: 16px; }
}
