/* ==========================================================================
   جمعية غصون البركة الخيرية - Branches of Blessing
   Modern Responsive Stylesheet (RTL First)
   ========================================================================== */

:root {
  /* Primary Olive & Forest Greens */
  --color-primary: #1e5627;
  --color-primary-dark: #143e1c;
  --color-primary-light: #2e7d32;
  --color-primary-subtle: #e8f5e9;
  --color-primary-glow: rgba(30, 86, 39, 0.2);

  /* Gold & Warm Earth Accents */
  --color-accent: #c5a059;
  --color-accent-light: #e6c280;
  --color-accent-dark: #9a7833;
  --color-earth: #5d4037;

  /* Palestinian Flag Colors Accent */
  --flag-red: #e4312b;
  --flag-green: #007a3d;
  --flag-black: #111827;
  --flag-white: #ffffff;

  /* Neutrals & Backgrounds */
  --bg-main: #f9f8f5;
  --bg-card: #ffffff;
  --bg-card-alt: #f3f1eb;
  --bg-dark: #121c14;
  --text-dark: #1c241e;
  --text-muted: #5e6b62;
  --text-light: #8e9e92;
  --border-light: #e3ded5;
  --border-subtle: #eeebe3;

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(20, 62, 28, 0.05);
  --shadow-md: 0 6px 20px rgba(20, 62, 28, 0.08);
  --shadow-lg: 0 12px 36px rgba(20, 62, 28, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.16);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Accessible focus styling */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 86, 39, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 86, 39, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  color: #1f2a1e;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(197, 160, 89, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-subtle);
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #fdfdfd;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.15rem;
}

/* Top Announcement Ribbon */
.top-ribbon {
  background: var(--color-primary-dark);
  color: #e8f5e9;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-ribbon .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-ribbon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(228, 49, 43, 0.2);
  color: #ff9995;
  border: 1px solid rgba(228, 49, 43, 0.4);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--flag-red);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(228, 49, 43, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(228, 49, 43, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(228, 49, 43, 0); }
}

.top-contact-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.top-contact-links a:hover {
  color: var(--color-accent-light);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--trans-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo img.logo-img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  transition: transform var(--trans-fast);
}

.brand-logo:hover img.logo-img {
  transform: scale(1.06) rotate(2deg);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  letter-spacing: 0.5px;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-full);
  transition: width var(--trans-smooth);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   Hero Section with Official Banner & Interactive Widget
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3rem 0 5rem;
  background: radial-gradient(circle at 80% 20%, rgba(200, 230, 201, 0.45) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(254, 243, 199, 0.45) 0%, transparent 60%),
              var(--bg-main);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#2e7d32 0.75px, transparent 0.75px);
  background-size: 28px 28px;
  opacity: 0.05;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Content Column */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary-subtle);
  color: var(--color-primary-dark);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.hero-tag-quote {
  font-size: 0.88rem;
  color: var(--color-earth);
  font-weight: 600;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
}

.hero-title .highlight-text {
  color: var(--color-primary-light);
  position: relative;
  display: inline-block;
}

.hero-title .highlight-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 0;
  width: 100%;
  height: 8px;
  background: rgba(197, 160, 89, 0.35);
  z-index: -1;
  border-radius: 4px;
}

.hero-slogan {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-earth);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-slogan span.leaf-icon {
  color: var(--color-primary);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

.hero-actions-row {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Pillars preview pills */
.hero-pillars-strip {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.pillar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: transform var(--trans-fast);
}

.pillar-pill:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.pillar-pill .pill-icon {
  font-size: 1.1rem;
}

/* Hero Visual & Quick Donation Card */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-banner-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.hero-banner-frame img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-banner-frame:hover img {
  transform: scale(1.03);
}

.banner-overlay-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(18, 28, 20, 0.9) 0%, rgba(18, 28, 20, 0.4) 70%, transparent 100%);
  color: #ffffff;
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.overlay-tag {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent-light);
}

