/* ============================================================
   ICE — مختبر ICE للاستشارات الفنية والمختبرات الهندسية
   style.css — ملف الستايل الموحّد (RTL أصلي)
   ------------------------------------------------------------
   الفهرس:
   01) الخطوط (Thmanyah Sans)
   02) المتغيرات + إعدادات عامة
   03) تجاوزات Bootstrap RTL
   04) عناصر مشتركة (أزرار، عناوين سكاشن، بادجات)
   05) الهيدر + النافبار (ديسكتوب/موبايل)
   06) الهيرو (سلايدر)
   07) سكشن من نحن
   08) سكشن لماذا تختار
   09) سكشن خدماتنا
   10) سكشن الرؤية والرسالة + العدادات
   11) سكشن المشاريع
   12) سكشن الشهادات والاعتمادات
   13) سكشن شركاؤنا (سلايدرين)
   14) الفوتر
   15) أزرار عائمة (واتساب + للأعلى)
   16) البريدكريمب (الصفحات الداخلية)
   17) صفحة من نحن
   18) صفحة الخدمات + سنجل الخدمة
   19) صفحة المشاريع + سنجل المشروع
   20) صفحة الشهادات (فانسي بوكس)
   21) صفحة الهيكل التنظيمي + شركاؤنا
   22) صفحة تواصل معنا
   23) الريسبونسف (كل الميديا كويريز)
   ============================================================ */

/* ==================== 01) الخطوط ==================== */
@font-face {
  font-family: 'ThmanyahSans';
  src: url('../fonts/thmanyahsans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ThmanyahSans';
  src: url('../fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ThmanyahSans';
  src: url('../fonts/thmanyahsans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ThmanyahSans';
  src: url('../fonts/thmanyahsans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ThmanyahSans';
  src: url('../fonts/thmanyahsans-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ==================== 02) المتغيرات + إعدادات عامة ==================== */
:root {
  --primary: #095297;
  --heading: #2c5ead;
  --accent: #4bb8fa;
  --grad-1a: #0b52cd;
  --grad-1b: #0947b2;
  --grad-2a: #0a51cb;
  --grad-2b: #0a48b3;
  --grad-3a: #0b52cd;
  --grad-3b: #062967;
  --hero-overlay: rgba(0, 31, 59, 0.75);
  --footer-overlay: rgba(0, 27, 53, 0.9);
  --service-overlay: rgba(2, 36, 48, 0.8);
  --black: #2b2c34;
  --body-color: #4a5565;
  --muted: #6a7282;
  --gray-2: #5d5d5d;
  --gray-3: #747272;
  --card-heading: #547c9c;
  --readmore: #007fad;
  --service-card-bg: #f5f4f2;
  --section-bg: #f9fafb;
  --border-light: #f3f4f6;
  --border-card: #e5e7eb;
  --info-bg: #daedff;
  --info-hover: #0b52cd;
  --project-desc: #787878;
  --footer-line: #cee4de;
  --white: #ffffff;
  --gray: #4a5565; /* مستخدم في كلاسات النافووكر */
  --font-main: 'ThmanyahSans', 'Segoe UI', Tahoma, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--body-color);
  background-color: var(--white);
  overflow-x: hidden;
  text-align: start;
}

a {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  max-height: 100%;
}

.over-hidden {
  overflow: hidden;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

/* ==================== 03) تجاوزات Bootstrap RTL ==================== */
[dir="rtl"] .text-left {
  text-align: start !important;
}

[dir="rtl"] .text-right {
  text-align: end !important;
}

[dir="rtl"] .float-left {
  float: inline-start !important;
}

[dir="rtl"] .float-right {
  float: inline-end !important;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1280px;
  }
}

/* ==================== 04) عناصر مشتركة ==================== */
.btn-grad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--grad-1a), var(--grad-1b));
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  padding: 16px 32px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 20px 12.5px rgba(0, 0, 0, 0.1), 0 8px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease-in-out;
}

.btn-grad:hover {
  color: var(--white);
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--primary);
  font-size: 18px;
  font-weight: 500;
  min-width: 189px;
  line-height: 28px;
  padding: 16px 32px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 20px 12.5px rgba(0, 0, 0, 0.1), 0 8px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease-in-out;
}

.btn-white:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, var(--grad-2a), var(--grad-2b));
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  padding: 12px 24px;
  border-radius: 50rem;
  transition: all 0.35s ease-in-out;
}
.services__head .btn-pill{
  min-width: 214px;
  padding: 10px 12px;
  justify-content: space-between;
}
.btn-pill:hover {
  color: var(--white);
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.btn-pill .btn-pill__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

/* سهم الزر: في العربي يبص ناحية الشمال، وفي الإنجليزي يفضل بشكله الأصلي (يمين) */
html[dir="rtl"] .btn-pill .btn-pill__icon img {
  transform: scaleX(-1);
}

.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 50px;
  background: linear-gradient(90deg, var(--grad-3a), var(--grad-3b));
  color: var(--white);
  font-size: 20px;
  border-radius: 5px;
  transition: all 0.35s ease-in-out;
}

.btn-more:hover {
  color: var(--white);
  transform: translateY(-3px);
  filter: brightness(1.15);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.8px;
}

.section-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}

