/* Abu Doma Mosque Theme - Egyptian Islamic architectural style */

:root {
  --sand-50: #f7f3ec;
  --sand-100: #ebe3d4;
  --sand-200: #ddd1bd;
  --sand-300: #c4ac82;
  --stone: #a68b6a;
  --ochre: #b8860b;
  --teal-600: #0d6b62;
  --teal-700: #0a564f;
  --teal-800: #08423c;
  --teal-900: #052e29;
  --gold: #c9a227;
  --gold-light: #e5c649;
  --text-dark: #2c2416;
  --text-muted: #5c5242;
  --border: #e0d6c4;
  --surface: #fdfbf7;
  --shadow: 0 1px 3px rgba(44,36,22,0.06), 0 4px 12px rgba(44,36,22,0.05);
  --shadow-lg: 0 10px 40px rgba(44,36,22,0.08), 0 4px 12px rgba(44,36,22,0.05);
  --radius: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--sand-50);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
}

.font-arabic { font-family: 'Amiri', serif; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.2s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal-800);
  text-decoration: none;
}
.navbar-nav { display: flex; gap: 12px; align-items: center; }
.nav-social { color: var(--teal-700); padding: 6px; display: flex; align-items: center; transition: opacity 0.2s; }
.nav-social:hover { opacity: 0.8; }
.footer-social { display: inline-flex; margin-bottom: 12px; color: rgba(255,255,255,0.9); transition: opacity 0.2s; }
.footer-social:hover { opacity: 0.8; color: white; }
.lang-toggle {
  display: flex;
  gap: 2px;
  background: var(--sand-100);
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.lang-toggle button {
  padding: 6px 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.lang-toggle button.active {
  background: var(--surface);
  color: var(--teal-700);
  box-shadow: var(--shadow);
}

.hero {
  min-height: 72vh;
  background: linear-gradient(165deg, var(--teal-800) 0%, var(--teal-900) 50%);
  color: white;
  padding: 140px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg-image, none);
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(165deg, rgba(8,66,60,0.7) 0%, rgba(5,46,41,0.82) 50%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 0 L36 28 L64 32 L36 36 L32 64 L28 36 L0 32 L28 28 Z' fill='none' stroke='%23ffffff' stroke-width='0.4' stroke-opacity='0.08'/%3E%3Cpath d='M32 8 L34 26 L52 32 L34 38 L32 56 L30 38 L12 32 L30 26 Z' fill='none' stroke='%23ffffff' stroke-width='0.3' stroke-opacity='0.05'/%3E%3Cpath d='M32 16 L33 24 L40 32 L33 40 L32 48 L31 40 L24 32 L31 24 Z' fill='none' stroke='%23ffffff' stroke-width='0.2' stroke-opacity='0.04'/%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  z-index: 3;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(5,46,41,0.6), transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 5; max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; line-height: 1.2; }
.hero .subtitle { opacity: 0.88; font-size: 1.05rem; font-weight: 500; }
.hero-verse { margin-top: 36px; }
.hero-verse .verse-basmala { font-family: 'Amiri', serif; font-size: 1.1rem; opacity: 0.9; margin-bottom: 8px; }
.hero-verse .verse { font-family: 'Amiri', serif; font-size: 1.25rem; opacity: 0.95; line-height: 1.8; }
.hero-verse .verse[data-lang="en"] { font-family: 'Plus Jakarta Sans', sans-serif; font-style: italic; font-size: 1.05rem; }
.hero-verse .verse-ref { font-size: 0.95rem; opacity: 0.88; }

.progress-bar-wrap { max-width: 560px; margin: 40px auto 0; padding: 24px 28px; background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.15); }
.progress-stats { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; }
.progress-stats strong { font-size: 1.25rem; }
.progress-bar { height: 8px; background: rgba(255,255,255,0.2); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 17.5%; background: linear-gradient(90deg, var(--gold-light), var(--gold)); border-radius: 999px; transition: width 0.6s ease; }

.hero-donate { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.2); }
.hero-donate-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 32px; background: rgba(255,255,255,0.08); padding: 16px 24px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); }
.hero-donate-item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hero-donate-label { font-size: 0.9rem; opacity: 0.9; }
.hero-donate-value { font-family: 'JetBrains Mono', monospace; font-size: 1rem; font-weight: 600; letter-spacing: 0.05em; }
.hero-donate-copy { padding: 6px 12px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); color: white; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 12px; transition: all 0.2s; }
.hero-donate-copy:hover { background: rgba(255,255,255,0.25); }

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; scroll-margin-top: 70px; }
section h2 { font-size: 1.65rem; font-weight: 700; color: var(--teal-900); margin-bottom: 28px; letter-spacing: -0.02em; }