.overlay-sub {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Quick Donation Card */
.quick-donate-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.donate-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.donate-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.donate-card-title .card-icon {
  color: var(--flag-green);
}

.secure-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Program Selector in Widget */
.widget-program-select {
  margin-bottom: 1.2rem;
}

.widget-program-select label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.custom-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-card-alt);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231e5627' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 20px;
}

/* Amount Selector */
.amount-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.amount-btn {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-light);
  padding: 0.7rem 0.4rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--trans-fast);
  text-align: center;
}

.amount-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-subtle);
  color: var(--color-primary-dark);
}

.amount-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(30, 86, 39, 0.25);
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 1.2rem;
}

.custom-amount-input {
  width: 100%;
  padding: 0.75rem 2.8rem 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.currency-symbol {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-weight: 800;
  color: var(--color-primary);
}

.quick-donate-submit {
  width: 100%;
}

/* ==========================================================================
   Live Impact Numbers (شريط الأثر الميداني)
   ========================================================================== */
.impact-strip-section {
  background: linear-gradient(135deg, var(--color-primary-dark), #0f3016);
  color: #ffffff;
  padding: 3.5rem 0;
  position: relative;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-item:last-child {
  border-left: none;
}

.impact-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent-light);
}

.impact-number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-accent-light);
  font-variant-numeric: tabular-nums;
}