.section-title {
  color: var(--heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 0;
}

.section-title--big {
  font-size: 60px;
  line-height: 1.6;
}

.section-subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}

/* ==================== 05) الهيدر + النافبار ==================== */
/* --- كلاسات النافووكر (منقولة من menu.html) --- */
@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-list {
    display: flex;
    margin-inline-start: 50px;
    margin-bottom: 0;
  }

  .nav-list > .menu-item {
    position: relative;
  }

  html[dir="rtl"] .nav-list > .menu-item:not(:last-of-type) {
    margin-inline-start: 5px;
  }

  .nav-list > .menu-item > a {
    display: flex;
    position: relative;
    padding: 15px 16px;
    transition: all 0.5s ease-in-out;
  }
  html[dir='ltr'] .nav-list > .menu-item > a{
    padding: 15px 9px;
  }
  .nav-list > .menu-item-has-children > a:after {
    display: inline-block;
    content: "\f0d7";
    font-family: "Font Awesome 6 Free", serif;
    font-weight: 900;
    color: var(--white);
    transition: all 0.35s ease-in-out;
  }

  .nav-list > .menu-item-has-children:hover a:after {
    transform: rotateX(-180deg);
    color: var(--white);
  }

  .sub-menu {
    position: absolute;
    top: 100%;
    z-index: 4;
    min-width: 250px;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform-origin: 0 0 0;
    transform: scaleY(0);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
  }

  html[dir="rtl"] .sub-menu {
    left: 0;
  }

  .sub-menu li {
    position: relative;
    padding: 0 20px;
  }

  .sub-menu li:not(:last-of-type) a {
    margin-bottom: 10px;
  }

  .sub-menu li a {
    display: block;
    width: 100%;
    position: relative;
    color: var(--gray);
    padding-bottom: 10px;
    transition: all 0.5s ease-in-out;
  }

  .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
    transform: scaleY(1);
  }

  .nav-btn,
  .mobile-nav-list,
  .dd-trigger {
    display: none;
  }
}

@media (max-width: 992px) {
  .menu-item-has-children {
    display: flex;
    width: 100%;
    align-items: center;
  }

  .nav-list {
    display: none;
  }

  .dd-trigger {
    display: block;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .head-logo {
    display: flex;
    align-items: center;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: var(--white);
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;
  }
  .nav-btn:hover,.close:hover{color: var(--white);}
  html[dir="rtl"] .nav-btn {
    margin-inline-end: 10px;
  }

  /* الدروار بيدخل من جهة البداية: يمين في العربي وشمال في الإنجليزي */
  html[dir="rtl"] .mobile-nav-list {
    right: 0;
    transform: translateX(100%);
  }

  html[dir="ltr"] .mobile-nav-list {
    left: 0;
    transform: translateX(-100%);
  }

  .mobile-nav-list {
    width: 300px;
    height: 100%;
    padding: 0;
    background: linear-gradient(200deg, var(--primary) 0%, var(--grad-3b) 100%);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    z-index: 99;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    visibility: hidden;
    transition: transform 0.45s ease-in-out, visibility 0.45s ease-in-out;
  }

  .mobile-nav-list.trans-none,
  .nav-overlay.trans-none {
    visibility: visible;
  }

  /* رأس الدروار: اللوجو الأبيض + زر الإغلاق */
  .mobile-nav-list__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-nav-list__head img {
    height: 52px;
    width: auto;
  }

  .mobile-nav-list__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }

  .mobile-nav-list__close:hover {
    background: var(--accent);
    border-color: var(--accent);
  }

  .mobile-nav-list .mobile-list {
    padding: 10px 18px 24px;
    margin: 0;
  }

  .mobile-nav-list .menu-item {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-nav-list .menu-item > a {
    display: block;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 4px;
    transition: all 0.3s ease-in-out;
  }

  .mobile-nav-list .menu-item.menu-item-has-children > a {
    width: calc(100% - 34px);
    display: inline-block;
  }

  .mobile-nav-list .menu-item > a:hover,
  .mobile-nav-list .menu-item.active > a {
    color: var(--accent);
    padding-inline-start: 10px;
  }

  .mobile-nav-list .menu-item.active > a {
    position: relative;
  }

  .mobile-nav-list .dd-trigger {
    position: absolute;
    top: 10px;
    inset-inline-end: 0;
  }

  .mobile-nav-list .menu-item.menu-item-has-children i {
    color: var(--white);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    transform-origin: center;
    transition: all 0.3s linear;
  }

  .mobile-nav-list .dd-trigger.open i {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .mobile-nav-list .sub-menu {
    list-style: none;
    margin: 0 0 10px;
    padding: 4px 0;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 8px;
  }

  .mobile-nav-list .sub-menu a {
    display: block;
    padding: 11px 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: all 0.3s linear;
  }

  .mobile-nav-list .sub-menu a:hover {
    color: var(--accent);
  }

  /* بلوك التواصل السريع — مثبّت في آخر السايد منيو */
  .mobile-nav-list__contact {
    margin-top: auto;
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-nav-list__contact-title {
    color: rgba(255, 255, 255, 1);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 0;
  }

  .mobile-nav-list__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 13px;
    transition: color 0.3s ease-in-out;
  }

  .mobile-nav-list__contact-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent);
    font-size: 14px;
    transition: all 0.3s ease-in-out;
  }

  .mobile-nav-list__contact a:hover {
    color: var(--accent);
  }

  .mobile-nav-list__contact a:hover .mobile-nav-list__contact-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
  }

  .trans-none {
    transform: none !important;
  }

  html[dir="rtl"] .nav-overlay {
    left: 0;
    transform: translateX(-100%);
  }

  html[dir="ltr"] .nav-overlay {
    right: 0;
    transform: translateX(100%);
  }

  /* فوق الهيدر (z-index 50) وتحت الدروار (99) */
  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    z-index: 98;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 27, 53, 0.55);
    visibility: hidden;
    transition: all 0.35s ease-in-out;
  }
}

