/* ============================================================
   منصة إدارة الجودة والتميز بشركة الحمراء لخدمات حجاج الداخل — index.html Styles
   ============================================================ */

/* ══ Body ════════════════════════════════════ */
body { background: var(--off-white); color: var(--green-dark); }

/* ══ NAVBAR ══════════════════════════════════ */
#navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
#navbar.top      { background: linear-gradient(180deg,rgba(0,0,0,.5) 0%,transparent 100%); }
#navbar.scrolled {
  background: linear-gradient(135deg,rgba(61,10,10,.97),rgba(139,36,36,.97));
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(8px,1.5vw,16px); padding: 12px clamp(12px,2.5vw,24px);
  max-width: 1400px; margin: 0 auto;
}

/* Logos group */
.nav-logos-group {
  display: flex; align-items: center; gap: clamp(8px,1.5vw,14px); flex-shrink: 0;
}
.nav-logos-group .logos-sep {
  width: 1px; height: clamp(40px,5vw,56px);
  background: linear-gradient(180deg,transparent,rgba(201,168,76,.5),transparent);
}
.nav-logo-img {
  height: clamp(44px,5.5vw,68px); width: auto; max-width: 130px; object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
  transition: transform var(--transition);
}
/* شعار الوزارة — أكبر بشكل ملحوظ */
.nav-logo-img.ministry { height: clamp(64px,8vw,96px); max-width: 160px; }
.nav-logo-img:hover    { transform: scale(1.05); }