.section-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 0 L36 28 L64 32 L36 36 L32 64 L28 36 L0 32 L28 28 Z' fill='none' stroke='%2308463c' stroke-width='0.8' stroke-opacity='0.12'/%3E%3Cpath d='M32 12 L34 26 L48 32 L34 38 L32 52 L30 38 L16 32 L30 26 Z' fill='none' stroke='%2308463c' stroke-width='0.5' stroke-opacity='0.08'/%3E%3C/svg%3E") no-repeat top right;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.section-card > * { position: relative; z-index: 1; }
.section-card:last-child { margin-bottom: 0; }
.section-card--large { padding: 64px 60px; }
.section-card--large h2 { font-size: 1.9rem; margin-bottom: 32px; }
.section-card--large .content-row { gap: 56px; }
.section-card--large .content-row p { font-size: 1.08rem; line-height: 1.75; }
.section-card--large .stats-row { gap: 24px; }
.section-card--large .stat { padding: 36px 28px; }
.section-card--large .stat .value { font-size: 2.15rem; }
.section-card--large .stat .label { font-size: 1rem; margin-top: 6px; }
.section-card--large .stat-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.section-card--large .stat-icon svg { width: 28px; height: 28px; }

.content-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) {
  .content-row { grid-template-columns: 1fr; gap: 28px; }
  .section-card { padding: 32px 24px; }
  .section-card--large { padding: 40px 28px; }
  .section-card--large .stat { padding: 28px 24px; }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: all 0.25s ease; }