.site-header {
  position: relative;
  z-index: 50;
  background-color: var(--white);
  width: 100%;
  transition: all 0.4s ease-in-out;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  padding-block: 24px;
}

.head-logo img {
  height: 84px;
  width: auto;
}

.head-logo .logo-light {
  display: none;
}

/* نافبار الديسكتوب — كلاسات النافووكر */
.nav-list > .menu-item > a {
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
}

.nav-list > .menu-item:hover > a,
.nav-list > .menu-item.active > a {
  color: var(--primary);
}

/* بلوك التواصل + زر اللغة (يسار الهيدر) */
.header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-meta .meta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
}

.header-meta .meta-link .meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-meta .meta-link .meta-icon i {
  font-size: 15px;
  color: currentColor;
}

.header-meta .meta-link span[dir="ltr"] {
  direction: ltr;
}

.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 19px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
}

.btn-lang:hover {
  color: var(--white);
  filter: brightness(1.15);
}

.btn-lang .lang-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

/* الهيدر الثابت عند السكرول */
.site-header.sticky {
  position: fixed;
  top: 0;
  inset-inline: 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  animation: slideDown 0.4s ease-in-out;
  background-color: var(--white);
}

.site-header.sticky .header-inner {
  height: 80px;
  padding-block: 12px;
}

.site-header.sticky .head-logo img {
  height: 60px;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ==================== 05-ب) خلفيات الصور الافتراضية ====================
   الخلفيات الديناميكية (الهيرو، كارت الخدمة، البريدكريمب) تُطبع inline من
   القوالب حسب صور الأدمن — القيم هنا مجرد fallback عند غياب الصورة. */
.hero-slide__bg {
  background-image: url('../images/hero-bg.png');
}

.service-card__bg {
  background-image: url('../images/service-hover-bg.png');
}

.vision__bg {
  background-image: url('../images/stats-bg.png');
}

.site-footer__bg {
  background-image: url('../images/footer-bg.png');
}

.page-banner {
  background-image: url('../images/hero-bg.png');
}

/* ==================== 06) الهيرو (سلايدر) ==================== */
.hero {
  position: relative;
  min-height: 750px;
  height: calc(790px - 104px + 104px);
}

.hero .owl-carousel,
.hero .owl-stage-outer,
.hero .owl-stage,
.hero .owl-item {
  height: 100%;
}

.hero-slide {
  position: relative;
  min-height: 686px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--hero-overlay);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 896px;
  margin-inline: auto;
  text-align: center;
  padding-block: 100px 140px;
  padding-inline: 16px;
}

.hero-slide__title {
  color: var(--white);
  font-size: 72px;
  font-weight: 700;
  line-height: 90px;
  margin-bottom: 24px;
}

.hero-slide__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  line-height: 39px;
  max-width: 768px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.hero-slide__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero__features {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  z-index: 3;
  padding-block: 28px;
}

.hero__features .features-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__feature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  min-width: 206px;
  justify-content: center;
}

.hero__feature .feature-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
}

/* ==================== 07) سكشن من نحن ==================== */
.about {
  padding-block: 52px 36px;
  background-color: var(--white);
}

.about .row {
  align-items: center;
}

.about-text .section-title {
  font-size: 44px;
  line-height: 55px;
  width: 82%;
  margin-block: 16px;
}

.about-text p {
  color: var(--body-color);
  font-size: 16px;
  line-height: 26px;
  padding-top: 8px;
  margin-bottom: 0;
}

.about-collage {
  position: relative;
  height: 650px;
}

.about-collage__img1 {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 75%;
  height: 55%;
  border-inline-start: 8px solid var(--white);
  border-bottom: 8px solid var(--white);
  border-radius: 48px 48px 4px 48px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 1;
}

