/* ==========================================================================
   EgyHosting — صفحة «عن الشركة» 2026  (about-us.tpl)
   كل الكلاسات تبدأ بـ eha- لتجنّب أي تعارض مع bootstrap / main.css / custom.css
   وhome-2026.css. يُحمَّل من about-us.tpl وحده، فكل قاعدة هنا خاصة بهذه الصفحة.
   الاتجاه: خصائص منطقية (inline-start/end) فتعمل في RTL وLTR بلا نسختين.
   التصميم = النموذج المعتمد: preview/about-mockup/about-us-mockup.html
   ========================================================================== */

.eha {
  --red: #d11e2b;  --red-s: #fdeced;
  --blue: #0088cc; --blue-d: #005f90; --blue-s: #e8f5fc;
  --ink: #0f2438;  --ink2: #34495e;
  /* #566b7f لا #64798d: الثاني تباينه 4.23 على #f5f8fb (مقيس في الرئيسية 20 سبتمبر) */
  --muted: #566b7f; --line: #e4ebf2; --bg: #f5f8fb;
  --r: 16px; --r-lg: 24px;
  --sh: 0 6px 24px rgba(15, 36, 56, .08);
  --sh-lg: 0 18px 48px rgba(15, 36, 56, .14);
  font-family: 'Cairo', sans-serif;
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}
.eha *, .eha *::before, .eha *::after { box-sizing: border-box; }
.eha a { text-decoration: none; }
.eha img { max-width: 100%; height: auto; display: block; }
.eha bdi { unicode-bidi: isolate; }
.eha h1, .eha h2, .eha h3 { font-family: 'Cairo', sans-serif; letter-spacing: 0; }

/* الصفحة داخل #main-body .container .main-content (عمود ضيّق). الأقسام تمتدّ
   بعرض الشاشة بهامشين سالبين متساويين — مستقلّ عن الاتجاه، بخلاف left:50%
   الذي ينكسر في RTL. 100vw يشمل شريط التمرير، فيُقصّ الفائض أفقيًا. */
.eha-bleed { margin-inline: calc(50% - 50vw); }
body { overflow-x: clip; }

/* عنوان الهيدر «عن الشركة» ومسار التنقّل يأتيان من includes/pageheader.tpl
   لكل الصفحات الداخلية. هنا الهيرو يحمل H1 ومساره، فيُخفى الأصل (هذا الملف
   لا يُحمَّل في غير هذه الصفحة) — وإلا ظهر عنوانان رئيسيان. */
#main-body .header-lined { display: none; }
/* #header عليه margin-bottom:20px فيظهر شريط أبيض بين الهيدر والهيرو (مقيس) */
#header.whmcs-not-index-template { margin-bottom: 0; background-color: #050b1a; }   /* نفس خصوصية custom.css:209 */
/* الخلفية الداكنة: على المحمول تنتهي صورة الهيدر قبل صندوقه بأربعة بكسلات، فيظهر خط أبيض
   فوق الهيرو (مقيس على 375px). اللون نفسه لون خلفية الهيرو. */
/* #main-body داكن بلون الهيرو: على المحمول يبدأ العمود بعد صفّه بـ5px (float
   العمود مع clearfix في RTL)، فكان يظهر خط أبيض فوق الهيرو. الأقسام البيضاء تحمل
   خلفيتها صراحةً في .eha-sec. */
section#main-body { padding-top: 0; padding-bottom: 0; background-color: #0b1f33; }   /* section#: خصوصية all.min.css نفسها */
/* main-content عليه margin-bottom:60px من الموقع — كان القالب القديم يصفّره بـ<style>
   داخلي؛ بدونه شريط داكن 60px بين النداء الأخير والفوتر (مقيس). */
#main-body .main-content { padding-top: 0; margin-bottom: 0; min-height: 0; }