.feature-card:hover { border-color: var(--teal-600); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature-card .icon-wrap { width: 52px; height: 52px; margin: 0 auto 16px; background: linear-gradient(135deg, rgba(13,107,98,0.12), rgba(13,107,98,0.06)); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.feature-card .icon-wrap svg { width: 26px; height: 26px; fill: currentColor; color: var(--teal-700); }
.feature-card h3 { font-size: 1rem; font-weight: 600; color: var(--teal-800); }

.floor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.floor-btn { padding: 12px 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text-dark); border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px; transition: all 0.2s; }
.floor-btn:hover { border-color: var(--teal-600); color: var(--teal-700); }
.floor-btn.active { background: var(--teal-700); color: white; border-color: var(--teal-700); }

.floor-view { background: linear-gradient(180deg, #f5f0e8 0%, #ebe3d4 100%); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; min-height: 300px; }
.floor-diagram { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 540px; margin: 0 auto; }
.zone { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px 14px; text-align: center; font-size: 13px; font-weight: 600; color: var(--teal-800); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.zone.primary { background: linear-gradient(135deg, rgba(13,107,98,0.14), rgba(13,107,98,0.08)); border-color: rgba(13,107,98,0.35); color: var(--teal-900); }
.zone.span-2 { grid-column: span 2; }
.zone.span-3 { grid-column: span 3; }
.zone.span-4 { grid-column: span 4; }

.donation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .donation-grid { grid-template-columns: 1fr; } }
.donation-card { background: linear-gradient(145deg, var(--teal-700) 0%, var(--teal-900) 100%); color: white; border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; }
.donation-card::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); }
.donation-card h3 { margin-bottom: 16px; font-size: 1.15rem; font-weight: 600; position: relative; }
.donation-card p { opacity: 0.92; margin-bottom: 8px; font-size: 0.95rem; position: relative; }
.donation-card .account-wrap { position: relative; margin: 16px 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.donation-card .account { font-family: 'SF Mono', 'Monaco', monospace; font-size: 1.05rem; background: rgba(0,0,0,0.25); padding: 14px 18px; border-radius: 10px; flex: 1; min-width: 0; letter-spacing: 0.02em; }
.btn-copy { padding: 10px 16px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); color: white; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 13px; transition: all 0.2s; }
.btn-copy:hover { background: rgba(255,255,255,0.3); }
.donation-card .note { font-size: 0.9rem; opacity: 0.88; margin-top: 16px; position: relative; }
.donation-card .account-label { font-size: 0.9rem; opacity: 0.9; margin-bottom: 4px; }
.donation-card .account-detail { margin: 10px 0; font-size: 0.9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.donation-card .account-detail code { font-size: 0.85rem; padding: 4px 8px; background: rgba(0,0,0,0.2); border-radius: 4px; }
.btn-copy-sm { padding: 4px 10px; font-size: 11px; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: linear-gradient(135deg, #fdfbf7 0%, #f5f0e8 100%); border-radius: var(--radius); padding: 28px 24px; text-align: center; border: 1px solid var(--border); }
.stat .value { font-size: 1.75rem; font-weight: 700; color: var(--teal-700); letter-spacing: -0.02em; }
.stat .label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

.committee-list { list-style: none; }
.committee-list li { padding: 20px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.committee-list li:last-child { border-bottom: none; }
.committee-list .role { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--teal-600); color: white; border: none; border-radius: 10px; font-weight: 600; cursor: pointer; text-decoration: none; font-size: 15px; transition: all 0.2s; }
.btn:hover { background: var(--teal-700); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--teal-700); border: 1px solid var(--teal-600); }

.site-footer, footer { background: var(--teal-900); color: white; padding: 48px 24px 36px; text-align: center; position: relative; overflow: hidden; }
.site-footer p, footer p { opacity: 0.88; font-size: 0.95rem; line-height: 1.7; }
.site-footer .verse, footer .verse { font-size: 1.1rem; margin-bottom: 8px; }

[data-lang="ar"] { display: none; }
[data-lang="en"] { display: none; }
body.lang-ar [data-lang="ar"] { display: block; }
body.lang-en [data-lang="en"] { display: block; }
body.lang-ar [data-lang="en"] { display: none !important; }
body.lang-en [data-lang="ar"] { display: none !important; }
.lang-toggle button[data-lang="ar"],
.lang-toggle button[data-lang="en"] { display: inline-flex !important; }
body.lang-ar .stat .label [data-lang="ar"],
body.lang-en .stat .label [data-lang="en"] { display: inline; }
body.lang-ar .stat .label [data-lang="en"],
body.lang-en .stat .label [data-lang="ar"] { display: none; }
.committee-list .role [data-lang="ar"],
.committee-list .role [data-lang="en"] { display: none; }
body.lang-ar .committee-list .role [data-lang="ar"],
body.lang-en .committee-list .role [data-lang="en"] { display: inline; }

html[dir="ltr"] .navbar { flex-direction: row; }
html[dir="ltr"] .lang-toggle { order: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeUp 0.5s ease forwards; }

/* Site plan */
.site-plan-wrap { background: linear-gradient(180deg, #f0ede8 0%, #e8e4dc 100%); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-bottom: 24px; }
.site-plan-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; }
.site-plan-diagram { max-width: 420px; margin: 0 auto; aspect-ratio: 4/3; position: relative; min-height: 200px; background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(13,107,98,0.06) 19px, rgba(13,107,98,0.06) 20px), repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(13,107,98,0.06) 19px, rgba(13,107,98,0.06) 20px); border: 2px solid rgba(13,107,98,0.25); border-radius: 8px; }
.site-plan-plot { position: absolute; inset: 24px; border: 2px dashed rgba(13,107,98,0.4); border-radius: 4px; background: rgba(255,255,255,0.6); }
.site-plan-building { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 75%; height: 70%; background: linear-gradient(135deg, rgba(13,107,98,0.25), rgba(13,107,98,0.15)); border: 2px solid var(--teal-600); border-radius: 4px; }
.site-plan-label { position: absolute; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--teal-700); font-weight: 500; }
.site-plan-label.n { top: 8px; left: 50%; transform: translateX(-50%); }
.site-plan-label.s { bottom: 8px; left: 50%; transform: translateX(-50%); }
.site-plan-label.e { right: 8px; top: 50%; transform: translateY(-50%); }
.site-plan-label.w { left: 8px; top: 50%; transform: translateY(-50%); }
.site-plan-label.building { bottom: -22px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.site-plan-legend { display: flex; gap: 24px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.site-plan-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.site-plan-legend-item span { width: 16px; height: 16px; border-radius: 2px; }
.site-plan-legend-item .plot { background: rgba(255,255,255,0.8); border: 1px dashed var(--teal-600); }
.site-plan-legend-item .building { background: rgba(13,107,98,0.2); border: 1px solid var(--teal-600); }
.arch-specs { margin-bottom: 20px; padding: 16px 20px; background: var(--sand-100); border-radius: 8px; font-size: 0.9rem; }
.arch-spec { margin-bottom: 6px; }
.arch-spec:last-child { margin-bottom: 0; }

.info-block { margin-bottom: 28px; }
.info-block:last-of-type { margin-bottom: 0; }
.info-block h3 { font-size: 1.15rem; color: var(--teal-800); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.info-block p { margin-bottom: 12px; font-size: 0.98rem; line-height: 1.7; color: var(--text-dark); }
.info-block p:last-child { margin-bottom: 0; }
.info-list { list-style: disc; margin-left: 1.25rem; margin-bottom: 12px; }
.info-list li { margin-bottom: 8px; font-size: 0.98rem; line-height: 1.6; }
.boundaries-list { list-style: none; margin-left: 0; }
.boundaries-list li { margin-bottom: 10px; padding: 10px 14px; background: var(--sand-100); border-radius: 8px; font-size: 0.95rem; line-height: 1.6; }
.cost-note { margin-top: 12px !important; padding: 12px 16px; background: rgba(13,107,98,0.08); border-radius: 8px; border-left: 3px solid var(--teal-600); font-size: 0.95rem !important; }
.site-plan-legend-item [data-lang="ar"], .site-plan-legend-item [data-lang="en"] { display: none; }
body.lang-ar .site-plan-legend-item [data-lang="ar"],
body.lang-en .site-plan-legend-item [data-lang="en"] { display: inline; }
.site-plan-label [data-lang="ar"], .site-plan-label [data-lang="en"] { display: none; }
body.lang-ar .site-plan-label [data-lang="ar"],
body.lang-en .site-plan-label [data-lang="en"] { display: inline; }

.floor-view.blueprint { background: linear-gradient(180deg, #f5f4f0 0%, #ebe9e3 100%); border: 1px solid rgba(13,107,98,0.2); box-shadow: inset 0 0 0 1px rgba(13,107,98,0.08); }
.floor-view.blueprint .floor-diagram { max-width: 560px; }
.floor-view.blueprint .zone { background: rgba(255,255,255,0.85); border: 1.5px solid rgba(13,107,98,0.35); font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; box-shadow: none; }
.floor-view.blueprint .zone.primary { background: rgba(13,107,98,0.08); border-color: var(--teal-600); border-width: 2px; }
.floor-plan-scale { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); margin-top: 16px; letter-spacing: 0.05em; }

.concept-section-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; color: var(--teal-600); letter-spacing: 0.1em; margin-bottom: 8px; }

.stat-icon { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.7; }
.stat-icon svg { width: 100%; height: 100%; fill: var(--teal-600); }
.donation-card .donation-icon { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; opacity: 0.2; }
.donation-card .donation-icon svg { width: 100%; height: 100%; fill: white; }

.footer-pattern { position: absolute; top: 0; left: 0; right: 0; height: 80px; background: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 0 L26 18 L44 24 L26 30 L24 48 L22 30 L4 24 L22 18 Z' fill='none' stroke='%23ffffff' stroke-width='0.35' stroke-opacity='0.12'/%3E%3Cpath d='M24 8 L25 16 L32 24 L25 32 L24 40 L23 32 L16 24 L23 16 Z' fill='none' stroke='%23ffffff' stroke-width='0.25' stroke-opacity='0.08'/%3E%3C/svg%3E") repeat; }

.floor-notes { margin-top: 16px; padding: 14px 18px; background: rgba(13,107,98,0.06); border-radius: 8px; font-size: 0.85rem; color: var(--text-muted); }

.model3d-wrap { position: relative; background: linear-gradient(180deg, #ebe5dc 0%, #ddd1bd 100%); border: 1px solid var(--border); border-radius: var(--radius); min-height: 420px; overflow: hidden; }
#model3dCanvas { display: block; width: 100%; height: 420px; }
.model3d-controls { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.5); color: white; padding: 8px 16px; border-radius: 8px; font-size: 12px; opacity: 0.9; }

/* Appeal page specific */
.appeal-page { padding: 100px 0 72px; }
.appeal-opening { margin-bottom: 32px; padding: 24px; background: rgba(13,107,98,0.06); border-radius: var(--radius); }
.appeal-basmala { font-size: 1.1rem; font-weight: 600; color: var(--teal-800); margin-bottom: 8px; }
.appeal-verse { font-style: italic; color: var(--text-dark); margin: 8px 0; }
.appeal-verse-ref { font-size: 0.9rem; color: var(--text-muted); }
.page-title { font-size: 1.75rem; font-weight: 700; color: var(--teal-900); margin-bottom: 32px; }

/* Nav link */
.nav-link { color: var(--teal-700); text-decoration: none; font-weight: 600; padding: 6px 10px; border-radius: 8px; transition: background 0.2s; }
.nav-link:hover { background: rgba(13,107,98,0.08); color: var(--teal-800); }

/* Project Progress page */
.progress-page { padding: 100px 0 72px; }
.progress-list { display: flex; flex-direction: column; gap: 8px; }
.progress-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.progress-item-header {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: none; border: none; cursor: pointer; text-align: left; font-size: 1rem;
  color: var(--text-dark); font-family: inherit; transition: background 0.2s;
}
.progress-item-header:hover { background: rgba(13,107,98,0.05); }
.progress-item-thumb { flex-shrink: 0; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; }
.progress-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.progress-item-title { flex: 1; font-weight: 600; min-width: 0; }
.progress-item-date { color: var(--text-muted); font-size: 0.9rem; }
.progress-item-icon { transition: transform 0.25s; font-size: 0.7rem; }
.progress-item.expanded .progress-item-icon { transform: rotate(180deg); }
.progress-item-body { padding: 0 20px 20px; }
.progress-item-body[hidden] { display: none !important; }
.progress-item-content { margin-bottom: 16px; }
.progress-item-content p { margin-bottom: 12px; }
.progress-item-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 16px; visibility: visible !important; }
.progress-gallery-link { display: block !important; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; min-height: 120px; }
.progress-gallery-link img { width: 100%; height: 100%; object-fit: cover; display: block !important; vertical-align: top; visibility: visible !important; }
.progress-item-thumb img { visibility: visible !important; }
.no-progress { color: var(--text-muted); padding: 24px; }