.about-collage__img2 {
  position: absolute;
  bottom: 6.15%;
  inset-inline-end: 0%;
  top: 43.85%;
  width: 60%;
  max-width: 356px;
  border: 6px solid var(--border-light);
  border-radius: 48px;
  background-color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.about-collage__img1 img,
.about-collage__img2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-collage__img2 img {
  border-radius: 42px;
}

.about-collage__cards {
  position: absolute;
  bottom: 0;
  inset-inline-start: 12px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 17px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.about-card__text {
  color: var(--body-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 22.75px;
  margin-bottom: 0;
  flex: 1;
}

.about-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* ==================== 08) سكشن لماذا تختار ==================== */
.why-us {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding-block: 96px 97px;
  text-align: center;
}

.why-us__head {
  max-width: 672px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.why-us__head .section-subtitle {
  margin-top: 16px;
}

.why-card {
  background-color: var(--section-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 33px 33px 61px;
  height: 100%;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: start;
  transition: all 0.35s ease-in-out;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(9, 82, 151, 0.08);
}

.why-card__icon {
  width: 80px;
  height: 80px;
  background-color: var(--info-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.why-card__icon img {
  width: 40px;
  height: 40px;
}

.why-card__title {
  color: var(--card-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  padding-top: 12px;
  margin-bottom: 0;
}

.why-card__text {
  color: var(--body-color);
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 0;
}

/* ==================== 09) سكشن خدماتنا ==================== */
.services {
  background-color: var(--section-bg);
  padding-block: 128px;
}

.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.services__head-text {
  max-width: 672px;
}

.services__head-text .section-subtitle {
  margin-top: 16px;
}

.services .row {
  margin-inline: -11.5px;
}

.services .row > [class*="col-"] ,.page-section-r-serv .row > [class*="col-"]{
  padding-inline: 11.5px;
  margin-bottom: 23px;
}

.service-card {
  position: relative;
  display: block;
  height: 274px;
  border-radius: 12px;
  background-color: var(--service-card-bg);
  padding: 32px;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}

.service-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.service-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--service-overlay);
}

.service-card:hover .service-card__bg {
  opacity: 1;
}

.service-card__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--info-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease-in-out;
}

.service-card__icon img {
  max-width: 40px;
  max-height: 40px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: brightness(0) opacity(0.85);
  margin-inline-start: -25px;
  transition: filter 0.4s ease-in-out;
}

.service-card__icon i {
  font-size: 24px;
  color: rgba(0, 0, 0, 0.85);
  transition: color 0.4s ease-in-out;
}

.service-card:hover .service-card__icon {
  background-color: #5e7d89;
}

.service-card:hover .service-card__icon img {
  filter: brightness(0) invert(1);
}

.service-card:hover .service-card__icon i {
  color: var(--white);
}

.service-card__title {
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 0;
  transition: color 0.4s ease-in-out;
}

.service-card:hover .service-card__title {
  color: var(--white);
}

.service-card__divider {
  border: 0;
  border-top: 1px solid rgba(93, 93, 93, 0.25);
  margin-block: 16px;
  width: 100%;
  transition: border-color 0.4s ease-in-out;
}

.service-card:hover .service-card__divider {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.service-card__desc {
  color: var(--gray-2);
  font-size: 14px;
  line-height: 20px;
  text-align: justify;
  margin-bottom: 0;
  transition: color 0.4s ease-in-out;
}

.service-card:hover .service-card__desc {
  color: #e2dada;
}

.service-card__more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--readmore);
  font-size: 17px;
  font-weight: 700;
  transition: color 0.4s ease-in-out;
}

.service-card__more .more-arrow {
  width: 16px;
  height: 12px;
  margin-top: 2px;
}

.service-card:hover .service-card__more {
  color: var(--white);
}

.service-card:hover .service-card__more .more-arrow {
  filter: brightness(0) invert(1);
}

/* ==================== 10) سكشن الرؤية والرسالة + العدادات ==================== */
.vision {
  position: relative;
  padding-block: 96px;
  background-color: var(--white);
  overflow: hidden;
}

.vision__bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  inset-inline-start: 59%;
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
  opacity: 0.04;
  pointer-events: none;
}

.vision .container {
  position: relative;
  z-index: 2;
}

.vision__img {
  border-radius: 12px;
  overflow: hidden;
}

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

.vision__img--tall img {
  height: 449px;
}

.vision__img--short img {
  height: 291px;
}

.vision__block-title {
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.vision__block-text {
  color: var(--gray-2);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 0;
}

.vision__block + .vision__block {
  margin-top: 40px;
}

.counters {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.counter-item {
  text-align: center;
  padding-inline: 48px;
  padding-block: 8px;
}

.counter-item + .counter-item {
  border-inline-start: 1px solid rgba(0, 0, 0, 0.15);
}

.counter-item__num {
  color: #000;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.4;
  direction: ltr;
}

.counter-item__label {
  color: var(--gray-3);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0;
}

/* ==================== 11) سكشن المشاريع ==================== */
.projects {
  background-color: var(--section-bg);
  padding-block: 110px;
}

.projects .section-title--big {
  text-align: center;
  margin-bottom: 90px;
}

.projects__col--offset {
  margin-top: 80px;
}

.project-card {
  position: relative;
  margin-bottom: 130px;
}

.project-card__img {
  border-radius: 5px;
  overflow: hidden;
  display: block;
}

.project-card__img img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.5s ease-in-out;
}

.project-card:hover .project-card__img img {
  transform: scale(1.05);
}

.project-card__info {
  position: absolute;
  bottom: -61px;
  inset-inline-start: 0;
  width: calc(100% - 55px);
  min-height: 106px;
  background-color: var(--info-bg);
  border-radius: 5px 0 5px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 12px;
  padding-inline: 24px 20px;
  transition: background-color 0.35s ease-in-out;
}

.project-card:hover .project-card__info {
  background-color: var(--info-hover);
}

.project-card__meta {
  text-align: start;
}

.project-card__title {
  color: var(--heading);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.35s ease-in-out;
}

.project-card__desc {
  color: var(--project-desc);
  font-size: 20px;
  margin-bottom: 0;
  transition: color 0.35s ease-in-out;
}

.project-card:hover .project-card__title {
  color: var(--white);
}

.project-card:hover .project-card__desc {
  color: #e8e8e8;
}

.project-card__btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 5px;
  background-color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.35s ease-in-out;
}

/* سهم الكارت بـ Font Awesome (fa-arrow-up المجانية) —
   دوران 45° ناحية الشمال في العربي وناحية اليمين في الإنجليزي */
.project-card__btn i {
  font-size: 22px;
  line-height: 1;
  color: var(--white);
  transform: rotate(-45deg);
  transition: color 0.35s ease-in-out;
}

html[dir="ltr"] .project-card__btn i {
  transform: rotate(45deg);
}
html[dir="ltr"] .service-card__more .more-arrow,html[dir="ltr"] .breadcrumb-nav .sep i,html[dir="ltr"] .footer-links a .link-icon img{transform: scaleX(-1)}
.project-card:hover .project-card__btn {
  background-color: var(--white);
}

.project-card:hover .project-card__btn i {
  color: #2B2C34;
}

.projects__more {
  text-align: center;
  margin-top: 20px;
}

/* نسخة مضغوطة من كارت المشروع (سنجل الخدمة/سنجل المشروع) */
.project-card--compact {
  margin-bottom: 90px;
}

.project-card--compact .project-card__img img {
  height: 240px;
}

.project-card--compact .project-card__info {
  bottom: -48px;
  width: calc(100% - 40px);
  min-height: 82px;
  padding-inline: 18px 14px;
}

.project-card--compact .project-card__title {
  font-size: 20px;
}

.project-card--compact .project-card__desc {
  font-size: 14px;
}

.project-card--compact .project-card__btn {
  width: 40px;
  height: 40px;
}

.project-card--compact .project-card__btn img {
  width: 12px;
  height: 12px;
}

/* ==================== 12) سكشن الشهادات والاعتمادات ==================== */
.certs {
  background-color: var(--white);
  padding-block: 130px;
}

.certs .section-title--big {
  text-align: center;
  margin-bottom: 110px;
}

.certs-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.certs-grid__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 190px;
}

.certs-grid__cell:nth-child(1),
.certs-grid__cell:nth-child(2) {
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

.certs-grid__cell:nth-child(odd) {
  border-inline-end: 1px solid rgba(0, 0, 0, 0.12);
}

.certs-grid__cell img {
  max-height: 170px;
  object-fit: contain;
}

.certs__side img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

/* ==================== 13) سكشن شركاؤنا ==================== */
.partners {
  background-color: var(--white);
  padding-block: 40px 120px;
}

.partners .section-title--big {
  text-align: center;
  margin-bottom: 80px;
}

.partners__slider {
  margin-bottom: 48px;
}

/* السلايدر المعاكس (rtl:false) لازم اتجاه حاويته يبقى LTR
   عشان حسابات Owl تطابق ترتيب العناصر جوه صفحة RTL */
.partners-slider-ltr {
  direction: ltr;
}

.partner-card {
  height: 114px;
  background-color: var(--white);
  border: 1px solid var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-block: 6px 12px;
}

.partner-card img {
  max-height: 95px;
  max-width: 85%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: all 0.35s ease-in-out;
}

.partner-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ==================== 14) الفوتر ==================== */
.site-footer {
  position: relative;
  color: var(--white);
  padding-block: 70px 0;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--footer-overlay);
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-brand {
  text-align: start;
}

.footer-brand__logo img {
  width: 241px;
  max-width: 100%;
}

.footer-brand__social {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}

.footer-brand__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 21px;
  transition: all 0.3s ease-in-out;
}

