/* ============================================
   LoftyHearts Foundation — Main Stylesheet
   ============================================ */

:root {
  --orange: #F5A623;
  --orange-dark: #D4891A;
  --orange-light: #FFF3D6;
  --slate: #3D4F5C;
  --slate-dark: #2A3840;
  --slate-light: #6B7F8C;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --cream: #FDF6EC;
  --text: #1E2A30;
  --border: #E8EDF0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(61,79,92,0.1); }

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 48px; width: auto;
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--slate);
  font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--orange-light); color: var(--orange-dark); }
.nav-donate-btn {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
}
.nav-donate-btn:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,166,35,0.4) !important;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--slate); border-radius: 2px; transition: all 0.3s;
}

/* ─── HERO ────────────────────────────────── */
#home {
  min-height: 100vh;
  background: var(--slate-dark);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(245,166,35,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,166,35,0.08) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(245,166,35,0.06) 0%, transparent 35%);
}
.hero-geometric {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  border: 1px solid rgba(245,166,35,0.1);
}
.hero-geometric::before {
  content: '';
  position: absolute; inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.08);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 80px 5%;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--orange);
  padding: 8px 18px; border-radius: 50px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge::before { content: '◆'; font-size: 8px; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero-title em {
  font-style: normal; color: var(--orange);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute; bottom: 4px; left: 0; right: 0; height: 3px;
  background: var(--orange); opacity: 0.3; border-radius: 2px;
}
.hero-mission {
  font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px; max-width: 540px;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.hero-stats {
  display: flex; gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.6s 0.4s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 900;
  color: var(--orange); line-height: 1;
}
.hero-stat-label {
  font-size: 11px; color: rgba(255,255,255,0.5);
  letter-spacing: 1px; text-transform: uppercase; margin-top: 4px;
}

/* ─── BUTTONS ─────────────────────────────── */
.btn-primary {
  background: var(--orange); color: var(--white);
  border: none; cursor: pointer;
  padding: 16px 36px; border-radius: 50px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
  box-shadow: 0 8px 24px rgba(245,166,35,0.35);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245,166,35,0.45); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 16px 36px; border-radius: 50px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ─── SECTION SHARED ──────────────────────── */
section { padding: 100px 5%; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.section-label::before { content: ''; display: block; width: 32px; height: 2px; background: var(--orange); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; color: var(--slate);
  line-height: 1.2; margin-bottom: 20px;
}
.section-sub {
  font-size: 17px; color: var(--slate-light);
  line-height: 1.7; max-width: 600px;
}

/* ─── ABOUT ───────────────────────────────── */
#about { background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 60px;
}
.about-card-main {
  background: var(--slate); border-radius: 24px;
  padding: 48px; color: white;
  position: relative; overflow: hidden;
}
.about-card-main::before {
  content: '❤';
  position: absolute; right: -20px; top: -20px;
  font-size: 160px; opacity: 0.04;
}
.about-card-main h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; margin-bottom: 16px; color: var(--orange);
}
.about-card-main p { font-size: 15px; line-height: 1.8; opacity: 0.8; }
.about-card-float {
  position: absolute; bottom: -20px; right: 20px;
  background: var(--orange); border-radius: 20px;
  padding: 20px 24px; color: white; text-align: center;
  box-shadow: 0 12px 40px rgba(245,166,35,0.4);
  z-index: 2;
}
.about-card-float .num {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 900; line-height: 1;
}
.about-card-float .lbl { font-size: 12px; opacity: 0.85; margin-top: 4px; }
.about-visual { position: relative; padding-bottom: 40px; }
.about-content .values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 36px;
}
.value-item {
  background: var(--white); border-radius: 16px; padding: 20px;
  border: 1px solid var(--border); transition: all 0.25s;
}
.value-item:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.1); }
.value-icon { font-size: 28px; margin-bottom: 10px; }
.value-title { font-weight: 600; font-size: 14px; color: var(--slate); margin-bottom: 6px; }
.value-desc { font-size: 13px; color: var(--slate-light); line-height: 1.5; }