.impact-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.impact-sub {
  font-size: 0.82rem;
  color: #c8e6c9;
  opacity: 0.85;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Four Core Pillars (برامجنا الأربعة الرئيسية)
   ========================================================================== */
.pillars-section {
  padding: 6rem 0;
  background: #ffffff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: all var(--trans-smooth);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--color-primary);
  transition: height var(--trans-fast);
}

.pillar-card:nth-child(1)::before { background: #e4312b; } /* Relief Red */
.pillar-card:nth-child(2)::before { background: #2e7d32; } /* Support Green */
.pillar-card:nth-child(3)::before { background: #c5a059; } /* Orphan Gold */
.pillar-card:nth-child(4)::before { background: #1565c0; } /* Rebuilding Blue */

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pillar-card:hover::before {
  height: 8px;
}

.pillar-icon-box {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: var(--color-primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.4rem;
  color: var(--color-primary-dark);
}

.pillar-card:nth-child(1) .pillar-icon-box { background: #fde8e7; color: #e4312b; }
.pillar-card:nth-child(2) .pillar-icon-box { background: #e8f5e9; color: #2e7d32; }
.pillar-card:nth-child(3) .pillar-icon-box { background: #fff8e1; color: #b78103; }
.pillar-card:nth-child(4) .pillar-icon-box { background: #e3f2fd; color: #1565c0; }

.pillar-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--color-primary-dark);
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-features {
  list-style: none;
  width: 100%;
  margin-bottom: 1.6rem;
}

.pillar-features li {
  font-size: 0.88rem;
  color: var(--text-dark);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-features li::before {
  content: '✓';
  color: var(--color-primary-light);
  font-weight: 900;
}

.pillar-btn {
  width: 100%;
}

/* ==========================================================================
   Active Relief Campaigns (حملاتنا الإغاثية الجارية)
   ========================================================================== */
.campaigns-section {
  padding: 6rem 0;
  background: var(--bg-main);
}

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

.campaign-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
}

.campaign-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.campaign-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-dark);
}

.campaign-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.campaign-card:hover .campaign-media img {
  transform: scale(1.06);
}

.campaign-urgency-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(228, 49, 43, 0.95);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.campaign-category-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.campaign-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.campaign-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  color: var(--color-primary-dark);
}

.campaign-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Progress bar */
.campaign-progress-wrap {
  margin-bottom: 1.4rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.progress-track {
  height: 10px;
  background: var(--bg-card-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.progress-stats strong {
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Orphan Sponsorship Section (بوابة كفالة الأيتام)
   ========================================================================== */
.orphans-section {
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
}

.orphan-showcase-box {
  background: linear-gradient(145deg, #f7f9f6 0%, #eef3eb 100%);
  border: 1px solid #dbe6d7;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

.orphan-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.orphan-value-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.8rem 0;
}

.orphan-value-item {
  background: #ffffff;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.orphan-value-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.orphan-value-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

.orphan-value-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sponsorship-card-preview {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-accent-light);
  text-align: center;
  position: relative;
}

.card-top-tag {
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1.2rem;
}

.cost-display {
  margin-bottom: 1rem;
}

.cost-amount {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1;
}

.cost-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sponsorship-guarantee {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
}

/* Sponsorship Flexible Packages */
.sponsorship-packages-container {
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid #dce5d8;
}

.sponsorship-packages-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sponsorship-packages-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.sponsorship-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.package-card {
  background: #ffffff;
  border: 1.5px solid #dbe7d7;
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--trans-fast);
  box-shadow: var(--shadow-xs);
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.package-card.featured {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9f2 100%);
  box-shadow: 0 4px 18px rgba(46, 125, 50, 0.12);
}

.package-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  background: #e8f5e9;
  color: var(--color-primary-dark);
  margin-bottom: 0.8rem;
}

.package-card.featured .package-badge {
  background: var(--color-primary);
  color: #ffffff;
}

.package-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.package-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.package-target {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 0.6rem;
}

.package-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.package-btn {
  width: 100%;
  text-align: center;
  font-size: 0.88rem;
  padding: 0.65rem 0.8rem;
}

.sponsorship-custom-notice {
  background: #f1f8ed;
  border-right: 4px solid var(--color-primary);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sponsorship-custom-notice strong {
  color: #1b5e20;
}

/* ==========================================================================
   About Us & Philosophy (من نحن ومبادئنا)
   ========================================================================== */
.about-section {
  padding: 6rem 0;
  background: var(--bg-card-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-collage {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.about-badge-floating {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 2px solid var(--color-accent);
}

.badge-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent-light);
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: #ffffff;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary-dark);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Transparency & Financial Distribution (الشفافية والحوكمة)
   ========================================================================== */
.transparency-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.pie-chart-mock {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.chart-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chart-bar-meta {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
}

.chart-bar-bg {
  height: 14px;
  background: var(--bg-card-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.fill-direct { background: #2e7d32; }
.fill-logistics { background: #c5a059; }
.fill-admin { background: #90a4ae; }

.reports-download-box {
  background: var(--bg-main);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.report-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.report-item:last-child {
  border-bottom: none;
}

.report-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

.report-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Bank Accounts & Donation Channels (قنوات التبرع الرسمية)
   ========================================================================== */
.bank-accounts-section {
  padding: 5.5rem 0;
  background: var(--bg-card-alt);
}

.bank-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.bank-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bank-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.bank-icon {
  font-size: 2.2rem;
  color: var(--color-primary);
}

.bank-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.bank-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.bank-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.detail-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-value {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--bg-card-alt);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: background var(--trans-fast);
}

.copy-btn:hover {
  background: var(--color-primary-subtle);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #cfd8dc;
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.footer-brand-logo img {
  width: 66px;
  height: 66px;
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  object-fit: contain;
}

.footer-brand-name {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
}

.footer-bio {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #b0bec5;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--trans-smooth);
  text-decoration: none;
  position: relative;
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--trans-fast);
}

.social-icon-btn:hover {
  transform: translateY(-4px);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.social-icon-btn:hover svg {
  transform: scale(1.15);
}

/* Specific Platform Hover Colors */
.social-icon-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.5);
}

.social-icon-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: #d6249f;
  box-shadow: 0 8px 20px rgba(214, 36, 159, 0.5);
}

.social-icon-btn.tiktok:hover {
  background: #010101;
  border-color: #fe2c55;
  box-shadow: -2px -2px 14px rgba(37, 244, 238, 0.6), 2px 2px 14px rgba(254, 44, 85, 0.6);
}

.social-icon-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Social Media Channels Strip in Top Ribbon */
.top-social-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-social-label {
  font-size: 0.78rem;
  color: var(--color-accent-light);
  font-weight: 700;
  margin-left: 0.3rem;
}

.top-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: all var(--trans-fast);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.top-social-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.top-social-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.top-social-btn.facebook:hover {
  background: #1877f2;
}

.top-social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.top-social-btn.tiktok:hover {
  background: #010101;
  box-shadow: 0 0 8px rgba(254, 44, 85, 0.7);
}

.top-social-btn.whatsapp:hover {
  background: #25d366;
}

/* Floating Social Media Quick Dock */
.floating-social-dock {
  position: fixed;
  left: 1.6rem;
  bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 1500;
}

.dock-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 28, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: all var(--trans-smooth);
  text-decoration: none;
  position: relative;
}

.dock-social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--trans-fast);
}

.dock-social-btn:hover {
  transform: scale(1.14) translateX(3px);
  color: #ffffff;
}

.dock-social-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.55);
}

.dock-social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: #d6249f;
  box-shadow: 0 8px 24px rgba(214, 36, 159, 0.55);
}

.dock-social-btn.tiktok:hover {
  background: #010101;
  border-color: #fe2c55;
  box-shadow: -2px -2px 14px rgba(37, 244, 238, 0.7), 2px 2px 14px rgba(254, 44, 85, 0.7);
}

.dock-social-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

@media (max-width: 600px) {
  .floating-social-dock {
    left: 1rem;
    bottom: 5.2rem;
  }
  .dock-social-btn {
    width: 38px;
    height: 38px;
  }
  .dock-social-btn svg {
    width: 17px;
    height: 17px;
  }
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: #b0bec5;
  font-size: 0.92rem;
  transition: color var(--trans-fast);
}

.footer-links-list a:hover {
  color: var(--color-accent-light);
  padding-right: 4px;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
}

.newsletter-input::placeholder {
  color: #90a4ae;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #90a4ae;
}

/* ==========================================================================
   Modern Native <dialog> Donation Modal
   ========================================================================== */
dialog#donationDialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 580px;
  width: 94%;
  max-height: 92vh;
  margin: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

dialog#donationDialog::backdrop {
  background: rgba(18, 28, 20, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-header {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #ffffff;
  padding: 1.1rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast);
}

.modal-close-btn:hover {
  background: rgba(228, 49, 43, 0.85);
}

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

.donation-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  position: relative;
}

.donation-steps-indicator::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 15%;
  left: 15%;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  border: 2px solid var(--border-light);
}

.step-item.active .step-num {
  background: var(--color-primary);
  border-color: var(--color-primary-dark);
  color: #ffffff;
}

.step-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.step-item.active .step-label {
  color: var(--color-primary-dark);
}

/* Payment options grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.payment-method-btn {
  background: var(--bg-card-alt);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.5rem;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--trans-fast);
}

.payment-method-btn:hover {
  border-color: var(--color-primary);
}

.payment-method-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary-subtle);
  color: var(--color-primary-dark);
}

/* Form Fields */
.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--trans-fast);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

/* Transfer Receipt File Upload Dropzone */
.file-input-hidden {
  display: none;
}

.file-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.8rem;
  background: #ffffff;
  border: 2px dashed #93c5fd;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all var(--trans-fast);
  gap: 0.3rem;
}

.file-upload-dropzone:hover {
  background: #eff6ff;
  border-color: #2563eb;
}

.file-upload-dropzone.dragover {
  background: #dbeafe;
  border-color: #1d4ed8;
}

.upload-icon {
  font-size: 1.6rem;
}

.upload-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e40af;
}

.upload-btn-fake {
  font-size: 0.75rem;
  background: #2563eb;
  color: #ffffff;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-top: 0.2rem;
}

.file-preview-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #ffffff;
  border: 1px solid #93c5fd;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.8rem;
  margin-top: 0.5rem;
}

.receipt-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.file-preview-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remove-file-btn {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast);
}

.remove-file-btn:hover {
  background: #fca5a5;
}

/* Success Receipt Alert inside Dialog */
.donation-receipt-box {
  background: transparent;
  padding: 0;
  text-align: right;
  display: none;
}

/* Official Donation Receipt Voucher Card */
.official-voucher-card {
  background: #ffffff;
  border: 2px solid #86efac;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: right;
  box-shadow: 0 4px 18px rgba(22, 101, 52, 0.08);
  margin-bottom: 1.2rem;
}

.voucher-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px dashed #bbf7d0;
}

.voucher-org-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.voucher-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.voucher-org-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin: 0;
  line-height: 1.2;
}

.voucher-org-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.voucher-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.voucher-type-tag {
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.voucher-serial {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
}

.voucher-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 0;
}

.voucher-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #f1f5f9;
  font-size: 0.88rem;
}