.footer-brand__social a:hover {
  color: var(--accent);
  transform: translateY(-4px);
}

.footer-col__title {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 30.6px;
  margin-bottom: 10px;
}

.footer-col__title::after {
  content: "";
  display: block;
  width: 29px;
  height: 5px;
  border-radius: 10px;
  background-color: var(--footer-line);
  margin-top: 8px;
}

.footer-links {
  margin-bottom: 0;
  columns: 2;
  column-gap: 30px;
  margin-top: 22px;
}

.footer-links li {
  margin-bottom: 18px;
  break-inside: avoid;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 13px;
  line-height: 22.1px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links a .link-icon {
  width: 8px;
  height: 13px;
  display: inline-flex;
}

.footer-contact {
  margin-top: 22px;
  margin-bottom: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 13px;
  line-height: 24px;
}

.footer-contact li .contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-contact li .contact-icon i {
  font-size: 15px;
  color: var(--white);
}

.footer-contact li a {
  color: var(--white);
}

.footer-contact li a:hover {
  color: var(--accent);
}

.footer-contact li span[dir="ltr"] {
  direction: ltr;
}

.footer-newsletter {
  margin-top: 22px;
}

.footer-newsletter__input {
  width: 100%;
  max-width: 312px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 0;
  border-radius: 5px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 13px;
  padding-inline: 12px;
}

.footer-newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.footer-newsletter__input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.4);
}

.footer-newsletter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 129px;
  height: 40px;
  margin-top: 21px;
  background-color: var(--white);
  color: var(--primary);
  font-family: var(--font-main);
  font-size: 13px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.footer-newsletter__btn:hover {
  background-color: var(--accent);
  color: var(--white);
}