/* Nav center */
.nav-center { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav-links  { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,.82); font-size: clamp(.72rem,1.2vw,.84rem); font-weight: 600;
  padding: 7px clamp(6px,1vw,12px); border-radius: 8px; white-space: nowrap; position: relative;
  transition: color var(--transition), background var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 3px; right: 10px; left: 10px;
  height: 2px; background: var(--gold); border-radius: 1px;
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover { color: var(--gold-light); background: rgba(201,168,76,.1); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: clamp(6px,1vw,10px); flex-shrink: 0; }
.btn-outline-nav {
  border: 1.5px solid var(--gold); color: var(--gold); background: transparent;
  padding: clamp(5px,.8vw,8px) clamp(10px,1.5vw,18px); border-radius: 8px;
  font-family: 'Cairo',sans-serif; font-size: clamp(.72rem,1.1vw,.84rem); font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background var(--transition), color var(--transition);
}
.btn-outline-nav:hover { background: var(--gold); color: var(--green-dark); }
.btn-gold-nav {
  background: linear-gradient(135deg,var(--gold),var(--gold-light));
  color: var(--green-dark); border: none;
  padding: clamp(5px,.8vw,8px) clamp(10px,1.5vw,18px); border-radius: 8px;
  font-family: 'Cairo',sans-serif; font-size: clamp(.72rem,1.1vw,.84rem); font-weight: 700;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(201,168,76,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-gold-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.5); }

/* User state */
.nav-user-state { display: none; align-items: center; gap: 10px; }
.nav-user-state.active { display: flex; }
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,var(--gold),var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: var(--green-dark);
  border: 2px solid rgba(255,255,255,.3);
}
.user-name-display { color: var(--white); font-size: .82rem; font-weight: 600; }
.btn-dashboard {
  background: var(--green-light); color: var(--white); border: none;
  padding: 6px 14px; border-radius: 7px;
  font-family: 'Cairo',sans-serif; font-size: .78rem; font-weight: 600; cursor: pointer;
  transition: background var(--transition);
}
.btn-dashboard:hover { background: var(--green-mid); }
.btn-logout {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2); padding: 6px 12px; border-radius: 7px;
  font-family: 'Cairo',sans-serif; font-size: .78rem; cursor: pointer;
  transition: background var(--transition);
}
.btn-logout:hover { background: rgba(255,80,80,.2); color: #ff8080; }

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

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(61,10,10,.98); backdrop-filter: blur(20px);
  padding: 20px 24px; border-top: 1px solid rgba(201,168,76,.2); gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-actions { display: flex; gap: 10px; margin-top: 8px; }
.mobile-menu-actions button { flex: 1; }

/* ══ HERO ════════════════════════════════════ */
#hero {
  min-height: 100svh; position: relative; display: flex; align-items: center;
  overflow: hidden; background: var(--green-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,  rgba(201,168,76,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%,  rgba(192,57,43,.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 100% 50%, rgba(201,168,76,.08) 0%, transparent 50%),
    linear-gradient(160deg,#3D0A0A 0%,#8B2424 40%,#3D0A0A 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .04;
  background-image:
    repeating-linear-gradient(45deg,  var(--gold) 0,var(--gold) 1px,transparent 0,transparent 50%),
    repeating-linear-gradient(-45deg, var(--gold) 0,var(--gold) 1px,transparent 0,transparent 50%);
  background-size: 32px 32px;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: floatOrb 8s ease-in-out infinite altegnate; }
.hero-orb-1 { width: clamp(260px,40vw,500px); height: clamp(260px,40vw,500px); background: rgba(201,168,76,.07); top: -120px; right: -80px; }
.hero-orb-2 { width: clamp(200px,32vw,400px); height: clamp(200px,32vw,400px); background: rgba(192,57,43,.12); bottom: -80px; left: -60px; animation-delay: 3s; }
@keyframes floatOrb { 0%{transform:scale(1) translate(0,0)} 100%{transform:scale(1.15) translate(30px,-30px)} }

.hero-content { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: clamp(100px,14vw,140px) clamp(16px,3vw,24px) clamp(60px,8vw,100px); text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 0, 0, 0.12); border: 1px solid rgb(0, 0, 0);
  padding: 6px 18px; border-radius: 100px;
  color: red; font-size: 20px; font-weight: 600; margin-bottom: clamp(18px,3vw,28px);
  animation: fadeDown .7s ease .2s both;
}
.hero-badge svg { width: 16px; height: 16px; }

.hero-title {
  font-size: var(--fs-3xl); font-weight: 900; color: var(--white); line-height: 1.45;
  margin-bottom: clamp(16px,2.5vw,24px); animation: fadeDown .7s ease .4s both;
}
.hero-title .highlight { background: linear-gradient(135deg,var(--gold),var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Hero — Arabic display fonts ──────────────────────────── */
.hero-platform {
  display: inline-block;
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 3.8rem);
  letter-spacing: -.01em;
  line-height: 1.3;
  padding: .15em 0;
  white-space: nowrap;
}
.hero-suffix {
  display: inline-block;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: clamp(.85rem, 2.4vw, 1.8rem);
  color: #fff;
  letter-spacing: 0;
  margin-top: .35em;
}
/* على الموبايل: السماح بالتفاف وحجم أصغر */
@media (max-width: 600px) {
  .hero-platform {
    white-space: normal;
    font-size: clamp(1.35rem, 6.4vw, 2.2rem);
  }
  .hero-suffix { font-size: clamp(.78rem, 3.4vw, 1.05rem); }
}

.hero-desc {
  font-size: var(--fs-sm); color: rgba(255,255,255,.75); line-height: 1.9;
  max-width: 700px; margin: 0 auto clamp(20px,3vw,32px); animation: fadeDown .7s ease .55s both;
}

.hero-users { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(6px,1vw,10px); margin-bottom: clamp(24px,4vw,40px); animation: fadeDown .7s ease .65s both; }
.hero-user-tag { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 5px 14px; border-radius: 100px; color: rgba(255,255,255,.8); font-size: var(--fs-xs); }
.hero-user-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-cta { display: flex; justify-content: center; gap: clamp(10px,2vw,16px); flex-wrap: wrap; animation: fadeDown .7s ease .75s both; }
.btn-hero-primary {
  background: linear-gradient(135deg,var(--gold),var(--gold-light) 50%,var(--gold)); background-size: 200%;
  color: var(--green-dark); border: none;
  padding: clamp(12px,1.8vw,15px) clamp(24px,4vw,36px); border-radius: 12px;
  font-family: 'Cairo',sans-serif; font-size: var(--fs-base); font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 32px rgba(201,168,76,.45);
  transition: transform var(--transition), box-shadow var(--transition), background-position .4s;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(201,168,76,.55); background-position: right center; }
.btn-hero-secondary {
  background: rgba(255,255,255,.08); color: var(--white); border: 1.5px solid rgba(255,255,255,.25);
  padding: clamp(12px,1.8vw,15px) clamp(24px,4vw,36px); border-radius: 12px;
  font-family: 'Cairo',sans-serif; font-size: var(--fs-base); font-weight: 600; cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.15); border-color: var(--gold); }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,.4); font-size: .72rem; animation: fadeDown .7s ease 1s both; }