/* ─── PROJECTS ────────────────────────────── */
#projects { background: var(--white); }
.projects-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; flex-wrap: wrap; gap: 24px;
}
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.project-card {
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
  background: var(--white);
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(61,79,92,0.12); border-color: var(--orange); }
.project-card-top {
  height: 180px; display: flex; align-items: center;
  justify-content: center; font-size: 56px;
  position: relative; overflow: hidden;
}
.pc-orphan .project-card-top { background: linear-gradient(135deg, #2A3840, #3D4F5C); }
.pc-ramadan .project-card-top { background: linear-gradient(135deg, #7B4F00, #D4891A); }
.pc-water .project-card-top { background: linear-gradient(135deg, #1A3A5C, #2E6EA6); }
.pc-zakat .project-card-top { background: linear-gradient(135deg, #2E5C3A, #4A8C5A); }
.project-emoji { position: relative; z-index: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); }
.project-card-body { padding: 28px; }
.project-tag {
  display: inline-block;
  background: var(--orange-light); color: var(--orange-dark);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 50px;
  margin-bottom: 14px;
}
.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--slate);
  margin-bottom: 12px; line-height: 1.3;
}
.project-desc { font-size: 14px; color: var(--slate-light); line-height: 1.7; margin-bottom: 20px; }
.project-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange); font-weight: 600; font-size: 13px;
  text-decoration: none; transition: gap 0.2s;
}
.project-link:hover { gap: 10px; }

/* ─── IMPACT ──────────────────────────────── */
#impact {
  background: var(--slate-dark); padding: 80px 5%;
  position: relative; overflow: hidden;
}
#impact::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(245,166,35,0.08) 0%, transparent 60%);
}
.impact-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 3fr;
  gap: 80px; align-items: center;
}
.impact-heading .section-label { color: var(--orange); }
.impact-heading .section-title { color: var(--white); }
.impact-heading .section-sub { color: rgba(255,255,255,0.55); }
.impact-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.impact-num-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 36px 28px;
  text-align: center; transition: all 0.3s;
}
.impact-num-card:hover { background: rgba(245,166,35,0.1); border-color: rgba(245,166,35,0.3); transform: translateY(-4px); }
.impact-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 900;
  color: var(--orange); line-height: 1; margin-bottom: 8px;
}
.impact-num-label { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; line-height: 1.4; }