.voucher-row .v-label {
  color: #64748b;
  font-weight: 600;
}

.voucher-row .v-value {
  color: #1e293b;
  font-weight: 700;
}

.voucher-row .highlight-amount {
  color: #16a34a;
  font-size: 1.2rem;
  font-weight: 900;
}

.voucher-row .status-verified {
  color: #16a34a;
  background: #dcfce7;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.voucher-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 2px dashed #bbf7d0;
}

.voucher-notice {
  font-size: 0.8rem;
  color: #166534;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
}

.voucher-seal {
  width: 66px;
  height: 66px;
  border: 3px double #16a34a;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-10deg);
  background: rgba(22, 163, 74, 0.05);
  color: #16a34a;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1.1;
  flex-shrink: 0;
}

.receipt-actions-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Print Styles for Voucher */
@media print {
  body > *:not(#donationDialog) {
    display: none !important;
  }
  dialog#donationDialog {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .modal-header, .donation-steps-indicator, .receipt-actions-row, .modal-close-btn, #donationForm {
    display: none !important;
  }
  .modal-body {
    padding: 0 !important;
    overflow: visible !important;
    max-height: none !important;
  }
  .donation-receipt-box {
    display: block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }
  .official-voucher-card {
    border: 2px solid #16a34a !important;
    box-shadow: none !important;
  }
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2000;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-accent);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-item:nth-child(2) {
    border-left: none;
  }
  .about-grid, .transparency-grid {
    grid-template-columns: 1fr;
  }
  .bank-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-ribbon {
    display: none;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 2px solid var(--color-primary);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-slogan {
    font-size: 1.25rem;
  }
  .campaigns-grid, .pillars-grid, .bank-cards-grid {
    grid-template-columns: 1fr;
  }
  .orphan-showcase-grid {
    grid-template-columns: 1fr;
  }
  .orphan-value-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .impact-item {
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .impact-item:last-child {
    border-bottom: none;
  }
}

/* Floating WhatsApp & Direct Contact Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  background: #25D366;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 1500;
  transition: all var(--trans-smooth);
  border: 2px solid #ffffff;
  direction: rtl;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  background: #1eb854;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-icon {
  font-size: 1.3rem;
}

@media (max-width: 640px) {
  .floating-whatsapp-btn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   News & Field Articles Section (أحدث الأخبار والتقارير الميدانية)
   ========================================================================== */
.news-section {
  padding: 5.5rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.article-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.article-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-thumb-wrap img {
  transform: scale(1.06);
}

.article-category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(30, 86, 39, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--color-primary-dark);
  margin-bottom: 0.8rem;
  transition: color var(--trans-fast);
}

.article-card:hover .article-title {
  color: var(--color-primary);
}

.article-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.3rem;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-top: auto;
}

.read-article-btn {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  font-family: inherit;
  transition: color var(--trans-fast);
}

.read-article-btn:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* ==========================================================================
   Field Gallery Section (معرض الصور والتوثيق الميداني)
   ========================================================================== */
.gallery-section {
  padding: 5.5rem 0;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.gallery-filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.gallery-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 28, 20, 0.1) 0%, rgba(18, 28, 20, 0.85) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
  transition: opacity var(--trans-smooth);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-light);
  margin-bottom: 0.3rem;
}

.gallery-item-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.gallery-item-date {
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* Lightbox & Article Detail Dialogs */
.content-detail-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 680px;
  width: 92%;
  box-shadow: var(--shadow-xl);
  margin: auto;
  overflow: hidden;
  background: #ffffff;
}

.content-detail-dialog::backdrop {
  background: rgba(18, 28, 20, 0.65);
  backdrop-filter: blur(6px);
}

.content-detail-dialog .modal-header {
  padding: 1.2rem 1.6rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-detail-dialog .modal-body {
  padding: 1.8rem;
  max-height: 80vh;
  overflow-y: auto;
}


