/* ==========================================================================
   ASSOCIATION AL-FAJR | DESIGN SYSTEM & STYLESHEET
   Inspiré de l'architecture maroco-andalouse et du mockup de référence
   ========================================================================== */

:root {
  --primary-green: #0e382c;
  --primary-hover: #08261e;
  --primary-light: #174b3c;
  --primary-dark-bg: #09281f;
  
  --gold-accent: #c4974c;
  --gold-hover: #af8239;
  --gold-light: #f7f1e6;
  --gold-subtle: rgba(196, 151, 76, 0.12);

  --bg-page: #fbfaf8;
  --card-bg: #ffffff;
  --card-border: #ece7e0;
  
  --text-dark: #1b2621;
  --text-body: #495a52;
  --text-muted: #6f8078;
  --text-light: #ffffff;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-arabic: 'Amiri', serif;

  --shadow-sm: 0 2px 6px rgba(14, 56, 44, 0.04);
  --shadow-md: 0 6px 18px rgba(14, 56, 44, 0.07);
  --shadow-lg: 0 14px 34px rgba(14, 56, 44, 0.10);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(220, 214, 203, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

/* Brand logo — fidèle à l'enseigne réelle */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(46, 125, 50, 0.25));
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

/* Ligne 1 : "Centro Cultural Islámico" — bleu marine comme l'enseigne */
.brand-top-row {
  display: flex;
  align-items: center;
  line-height: 1.1;
}

.brand-top-row .main-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1a3a6b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Ligne 2 : "ALGINET" — très grand, gras, bleu marine comme l'enseigne */
.brand-alginet-row {
  display: flex;
  align-items: center;
  line-height: 1;
}

.alginet-badge {
  font-size: 1.55rem;
  font-weight: 900;
  color: #1a3a6b;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Ligne 3 : "مسجد الجنات" — arabe vert comme l'enseigne */
.brand-sub-row {
  display: flex;
  align-items: center;
  line-height: 1.1;
}

.brand-sub-row .ar-name {
  font-family: var(--font-arabic);
  font-size: 1.05rem;
  font-weight: 700;
  color: #2E7D32;
  letter-spacing: 0.5px;
}

/* Anciens sélecteurs gardés pour compatibilité footer */
.city-badge {
  font-size: 0.70rem;
  font-weight: 800;
  background: #0E382C;
  color: #C4974C;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid rgba(196, 151, 76, 0.45);
  display: inline-block;
  line-height: 1.3;
}

.brand-sub-row .mosque-name {
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--gold-hover);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-sub-row .sep-dot {
  font-size: 0.70rem;
  color: var(--gold-accent);
}

/* Footer logo styles — version claire sur fond sombre */
.footer-logo .main-title.light {
  color: #ffffff;
}

.footer-logo .alginet-badge.light,
.footer-logo .alginet-badge {
  color: #ffffff;
}

.footer-logo .ar-name.light {
  color: #6de67a; /* vert clair sur fond sombre */
}

/* Anciens sélecteurs footer conservés */
.footer-logo .city-badge.light {
  background: rgba(196, 151, 76, 0.18);
  color: #C4974C;
  border-color: #C4974C;
}

.footer-logo .mosque-name.light {
  color: #C4974C;
}

.footer-logo .sep-dot.light {
  color: rgba(255, 255, 255, 0.4);
}

/* Navigation Links */
.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

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

.nav-link.active {
  color: var(--primary-green);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

/* Language selector */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-selector {
  display: flex;
  align-items: center;
  background: #f4f2ee;
  border: 1px solid #e5e0d7;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
}

.lang-btn:hover {
  color: var(--primary-green);
}

.lang-btn.active {
  background-color: #ffffff;
  color: var(--primary-green);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.lang-selector .divider {
  color: #cbc4b7;
  font-size: 0.75rem;
}

.flag-icon {
  font-size: 0.95rem;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.4rem;
  color: var(--primary-green);
  padding: 6px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 56px 0 64px 0;
  background: linear-gradient(180deg, #fbfaf8 0%, #f4f0e8 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(14, 56, 44, 0.08);
  border: 1px solid rgba(14, 56, 44, 0.14);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-green);
  letter-spacing: 1.5px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-green);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(14, 56, 44, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 56, 44, 0.32);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-dark);
  border: 1.5px solid #d4cdc1;
}

.btn-outline:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
  background-color: #fbfaf8;
  transform: translateY(-2px);
}

.arrow-icon {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Hero Mini Stats */
.hero-mini-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 190, 175, 0.4);
}

.mini-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-stat-icon {
  font-size: 1.25rem;
  color: var(--primary-green);
  flex-shrink: 0;
}