.footer-bottom {
  margin-top: 55px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-block: 28px;
  text-align: center;
}

.footer-bottom p {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 0;
}
.footer-bottom p a{
  color: var(--white);
}
/* ==================== 15) أزرار عائمة ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  inset-inline-start: 30px;
  z-index: 9;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #32ba46;
  color: var(--white);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(50, 186, 70, 0.4);
  transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
  color: var(--white);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 100px;
  inset-inline-start: 34px;
  z-index: 9;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--grad-1a), var(--grad-1b));
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease-in-out;
  box-shadow: 0 6px 16px rgba(9, 82, 151, 0.35);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ==================== 16) البريدكريمب (الصفحات الداخلية) ==================== */
.page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 70px;
  background-size: cover;
  background-position: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--hero-overlay);
}

.page-banner__inner {
  position: relative;
  z-index: 2;
}

.page-banner__title {
  color: var(--white);
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 16px;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.breadcrumb-nav a {
  color: var(--accent);
}

.breadcrumb-nav a:hover {
  color: var(--white);
}

.breadcrumb-nav .sep {
  opacity: 0.6;
}

/* ==================== 17) صفحة من نحن ==================== */
.page-section {
  padding-block: 96px;
}

.page-section--gray {
  background-color: var(--section-bg);
}

.page-section__head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.page-section__head .section-badge {
  justify-content: center;
}

.page-section__head .section-title {
  margin-block: 14px 16px;
}

/* نبذة عن الشركة */
.about-intro__img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.about-intro__img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-intro__quote {
  border-inline-start: 4px solid var(--accent);
  padding-inline-start: 20px;
  font-style: italic;
  color: var(--gray-2);
  margin-block: 28px;
}

.about-intro__stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-intro__stat .num {
  color: var(--heading);
  font-size: 44px;
  font-weight: 900;
  direction: ltr;
}

.about-intro__stat .label {
  color: var(--gray-3);
  font-size: 16px;
}

/* المهمة والرؤية */
.mv-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mv-card__label {
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.mv-card__title {
  color: var(--heading);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.mv-card__text {
  color: var(--body-color);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 0;
}

/* التايم لاين — نسخة مُصلَّحة تعمل بالتناوب */
.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding-block: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--heading));
  transform: translateX(50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding-inline-end: 48px;
  margin-bottom: 48px;
}

.timeline-item:nth-child(even) {
  inset-inline-start: 50%;
  padding-inline-end: 0;
  padding-inline-start: 48px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 28px;
  inset-inline-end: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--heading);
  z-index: 2;
}

.timeline-item:nth-child(even)::after {
  inset-inline-end: auto;
  inset-inline-start: -9px;
}

.timeline-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.timeline-card__year {
  color: var(--heading);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
}

.timeline-card__text {
  color: var(--body-color);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* أكورديون الأسئلة الشائعة */
.faq-list {
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  padding: 22px 26px;
  color: var(--heading);
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.faq-item__q .faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--info-bg);
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.3s ease-in-out;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-item__a {
  display: none;
  padding: 0 26px 24px;
  color: var(--body-color);
  font-size: 15px;
  line-height: 1.9;
}

/* CTA */
.cta-box {
  background: linear-gradient(135deg, var(--grad-1a), var(--grad-3b));
  border-radius: 28px;
  text-align: center;
  padding: 70px 30px;
  color: var(--white);
}

.cta-box__title {
  color: var(--white);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-box__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  margin-bottom: 30px;
}

/* ==================== 18) صفحة الخدمات + سنجل الخدمة ==================== */
.benefit-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 20px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 700;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.benefit-chip i {
  color: #22c55e;
  font-size: 18px;
}

/* بيل التشيك (لماذا مختبر ICE + محتوى التقرير) */
.check-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 22px;
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.check-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(9, 82, 151, 0.1);
}

.check-pill i {
  font-size: 19px;
  flex-shrink: 0;
}

.check-pill__icon--green {
  color: #22c55e;
}

.check-pill__icon--accent {
  color: var(--accent);
}

/* كروت الإحصائيات (لماذا مختبر ICE) */
.stat-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  text-align: center;
  padding: 34px 24px 28px;
  height: 100%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease-in-out;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(9, 82, 151, 0.1);
}

.stat-card__num {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 6px;
}

.stat-card__num--blue {
  color: var(--heading);
}

.stat-card__num--green {
  color: #22c55e;
}

.stat-card__num--orange {
  color: #f59e0b;
}

.stat-card__label {
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-card__desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* خطوات العملية — كروت عريضة متراصّة */
.steps-list {
  max-width: 880px;
  margin-inline: auto;
}

.step-row {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.step-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(9, 82, 151, 0.09);
}

.step-row__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.step-row__num {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--info-bg);
  color: var(--heading);
  font-size: 18px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-row__title {
  color: var(--heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
}

.step-row__text {
  color: var(--body-color);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 0;
  padding-inline-start: 58px;
}

.test-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 26px;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease-in-out;
}

.test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(9, 82, 151, 0.1);
}