.scroll-indicator .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.3); border-radius: 11px; display: flex; justify-content: center; }
.scroll-indicator .wheel { width: 3px; height: 6px; background: var(--gold); border-radius: 2px; margin-top: 6px; animation: scrollWheel 1.8s ease infinite; }
@keyframes scrollWheel { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(12px)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-24px)} to{opacity:1;transform:translateY(0)} }

/* ══ STATISTICS ══════════════════════════════ */
#statistics { padding: var(--sp-2xl) 0; background: linear-gradient(180deg,var(--off-white) 0%,#EEE9DF 100%); position: relative; }
#statistics::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,200px),1fr)); gap: clamp(14px,2.5vw,24px); }

.stat-card {
  position: relative; background: rgba(255,255,255,.6); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: clamp(24px,4vw,36px) clamp(18px,3vw,28px); text-align: center; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(139,36,36,.08);
}
.stat-card::before { content:''; position:absolute; top:0;right:0;left:0; height:3px; background:linear-gradient(90deg,var(--gold-dark),var(--gold-light)); border-radius:var(--radius-lg) var(--radius-lg) 0 0; }
.stat-card:hover   { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(139,36,36,.15),0 0 0 1px rgba(201,168,76,.3); }

.stat-icon { width: clamp(44px,6vw,56px); height: clamp(44px,6vw,56px); background: linear-gradient(135deg,var(--green-main),var(--green-mid)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 8px 24px rgba(139,36,36,.25); }
.stat-icon svg   { width: clamp(20px,3.5vw,28px); height: clamp(20px,3.5vw,28px); fill: var(--gold); }
.stat-number     { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 900; color: var(--green-main); line-height: 1; margin-bottom: 8px; direction: ltr; }
.stat-number .prefix, .stat-number .suffix { font-size: clamp(.9rem,2vw,1.4rem); color: var(--gold); }
.stat-label      { font-size: var(--fs-xs); font-weight: 600; color: #555; }

/* ══ ABOUT ═══════════════════════════════════ */
#about { padding: var(--sp-2xl) 0; position: relative; background: var(--green-main); overflow: hidden; }
.islamic-pattern { position: absolute; inset: 0; background-image: repeating-conic-gradient(from 0deg at 50% 50%,transparent 0deg,transparent 8deg,rgba(201,168,76,.04) 8deg,rgba(201,168,76,.04) 9deg); background-size: 60px 60px; pointer-events: none; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,80px); align-items: center; }
.about-text .eyebrow-about { display: inline-block; color: var(--gold); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 3px; margin-bottom: 16px; }
.about-text .eyebrow-about::after { content:''; display:inline-block; width:30px; height:1px; background:var(--gold); vertical-align:middle; margin-right:8px; }
.about-text h2    { font-size: var(--fs-2xl); font-weight: 900; color: var(--white); line-height: 1.35; margin-bottom: 20px; }
.about-text h2 .accent { color: var(--gold); }
.about-text p     { color: rgba(255,255,255,.75); font-size: var(--fs-sm); line-height: 1.9; margin-bottom: 16px; }
.tagline-box      { margin-top: 32px; padding: 20px 24px; background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.3); border-radius: 14px; text-align: center; }
.tagline-box .tagline { font-size: clamp(1rem,2.2vw,1.45rem); font-weight: 800; color: var(--gold); letter-spacing: 1px; }