.mini-stat-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.mini-stat-sep {
  width: 1px;
  height: 28px;
  background-color: rgba(200, 190, 175, 0.4);
}

/* Hero Media (Image Frame) */
.hero-media .image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 5%;
  display: block;
  transition: transform 0.6s ease;
}

.hero-media:hover .hero-img {
  transform: scale(1.02);
}

.hero-image-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(14, 56, 44, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.hero-image-caption i {
  color: var(--gold-accent);
}

/* ==========================================================================
   TWO COLS SECTION: ABOUT & EVOLUTION
   ========================================================================== */
.section-two-cols {
  padding: 80px 0 60px 0;
  background-color: #ffffff;
}

.two-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: flex-start;
}

/* Left: Notre association */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-accent);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1.25;
  margin-bottom: 16px;
}

.about-lead {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: #f6f3ed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 1rem;
  margin-top: 2px;
}

.feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-green);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.btn-primary-dark {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

/* Right: Evolution de la construction */
.col-evolution {
  background: #fbfaf8;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}

.evolution-header {
  margin-bottom: 28px;
}

.evolution-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Timeline 4 cards in a row */
.timeline-cards {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  margin-bottom: 26px;
}

.timeline-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9c2b4;
  font-size: 1.1rem;
  padding-top: 55px;
}

.timeline-card {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #e7e2d9;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

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

.timeline-card.featured-step {
  border-color: rgba(14, 56, 44, 0.4);
  box-shadow: 0 4px 12px rgba(14, 56, 44, 0.08);
}

.card-thumb {
  position: relative;
  height: 120px;
  overflow: hidden;
  background-color: #eee;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.timeline-card:hover .card-thumb img {
  transform: scale(1.08);
}

.card-step,
.card-year {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(14, 56, 44, 0.90);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
  z-index: 2;
}

.card-step.highlight,
.card-year.highlight {
  background-color: var(--gold-accent);
  color: #ffffff;
}

.zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 56, 44, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.timeline-card:hover .zoom-overlay {
  opacity: 1;
}

.card-content {
  padding: 12px 10px;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 4px;
  line-height: 1.25;
}

.card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.evolution-cta {
  display: flex;
  justify-content: flex-start;
}

.btn-outline-dark {
  border: 1.5px solid #d4cdc1;
  background-color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-dark:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
  background-color: #fcfbfa;
}

/* ==========================================================================
   FUNDRAISING & GOAL SECTION
   ========================================================================== */
.section-fundraising {
  padding: 40px 0 70px 0;
}

.fundraising-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Left Quote Card */
.quote-card {
  background: linear-gradient(145deg, #0e382c 0%, #08261e 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.quote-pattern-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(#ffffff 2px, transparent 2px);
  background-size: 24px 24px;
}

.quote-arch {
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 100px;
  pointer-events: none;
  opacity: 0.7;
}

.arch-svg {
  width: 100%;
  height: 100%;
}

.quote-text-wrap {
  position: relative;
  z-index: 2;
}

.quote-mark {
  color: var(--gold-accent);
  font-size: 1.8rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.quote-content {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #f7f3ee;
}

.quote-verse {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-accent);
  letter-spacing: 0.5px;
}

/* Main Fundraising Tracker + Trust Card */
.fundraising-main {
  background-color: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
}

.fundraising-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 22px;
}

/* Progress bar */
.progress-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.progress-bar-bg {
  flex: 1;
  height: 18px;
  background-color: #ede9e1;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0e382c 0%, #1a5b47 100%);
  border-radius: var(--radius-full);
  position: relative;
  transition: width 1.2s ease-in-out;
}

.progress-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shine 2.5s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-percent {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-green);
}

/* Funding numbers */
.funding-numbers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  background-color: #faf8f5;
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.funding-number-col {
  display: flex;
  flex-direction: column;
}

.funding-number-col .val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-green);
}

.funding-number-col .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.funding-sep {
  width: 1px;
  height: 36px;
  background-color: #e5ded5;
}

/* Button donate now */
.btn-donate-now {
  width: 100%;
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(14, 56, 44, 0.22);
}

.btn-donate-now:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 56, 44, 0.3);
}

/* Trust Card on Right side */
.trust-card {
  background-color: #f7f5ef;
  border: 1px solid #e7e2d6;
  border-radius: var(--radius-md);
  padding: 26px 24px;
}

.trust-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.trust-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #dfd8cb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 0.82rem;
}

.trust-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green);
}

.trust-link:hover {
  text-decoration: underline;
  color: var(--gold-accent);
}

/* Sadaka Jariyah contribution cards */
.sadaka-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.sadaka-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #fbf9f5;
  border: 1px solid #e8e2d4;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all 0.25s ease;
}

