@charset "UTF-8";
/* ===== Reset خفيف ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Graphik Arabic";
  color: #000C05;
  background: #F3F3F3;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 24px;
}
@media (max-width: 640px) {
  .container {
    padding: 18px;
  }
}

section {
  padding-block: 72px;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.eyebrow-2 {
  color: #a7b0a7;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.section-title {
  color: #1F7044;
  font-family: "Graphik Arabic";
  font-weight: 800;
  font-size: clamp(26px, 3.8vw, 44px);
  margin: 0;
}

.card {
  background: #F3F3F3;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 22px;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #331006;
  color: #5fff95;
  font-size: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  background: #000C05;
  backdrop-filter: saturate(150%) blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #1F7044;
  font-size: 22px;
}
@media (max-width: 640px) {
  .brand {
    font-size: 18px;
  }
}

.brand-logo {
  height: 50px;
  width: auto;
}
@media (max-width: 640px) {
  .brand-logo {
    height: 40px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
@media (max-width: 1024px) {
  .nav {
    gap: 2px; /* مسافة صغيرة جداً بين العناصر */
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #F3F3F3;
}
@media (max-width: 1024px) {
  .nav-list {
    position: fixed;
    top: 60px;
    right: 0;
    width: 280px;
    height: calc(100vh - 70px);
    background: #000C05;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .nav-list.active {
    transform: translateX(0);
  }
}

/* فتح القائمة من اليسار في الوضع الإنجليزي على الشاشات الصغيرة */
@media (max-width: 1024px) {
  [dir=ltr] .nav-list {
    right: auto;
    left: 0;
    transform: translateX(-100%);
  }
  [dir=ltr] .nav-list.active {
    transform: translateX(0);
  }
}
.nav-link {
  padding: 8px 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
  color: #F3F3F3;
  text-decoration: none;
  display: block;
}
.nav-link:is(:hover, :focus) {
  background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 1024px) {
  .nav-link {
    padding: 12px 16px;
    width: 100%;
    font-size: 18px;
    color: #F3F3F3;
  }
  .nav-link:is(:hover, :focus) {
    background: rgba(255, 255, 255, 0.15);
  }
}

.lang-switch {
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #1F7044;
  transition: all 0.2s ease;
  color: #F3F3F3;
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
  display: inline-block;
}
.lang-switch:hover {
  background: rgba(0, 0, 0, 0.3);
}
@media (max-width: 1024px) {
  .lang-switch {
    margin-top: 0;
    background: transparent;
    border: none;
    padding: 8px 0;
    color: #F3F3F3;
    font-weight: 500;
    order: 1;
    margin-right: 0;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: #F3F3F3;
  border: 1px solid #a3b3a3;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    background: transparent;
    border: none;
    padding: 8px 4px;
    order: 2;
    margin-right: 0;
  }
}

/* ترتيب العناصر في الهواتف */
@media (max-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2px; /* مسافة صغيرة جداً بين العناصر */
  }
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: #000C05;
  display: block;
  transition: transform 0.3s ease;
}
@media (max-width: 1024px) {
  .nav-toggle-bar {
    background: #F3F3F3;
  }
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ترتيب العناصر في الهواتف */
@media (max-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2px; /* مسافة صغيرة جداً بين العناصر */
  }
  /* إخفاء القائمة العادية في الهواتف */
  .nav-list:not(.active) {
    display: none;
  }
}
/* التعديل الجديد: ترتيب العناصر في الوضع الإنجليزي والعربي */
[dir=rtl] .nav-toggle,
[dir=ltr] .nav-toggle {
  order: 2;
}

[dir=rtl] .lang-switch,
[dir=ltr] .lang-switch {
  order: 1;
}