.about-visual     { display: flex; flex-direction: column; align-items: center; gap: clamp(24px,4vw,40px); }
.logo-showcase    { display: flex; gap: clamp(16px,3vw,32px); align-items: center; flex-wrap: wrap; justify-content: center; }
.logo-card-label  { font-size: var(--fs-xs); font-weight: 700; color: rgba(255,255,255,.55); text-align: center; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-divider-v { width: 1px; height: 90px; background: rgba(201,168,76,.25); }

.services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.service-item  { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 10px 14px; border-radius: 10px; color: rgba(255,255,255,.8); font-size: var(--fs-xs); font-weight: 500; }
.service-item .s-icon { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ══ LEADERSHIP ══════════════════════════════ */
#leadership { padding: var(--sp-2xl) 0; background: var(--off-white); position: relative; }
#leadership::before { content:''; position:absolute; top:0;left:0;right:0; height:4px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }

.leadership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); gap: clamp(16px,3vw,28px); }

.leader-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: clamp(24px,4vw,36px) clamp(18px,3vw,28px); text-align: center;
  position: relative; overflow: hidden;
  border: 1px solid rgba(201,168,76,.15);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 4px 20px rgba(139,36,36,.07);
}
.leader-card::after { content:''; position:absolute; bottom:0;left:0;right:0; height:4px; background:linear-gradient(90deg,var(--gold-dark),var(--gold-light)); transform:scaleX(0); transition:transform var(--transition); transform-origin:right; border-radius:0 0 var(--radius-xl) var(--radius-xl); }
.leader-card:hover  { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(139,36,36,.14),0 0 0 1px rgba(201,168,76,.35); border-color: rgba(201,168,76,.4); }
.leader-card:hover::after { transform: scaleX(1); }