.sadaka-card:hover {
  background-color: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 4px 12px rgba(14, 56, 44, 0.08);
  transform: translateY(-2px);
}

.sadaka-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background-color: rgba(14, 56, 44, 0.08);
  border: 1px solid rgba(14, 56, 44, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary-green);
  transition: all 0.25s ease;
}

.sadaka-card:hover .sadaka-icon {
  background-color: var(--primary-green);
  color: #ffffff;
}

.sadaka-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sadaka-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--primary-green);
}

.sadaka-desc {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ==========================================================================
   LIEU DE VIE / SERVICES SECTION
   ========================================================================== */
.section-community {
  padding: 60px 0 80px 0;
  background-color: #ffffff;
}

.community-header {
  margin-bottom: 36px;
}

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

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #e8e2d5;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(14, 56, 44, 0.03);
}

.service-card-item:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 151, 76, 0.6);
  box-shadow: 0 8px 20px rgba(14, 56, 44, 0.08);
  background-color: #fcfbf8;
}

.service-card-item .service-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(14, 56, 44, 0.07);
  border: 1px solid rgba(14, 56, 44, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.25rem;
  transition: all 0.25s ease;
}

.service-card-item:hover .service-icon {
  background: var(--primary-green);
  color: #ffffff;
  transform: scale(1.05);
}

.service-card-text {
  flex: 1;
}

.service-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.service-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Quran visual banner */
.community-banner {
  position: relative;
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #0e382c;
  height: 240px;
}

.quran-image-wrap {
  position: relative;
  flex: 1;
  height: 100%;
}

.quran-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 56, 44, 0.1) 0%, rgba(14, 56, 44, 0.9) 100%);
}

.banner-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  color: #ffffff;
}

.banner-caption p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 4px;
}

.banner-caption small {
  color: var(--gold-accent);
  font-weight: 600;
  font-size: 0.8rem;
}