/* تقريب المسافة بين زر اللغة وزر القائمة الجانبية لجميع الشاشات */
@media (max-width: 1024px) {
  /* للشاشات الكبيرة في الوضع المتوسط */
  .lang-switch {
    margin-right: -40px;
  }
  .nav-toggle {
    margin-left: -50px;
  }
  [dir=rtl] .lang-switch {
    margin-left: 0;
    margin-right: -60px;
  }
  [dir=rtl] .nav-toggle {
    margin-left: 0;
    margin-right: -180px;
  }
  /* تعديلات إضافية لشاشات أصغر */
}
@media (max-width: 1024px) and (max-width: 1024px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -10px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -640px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -640px;
  }
}
@media (max-width: 1024px) and (max-width: 1000px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -10px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -620px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -620px;
  }
}
@media (max-width: 1024px) and (max-width: 950px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -10px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -570px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -570px;
  }
}
@media (max-width: 1024px) and (max-width: 900px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -10px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -540px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -540px;
  }
}
@media (max-width: 1024px) and (max-width: 850px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -10px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -480px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -480px;
  }
}
@media (max-width: 1024px) and (max-width: 800px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -10px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -440px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -440px;
  }
}
@media (max-width: 1024px) and (max-width: 750px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -10px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -380px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -380px;
  }
}
@media (max-width: 1024px) and (max-width: 700px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -10px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -340px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -310px;
  }
}
@media (max-width: 1024px) and (max-width: 650px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -10px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -290px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -240px;
  }
}
@media (max-width: 1024px) and (max-width: 550px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -20px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -260px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -10px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -240px;
  }
}
@media (max-width: 1024px) {
  /* تعديلات لشاشات الهواتف الصغيرة */
}
@media (max-width: 1024px) and (max-width: 500px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -30px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -230px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -20px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -210px;
  }
}
@media (max-width: 1024px) {
  /* تعديلات لشاشات الهواتف الصغيرة */
}
@media (max-width: 1024px) and (max-width: 450px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -40px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -210px;
  }
  [dir=ltr] .lang-switch {
    margin-right: -40px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -190px;
  }
}
@media (max-width: 1024px) {
  /* تعديلات لشاشات الهواتف الصغيرة */
}
@media (max-width: 1024px) and (max-width: 410px) {
  .lang-switch {
    margin-right: -50px;
  }
  .nav-toggle {
    margin-left: -70px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -50px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -190px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -50px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -190px;
  }
}
@media (max-width: 1024px) {
  /* تعديلات لشاشات صغيرة جداً مثل 360px */
}
@media (max-width: 1024px) and (max-width: 360px) {
  .lang-switch {
    margin-right: -70px;
  }
  .nav-toggle {
    margin-left: -80px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -80px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -210px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -80px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -210px;
  }
}
@media (max-width: 1024px) {
  /* تعديلات لشاشات صغيرة جداً مثل 320px */
}
@media (max-width: 1024px) and (max-width: 320px) {
  .lang-switch {
    margin-right: -80px;
  }
  .nav-toggle {
    margin-left: -90px;
  }
  [dir=rtl] .lang-switch {
    margin-right: -100px;
  }
  [dir=rtl] .nav-toggle {
    margin-right: -220px;
  }
  [dir=ltr] .lang-switch {
    margin-left: -100px;
  }
  [dir=ltr] .nav-toggle {
    margin-left: -220px;
  }
}
[dir=rtl] {
  text-align: right;
}

[dir=ltr] {
  text-align: left;
}

/* إعدادات الخطوط للغات */
.lang-ar {
  font-family: "Tajawal", "Cairo", sans-serif;
}

.lang-en {
  font-family: "Inter", sans-serif;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #000C05;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #000c05 0%, rgba(0, 12, 5, 0.8) 30%, rgba(0, 12, 5, 0.4) 70%, rgba(0, 12, 5, 0.8) 90%), url("../assets/images/pattern hero.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px; /* عرض محدد للمحتوى */
  margin: 0 auto;
  padding: 0 20px;
  text-align: center; /* محاذاة النص للوسط */
}

.hero-content {
  max-width: 100%;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 58px);
  color: #F3F3F3;
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
}

.hero-subtitle {
  color: #a7b0a7;
  font-size: 18px; /* حجم أكبر للوصف */
  margin: 0 0 40px;
  max-width: 100%; /* إزالة القيد السابق */
  line-height: 1.7;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center; /* توسيط الأزرار */
  flex-wrap: wrap;
  margin-top: 40px;
}

/* إزالة العناصر المحذوفة */
.hero-grid,
.hero-media,
.hero-img {
  display: none;
}

/* تحسينات للأزرار */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lang-ar .btn {
  font-family: "Tajawal", sans-serif;
}

.lang-en .btn {
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background: #1F7044;
  color: #F3F3F3;
}

.btn-primary:hover {
  background: #F3F3F3;
  color: #000C05;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #F3F3F3;
}

.btn-ghost:hover {
  background: #F3F3F3;
  color: #000C05;
  transform: translateY(-2px);
}

.sla-banner {
  background: #F3F3F3;
  width: 90%;
  max-width: 1000px;
  margin: -80px auto 0 auto; /* سالب ليرتفع للأعلى */
  padding: 20px 30px;
  border-radius: 20px 20px 0 0;
  position: relative;
  z-index: 2;
}

.sla-text {
  color: #000C05;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  margin: 0;
  letter-spacing: 0.5px;
}

.about-section {
  position: relative;
  overflow: hidden;
}