.leader-avatar { width: clamp(60px,8vw,80px); height: clamp(60px,8vw,80px); border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: clamp(1rem,2vw,1.5rem); font-weight: 800; color: var(--white); border: 3px solid rgba(201,168,76,.4); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.av-1 { background: linear-gradient(135deg,#8B2424,#C0392B); }
.av-2 { background: linear-gradient(135deg,#7B3F00,#C9692A); }
.av-3 { background: linear-gradient(135deg,#1A237E,#3F51B5); }
.av-4 { background: linear-gradient(135deg,#4A148C,#7B1FA2); }
.leader-role { display: inline-block; background: linear-gradient(135deg,rgba(139,36,36,.08),rgba(139,36,36,.04)); border: 1px solid rgba(139,36,36,.12); color: var(--green-main); font-size: var(--fs-xs); font-weight: 700; padding: 4px 12px; border-radius: 100px; margin-bottom: 8px; }
.leader-name { font-size: var(--fs-sm); font-weight: 800; color: var(--green-dark); margin-bottom: 18px; }
.leader-quote-wrap { position: relative; padding: 16px 20px; background: linear-gradient(135deg,rgba(139,36,36,.04),rgba(201,168,76,.05)); border-radius: 14px; border: 1px solid rgba(201,168,76,.12); }
.quote-mark  { position: absolute; top: -12px; right: 18px; font-size: 3rem; color: var(--gold); line-height: 1; font-family: serif; opacity: .4; }
.leader-quote { font-size: var(--fs-xs); color: #555; line-height: 1.8; font-style: italic; }

/* ══ ORG CHART ═══════════════════════════════ */
#orgchart { padding: var(--sp-2xl) 0; background: linear-gradient(180deg,#EEE9DF 0%,var(--off-white) 100%); position: relative; overflow: hidden; }
#orgchart::before { content:''; position:absolute; top:0;left:0;right:0; height:4px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
#orgchart .org-pattern { position:absolute; inset:0; background-image:radial-gradient(circle at 1px 1px,rgba(139,36,36,.04) 1px,transparent 0); background-size:28px 28px; pointer-events:none; }

.org-wrapper { overflow-x: auto; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.org-tree    { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: min(900px,100%); }
.org-node    { display: flex; flex-direction: column; align-items: center; }

.org-box {
  background: var(--white); border: 2px solid var(--green-main); border-radius: 12px;
  padding: clamp(10px,1.5vw,14px) clamp(14px,2.5vw,22px); text-align: center;
  min-width: clamp(120px,18vw,160px); max-width: clamp(140px,22vw,200px);
  box-shadow: 0 6px 24px rgba(139,36,36,.12);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.org-box:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(139,36,36,.2); border-color: var(--gold); }
.org-box.top-box { background: linear-gradient(135deg,var(--green-main),var(--green-mid)); border-color: var(--gold); min-width: clamp(140px,20vw,200px); }
.org-box.top-box .org-title { color: var(--gold); }
.org-box.top-box .org-name  { color: var(--white); }
.org-box.mid-box { background: linear-gradient(135deg,rgba(139,36,36,.06),rgba(201,168,76,.06)); border-color: var(--green-mid); min-width: clamp(130px,18vw,170px); }
.org-title { font-size: var(--fs-xs); font-weight: 800; color: var(--green-main); margin-bottom: 5px; line-height: 1.4; }
.org-name  { font-size: var(--fs-xs); font-weight: 700; color: var(--green-dark); line-height: 1.4; }
.org-box.member-box .org-name  { color: #C0392B; }
.org-box.member-box .org-title { color: var(--green-mid); }

.org-connectog-down { width: 2px; background: linear-gradient(180deg,var(--gold-dark),var(--green-mid)); flex-shrink: 0; }

.members-row { display: flex; gap: clamp(10px,2vw,18px); justify-content: center; flex-wrap: wrap; }

/* ══ FOOTER ══════════════════════════════════ */
#footer { background: linear-gradient(160deg,#1F0404 0%,#3D0A0A 50%,#250606 100%); padding: clamp(48px,8vw,80px) 0 0; position: relative; overflow: hidden; }
#footer::before { content:''; position:absolute; top:0;left:0;right:0; height:3px; background:linear-gradient(90deg,transparent 0%,var(--gold-dark) 20%,var(--gold-light) 50%,var(--gold-dark) 80%,transparent 100%); }
#footer .footer-pattern { position:absolute; inset:0; background-image:radial-gradient(circle at 1px 1px,rgba(201,168,76,.04) 1px,transparent 0); background-size:32px 32px; pointer-events:none; }

.footer-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap: clamp(24px,5vw,48px); padding-bottom: clamp(32px,5vw,60px); }

.footer-col-title { font-size: var(--fs-xs); font-weight: 700; color: var(--gold); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col-title::after { content:''; position:absolute; bottom:0;right:0; width:32px; height:2px; background:var(--gold); border-radius:1px; }

.footer-logos-row { display: flex; align-items: center; gap: clamp(12px,2vw,20px); margin-bottom: 20px; flex-wrap: wrap; }
.footer-divider-v { width:1px; height:clamp(40px,5vw,60px); background:rgba(201,168,76,.25); flex-shrink:0; }
.footer-tagline   { font-size: var(--fs-xs); color: rgba(255,255,255,.5); line-height: 1.8; }

.footer-links-list li+li { margin-top: 10px; }
.footer-links-list a { color: rgba(255,255,255,.6); font-size: var(--fs-xs); font-weight: 500; display: flex; align-items: center; gap: 6px; transition: color var(--transition), gap var(--transition); }
.footer-links-list a::before { content:'←'; color:var(--gold); font-size:.75rem; opacity:0; transition:opacity var(--transition); }
.footer-links-list a:hover { color: var(--gold-light); gap: 10px; }
.footer-links-list a:hover::before { opacity: 1; }

.contact-item     { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.contact-icon     { width: 36px; height: 36px; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 16px; height: 16px; fill: var(--gold); }
.contact-info-text .label { font-size: .7rem; color: rgba(255,255,255,.35); font-weight: 600; letter-spacing: 1px; }
.contact-info-text .value { font-size: var(--fs-xs); color: rgba(255,255,255,.75); font-weight: 500; direction: ltr; }

.social-intro { font-size: var(--fs-xs); color: rgba(255,255,255,.5); margin-bottom: 20px; line-height: 1.7; }
.social-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.social-icon  { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform var(--transition), box-shadow var(--transition); text-decoration: none; }
.social-icon svg  { width: 20px; height: 20px; fill: var(--white); }
.social-icon:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.si-twitter   { background: linear-gradient(135deg,#1A1A2E,#16213E); border:1px solid rgba(255,255,255,.1); }
.si-instarram { background: linear-gradient(135deg,#833AB4,#FD1D1D,#FCB045); }
.si-facebook  { background: linear-gradient(135deg,#1877F2,#0a5dc2); }
.si-snapchat  { background: linear-gradient(135deg,#FFFC00,#F7E600); }
.si-snapchat svg { fill: #1a1a1a; }
.si-linkedin  { background: linear-gradient(135deg,#0077B5,#00A0DC); }
.si-youtube   { background: linear-gradient(135deg,#FF0000,#CC0000); }

.footer-bottom { position:relative; z-index:1; border-top:1px solid rgba(201,168,76,.2); padding: 22px 0; }
.footer-bottom-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-copyright { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-copyright span { color: var(--gold); }
.footer-dev { font-size: .72rem; color: rgba(255,255,255,.28); }
.footer-dev span { color: rgba(201,168,76,.6); }

/* ══ RESPONSIVE ══════════════════════════════ */
@media (max-width:1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .nav-center .nav-links { display: none; }
  .nav-logo-img { height: clamp(36px,5vw,52px); }
  .nav-logo-img.ministry { height: clamp(52px,7vw,72px); }
}
@media (max-width:768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .leadership-grid { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }
  .about-grid { gap: 32px; }
}
@media (max-width:600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; max-width: 320px; }
  .org-tree { min-width: 600px; }
}
@media (max-width:400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .members-row { gap: 8px; }
}

/* ══════════════════════════════════════════════
   LEADERS WIDE CARDS (كلمات من القيادة)
   ══════════════════════════════════════════════ */
.leaders-list { display: flex; flex-direction: column; gap: clamp(18px,2.5vw,28px); }

.leader-wide {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(16px,3vw,28px);
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(139,36,36,.07);
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.leader-wide:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(139,36,36,.14);
  border-color: rgba(201,168,76,.45);
}
.leader-wide.reverse { grid-template-columns: 1fr 240px; }
.leader-wide.reverse .lw-photo { order: 2; }
.leader-wide.reverse .lw-body  { order: 1; }

.lw-photo {
  position: relative;
  background: linear-gradient(135deg,#5c1414,#8B2424 55%,#a52a2a);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  min-height: 220px;
}
.lw-photo::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 30% 30%,rgba(201,168,76,.22),transparent 55%);
  pointer-events:none;
}
.lw-photo img {
  max-width: 82%; max-height: 180px; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  position: relative;
}
.lw-photo-fallback {
  width: 140px; height: 140px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 900; color: #5c1414;
  background: linear-gradient(135deg,#f0c560,#c9a84c);
  border: 4px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  position: relative;
}

.lw-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(18px,3vw,32px) clamp(18px,3vw,34px);
}
.lw-role {
  display: inline-block;
  background: linear-gradient(135deg,rgba(201,168,76,.14),rgba(201,168,76,.06));
  border: 1px solid rgba(201,168,76,.35);
  color: #8a6a20;
  font-size: .78rem; font-weight: 800;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 10px; align-self: flex-start;
}
.lw-name {
  font-size: clamp(1.1rem,2vw,1.55rem);
  font-weight: 900;
  color: var(--green-dark);
  margin: 0 0 14px;
}
.lw-quote {
  position: relative;
  font-size: clamp(.95rem,1.4vw,1.08rem);
  line-height: 1.95;
  color: #3a4a3f;
  font-family: 'Cairo', 'Amigi', 'Noto Naskh Arabic', serif;
  font-style: italic;
  font-weight: 500;
  padding: 10px 22px 4px 6px;
  border-right: 3px solid var(--gold);
  background: linear-gradient(90deg,rgba(201,168,76,.06),transparent 70%);
  border-radius: 6px;
}
.lw-qmark {
  position: absolute; top: -12px; right: 10px;
  font-size: 3rem; color: var(--gold);
  font-family: serif; line-height: 1; opacity: .55;
}

@media (max-width:720px) {
  .leader-wide, .leader-wide.reverse { grid-template-columns: 1fr; }
  .leader-wide.reverse .lw-photo { order: 0; }
  .leader-wide.reverse .lw-body  { order: 1; }
  .lw-photo { min-height: 180px; }
}

/* ══════════════════════════════════════════════
   VALUES SECTION (قيمنا في الجودة)
   ══════════════════════════════════════════════ */
#values {
  padding: var(--sp-2xl) 0;
  background: linear-gradient(180deg,#f1ece0 0%,#eae3d1 100%);
  position: relative; overflow: hidden;
}
#values::before {
  content:''; position:absolute; top:0;left:0;right:0; height:4px;
  background: linear-gradient(90deg,transparent,var(--gold),transparent);
}
.values-pattern {
  position:absolute; inset:0;
  background-image: radial-gradient(circle at 1px 1px,rgba(139,36,36,.05) 1px,transparent 0);
  background-size: 30px 30px; pointer-events:none;
}

.values-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 22px;
  align-items: stretch;
  background: linear-gradient(180deg,#fffdf8,#fbf7ea);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 14px 42px rgba(139,36,36,.08);
  position: relative;
}
.values-wrap::before, .values-wrap::after {
  content:''; position:absolute; pointer-events:none;
  background: radial-gradient(circle,rgba(201,168,76,.16),transparent 70%);
  width: 120px; height: 120px;
}
.values-wrap::before { top:-40px; right:-40px; }
.values-wrap::after  { bottom:-40px; left:-40px; }

.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr) ;
  gap: 12px;
  align-items: stretch;
  position: relative;
}

.value-col {
  text-align: center;
  padding: 16px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative;
}
.value-ico {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#8B2424,#a52a2a);
  color: #f0c560;
  box-shadow: 0 8px 22px rgba(139,36,36,.25);
  border: 3px solid rgba(201,168,76,.35);
  margin-bottom: 4px;
}
.value-ico svg { width: 30px; height: 30px; }
.value-title {
  font-weight: 900; font-size: 1rem;
  color: var(--green-dark);
}
.value-desc {
  font-size: .82rem; color: #5e6a5f; line-height: 1.55;
}
.value-sep {
  display: none; /* we use row gap; keep element for future vertical dividers */
}

.values-row > .value-col:not(:last-child)::after {
  content:''; position:absolute; top: 14px; bottom: 14px;
  inset-inline-start: -6px;
  width: 1px;
  background: linear-gradient(180deg,transparent,rgba(201,168,76,.45),transparent);
}

.values-quote {
  background: linear-gradient(160deg,#5a1414,#8B2424 55%,#3d0a0a);
  color: #fff;
  border-radius: 18px;
  padding: 24px 22px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 10px;
  position: relative;
  box-shadow: 0 12px 30px rgba(13,36,24,.25);
  border: 1px solid rgba(201,168,76,.3);
}
.values-quote .vq-mark {
  font-size: 3.8rem; color: var(--gold);
  font-family: serif; line-height: .6;
  margin-bottom: -8px;
}
.values-quote p {
  font-family: 'Cairo', serif;
  font-size: 1.02rem; font-weight: 700;
  line-height: 1.9;
  color: #f7f3e6;
  margin: 0;
}
.values-quote .vq-stars {
  color: var(--gold); letter-spacing: 3px; font-size: 1.1rem;
  margin-top: 6px;
}

@media (max-width:920px) {
  .values-wrap { grid-template-columns: 1fr; }
  .values-row  { grid-template-columns: repeat(3, 1fr); }
  .values-row > .value-col:not(:last-child)::after { display: none; }
}
@media (max-width:520px) {
  .values-row { grid-template-columns: repeat(2, 1fr); }
}