.test-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.test-card__title {
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.test-card__en {
  color: var(--muted);
  font-size: 13px;
  direction: ltr;
  text-align: end;
}

.test-card__code {
  flex-shrink: 0;
  background-color: var(--info-bg);
  color: var(--heading);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 5px 10px;
  direction: ltr;
}

.test-card__desc {
  color: var(--body-color);
  font-size: 14px;
  line-height: 1.8;
  margin-block: 12px 10px;
}

.test-card__unit {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.standard-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  text-align: center;
  padding: 30px 20px;
  height: 100%;
}

.standard-card__name {
  color: var(--heading);
  font-size: 24px;
  font-weight: 900;
  direction: ltr;
  margin-bottom: 8px;
}

.standard-card__desc {
  color: var(--body-color);
  font-size: 14px;
  margin-bottom: 0;
}

/* (كروت المشاريع في كل الصفحات بتستخدم .project-card بتاعة الرئيسية) */

/* ==================== 19) صفحة المشاريع + سنجل المشروع ==================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.filter-bar__label {
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  margin-inline-end: 8px;
}

.filter-btn {
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-radius: 50rem;
  color: var(--body-color);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

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

.filter-btn.active {
  background: linear-gradient(90deg, var(--grad-1a), var(--grad-1b));
  border-color: transparent;
  color: var(--white);
}

/* سنجل المشروع */
.project-sidebar {
  background-color: var(--section-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px;
  position: sticky;
  top: 110px;
}

.project-sidebar__title {
  color: var(--heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.project-sidebar__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-card);
}

.project-sidebar__row:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}

.project-sidebar__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--info-bg);
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-sidebar__label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.project-sidebar__value {
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.7;
}

.content-title {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--heading);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 24px;
}

.content-title::before {
  content: "";
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background-color: var(--accent);
}

.content-text {
  color: var(--body-color);
  font-size: 16px;
  line-height: 2;
  text-align: justify;
}

.gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

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

/* ==================== 20) صفحة الشهادات ==================== */
.featured-cred {
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
}

.featured-cred__head {
  background: linear-gradient(90deg, var(--grad-1a), var(--grad-3b));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 30px;
  flex-wrap: wrap;
}

.featured-cred__head h3 {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.featured-cred__head .en {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  direction: ltr;
}

.featured-cred__badge {
  background-color: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50rem;
  padding: 8px 20px;
}

.featured-cred__body {
  padding: 30px;
}

.featured-cred__scope-title {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.featured-cred__meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-block: 18px;
  color: var(--body-color);
  font-size: 14px;
}

.featured-cred__meta b {
  color: var(--black);
}

.scope-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.scope-tag {
  border: 1px solid var(--heading);
  color: var(--heading);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50rem;
  padding: 6px 18px;
}

.cred-section__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.cred-section__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background-color: var(--info-bg);
  color: var(--heading);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-section__title {
  color: var(--heading);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 2px;
}

.cred-section__desc {
  color: var(--body-color);
  font-size: 15px;
  margin-bottom: 0;
}

.cred-section__count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin-block: 14px 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cred-section__count::before {
  content: "";
  width: 26px;
  height: 2px;
  background-color: var(--accent);
}

/* جريد الوثائق — 5 أعمدة زي المرجع */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1199.98px) {
  .cred-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991.98px) {
  .cred-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .cred-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* كارت الوثيقة — نفس أنيميشن المرجع:
   بوردر ملون + تكبير الصورة + طبقة غامقة + دايرة تكبير */
.cred-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background-color: var(--border-light);
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.cred-card:hover {
  border-color: var(--accent);
}

.cred-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.cred-card:hover img {
  transform: scale(1.05);
}

.cred-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease-in-out;
}

.cred-card:hover .cred-card__overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.cred-card__zoom {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0);
  color: transparent;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.6);
  transition: all 0.3s ease-in-out;
}

.cred-card:hover .cred-card__zoom {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--heading);
  transform: scale(1);
}

.cred-card__num {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-meaning {
  background-color: var(--section-bg);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 30px;
  height: 100%;
}

.cred-meaning__title {
  color: var(--heading);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cred-meaning__text {
  color: var(--body-color);
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 0;
}

/* ==================== 21) الهيكل التنظيمي + شركاؤنا (صفحات) ==================== */
.org-chart {
  text-align: center;
}

.org-node {
  display: inline-block;
  background-color: var(--white);
  border: 1px solid var(--border-card);
  border-inline-start: 4px solid var(--heading);
  border-radius: 12px;
  padding: 18px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}

.org-node__title {
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.org-node__sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.org-node--top {
  border-inline-start-color: var(--accent);
  background: linear-gradient(135deg, var(--grad-1a), var(--grad-1b));
}

.org-node--top .org-node__title,
.org-node--top .org-node__sub {
  color: var(--white);
}

.org-connector {
  width: 2px;
  height: 36px;
  background-color: var(--border-card);
  margin-inline: auto;
}

/* ==================== 22) صفحة تواصل معنا ==================== */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 38px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.contact-form-card__title {
  color: var(--heading);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 26px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background-color: var(--section-bg);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--black);
  padding: 13px 16px;
  transition: border-color 0.3s ease-in-out;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--heading);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-card {
  background: linear-gradient(160deg, var(--grad-1a), var(--grad-3b));
  border-radius: 18px;
  padding: 38px;
  color: var(--white);
}

.contact-info-card__title {
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info-card__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-info-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-info-item__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-info-item__value {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
}

.contact-info-item__value[dir="ltr"] {
  text-align: end;
}

.contact-info-item__value a {
  color: inherit;
}

.contact-info-item__value a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-social {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.contact-social a:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

/* زر واتساب أسفل كارت وسائل التواصل */
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  background-color: #2ed15e;
  border-radius: 20px;
  padding: 22px 28px;
  box-shadow: 0 12px 28px rgba(46, 209, 94, 0.35);
  transition: all 0.35s ease-in-out;
}

.whatsapp-cta:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
  box-shadow: 0 16px 34px rgba(46, 209, 94, 0.45);
}

.whatsapp-cta__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-cta__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.whatsapp-cta__text strong {
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.whatsapp-cta__text span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  text-align: start;
}

.contact-map {
  margin-top: 70px;
}

.contact-map iframe {
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: 18px;
  display: block;
}


/* ==================== 24) إضافات ووردبريس ==================== */
/* فيديو الهيرو (سلايد بخلفية فيديو من ACF) */
.hero-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* سبينر تحميل فلترة المشاريع (AJAX) */
.projects-grid.is-loading {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
}

.projects__loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.projects__loading.is-active {
  display: flex;
}

.projects__loading .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-card);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: icel-spin 0.8s linear infinite;
}