.zellige-pattern-side {
  width: 50px;
  background-color: var(--primary-dark-bg);
  background-image: repeating-linear-gradient(45deg, #124033 0, #124033 10px, #0e382c 10px, #0e382c 20px);
  border-left: 2px solid var(--gold-accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0a261e;
  color: #cad7d1;
  padding: 64px 0 0 0;
  border-top: 3px solid var(--gold-accent);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.3fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo .main-title.light {
  color: #ffffff;
}

.footer-logo .tagline.light {
  color: var(--gold-accent);
}

.footer-about-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #a4b8af;
  margin: 16px 0 20px 0;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background-color: var(--gold-accent);
  color: #0e382c;
  transform: translateY(-2px);
}

.footer-socials .wa-btn {
  background-color: #25D366;
  color: #ffffff;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--gold-accent);
}

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

.footer-links a {
  font-size: 0.88rem;
  color: #a4b8af;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Banking pill */
.bank-pill {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bank-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bank-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bank-line code {
  font-family: monospace;
  font-size: 0.85rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}

/* Newsletter */
.news-desc {
  font-size: 0.85rem;
  color: #a4b8af;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #799187;
}

.newsletter-form button {
  background-color: var(--gold-accent);
  color: #0e382c;
  padding: 0 16px;
  font-size: 0.95rem;
}

.newsletter-form button:hover {
  background-color: #d8a95c;
}

/* Bottom footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #7d9389;
}

.bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bottom-links .sep {
  opacity: 0.4;
}

.bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   MODAL (DONATION)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(9, 32, 25, 0.7);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.8rem;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary-green);
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-accent);
  background: var(--gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary-green);
  margin-bottom: 4px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.amount-selector label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.amount-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.amt-btn {
  padding: 10px;
  border: 1.5px solid #d9d3c7;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.amt-btn small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
}

.amt-btn:hover {
  border-color: var(--primary-green);
}

.amt-btn.active {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: #ffffff;
}

.amt-btn.active small {
  color: var(--gold-accent);
}

.custom-amt-input {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.currency-symbol {
  position: absolute;
  left: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.custom-amt-input input {
  width: 100%;
  padding: 10px 14px 10px 32px;
  border: 1.5px solid #d9d3c7;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
}

.custom-amt-input input:focus {
  border-color: var(--primary-green);
}

/* Payment tabs */
.payment-tabs {
  display: flex;
  border-bottom: 1.5px solid #e7e2d6;
  margin-bottom: 20px;
}

.pay-tab {
  flex: 1;
  padding: 10px 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
}

.pay-tab.active {
  color: var(--primary-green);
  border-bottom-color: var(--primary-green);
  font-weight: 700;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.pay-info-box {
  background-color: #faf8f4;
  border: 1px solid #e7e0d3;
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.bizum-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.step-num {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background-color: var(--primary-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}

.copyable-code {
  color: var(--primary-green);
  background: #ede6da;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-copy {
  margin-left: 8px;
  font-size: 0.78rem;
  padding: 3px 8px;
  background: #ede6da;
  border-radius: 4px;
  color: var(--primary-green);
  font-weight: 600;
}

.demo-card-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
}

.demo-card-form input {
  padding: 10px 12px;
  border: 1px solid #d9d3c7;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

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

.btn-donate-modal {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 8px;
}

.btn-donate-modal:hover {
  background-color: var(--primary-hover);
}

.modal-footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 20, 15, 0.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 860px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 70vh;
  margin: 0 auto 16px auto;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-meta h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.lightbox-meta p {
  color: #b5c7bf;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: #ffffff;
  font-size: 2rem;
  padding: 12px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  color: var(--gold-accent);
}

.lightbox-close {
  top: 20px;
  right: 28px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   RTL SUPPORT (FOR ARABIC SWITCH)
   ========================================================================== */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .logo-text {
  text-align: right;
}

html[dir="rtl"] .timeline-step-arrow i {
  transform: rotate(180deg);
}

html[dir="rtl"] .arrow-icon {
  transform: rotate(180deg);
}

html[dir="rtl"] .btn:hover .arrow-icon {
  transform: rotate(180deg) translateX(4px);
}

html[dir="rtl"] .footer-heading::after {
  left: auto;
  right: 0;
}

/* ==========================================================================
   RESPONSIVENESS / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .hero-media .hero-img {
    height: 380px;
  }

  .two-cols-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fundraising-container {
    grid-template-columns: 1fr;
  }

  .fundraising-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 16px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .timeline-cards {
    flex-direction: column;
    gap: 14px;
  }

  .timeline-step-arrow {
    display: none;
  }

  .timeline-card {
    width: 100%;
    display: flex;
  }

  .card-thumb {
    width: 110px;
    height: 100px;
    min-width: 110px;
  }

  .card-content {
    flex: 1;
    padding: 10px 14px;
  }

  .funding-numbers {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .funding-sep {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   FULL GALLERY SECTION (45 PHOTOS & VIDEO)
   ========================================================================== */
.section-full-gallery {
  padding: 80px 0 90px;
  background-color: #f7f5f0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.gallery-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.gallery-section-header .section-heading {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 12px 0 10px;
}

.gallery-section-header .section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Video Card */
.gallery-video-card {
  display: flex;
  background: #0e382c;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  border: 1px solid rgba(196, 151, 76, 0.3);
}

.gallery-video-info {
  flex: 1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.video-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c4974c;
  background: rgba(196, 151, 76, 0.18);
  border: 1px solid rgba(196, 151, 76, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.video-card-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.video-card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.gallery-video-player {
  flex: 1.2;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.gallery-video-player video {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

/* Filters Bar */
.gallery-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-filter-btn:hover {
  background: #f0ede6;
  border-color: #d8d0c2;
}

.gallery-filter-btn.active {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 4px 14px rgba(14, 56, 44, 0.25);
}

.filter-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-p1 { background: #d97706; }
.dot-p2 { background: #2563eb; }
.dot-p3 { background: #dc2626; }
.dot-p4 { background: #059669; }
.dot-p5 { background: #c4974c; }

/* Photo Grid */
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-photo-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #c4974c;
}

.gallery-card-thumb {
  position: relative;
  width: 100%;
  height: 190px;
  background: #1b2621;
  overflow: hidden;
}

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

.gallery-photo-card:hover .gallery-card-thumb img {
  transform: scale(1.08);
}

.gallery-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.gallery-card-badge.phase-1 { background: #d97706; }
.gallery-card-badge.phase-2 { background: #2563eb; }
.gallery-card-badge.phase-3 { background: #dc2626; }
.gallery-card-badge.phase-4 { background: #059669; }
.gallery-card-badge.phase-other { background: #c4974c; }

.gallery-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(14, 56, 44, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-photo-card:hover .gallery-card-hover {
  opacity: 1;
}

.gallery-card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.gallery-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Lightbox counter */
.lightbox-counter {
  position: absolute;
  top: 16px;
  left: 20px;
  background: rgba(0, 0, 0, 0.65);
  color: #c4974c;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  border: 1px solid rgba(196, 151, 76, 0.4);
  z-index: 10;
}

@media (max-width: 900px) {
  .gallery-video-card {
    flex-direction: column;
  }
  .gallery-video-player {
    min-height: 220px;
  }
}

/* ==========================================================================
   LOCATION & CONTACT SECTION (MAP & EXACT ADDRESS)
   ========================================================================== */
.section-location {
  padding: 80px 0 90px;
  background-color: var(--bg-page);
  border-top: 1px solid var(--card-border);
}

.location-card {
  display: flex;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.location-info {
  flex: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 12px 0 16px;
  line-height: 1.25;
}

.location-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-item .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 56, 44, 0.08);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-detail-item:hover .contact-icon {
  background: var(--primary-green);
  color: #ffffff;
}

.contact-detail-item .contact-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact-detail-item .contact-text span,
.contact-detail-item .contact-text a {
  font-size: 0.98rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.45;
}

.contact-detail-item .contact-text a:hover {
  color: var(--gold-accent);
}

.location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid #25D366;
  color: #128C7E;
  background: #ffffff;
  transition: var(--transition);
}

.btn-outline-wa:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.location-map {
  flex: 1.15;
  min-height: 420px;
  position: relative;
  background: #ece7e0;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
}

@media (max-width: 900px) {
  .location-card {
    flex-direction: column;
  }
  .location-info {
    padding: 30px 24px;
  }
  .location-map,
  .location-map iframe {
    min-height: 300px;
  }
}


/* ==========================================================================
   ULTRA-PREMIUM & PRESTIGE ADDITIONS
   ========================================================================== */

/* 1. TOP BAR */
.top-bar {
  background: linear-gradient(90deg, #061c15 0%, #0e382c 50%, #061c15 100%);
  color: #f7f3ee;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(196, 151, 76, 0.3);
  position: relative;
  z-index: 101;
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.top-bar-item i {
  color: var(--gold-accent);
  font-size: 0.85rem;
}

.top-bar-sep {
  color: rgba(196, 151, 76, 0.45);
  font-size: 0.75rem;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  transition: var(--transition);
}

.top-bar-link:hover {
  color: var(--gold-accent);
}

.top-bar-link i {
  color: var(--gold-accent);
  font-size: 0.85rem;
}

.top-bar-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #4ade80;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
}

.top-bar-btn-wa:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

@media (max-width: 860px) {
  .top-bar-email, .top-bar-left .top-bar-sep, .top-bar-left .top-bar-item:nth-child(3) {
    display: none;
  }
}

/* 2. REFINED HERO MEDIA ARCHITECTURAL FRAME */
.hero-media .image-frame {
  position: relative;
  border-radius: 28px 28px 22px 22px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(14, 56, 44, 0.22), 0 0 0 1px rgba(196, 151, 76, 0.35);
  border: 4px solid #ffffff;
  background: #0e382c;
}

.hero-media .image-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold-accent), #f3e5ab, var(--gold-accent));
  z-index: 3;
}

.hero-image-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(9, 38, 30, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(196, 151, 76, 0.35);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 3. SADAKA CARDS ACTIONS & LUXURY LIFT */
.sadaka-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.sadaka-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14, 56, 44, 0.08);
  border-color: rgba(196, 151, 76, 0.5);
}

.sadaka-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.sadaka-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #0e382c;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.sadaka-btn-action:hover {
  background: var(--gold-accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.sadaka-btn-action.wa-color {
  background: #25D366;
  color: #ffffff;
}

.sadaka-btn-action.wa-color:hover {
  background: #1eb857;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.sadaka-btn-action.email-color {
  background: #0e382c;
  color: #ffffff;
}

.sadaka-btn-action.email-color:hover {
  background: var(--primary-light);
}

.sadaka-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #dcd4c5;
  color: var(--text-dark);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
}

.sadaka-btn-copy:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
  background: #f7f5ee;
}

/* 4. FLOATING WHATSAPP BUTTON (LUXURY) */
.floating-wa-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 25px rgba(18, 140, 126, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.floating-wa-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 30px rgba(18, 140, 126, 0.55), 0 0 0 4px rgba(196, 151, 76, 0.5);
}

.floating-wa-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: wa-pulse 2.2s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.floating-wa-tooltip {
  position: absolute;
  right: 68px;
  background: #07221a;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(196, 151, 76, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all 0.25s ease;
}

.floating-wa-btn:hover .floating-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* 5. TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #09281f;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(196, 151, 76, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast-notification .toast-icon {
  color: #25D366;
  font-size: 1.15rem;
}

/* 6. PHOTO GALLERY CARD HOVER LUXURY */
.gallery-photo-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.gallery-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(14, 56, 44, 0.12);
}

.gallery-photo-card .gallery-card-thumb img {
  transition: transform 0.45s ease;
}

.gallery-photo-card:hover .gallery-card-thumb img {
  transform: scale(1.06);
}

/* 7. RTL ADJUSTMENTS FOR ARABIC */
html[dir="rtl"] .top-bar-container {
  flex-direction: row-reverse;
}

html[dir="rtl"] .top-bar-left, html[dir="rtl"] .top-bar-right {
  flex-direction: row-reverse;
}

html[dir="rtl"] .floating-wa-btn {
  right: auto;
  left: 26px;
}

html[dir="rtl"] .floating-wa-tooltip {
  right: auto;
  left: 68px;
  transform: translateX(-8px);
}

html[dir="rtl"] .floating-wa-btn:hover .floating-wa-tooltip {
  transform: translateX(0);
}


/* ==========================================================================
   MOBILE RESPONSIVE — Smartphones (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {

  /* Container padding */
  .container {
    padding: 0 16px;
  }

  /* ── TOP BAR ── */
  .top-bar {
    display: none; /* hide on very small screens to save space */
  }

  /* ── HEADER ── */
  .site-header { height: 62px; }
  .header-container { height: 62px; }
  .logo-icon { width: 42px; height: 42px; }
  .alginet-badge { font-size: 1.1rem; }
  .brand-top-row .main-title { font-size: 0.65rem; }
  .brand-sub-row .ar-name { font-size: 0.82rem; }
  .lang-selector { padding: 3px 7px; font-size: 0.75rem; }

  /* ── HERO ── */
  .hero-section { padding: 32px 0 40px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-title { font-size: 1.75rem; line-height: 1.25; }
  .hero-desc { font-size: 0.93rem; margin-bottom: 22px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn { justify-content: center; padding: 12px 20px; }
  .hero-mini-stats {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
  }
  .mini-stat-sep { display: none; }
  .mini-stat-item { width: 100%; }
  .hero-img { height: 260px; }
  .hero-media { order: -1; } /* image above text */

  /* ── TWO COLS (About + Timeline) ── */
  .section-two-cols { padding: 40px 0 32px; }
  .two-cols-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-heading { font-size: 1.55rem; }
  .col-evolution { padding: 20px 16px; }
  .timeline-cards {
    flex-direction: column;
    gap: 12px;
  }
  .timeline-step-arrow { display: none; }
  .timeline-card {
    width: 100%;
    display: flex;
    flex-direction: row;
  }
  .card-thumb {
    width: 100px;
    min-width: 100px;
    height: 90px;
    flex-shrink: 0;
  }
  .card-content { padding: 10px 12px; }

  /* ── GALLERY ── */
  .section-full-gallery { padding: 40px 0 50px; }
  .gallery-section-header .section-heading { font-size: 1.6rem; }
  .gallery-video-card { flex-direction: column; }
  .gallery-video-info { padding: 20px 18px; }
  .gallery-video-player { min-height: 200px; }
  .gallery-filters-bar { gap: 7px; }
  .gallery-filter-btn { padding: 7px 12px; font-size: 0.8rem; }
  .full-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gallery-card-thumb { height: 130px; }
  .gallery-card-body { padding: 8px 10px; }
  .gallery-card-title { font-size: 0.82rem; }
  .gallery-card-desc { font-size: 0.72rem; }

  /* ── DONATION / SADAKA ── */
  .section-donation { padding: 40px 0 50px; }
  .fundraising-main {
    grid-template-columns: 1fr !important;
    padding: 22px 16px !important;
    gap: 20px !important;
  }
  .fundraising-title { font-size: 1.35rem; }
  .sadaka-card { padding: 14px 12px; gap: 10px; }
  .sadaka-card { flex-direction: column; }
  .sadaka-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .sadaka-btn-action,
  .sadaka-btn-copy { width: 100%; justify-content: center; padding: 10px 14px; font-size: 0.85rem; }
  .trust-card { padding: 20px 16px; }

  /* ── SERVICES / COMMUNITY ── */
  .section-community { padding: 40px 0 50px; }
  .community-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .services-list { gap: 12px; }
  .service-card-item {
    padding: 16px 14px;
    gap: 12px;
  }
  .service-icon { font-size: 1.3rem; width: 44px; height: 44px; }
  .service-title { font-size: 0.95rem; }
  .service-desc { font-size: 0.85rem; }

  /* ── LOCATION / CONTACT ── */
  .section-location { padding: 40px 0 50px; }
  .location-card { flex-direction: column; }
  .location-info { padding: 24px 18px; }
  .location-title { font-size: 1.5rem; }
  .location-map, .location-map iframe { min-height: 240px; }
  .location-actions {
    flex-direction: column;
    gap: 10px;
  }
  .location-actions .btn { width: 100%; justify-content: center; }

  /* ── FOOTER ── */
  .site-footer { padding: 40px 0 20px; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .copyright { font-size: 0.78rem; }

  /* ── FLOATING WHATSAPP ── */
  .floating-wa-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 18px;
    right: 18px;
  }
  .floating-wa-tooltip { display: none; }

  /* ── LIGHTBOX ── */
  .lightbox-prev, .lightbox-next {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   TABLET (481px – 768px) — small refinements
   ========================================================================== */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-title { font-size: 2rem; }
  .hero-img { height: 320px; }
  .hero-media { order: -1; }
  .two-cols-grid { grid-template-columns: 1fr; gap: 32px; }
  .full-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sadaka-grid { grid-template-columns: 1fr !important; }
  .community-grid { grid-template-columns: 1fr !important; }
  .location-card { flex-direction: column; }
  .location-info { padding: 28px 24px; }
}


/* ==========================================================================
   CORRECTIFS CRITIQUES MOBILE — Débordement horizontal & header
   ========================================================================== */

/* Empêcher TOUT débordement horizontal */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
*, *::before, *::after {
  max-width: 100%;
}

/* ── TOP BAR MOBILE (< 640px) ── */
@media (max-width: 640px) {
  .top-bar-container {
    flex-wrap: nowrap;
    overflow: hidden;
    height: auto;
    min-height: 36px;
    padding: 4px 0;
  }
  /* Cacher tout ce qui déborde à gauche sauf la ville */
  .top-bar-left .top-bar-sep,
  .top-bar-left .top-bar-item:nth-child(3) {
    display: none;
  }
  /* Garder seulement : ville | téléphone | WhatsApp */
  .top-bar-right .top-bar-sep { display: none; }
  .top-bar-email { display: none !important; }
  .top-bar-item span,
  .top-bar-link span { white-space: nowrap; }
  .top-bar-left .top-bar-item:first-child span {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ── HEADER MOBILE ── */
@media (max-width: 640px) {
  .header-container {
    height: 64px;
    gap: 8px;
  }
  .logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
  .brand-top-row .main-title { font-size: 0.6rem; white-space: nowrap; }
  .alginet-badge { font-size: 1.05rem; letter-spacing: 0.5px; }
  .brand-sub-row .ar-name { font-size: 0.78rem; }

  /* Réduire le sélecteur de langue */
  .lang-selector {
    padding: 3px 6px;
    font-size: 0.72rem;
    gap: 2px;
  }
  .lang-btn { padding: 2px 5px; gap: 3px; font-size: 0.72rem; }
  .flag-icon { font-size: 0.8rem; }

  /* Menu mobile quand ouvert */
  .main-nav {
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
  }
  .main-nav .nav-list {
    gap: 12px;
  }
}

/* ── HERO MOBILE — Empêcher le débordement du texte ── */
@media (max-width: 640px) {
  .hero-section {
    padding: 28px 0 36px;
    overflow: hidden;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-content { max-width: 100%; }
  .hero-title {
    font-size: 1.7rem;
    line-height: 1.25;
    word-break: break-word;
  }
  .hero-desc {
    font-size: 0.9rem;
    max-width: 100%;
    word-break: break-word;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.9rem;
  }
  .hero-mini-stats {
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
  }
  .mini-stat-sep { display: none; }
  .hero-media { order: -1; }
  .hero-img { height: 230px; border-radius: 14px; }
}

/* ── SECTION ABOUT / TIMELINE ── */
@media (max-width: 640px) {
  .section-two-cols { padding: 36px 0 28px; }
  .two-cols-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section-heading { font-size: 1.5rem; }
  .col-evolution { padding: 18px 14px; }
  .evolution-header { margin-bottom: 18px; }
}

/* ── GALERIE ── */
@media (max-width: 640px) {
  .section-full-gallery { padding: 36px 0 44px; }
  .gallery-section-header .section-heading { font-size: 1.5rem; }
  .gallery-video-card { flex-direction: column; }
  .gallery-video-info { padding: 18px 16px; }
  .video-card-title { font-size: 1.25rem; }
  .full-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery-card-thumb { height: 115px; }
  .gallery-card-body { padding: 7px 8px; }
  .gallery-card-title { font-size: 0.78rem; }
  .gallery-card-desc { display: none; } /* hide desc on mobile to save space */
}

/* ── DON / SADAKA ── */
@media (max-width: 640px) {
  .section-donation { padding: 36px 0 44px; }
  .fundraising-main {
    grid-template-columns: 1fr !important;
    padding: 20px 14px !important;
    gap: 18px !important;
  }
  .fundraising-title { font-size: 1.3rem; margin-bottom: 14px; }
  .sadaka-card {
    flex-direction: column;
    padding: 14px 12px;
    gap: 10px;
  }
  .sadaka-actions {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .sadaka-btn-action,
  .sadaka-btn-copy {
    width: 100%;
    justify-content: center;
    padding: 9px 14px;
  }
  .trust-card { padding: 18px 14px; }
}

/* ── SERVICES / COMMUNITY ── */
@media (max-width: 640px) {
  .section-community { padding: 36px 0 44px; }
  .community-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .service-card-item { padding: 14px 12px; }
}

/* ── CONTACT / LOCALISATION ── */
@media (max-width: 640px) {
  .section-location { padding: 36px 0 44px; }
  .location-card { flex-direction: column; }
  .location-info { padding: 22px 16px; }
  .location-title { font-size: 1.45rem; }
  .location-desc { font-size: 0.9rem; }
  .location-map,
  .location-map iframe { min-height: 220px; }
  .location-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .location-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── FOOTER ── */
@media (max-width: 640px) {
  .site-footer { padding: 36px 0 16px; }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .copyright { font-size: 0.75rem; }
}

/* ── MODALE DON ── */
@media (max-width: 640px) {
  .donation-modal-box {
    padding: 24px 16px;
    margin: 10px;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-tabs { gap: 4px; }
  .tab-btn { font-size: 0.78rem; padding: 8px 10px; }
}


/* ==========================================================================
   CORRECTIF HEADER MOBILE — Boutons langue + hamburger toujours visibles
   ========================================================================== */
@media (max-width: 640px) {

  /* Header layout : logo | flex-space | actions */
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    padding: 0 12px;
    gap: 0;
  }

  /* Logo — plus compact */
  .brand-logo {
    gap: 7px;
    flex-shrink: 0;
    max-width: 170px;
  }
  .logo-icon { width: 36px; height: 36px; }
  .logo-text { gap: 0; }
  .brand-top-row .main-title {
    font-size: 0.55rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 115px;
  }
  .alginet-badge { font-size: 0.95rem; letter-spacing: 0.5px; }
  .brand-sub-row .ar-name { font-size: 0.72rem; }

  /* Actions = lang + hamburger — poussés à droite, ne jamais couper */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Sélecteur de langue — uniquement les drapeaux/icônes, pas le texte */
  .lang-selector {
    display: flex;
    align-items: center;
    padding: 3px 5px;
    gap: 1px;
    background: #f4f2ee;
    border: 1px solid #e5e0d7;
    border-radius: 999px;
  }
  .lang-btn {
    padding: 3px 5px;
    gap: 0;
    min-width: 28px;
    justify-content: center;
  }
  /* Cacher le texte FR / ES / عربي — garder uniquement le drapeau/icône */
  .lang-btn > *:not(.flag-icon):not(.fa-globe) {
    display: none;
  }
  /* Pour le bouton AR qui a une icône fa-globe + texte عربي */
  .lang-btn[data-lang="ar"] .fa-globe {
    font-size: 0.9rem;
  }
  .flag-icon { font-size: 1rem; }
  .lang-selector .divider { display: none; }

  /* Bouton hamburger — toujours visible */
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
    color: var(--primary-green);
    flex-shrink: 0;
    padding: 0;
  }
}





/* ==========================================================================
   FOOTER — Boutons contact (WhatsApp + Email)
   ========================================================================== */
.footer-contact-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.footer-btn-wa,
.footer-btn-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  width: fit-content;
}

.footer-btn-wa {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
}
.footer-btn-wa:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.footer-btn-email {
  background: rgba(196, 151, 76, 0.12);
  border: 1px solid rgba(196, 151, 76, 0.35);
  color: var(--gold-accent);
}
.footer-btn-email:hover {
  background: var(--gold-accent);
  color: #ffffff;
  border-color: var(--gold-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(196, 151, 76, 0.3);
}

@media (max-width: 640px) {
  .footer-btn-wa,
  .footer-btn-email {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   SADAKA IBAN BOX — Numéro de compte bancaire en évidence
   ========================================================================== */
.sadaka-iban-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid rgba(196, 151, 76, 0.45);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  margin: 10px 0 6px;
  box-shadow: 0 2px 8px rgba(14, 56, 44, 0.05);
  flex-wrap: wrap;
}

.sadaka-iban-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-green);
  background: rgba(14, 56, 44, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sadaka-iban-num {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.96rem;
  font-weight: 700;
  color: #0e382c;
  letter-spacing: 0.8px;
  user-select: all;
}

@media (max-width: 640px) {
  .sadaka-iban-box {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 12px;
  }
  .sadaka-iban-num {
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    word-break: break-all;
  }
}


/* Contact link row & President badge */
.contact-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #128c7e;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  transition: var(--transition);
}
.contact-wa-badge:hover {
  background: #25d366;
  color: #ffffff;
}