/* ─── GALLERY ─────────────────────────────── */
#gallery { background: var(--cream); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 16px; margin-top: 60px;
}
.gallery-item {
  border-radius: 16px; overflow: hidden;
  position: relative; cursor: pointer; transition: all 0.3s;
  min-height: 220px;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-item:nth-child(2) { grid-column: span 2; }
.gallery-item:nth-child(3) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-column: span 3; }
.gallery-item:nth-child(5) { grid-column: span 3; }
.gallery-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 64px;
}
.gallery-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.g1 { background: linear-gradient(135deg, #3D4F5C, #2A3840); }
.g2 { background: linear-gradient(135deg, #7B4F00, #F5A623); }
.g3 { background: linear-gradient(135deg, #1A3A5C, #2E6EA6); }
.g4 { background: linear-gradient(135deg, #2E5C3A, #4A8C5A); }
.g5 { background: linear-gradient(135deg, #5C2E2E, #8C4A4A); }
.gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
  opacity: 1;
  transition: opacity 0.3s;
  color: white; font-weight: 600; font-size: 14px; letter-spacing: 1px;
  z-index: 2;
}

/* ─── DONATE ──────────────────────────────── */
#donate { background: var(--white); }
.donate-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; margin-top: 60px; align-items: start;
}
.donate-causes { display: flex; flex-direction: column; gap: 12px; }
.cause-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: 14px;
  background: var(--cream); border: 1px solid var(--border);
  cursor: pointer; transition: all 0.2s;
  font-size: 14px; font-weight: 500; color: var(--slate);
}
.cause-item:hover, .cause-item.active {
  border-color: var(--orange); background: var(--orange-light); color: var(--orange-dark);
}
.cause-item span:first-child { font-size: 22px; }
.donate-methods { display: flex; flex-direction: column; gap: 20px; }
.donate-method-card {
  border: 1.5px solid var(--border); border-radius: 20px; padding: 28px;
  transition: all 0.25s; cursor: pointer;
}
.donate-method-card:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(245,166,35,0.1); }
.donate-method-card.featured {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange-light), #fff);
}
.method-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.method-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--slate); }
.method-icon { font-size: 24px; }
.method-badge {
  background: var(--orange); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 50px;
}
.method-desc { font-size: 13px; color: var(--slate-light); line-height: 1.6; margin-bottom: 16px; }
.method-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: white;
  border: none; cursor: pointer;
  padding: 12px 24px; border-radius: 50px;
  font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.method-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.method-btn.outline {
  background: transparent; color: var(--slate);
  border: 1.5px solid var(--border);
}
.method-btn.outline:hover { border-color: var(--orange); color: var(--orange); background: transparent; }
.bank-details { background: var(--cream); border-radius: 12px; padding: 16px; margin-top: 12px; }
.bank-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.bank-row:last-child { border-bottom: none; }
.bank-row .key { color: var(--slate-light); }
.bank-row .val { font-weight: 600; color: var(--slate); }
.copy-btn {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 3px 8px; font-size: 11px; color: var(--slate-light);
  cursor: pointer; transition: all 0.2s;
}
.copy-btn:hover { border-color: var(--orange); color: var(--orange); }

/* ─── CONTACT ─────────────────────────────── */
#contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }
.contact-form-wrap {
  background: var(--white); border-radius: 24px; padding: 40px;
  border: 1px solid var(--border);
}
.contact-form-wrap h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--slate); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin-bottom: 8px; letter-spacing: 0.3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--text); background: var(--off-white);
  transition: border-color 0.2s; outline: none; resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); background: white; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-btn {
  width: 100%; background: var(--orange); color: white;
  border: none; cursor: pointer; padding: 16px; border-radius: 50px;
  font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  transition: all 0.25s; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px;
}
.submit-btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.3); }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--slate); margin-bottom: 8px; }
.contact-info > p { font-size: 15px; color: var(--slate-light); line-height: 1.7; margin-bottom: 16px; }
.info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--border); transition: all 0.2s;
}
.info-item:hover { border-color: var(--orange); }
.info-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--orange-light); display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.info-text .label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--slate-light); margin-bottom: 4px; }
.info-text .value { font-size: 14px; font-weight: 500; color: var(--slate); }
.social-links { display: flex; gap: 12px; margin-top: 8px; }
.social-link {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.2s; color: var(--slate);
}
.social-link:hover { transform: translateY(-2px); color: white; border-color: transparent; }
.social-facebook:hover  { background: #1877F2; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-twitter:hover   { background: #000000; }
.social-youtube:hover   { background: #FF0000; }

/* ─── FOOTER ──────────────────────────────── */
footer {
  background: var(--slate-dark); color: rgba(255,255,255,0.7);
  padding: 60px 5% 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.5); max-width: 260px; margin-top: 16px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* ─── ANIMATIONS ──────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── TOAST ───────────────────────────────── */
.toast {
  position: fixed; bottom: 32px; right: 32px;
  background: var(--slate); color: white;
  padding: 14px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
  transform: translateY(100px); opacity: 0;
  transition: all 0.3s; z-index: 9999;
  border-left: 4px solid var(--orange);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ─── HERO INNER GRID ───────────────────────── */
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding: 80px 5%; width: 100%; max-width: 1400px; margin: 0 auto;
}

/* ─── HERO VIDEO ─────────────────────────── */
.hero-video-wrap {
  position: relative;
  width: 100%;
  align-self: center;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  border: 1px solid rgba(245,166,35,0.2);
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-video-mute {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; z-index: 2;
}
.hero-video-mute:hover { background: rgba(245,166,35,0.7); }
.hero-video-badge {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(245,166,35,0.3);
  color: white; font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 50px;
  backdrop-filter: blur(8px); z-index: 2;
}
@media (max-width: 768px) {
  .hero-video-wrap { aspect-ratio: 16/9; border-radius: 16px; }
}
.hero-video-controls {
  position: absolute; bottom: 50px; right: 14px;
  display: flex; flex-direction: column; gap: 8px; z-index: 2;
}
.hero-video-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 7px 12px;
  cursor: pointer; transition: all 0.2s; color: white;
  font-size: 12px; font-weight: 600; font-family: 'DM Sans', sans-serif;
}
.hero-video-btn:hover { background: rgba(245,166,35,0.7); border-color: var(--orange); }
.hero-video-sound-prompt {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7); color: white;
  padding: 10px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 600; z-index: 3;
  pointer-events: none;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.5; }
}
/* ─── ZAKAT CALCULATOR ───────────────────── */
#zakat { background: var(--cream); }
.zakat-wrap { margin-top: 48px; }
.zakat-nisab-bar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 24px 28px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px;
  margin-bottom: 28px;
}
.zakat-nisab-label { font-weight: 600; font-size: 14px; color: var(--slate); white-space: nowrap; }
.zakat-nisab-tabs { display: flex; gap: 8px; }
.zakat-tab {
  border: 1.5px solid var(--border); border-radius: 50px;
  padding: 8px 18px; font-size: 13px; font-weight: 500;
  color: var(--slate-light); background: var(--off-white);
  cursor: pointer; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.zakat-tab.active { border-color: var(--orange); background: var(--orange-light); color: var(--orange-dark); font-weight: 600; }
.zakat-tab-sub { font-size: 11px; opacity: 0.7; }
.zakat-nisab-value-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.zakat-nisab-value-label { font-size: 12px; color: var(--slate-light); }
.zakat-nisab-input-row {
  display: flex; align-items: center; gap: 4px;
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 8px 14px; background: var(--off-white);
}
.zakat-currency { font-weight: 600; color: var(--slate); }
.zakat-nisab-input-row input {
  border: none; background: transparent; outline: none;
  width: 120px; font-size: 14px; font-weight: 600;
  color: var(--slate); font-family: 'DM Sans', sans-serif;
}
.zakat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.zakat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
}
.zakat-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--slate); margin-bottom: 24px;
}
.zakat-field { margin-bottom: 18px; }
.zakat-field label { display: block; font-size: 13px; color: var(--slate-light); margin-bottom: 8px; }
.zakat-input-wrap {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 12px 16px; background: var(--off-white); transition: border-color 0.2s;
}
.zakat-input-wrap:focus-within { border-color: var(--orange); background: white; }
.zakat-input-wrap span { font-weight: 600; color: var(--slate-light); font-size: 14px; }
.zakat-input-wrap input {
  border: none; background: transparent; outline: none;
  width: 100%; font-size: 14px; color: var(--text); font-family: 'DM Sans', sans-serif;
}
.zakat-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px;
  font-weight: 600; font-size: 14px; color: var(--slate);
}
.zakat-right { display: flex; flex-direction: column; gap: 24px; }
.zakat-result {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 28px;
}
.zakat-result-status { text-align: center; padding: 20px 0; }
.zakat-status-icon { font-size: 40px; margin-bottom: 12px; }
.zakat-status-text { font-size: 15px; color: var(--slate-light); }
.zakat-result-breakdown { margin-top: 16px; }
.zakat-result-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--slate-light);
}
.zakat-result-row:last-child { border-bottom: none; }
.zakat-result-row--total {
  font-weight: 700; font-size: 18px; color: var(--slate);
  border-top: 2px solid var(--orange) !important;
  border-bottom: none !important; margin-top: 8px; padding-top: 16px;
}
.zakat-result-row--total span:last-child { color: var(--orange); }
.zakat-donate-btn {
  display: block; text-align: center;
  background: var(--orange); color: white;
  padding: 14px; border-radius: 50px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  margin-top: 20px; transition: all 0.25s;
}
.zakat-donate-btn:hover { background: var(--orange-dark); transform: translateY(-2px); }
.zakat-disclaimer {
  font-size: 12px; color: var(--slate-light); line-height: 1.6;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}