@keyframes icel-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ترقيم الصفحات (WP-PageNavi) */
.wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border: 1px solid var(--border-card);
  border-radius: 5px;
  background-color: var(--white);
  color: var(--text-body);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.wp-pagenavi a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.wp-pagenavi span.current {
  background: linear-gradient(270deg, var(--grad-1a), var(--grad-1b));
  border-color: transparent;
  color: var(--white);
}

.wp-pagenavi span.pages {
  border: 0;
  background: transparent;
  color: var(--text-muted);
}

/* صورة المقال في الصفحات الافتراضية */
.article__cover {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
}

.article__cover img {
  width: 100%;
  height: auto;
  display: block;
}

/* فورم CF7 — رسائل التحقق بنفس هوية الموقع */
.wpcf7 .wpcf7-not-valid-tip {
  color: #d63638;
  font-size: 13px;
  margin-top: 6px;
}

.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  font-size: 14px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  color: #1e7e34;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #d63638;
  color: #d63638;
}

/* صفحة 404 */
.error-404__code {
  font-size: 120px;
}

.error-404__text {
  margin-inline: auto;
  margin-bottom: 28px;
}

.error-404 .btn-pill {
  margin-inline: auto;
}

/* فورم القائمة البريدية (Email Subscribers) — نفس استايل الفوتر (مقاسات الفيجما) */
.site-footer .footer-newsletter .es_form_wrapper {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  max-width: 312px;
}

.site-footer .footer-newsletter .es-field-wrap {
  margin-bottom: 0 !important;
}

.site-footer .footer-newsletter .es-field-label {
  display: block;
  margin-bottom: 0 !important;
}

.site-footer .footer-newsletter form.es_subscription_form .ig-es-form-input {
  width: 312px !important;
  max-width: 100% !important;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.15) !important;
  border: 0 !important;
  border-radius: 5px !important;
  color: var(--white) !important;
  font-family: var(--font-main) !important;
  font-size: 13px !important;
  line-height: 24px !important;
  padding: 12px 8px 14px !important;
  text-align: start;
}

.site-footer .footer-newsletter form.es_subscription_form .ig-es-form-input::placeholder {
  color: rgba(255, 255, 255, 0.56) !important;
}

.site-footer .footer-newsletter form.es_subscription_form .ig-es-form-input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: none !important;
}

.site-footer .footer-newsletter form.es_subscription_form input.es-subscribe-btn,
.site-footer .footer-newsletter form.es_subscription_form .es-subscribe-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 129px !important;
  min-width: 129px !important;
  height: 40px !important;
  margin-top: 21px !important;
  padding: 13px 28px !important;
  background: var(--white) !important;
  background-color: var(--white) !important;
  color: var(--primary) !important;
  font-family: var(--font-main) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 14px !important;
  border: 0 !important;
  border-radius: 5px !important;
  cursor: pointer;
  transition: all 0.3s ease-in-out !important;
}

.site-footer .footer-newsletter form.es_subscription_form input.es-subscribe-btn:hover,
.site-footer .footer-newsletter form.es_subscription_form .es-subscribe-btn:hover {
  background: var(--accent) !important;
  background-color: var(--accent) !important;
  color: var(--white) !important;
  opacity: 1 !important;
}

.site-footer .footer-newsletter .es-submit-container {
  gap: 0 !important;
}

 

.site-footer .footer-newsletter .es_subscription_message {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 13px;
  line-height: 20px;
}

.site-footer .footer-newsletter .es_subscription_message.error {
  color: #ffb3b3;
}
.wpcf7 ,.wpcf7 *{
  direction: inherit !important;
}
.post-type-archive-service .services ,.post-type-archive-service .page-section--gray{
  padding: 50px 0;
}
html[dir='ltr'] .about-collage__img1{
  border-radius: 48px 48px 48px 4px;
}
.img-sin-proj {
  height: 450px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.img-sin-proj img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}