.about-grid-background {
  position: absolute;
  width: 140px;
  height: 152px;
  top: 20%;
  right: 10%;
  left: auto;
  z-index: 1;
}
.about-grid-background .grid-plus {
  position: absolute;
  font-size: 18px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
}
.about-grid-background .grid-plus:nth-child(1) {
  left: 0px;
  top: 0px;
  color: #1F7044;
}
.about-grid-background .grid-plus:nth-child(2) {
  left: 0px;
  top: 30px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(3) {
  left: 0px;
  top: 60px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(4) {
  left: 30px;
  top: 0px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(5) {
  left: 30px;
  top: 30px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(6) {
  left: 30px;
  top: 60px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(7) {
  left: 30px;
  top: 90px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(8) {
  left: 60px;
  top: 0px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(9) {
  left: 60px;
  top: 30px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(10) {
  left: 60px;
  top: 60px;
  color: #93D893;
}
.about-grid-background .grid-plus:nth-child(11) {
  left: 60px;
  top: 90px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(12) {
  left: 60px;
  top: 120px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(13) {
  left: 90px;
  top: 0px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(14) {
  left: 90px;
  top: 30px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(15) {
  left: 90px;
  top: 60px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(16) {
  left: 90px;
  top: 90px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(17) {
  left: 90px;
  top: 120px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(18) {
  left: 120px;
  top: 0px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(19) {
  left: 120px;
  top: 30px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(20) {
  left: 120px;
  top: 60px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(21) {
  left: 120px;
  top: 90px;
  color: #3d4f3d;
}
.about-grid-background .grid-plus:nth-child(22) {
  left: 120px;
  top: 120px;
  color: #3d4f3d;
}

.about-header {
  display: grid;
  gap: 20px;
  margin-bottom: 50px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 50px;
  position: relative;
  z-index: 2;
}

.about-content {
  display: grid;
  gap: 16px;
  color: #a7b0a7;
  font-size: 16px;
  line-height: 1.7;
}
.about-content p {
  margin: 0;
}
.about-content strong {
  color: #294839;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.fact-card {
  position: relative;
  background: transparent;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: all 0.5s ease;
  padding: 24px 16px;
  border-radius: 0;
  box-shadow: none;
}
.fact-card .fact-icon-container {
  position: relative;
  width: 52px;
  height: 53px;
  margin-bottom: 16px;
}
.fact-card .fact-icon-container::before {
  content: "";
  position: absolute;
  width: 45px;
  height: 44px;
  left: 45px;
  top: 53px;
  transform: rotate(-180deg);
  transform-origin: top left;
  background: #331006;
  border-top-left-radius: 16px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 5px;
  z-index: 1;
}
.fact-card .fact-icon-container::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 46px;
  left: 8px;
  top: 0px;
  background: #1F7044;
  border-radius: 8px;
  z-index: 2;
}
.fact-card .fact-icon-container .icon-circle {
  position: absolute;
  width: 44px;
  height: 46px;
  left: 8px;
  top: 0px;
  z-index: 3;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 8px;
}
.fact-card .fact-icon-container .icon-circle i {
  font-size: 18px;
  color: #F3F3F3;
}
.fact-card .fact-title {
  margin: 0 0 10px 0;
  color: #1F7044;
  font-weight: 600;
  font-size: 18px;
}
.fact-card .fact-text {
  color: #a7b0a7;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* ===== Services Section ===== */
.services-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F7044;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title-light {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F3F3F3;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.heading-nib-purple-semibold {
  color: #294839;
  position: relative;
  display: inline-block;
}

.heading-nib-purple-semibold-light {
  color: #6BDD84;
  position: relative;
  display: inline-block;
}
.heading-nib-purple-semibold-light::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 100%;
  height: 4px;
  background-color: #6BDD84;
  border-radius: 2px;
}

.heading-nib-purple-semibold::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 100%;
  height: 4px;
  background-color: #294839;
  border-radius: 2px;
}

/* شبكة الخدمات 2×2 */
.services-grid-2x2 {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.services-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

/* باقي الـ CSS يبقى كما هو تماماً */
.services-content {
  position: relative;
  z-index: 2;
}

.grid-2-col_component {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.grid-2-col_column {
  position: relative;
}

.services-text-content {
  padding-right: 4rem;
}

.service-item {
  margin-bottom: 2rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1F7044;
  margin-bottom: 0.5rem;
}

.service-description {
  margin-top: 0.5rem;
}

.service-text {
  color: #a7b0a7;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.services-separator {
  height: 4px;
  background-color: rgba(131, 143, 131, 0.3);
  margin: 2rem 0;
  width: 100%;
}

.services-button-container {
  margin-top: 2rem;
}

.services-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.8rem;
  border-radius: 10px;
  font-size: inherit;
  color: #F3F3F3;
  background: #1F7044;
}

.lang-ar .services-button {
  font-family: "Tajawal", sans-serif;
}

.lang-en .services-button {
  font-family: "Inter", sans-serif;
}

.services-button:hover {
  background: #000C05;
}

.button-text {
  margin-left: 8px;
}

.button-icon svg {
  width: 16px;
  height: 16px;
}

.button-icon-call svg {
  width: 22px;
  height: 22px;
}

.services-image-wrapper {
  text-align: center;
}

.services-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services-arrow-image {
  position: absolute;
  max-width: 80px;
  height: auto;
}

.services-arrow-image.is-arrow-1 {
  top: 30%;
  left: -40px;
  transform: rotate(90deg);
}

.services-arrow-image.is-arrow-2 {
  bottom: 20%;
  right: -40px;
  transform: rotate(-90deg);
}

/* تأثيرات الظهور */
.fade-in-1-sec {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.parallax-up {
  transform: translateY(0);
  transition: transform 0.5s ease;
}

/* سلايدر الخدمات: نفس روح المشاريع مع كاردين جنب بعض */
.services-slider {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  column-gap: 12px;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.services-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F3F3;
  color: #6BDD84;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.services-arrow-btn svg {
  width: 20px;
  height: 20px;
}

.services-arrow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.services-arrow-btn.is-disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

/* الحاوية القابلة للتمرير */
.services-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px 0;
  min-width: 0;
}

.services-viewport::-webkit-scrollbar {
  display: none;
}

/* مسار السلايدرات */
.services-track {
  display: flex;
  gap: 2rem;
}

/* كل سلايد = صف من كاردين بنفس تنسيقك */
.services-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  scroll-snap-align: start;
}

/* نقاط التحكّم */
.services-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 0;
}

.service-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  border: 0;
  background: #E5E5E5;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.service-dot.active {
  background: #39425D;
}

.service-dot:hover {
  transform: scale(1.15);
}

.strategy-header {
  margin-bottom: 40px;
  text-align: center;
}

.horizontal-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-track {
  display: none;
}

.timeline-progress {
  display: none;
}

.timeline-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline-item {
  display: grid;
  gap: 16px;
  text-align: center;
}
.timeline-item.active .timeline-content h3 {
  color: #1F7044;
}

.timeline-dot {
  width: 52px;
  height: 53px;
  position: relative;
  margin: 0 auto;
}
.timeline-dot::before {
  content: "";
  position: absolute;
  width: 45px;
  height: 44px;
  left: 45px;
  top: 53px;
  transform: rotate(-180deg);
  transform-origin: top left;
  background: #331006;
  border-top-left-radius: 16px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 5px;
  z-index: 1;
}
.timeline-dot::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 46px;
  left: 8px;
  top: 0px;
  background: #1F7044;
  border-radius: 8px;
  z-index: 2;
}

.dot-number {
  position: absolute;
  z-index: 3;
  color: #F3F3F3;
  font-weight: 700;
  font-size: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  left: 8px;
  top: 0px;
}

.timeline-content h3 {
  margin: 4px 0 6px 0;
  color: #1F7044;
  font-size: 18px;
  font-weight: 700;
}

.timeline-content p {
  color: #a7b0a7;
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
}

.services-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  min-height: 360px;
}

.services-background {
  position: absolute;
  width: 90vw;
  height: 100%;
  background: #000C05;
  border-top-right-radius: 240px;
  top: 0;
  left: 0;
  z-index: 1;
}

.services-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 50px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding: 0 32px;
}

.service-card {
  background: #F3F3F3;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 18px 16px;
  transition: all 0.3s ease;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.service-card.featured {
  border: 2px solid #1F7044;
}
.service-card.featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.service-card-title {
  margin: 0 0 6px 0;
  color: #1F7044;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}

.service-card-text {
  color: #a7b0a7;
  margin: 0;
  line-height: 1.4;
  font-size: 14px;
}

/* ===== Pricing Section ===== */
.pricing-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.pricing-card {
  background: #F3F3F3;
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 2px solid #3d4f3d;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.dark {
  background: #000C05;
  color: #F3F3F3;
}

.pricing-card.dark:hover {
  border-color: #1F7044;
}

.pricing-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1F7044;
  margin-bottom: 2rem;
}

.pricing-content {
  display: grid;
  gap: 16px;
  color: #a7b0a7;
  font-size: 16px;
  line-height: 1.7;
}

.pricing-card.dark .pricing-card-title {
  color: #F3F3F3;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.lang-ar .pricing-features {
  text-align: right;
}

.lang-en .pricing-features {
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: #a7b0a7;
  font-size: 1.1rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(61, 79, 61, 0.5);
}

.lang-ar .pricing-features li {
  font-family: "Tajawal", sans-serif;
}

.lang-en .pricing-features li {
  font-family: "Inter", sans-serif;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card.dark .pricing-features li {
  color: rgba(243, 243, 243, 0.9);
  border-bottom: 1px solid rgba(243, 243, 243, 0.2);
}

.pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #1F7044;
  color: #F3F3F3;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
}

.lang-ar .pricing-button {
  font-family: "Tajawal", sans-serif;
}

.lang-en .pricing-button {
  font-family: "Inter", sans-serif;
}

.pricing-button:hover {
  background-color: #000C05;
}

.pricing-button.dark {
  background-color: #1F7044;
  border-color: #1F7044;
}

.pricing-button.dark:hover {
  background-color: #F3F3F3;
  color: #000C05;
}

.projects-container {
  position: relative;
  --proj-gap: 20px;
  padding: 0 50px;
  --decor-top: -140px;
}

.projects-decor {
  transform: rotate(270deg);
  position: absolute;
  left: 14px;
  top: var(--decor-top);
  width: 140px;
  height: 152px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.projects-decor .p {
  position: absolute;
  font-size: 18px;
  line-height: 1;
  font-family: Roboto, system-ui, -apple-system, sans-serif;
  color: #3d4f3d;
}
.projects-decor .c-orange {
  color: #0e5b2f;
}
.projects-decor .c-purple {
  color: #294839;
}

.projects-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  column-gap: 10px;
}

.projects-arrow {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F3F3;
  color: #1a2a20;
  border: 1px solid #a3b3a3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.projects-arrow:hover {
  transform: scale(1.05);
  border-color: rgb(135.0714285714, 155.9285714286, 135.0714285714);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.projects-arrow.is-visible {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.projects-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 6px 0;
  min-width: 0;
}
.projects-viewport::-webkit-scrollbar {
  display: none;
}

.projects-track {
  display: flex;
  gap: var(--proj-gap);
}

.project-card {
  flex: 0 0 calc((100% - 2 * var(--proj-gap)) / 3);
  scroll-snap-align: start;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.project-content {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.project-title {
  margin: 0;
  color: #000C05;
  font-size: 18px;
  line-height: 1.3;
}

.project-description {
  margin: 0;
  color: #8ea78e;
  font-size: 14px;
  line-height: 1.4;
}

.project-btn {
  align-self: start;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  background: transparent;
  color: #1a2a20;
  border: 1px solid #838f83;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.project-btn:hover {
  background: #838f83;
  color: #F3F3F3;
  border-color: #838f83;
}

.project-card:hover {
  background: #F3F3F3;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.project-card:hover .project-btn {
  background: #838f83;
  color: #F3F3F3;
  border-color: #838f83;
}

.projects-dots {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
}

.project-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  border: 0;
  background: #3d4f3d;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-dot.active {
  background: #8ea78e;
}

.project-dot:hover {
  transform: scale(1.15);
}

.subsidiaries-section {
  background: #0f2017;
  border-top-left-radius: 240px;
}

.subsidiaries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.subsidiary-card {
  background: #F3F3F3;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 16px;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subsidiary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.subsidiary-logo {
  max-height: 40px;
  width: auto;
}

.governance-content-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.text-card {
  background: #F3F3F3;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.governance-content .list {
  margin: 0 0 10px 0;
  padding: 0 16px;
  font-size: 16px;
}

.indicators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.indicator-item {
  background: #F3F3F3;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.04);
  padding: 12px;
}

.indicator-title {
  margin: 2px 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.indicator-text {
  color: #8ea78e;
  margin: 0;
  font-size: 12px;
}

.illustration-section {
  display: grid;
  place-items: center;
}

.gov-illustration {
  width: 320px;
  height: 320px;
  margin: 0;
  display: grid;
  place-items: center;
}

.gov-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== Contact Header Section ===== */
.contact-header-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0 0 0;
  margin-bottom: 40px;
}

/* خلفية الهيدر */
.contact-header-background {
  position: absolute;
  width: 90vw;
  height: calc(100% - 60px);
  background: #000C05;
  border-top-right-radius: 240px;
  top: 60px;
  left: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(0, 12, 5, 0.2), rgba(0, 12, 5, 0.9)), url("../assets/images/pattern contact.svg");
  background-repeat: no-repeat;
  background-position: -50px center;
  background-size: 600px auto;
}

/* الأساس = يكون محايد للموبايل والتابلت */
.contact-header-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 20px 40px; /* بدون 50% هنا */
}

.contact-header-content {
  color: white;
}

/* ========== ديسكتوب فقط (إزاحة حقيقية) ========== */
@media (min-width: 992px) {
  /* العربي: نفس تصميمك القديم */
  [dir=rtl] .contact-header-container {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 5%;
    padding-right: 50%;
  }
  [dir=rtl] .contact-header-content {
    text-align: right;
    padding: 0;
    margin-right: 50px;
  }
  /* الإنجليزي: النص LTR لكن البلوك مزاح لليمين */
  [dir=ltr] .contact-header-container {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 50%; /* حجز مساحة باليسار */
    padding-right: 5%; /* قرب المحتوى لليمين */
  }
  [dir=ltr] .contact-header-content {
    direction: ltr;
    text-align: left;
    max-width: 420px;
    padding: 0;
    margin-left: auto; /* يدفع البلوك لليمين */
    margin-right: 50px; /* ← هذا السطر تتحكم به للاقتراب من يمين الشاشة */
  }
}
/* موبايل / تابلت: يرجع كما كان (مركزي) */
@media (max-width: 991.98px) {
  .contact-header-content {
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
  }
}
.contact-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.9;
  margin: 0;
}

/* إصلاح مشكلة الفوتر */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* بيانات الشركة - التعديلات المطلوبة */
.company-info {
  padding-top: 310px; /* إزاحة من الأعلى للنصوص */
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 40px; /* زيادة المسافة بين كل نص والآخر */
  color: #000C05;
}

.lang-ar .info-item {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.lang-en .info-item {
  justify-content: flex-start;
  flex-direction: row;
}

.info-icon {
  color: #1F7044;
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.lang-ar .info-icon {
  order: 1;
}

.lang-en .info-icon {
  order: 0;
}

.info-text {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #000C05;
  font-weight: 100;
}

.lang-ar .info-text {
  order: 2;
  text-align: right;
}

.lang-en .info-text {
  order: 1;
  text-align: left;
}

/* ===== Contact Form Section ===== */
.contact-form-section {
  padding: 1px 0;
  margin-top: -200px;
  position: relative;
  z-index: 3;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-form-wrapper {
  max-width: 400px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 12, 5, 0.1);
  padding: 40px;
}

.lang-ar .contact-form-wrapper {
  margin-left: auto;
  margin-right: 0;
}

.lang-en .contact-form-wrapper {
  margin-left: 0;
  margin-right: auto;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-form-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0;
  line-height: 1.3;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-input,
.form-select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.lang-ar .form-input,
.lang-ar .form-select {
  font-family: "Tajawal", sans-serif;
  text-align: right;
}

.lang-en .form-input,
.lang-en .form-select {
  font-family: "Inter", sans-serif;
  text-align: left;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #1F7044;
  box-shadow: 0 0 0 3px rgba(31, 112, 68, 0.1);
}

.form-input::placeholder {
  color: #999;
}

.lang-ar .form-input::placeholder {
  text-align: right;
}

.lang-en .form-input::placeholder {
  text-align: left;
}

.form-select {
  cursor: pointer;
}

.submit-btn {
  background: #1F7044;
  color: white;
  border: none;
  padding: 18px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lang-ar .submit-btn {
  font-family: "Tajawal", sans-serif;
}

.lang-en .submit-btn {
  font-family: "Inter", sans-serif;
}

.submit-btn:hover {
  background: #000C05;
  color: #F3F3F3;
}

/* ===== Footer Section ===== */
.footer-section {
  background: #0a0a0a;
  color: white;
  padding: 2rem 0 1rem;
  margin-top: auto; /* هذا يضمن بقاء الفوتر في الأسفل */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.footer-header {
  flex: 1;
  margin-bottom: 0;
}

.lang-ar .footer-header {
  text-align: right;
}

.lang-en .footer-header {
  text-align: left;
}

.footer-main-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #F3F3F3;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.lang-ar .footer-main-title {
  font-family: "Tajawal", sans-serif;
}

.lang-en .footer-main-title {
  font-family: "Inter", sans-serif;
}

.footer-subtitle {
  font-size: 0.9rem;
  color: rgba(243, 243, 243, 0.8);
  margin: 0;
}

.lang-ar .footer-subtitle {
  font-family: "Tajawal", sans-serif;
}

.lang-en .footer-subtitle {
  font-family: "Inter", sans-serif;
}

.contact-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.lang-ar .contact-item {
  align-items: flex-end;
}

.lang-en .contact-item {
  align-items: flex-start;
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6BDD84;
  margin-bottom: 0.5rem;
}

.lang-ar .contact-label {
  font-family: "Tajawal", sans-serif;
}

.lang-en .contact-label {
  font-family: "Inter", sans-serif;
}

.contact-value {
  font-size: 1rem;
  color: #F3F3F3;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.lang-ar .contact-value {
  font-family: "Tajawal", sans-serif;
}

.lang-en .contact-value {
  font-family: "Inter", sans-serif;
}

.contact-value:hover {
  color: #1F7044;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* + محاذاة مثل القيم */
.lang-ar .social-icons {
  justify-content: flex-end;
}

.lang-en .social-icons {
  justify-content: flex-start;
}

.social-icon {
  width: 35px;
  height: 35px;
  background: rgba(243, 243, 243, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(243, 243, 243, 0.2);
}

.social-icon:hover {
  background: #1F7044;
  transform: translateY(-2px);
  border-color: #1F7044;
  box-shadow: 0 3px 10px rgba(31, 112, 68, 0.3);
}

.social-icon i {
  color: #F3F3F3;
  font-size: 0.9rem;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #1F7044 50%, transparent 100%);
  margin: 1rem auto 1rem;
  max-width: 300px;
}

.footer-copyright {
  padding-top: 0.5rem;
  text-align: center;
}

.copyright-text {
  color: rgba(243, 243, 243, 0.7);
  font-size: 0.85rem;
  margin: 0;
}

.lang-ar .copyright-text {
  font-family: "Tajawal", sans-serif;
}

.lang-en .copyright-text {
  font-family: "Inter", sans-serif;
}

.request-section {
  background: #0f2017;
  border-radius: 16px 100px 16px 16px;
  padding: 20px;
  text-align: center;
}

.request-title {
  margin: 0 0 6px;
  font-size: 20px;
}

.request-text {
  color: #a7b0a7;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
}

.request-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.8rem;
  border-radius: 10px;
  font-size: inherit;
  color: #F3F3F3;
  background: #1F7044;
}

.btn-primary:hover {
  background: #F3F3F3;
  color: #000C05;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.8rem;
  border-radius: 10px;
  font-size: inherit;
  color: #000C05;
  background: #F3F3F3;
}

.btn-ghost:hover {
  background: #1F7044;
  color: #F3F3F3;
}

/* ===== Media Queries للريسبونسيف ===== */
@media (max-width: 768px) {
  .lang-ar .contact-header-content,
  .lang-en .contact-header-content {
    padding: 0 20px;
    text-align: center;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .lang-ar .contact-form-wrapper,
  .lang-en .contact-form-wrapper {
    margin: 0 auto;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .lang-ar .contact-item,
  .lang-en .contact-item {
    align-items: center;
  }
  .lang-ar .info-item,
  .lang-en .info-item {
    justify-content: center;
  }
}
/* ===== Hero Section ===== */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #000C05;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #000c05 0%, rgba(0, 12, 5, 0.8) 30%, rgba(0, 12, 5, 0.4) 70%, rgba(0, 12, 5, 0.8) 100%), url("../assets/images/pattern hero.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hero-content {
  max-width: 100%;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 58px);
  color: #fff;
  text-align: center;
  font-weight: 500;
  line-height: 1.3;
}

.hero-subtitle {
  color: #a7b0a7;
  font-size: 18px;
  margin: 0 0 40px;
  max-width: 100%;
  line-height: 1.7;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* =========================
   Responsive Styles
   ========================= */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-container {
    max-width: 900px;
  }
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
  .subsidiaries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-header-content {
    padding-right: 500px;
  }
  .sla-banner {
    width: 95%;
    margin-top: -60px;
    padding: 18px 24px;
  }
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .about-grid-background {
    display: none; /* ← إخفاء علامات X للهواتف */
  }
  .hero {
    min-height: 70vh;
  }
  .hero-container {
    max-width: 700px;
  }
  .sla-banner {
    width: 95%;
    margin-top: -50px;
    padding: 18px 24px;
  }
  .about-header {
    padding: 0 30px;
  }
  .facts-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    gap: 16px;
  }
  .fact-card {
    min-height: 200px;
    padding: 20px 16px;
  }
  .services-grid-2x2 {
    max-width: 700px;
  }
  .services-row {
    gap: 3rem;
  }
  .grid-2-col_component {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .services-text-content {
    padding-right: 0;
    text-align: center;
  }
  .services-arrow-image {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .service-card {
    min-height: 120px;
    padding: 16px 12px;
  }
  .timeline-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .projects-container {
    padding: 0 30px;
  }
  .project-card {
    flex: 0 0 calc((100% - var(--proj-gap)) / 2);
  }
  .subsidiaries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .governance-content-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .indicators-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* ===== Contact Header (Tablet) ===== */
  .contact-header-section {
    padding: 60px 0 0 0;
    margin-bottom: 120px;
  }
  .contact-header-background {
    width: 100vw;
    top: 40px;
    height: 100%; /* تغطي كامل ارتفاع القسم بحيث لا يخرج النص عن الخلفية السوداء */
  }
  .contact-header-container {
    padding: 40px 0 60px;
  }
  .contact-header-content {
    padding-right: 260px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .company-info {
    padding-top: 50px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-header {
    text-align: center;
  }
}
/* Small devices (less than 768px) */
@media (max-width: 767.98px) {
  .about-grid-background {
    display: none; /* ← إخفاء علامات X للهواتف */
  }
  .hero {
    min-height: 60vh;
  }
  .hero-container {
    max-width: 100%;
    padding: 0 16px;
  }
  .hero-title {
    font-size: clamp(28px, 4vw, 42px);
  }
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .hero-ctas {
    gap: 12px;
    margin-top: 30px;
  }
  .btn {
    padding: 14px 24px;
    font-size: 1rem;
  }
  .sla-banner {
    width: 98%;
    margin-top: -40px;
    padding: 16px 20px;
    border-radius: 16px 16px 0 0;
  }
  .sla-text {
    font-size: 16px;
  }
  .about-header {
    padding: 0 20px;
    margin-bottom: 40px;
  }
  .section-title,
  .section-title-light {
    font-size: 2rem;
  }
  .facts-grid {
    padding: 0 20px;
  }
  .fact-card {
    min-height: 180px;
    padding: 18px 14px;
  }
  .fact-card .fact-title {
    font-size: 16px;
  }
  .fact-card .fact-text {
    font-size: 12px;
  }
  .services-section {
    min-height: 300px;
  }
  .services-background {
    width: 100vw;
    border-top-right-radius: 160px;
  }
  .services-container {
    padding: 40px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 20px;
  }
  .service-card {
    min-height: 100px;
    padding: 14px 12px;
  }
  .services-slider {
    grid-template-columns: 30px 1fr 30px;
    column-gap: 8px;
  }
  .services-arrow-btn {
    width: 30px;
    height: 30px;
  }
  .services-arrow-btn svg {
    width: 16px;
    height: 16px;
  }
  .services-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-points {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .timeline-item {
    gap: 12px;
  }
  .timeline-content h3 {
    font-size: 16px;
  }
  .timeline-content p {
    font-size: 12px;
  }
  .pricing-section {
    padding: 80px 0;
  }
  .pricing-grid {
    padding: 0 16px;
  }
  .pricing-card {
    padding: 2rem 1.5rem;
  }
  .pricing-card-title {
    font-size: 1.5rem;
  }
  .pricing-features li {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
  .projects-container {
    padding: 0 20px;
    --decor-top: -100px;
  }
  .projects-decor {
    width: 100px;
    height: 110px;
    left: 10px;
  }
  .projects-decor .p {
    font-size: 14px;
  }
  .projects-grid {
    grid-template-columns: 30px 1fr 30px;
    column-gap: 8px;
  }
  .projects-arrow {
    width: 30px;
    height: 30px;
  }
  .project-card {
    flex: 0 0 100%;
  }
  .project-content {
    padding: 16px;
  }
  .project-title {
    font-size: 16px;
  }
  .project-description {
    font-size: 12px;
  }
  .project-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  .subsidiaries-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .subsidiary-card {
    padding: 14px;
  }
  .subsidiary-logo {
    max-height: 35px;
  }
  .text-card {
    padding: 16px;
  }
  .governance-content .list {
    font-size: 14px;
    padding: 0 12px;
  }
  .indicators-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .indicator-item {
    padding: 10px;
  }
  .indicator-title {
    font-size: 12px;
  }
  .indicator-text {
    font-size: 0.7rem;
  }
  .gov-illustration {
    width: 250px;
    height: 250px;
  }
  /* ===== Contact Header (Phones ≤ 768px) ===== */
  .contact-header-section {
    padding: 40px 0 0 0;
    margin-bottom: 90px;
  }
  .contact-header-background {
    width: 100vw;
    top: 30px;
    height: 100%; /* تغطية كاملة للنص */
    border-top-right-radius: 160px;
  }
  .contact-header-container {
    padding: 30px 0 56px;
  }
  .contact-header-content {
    padding-right: 120px;
  }
  .company-info {
    padding-top: 40px;
  }
  .info-item {
    margin-bottom: 30px;
  }
  .info-text {
    font-size: 1rem;
  }
  .contact-form-section {
    margin-top: -150px;
  }
  .contact-form-grid {
    gap: 30px;
    padding: 0 16px;
  }
  .contact-form-wrapper {
    padding: 30px 24px;
  }
  .contact-form-title {
    font-size: 1.5rem;
  }
  .form-input,
  .form-select {
    padding: 14px 16px;
  }
  .submit-btn {
    padding: 16px 24px;
    font-size: 1rem;
  }
  .request-section {
    border-radius: 12px 80px 12px 12px;
    padding: 16px;
  }
  .request-title {
    font-size: 18px;
  }
  .request-text {
    font-size: 12px;
  }
  .request-cta {
    gap: 6px;
  }
}
/* Extra small devices (less than 576px) */
@media (max-width: 575.98px) {
  /* ===== Contact Header (Phones صغيرة) ===== */
  .contact-header-section {
    padding: 24px 0 0 0;
    margin-bottom: 24px;
  }
  .contact-header-background {
    width: 100vw;
    top: 24px;
    height: 200px; /* أقصى ارتفاع للهواتف الصغيرة */
    border-top-right-radius: 160px;
  }
  .contact-header-container {
    padding: 24px 0 120px; /* زيادة المسافة السفلية */
  }
  .contact-header-content {
    padding-right: 16px;
    text-align: center;
  }
  .contact-main-title {
    font-size: 1.8rem;
  }
  .contact-subtitle {
    font-size: 1rem;
  }
  .company-info {
    padding-top: 30px; /* زيادة أكبر للمسافة العلوية */
  }
  .hero {
    min-height: 50vh;
  }
  .hero-title {
    font-size: clamp(24px, 3.5vw, 32px);
    margin-bottom: 8px;
  }
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .hero-ctas {
    flex-direction: row; /* ← التغيير هنا */
    width: auto; /* ← التغيير هنا */
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap; /* ← للحفاظ على responsiveness */
    justify-content: center;
  }
  .btn {
    width: auto; /* ← التغيير هنا */
    justify-content: center;
    flex: 1; /* ← لجعل الأزرار متساوية العرض */
    min-width: 140px; /* ← عرض أدنى مناسب */
  }
  .sla-banner {
    margin-top: -40px;
    padding: 14px 16px;
  }
  .sla-text {
    font-size: 14px;
  }
  .form-input,
  .form-select {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .submit-btn {
    padding: 14px 20px;
    font-size: 0.9rem;
  }
  .footer-content {
    padding: 0 1rem;
  }
  .footer-main-title {
    font-size: 1.2rem;
  }
  .footer-subtitle {
    font-size: 0.8rem;
  }
  .contact-label {
    font-size: 0.8rem;
  }
  .contact-value {
    font-size: 0.9rem;
  }
  .social-icon {
    width: 30px;
    height: 30px;
  }
  .social-icon i {
    font-size: 0.8rem;
  }
  .copyright-text {
    font-size: 0.8rem;
  }
  .request-section {
    border-radius: 10px 60px 10px 10px;
    padding: 14px;
  }
  .request-title {
    font-size: 16px;
  }
  .request-text {
    font-size: 0.7rem;
  }
  .btn-primary,
  .btn-ghost {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}
/* Very small devices (less than 400px) */
@media (max-width: 399.98px) {
  .contact-header-background {
    height: 200px; /* زيادة إضافية للهواتف الصغيرة جداً */
  }
  .contact-header-container {
    padding: 24px 0 120px;
  }
  .company-info {
    padding-top: 20px;
  }
  .hero-title {
    font-size: clamp(20px, 3vw, 28px);
  }
  .hero-subtitle {
    font-size: 12px;
  }
  .contact-header-content {
    padding-right: 12px;
  }
  .contact-main-title {
    font-size: 1.4rem;
  }
  .contact-subtitle {
    font-size: 0.9rem;
  }
  .contact-form-wrapper {
    padding: 20px 16px;
  }
  .contact-form-title {
    font-size: 1.2rem;
  }
}
/* Landscape constraints */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
}
/* High resolution devices */
@media (min-resolution: 192dpi) {
  /* لا نلمس hero-background حتى لا نخرب التدرج */
  .contact-header-background {
    background-image: linear-gradient(rgba(0, 12, 5, 0.2), rgba(0, 12, 5, 0.9)), url("../assets/images/pattern contact.svg");
  }
}
/* Print */
@media print {
  .site-header,
  .footer-section {
    display: none;
  }
  body {
    background: white !important;
    color: black !important;
  }
  .hero,
  .about-section,
  .services-section,
  .pricing-section {
    break-inside: avoid;
  }
}

/*# sourceMappingURL=main.css.map */