/* ─── LIGHTBOX ───────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: white;
  font-size: 28px; cursor: pointer; z-index: 9001;
  padding: 8px; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 0.6; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 22px; padding: 14px 18px;
  border-radius: 12px; cursor: pointer; z-index: 9001; transition: all 0.2s;
}
.lightbox-nav:hover { background: rgba(245,166,35,0.4); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-stage { text-align: center; max-width: 80vw; }
.lightbox-media img { max-height: 70vh; max-width: 80vw; border-radius: 12px; object-fit: contain; }
.lightbox-media-placeholder {
  width: 500px; max-width: 80vw; height: 340px;
  border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 80px;
}
.lightbox-caption { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 16px; }
.lightbox-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.lightbox-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.2s;
}
.lightbox-dot.active { background: var(--orange); }

/* ─── MOBILE ──────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: white; flex-direction: column;
    padding: 20px; gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform 0.3s;
    z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .hero-stats { gap: 24px; }
  .about-grid, .donate-grid, .contact-grid, .impact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-card-float { position: static; margin-top: 20px; }
  .impact-numbers { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item { grid-column: span 1 !important; height: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-content .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
}
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 998; }
.mobile-overlay.show { display: block; }

/* ─── MOBILE ADDITIONS ────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 5% 40px; }
  .hero-video-wrap { width: 100%; }
  .zakat-grid { grid-template-columns: 1fr; }
  .zakat-nisab-bar { flex-direction: column; align-items: flex-start; }
  .zakat-nisab-value-wrap { margin-left: 0; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-media-placeholder { width: 90vw; height: 220px; }
}

/* ─── ZAKAT LIVE NISAB DISPLAY ─────────────── */
.zakat-nisab-live {
  margin-left: auto;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 4px;
}
.zakat-nisab-live-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--slate-light);
}
.zakat-nisab-live-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900;
  color: var(--orange); line-height: 1;
}
.zakat-rates-status {
  font-size: 11px; color: var(--slate-light);
  text-align: right; line-height: 1.5;
}
@media (max-width: 768px) {
  .zakat-nisab-live { margin-left: 0; align-items: flex-start; }
  .zakat-nisab-live-value { font-size: 22px; }
}

/* ─── WHATSAPP BUTTON ─────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: #25D366;
  border-radius: 50px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: white;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all 0.3s;
  font-weight: 600; font-size: 14px;
}
.whatsapp-float:hover {
  background: #1ebc59;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
  border-radius: 50px;
}
.whatsapp-float-label { white-space: nowrap; }

.whatsapp-inline-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  background: #25D366; color: white;
  padding: 8px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.whatsapp-inline-btn:hover { background: #1ebc59; transform: translateY(-1px); }

@media (max-width: 768px) {
  .whatsapp-float { bottom: 20px; right: 16px; padding: 14px; border-radius: 50%; }
  .whatsapp-float-label { display: none; }
}

/* ─── DYNAMIC GALLERY IMAGES ─────────────── */
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-bg .gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  flex-shrink: 0;
}

.gallery-slide.active {
  opacity: 1;
}
.gallery-dots {
  position: absolute;
  bottom: 36px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.gallery-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s;
}
.gallery-dot.active {
  background: white;
}