.eha-c { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.eha-sec { padding: 76px 0; background: #fff; }
.eha-sec--bg { background: var(--bg); }
.eha-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.eha-eyebrow {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--red-s); color: #b3141f;
  font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 999px; margin-bottom: 12px;
}
.eha-eyebrow--blue { background: var(--blue-s); color: var(--blue-d); }
.eha h2 { font-size: 34px; line-height: 1.35; margin: 0 0 12px; font-weight: 800; color: var(--ink); }
.eha-lead { color: var(--muted); font-size: 17px; margin: 0; }
.eha-note { margin: 26px auto 0; text-align: center; font-size: 14px; color: var(--muted); max-width: 760px; }
.eha-note a { color: var(--blue-d); font-weight: 700; }

.eha-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 16px; border: 1.5px solid transparent;
}
.eha-btn--red { background: var(--red); color: #fff; }
.eha-btn--red:hover, .eha-btn--red:focus { background: #b3141f; color: #fff; }
.eha-btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.eha-btn--ghost:hover, .eha-btn--ghost:focus { background: rgba(255, 255, 255, .1); color: #fff; }
.eha-btn--white { background: #fff; color: #b3141f; }
.eha-btn--white:hover, .eha-btn--white:focus { background: #fdeced; color: #b3141f; }
.eha a:focus-visible, .eha button:focus-visible { outline: 3px solid #8fd3ff; outline-offset: 2px; }

/* ① الهيرو — الخيار (ج) بقرار 24 سبتمبر 2026: كحلي متدرّج + خريطة العالم بالنقاط
   ومصر مضيئة. كان الهيرو يحمل صورة الأرض نفسها التي في هيدر الموقع بقصّ مختلف،
   فتظهر أرضان متراكبتان. الخريطة في الجهة المقابلة للنص (يسارًا في العربي). */
.eha-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, #0b1f33 0%, #0f2438 100%);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.eha-hero__map {
  position: absolute; z-index: 1; top: 50%; transform: translateY(-50%);
  width: 66%; inset-inline-end: -6%;
}
.eha-hero__map img { width: 100%; height: auto; opacity: .22; filter: invert(1); }
/* النقطة بنسبة من الخريطة نفسها — نفس إحداثيات مصر في خريطة الرئيسية */
.eha-hero__egypt {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 9px rgba(209, 30, 43, .28), 0 0 40px 14px rgba(209, 30, 43, .5);
}
/* تعتيم ناحية النص فقط، فالخريطة لا تنافس الكلام */
.eha-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to left, rgba(15, 36, 56, .96) 32%, rgba(15, 36, 56, 0) 75%);
}
[dir="ltr"] .eha-hero::after {
  background: linear-gradient(to right, rgba(15, 36, 56, .96) 32%, rgba(15, 36, 56, 0) 75%);
}
.eha-hero .eha-c { position: relative; z-index: 2; padding: 64px 18px 84px; }
.eha-crumb { font-size: 14px; color: #b9cde0; margin-bottom: 34px; }
.eha-crumb a { color: #fff; }
.eha-crumb span { margin-inline: 8px; opacity: .6; }
.eha-hero .eha-eyebrow { background: rgba(209, 30, 43, .22); color: #ffc2c6; }
.eha-hero h1 {
  font-size: 54px; line-height: 1.25; margin: 6px 0 18px; font-weight: 900;
  max-width: 760px; color: #fff; text-wrap: balance;
}
.eha-hero h1 em { font-style: normal; color: #ff5a64; }
.eha-hero p { font-size: 18px; color: #d6e4f0; max-width: 720px; margin: 0 0 28px; }
.eha-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.eha-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.eha-trust li {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px; padding: 6px 16px; font-size: 14px; font-weight: 600;
}
.eha-trust b { color: #8fd3ff; }

/* ② الأعمدة الخمسة */
.eha-pillars {
  background: linear-gradient(135deg, var(--blue-d) 0%, #0a3d5c 55%, var(--ink) 100%);
  color: #fff; padding: 44px 0;
}
.eha-pillars ul { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; }
.eha-pillar { text-align: center; padding: 10px 16px; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.eha-pillar:first-child { border-inline-start: 0; }
.eha-pic {
  width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: rgba(255, 255, 255, .04); border: 2px solid rgba(0, 136, 204, .75);
}
.eha-pic::after {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid transparent; border-inline-end-color: var(--red); border-bottom-color: var(--red);
  transform: rotate(-20deg);
}
.eha-pic svg { width: 40px; height: 40px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eha-pillar h3 { margin: 0; font-size: 20px; font-weight: 800; color: #fff; }
.eha-pillar p { margin: 2px 0 0; font-size: 14px; color: #c8dbea; }

/* ③ البطاقات (توطين البيانات) */
.eha-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eha-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh); }
.eha-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-s); margin-bottom: 14px; }
.eha-ico svg { width: 26px; height: 26px; stroke: var(--blue-d); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eha-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.eha-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ④ المحطات */
.eha-tl { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; margin: 10px 0 0; padding: 0; list-style: none; }
.eha-tl::before {
  content: ''; position: absolute; top: 22px; inset-inline: 8%; height: 3px;
  background: linear-gradient(to left, var(--blue), var(--red));   /* RTL: البداية يمينًا */
}
[dir="ltr"] .eha-tl::before { background: linear-gradient(to right, var(--blue), var(--red)); }
.eha-tl li { text-align: center; padding: 0 10px; position: relative; }
.eha-tl-dot {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--blue);
  margin: 0 auto 12px; display: grid; place-items: center;
}
.eha-tl-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-d); }
.eha-tl li:last-child .eha-tl-dot { border-color: var(--red); }
.eha-tl li:last-child .eha-tl-dot::after { background: var(--red); }
.eha-tl-y { font-size: 24px; font-weight: 900; }
.eha-tl-t { font-size: 15px; color: var(--ink2); }

/* ⑤ من الفكرة للتمويل */
.eha-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; margin: 0; padding: 0; list-style: none; }
.eha-st { background: #fff; border-radius: var(--r-lg); padding: 26px 22px; border: 1px solid var(--line); position: relative; box-shadow: var(--sh); }
.eha-st::before {
  counter-increment: st; content: counter(st);
  position: absolute; top: -16px; inset-inline-start: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.eha-st h3 { margin: 8px 0 4px; font-size: 21px; font-weight: 800; }
.eha-st p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.eha-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.eha-chips a, .eha-chips span {
  font-size: 13px; font-weight: 700; background: var(--blue-s); color: var(--blue-d);
  border-radius: 999px; padding: 3px 12px;
}
.eha-chips a:hover { background: #d4ecf8; }
.eha-journey-end { margin: 22px 0 0; text-align: center; font-weight: 800; font-size: 19px; }
.eha-journey-end a { color: var(--red); }

/* ⑥ الخدمات */
.eha-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eha-svc a {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 20px; color: var(--ink);
  transition: box-shadow .15s ease, transform .15s ease;
}
.eha-svc a:hover, .eha-svc a:focus { box-shadow: var(--sh-lg); transform: translateY(-2px); color: var(--ink); }
.eha-svc .eha-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--red-s); margin: 0; }
.eha-svc .eha-ico svg { width: 24px; height: 24px; stroke: var(--red); }
.eha-svc h3 { margin: 0; font-size: 18px; font-weight: 800; }
.eha-svc p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }

/* ⑦ الخريطة */
.eha-map-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; }
.eha-map { border-radius: var(--r-lg); background: var(--ink); padding: 18px; box-shadow: var(--sh-lg); }
.eha-map__c { position: relative; }
.eha-map__c img { width: 100%; opacity: .55; filter: invert(1) brightness(.9); }
.eha-pin {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 6px rgba(0, 136, 204, .28);
}
.eha-pin--home { background: var(--red); box-shadow: 0 0 0 8px rgba(209, 30, 43, .3); }
.eha-dc { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eha-dc li {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; font-weight: 700;
}
.eha-dc i { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); flex: none; }
.eha-dc li:first-child i { background: var(--red); }
.eha-dc small { margin-inline-start: auto; color: var(--muted); font-weight: 600; font-size: 14px; }

/* ⑧ الاعتمادات والشراكات */
.eha-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 34px; }
.eha-acc > div { display: flex; gap: 16px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 22px 24px; }
.eha-acc b { font-size: 28px; font-weight: 900; color: #8fd3ff; white-space: nowrap; }
.eha-acc p { margin: 0; font-size: 15px; color: #d6e4f0; }
.eha-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.eha-logos li {
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); height: 92px; padding: 14px;
}
/* بُعد واحد من CSS والآخر auto — السمتان width/height تعطيان النسبة فقط
   (بدون auto تُؤخذ السمة حرفيًا: درس صور الهيدر v1.30) */
.eha-logos img { height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.eha-logos img.is-mark { height: 60px; }

/* ⑨ المؤتمرات */
.eha-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eha-ev { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.eha-ev-top { background: linear-gradient(135deg, var(--red) 0%, #8f1119 100%); color: #fff; padding: 18px 22px; }
.eha-ev-top small { opacity: .9; font-weight: 600; font-size: 14px; }
.eha-ev-top h3 { margin: 2px 0 0; font-size: 20px; font-weight: 800; color: #fff; }
.eha-ev-b { padding: 18px 22px; }
.eha-ev-b p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.eha-ev-b a { font-weight: 800; color: var(--blue-d); }

/* ⑩ المركز الإعلامي */
.eha-press { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.eha-bio { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh); }
.eha-bio-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 12px; }
.eha-bio-h h3 { margin: 0; font-size: 19px; font-weight: 800; }
.eha-copy {
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--blue-d);
  color: var(--blue-d); background: #fff; font: 700 14px 'Cairo', sans-serif; cursor: pointer;
}
.eha-copy:hover { background: var(--blue-s); }
.eha-bio blockquote {
  margin: 0; font-size: 15.5px; color: var(--ink2); background: var(--bg);
  border-radius: var(--r); padding: 16px 18px; border: 0; border-inline-start: 4px solid var(--red);
}
.eha-kit { display: grid; gap: 12px; align-content: start; margin: 0; padding: 0; list-style: none; }
.eha-kit a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 18px;
  font-weight: 700; color: var(--ink);
}
.eha-kit a:hover { border-color: var(--blue); color: var(--ink); }
.eha-kit a span { color: var(--blue-d); font-size: 14px; }

/* النداء الأخير */
.eha-final { background: linear-gradient(135deg, var(--red) 0%, #8f1119 100%); color: #fff; text-align: center; padding: 64px 0; }
.eha-final h2 { color: #fff; }
.eha-final p { color: #ffe3e5; margin: 0 0 24px; font-size: 17px; }
.eha-final .eha-ctas { justify-content: center; margin: 0; }

/* -------------------------------------------------- المحمول واللوحي */
@media (max-width: 991px) {
  .eha-pillars ul { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .eha-pillar { border: 0; }
  .eha-pillar:last-child { grid-column: 1 / -1; }
  .eha-cards3, .eha-svc, .eha-events { grid-template-columns: 1fr 1fr; }
  .eha-journey { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .eha-map-wrap, .eha-press { grid-template-columns: 1fr; }
  .eha-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .eha-sec { padding: 56px 0; }
  .eha h2 { font-size: 26px; }
  /* الهيرو مضغوط: الهيدر على المحمول ~270px، فكان زرّا الهيرو ينتهيان عند 739
     وزر واتساب العائم يبدأ عند 716 فيغطّي «تصفّح خدماتنا» (مقيس). */
  .eha-hero .eha-c { padding: 18px 18px 48px; }
  .eha-crumb { margin-bottom: 12px; font-size: 13px; }
  .eha-hero .eha-eyebrow { margin-bottom: 6px; }
  .eha-hero h1 { font-size: 30px; margin: 4px 0 12px; }
  .eha-hero p { font-size: 15.5px; line-height: 1.65; margin-bottom: 20px; }
  .eha-ctas { margin-bottom: 24px; }
  .eha-hero__map { width: 150%; top: auto; bottom: -6%; transform: none; inset-inline-end: -40%; }
  /* على الشاشة الضيّقة يملأ النصّ الهيرو كله فتقع النقطة خلف شرائح الثقة (مقيس
     على 390px) — تبقى الخريطة ملمسًا خافتًا، ومصر مضيئة في قسم البنية التحتية أسفل. */
  .eha-hero__egypt { display: none; }
  .eha-hero::after, [dir="ltr"] .eha-hero::after {
    background: linear-gradient(to bottom, rgba(15, 36, 56, .9) 40%, rgba(15, 36, 56, .45) 100%);
  }
  .eha-btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
  .eha-cards3, .eha-svc, .eha-events, .eha-journey, .eha-acc { grid-template-columns: 1fr; }
  .eha-tl { grid-auto-flow: row; gap: 18px; }
  .eha-tl::before {
    top: 0; bottom: 0; inset-inline-start: 22px; inset-inline-end: auto; width: 3px; height: auto;
    background: linear-gradient(to bottom, var(--blue), var(--red));
  }
  [dir="ltr"] .eha-tl::before { background: linear-gradient(to bottom, var(--blue), var(--red)); }
  .eha-tl li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; text-align: start; padding: 0; align-items: center; }
  .eha-tl-dot { margin: 0; }
  .eha-logos { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .eha-svc a { transition: none; }
  .eha-svc a:hover { transform: none; }
}
