body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background-color: #fff;
}

.outer-wrapper {
  padding: 60px 40px;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

/* ===== بانر الفيديو ===== */
.hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: 75vh;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* الفيديو في الخلفية */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* الطبقة السوداء الشفافة فوق الفيديو */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75); /* شفافية يمكن تعديلها */
  z-index: 2;
}

/* ===== الهيدر ===== */
.hero-header {
  position: absolute;       /* يبقى داخل البانر */
  top: 20px;                /* المسافة من أعلى البانر */
  right: 20px;
  left: 20px;
  width: calc(100% - 40px); /* يضمن التوسّع بين اليمين واليسار */
  margin: 0;
  background-color: rgba(40, 40, 40, 0.55);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 10000;           /* أعلى من.overlay و .hero-content */
}


.hero-header img {
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* ===== المحتوى ===== */
.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 80px auto 0;
  z-index: 4;
  position: relative;
}

.hero-content h1 {
  font-size: 19px !important;
  font-weight: 900; /* تخين جداً */
  color: #ffffff;
  margin-bottom: 16px;
  white-space: nowrap;
  max-width: 100%;
  overflow: visible;
}









.hero-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 35px;
}





.cta-btn {
  background-color: #4F007D !important; /* ← غيّر هذا اللون */
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #5b3cd0; /* ← لون الهوفر */
}


/* ===== زر الاتصال ===== */
.call-btn {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background-color: #4F007D;
  border: none;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.call-btn:hover {
  background-color: #5b3cd0;
}

/* ===== استجابة للشاشات الصغيرة ===== */
@media (max-width: 768px) {
  .outer-wrapper {
    padding: 30px 20px;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    margin-top: 100px;
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .outer-wrapper {
    padding: 15px 12px;
  }

  .hero {
    min-height: 80vh;
  }

  /* ترتيب الهيدر */
  .hero-header {
    flex-direction: row;
    justify-content: space-between;
    padding: 8px 16px;
    border-radius: 12px;
  }

  .hero-header img {
    height: 32px;
  }

  .nav-links {
    display: none; /* نخفي الروابط على الموبايل */
  }

  /* المحتوى */
  .hero-content {
    margin-top: 40px;
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .cta-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  /* زر الاتصال */
  .call-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 18px;
    left: 18px;
  }
}

/* زر المينيو */
.menu-toggle {
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
  display: none;
}

/* القائمة المنسدلة */
.mobile-nav {
  display: none;
  position: absolute;
  top: 65px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  padding: 12px 0;
  width: 220px;
  text-align: right;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 12px 18px;
  font-size: 15px;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* إظهار الزر فقط على الموبايل */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }
}


body, h1, h2, h3, h4, h5, h6, p {
    font-family: "Cairo", sans-serif !important;
}


/* المبدأ: نخفي القائمة المكتوبة للديسكتوب في الموبايل ونخفي قائمة الموبايل في الديسكتوب */

/* القائمة المخصصة للديسكتوب تكون مخفية افتراضياً */
.desktop-nav {
  display: none;
}

/* عندما تكون الشاشة أكبر من 992px (ديسكتوب) */
@media (min-width: 992px) {
  .mobile-nav,
  .menu-toggle {
    display: none; /* نخفي قائمة الموبايل وزرها */
  }

  .desktop-nav {
    display: block; /* نظهر قائمة الديسكتوب */
  }

  .desktop-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
    justify-content: center;
  }

  .desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
  }

  .desktop-nav a:hover {
    color: #f5c542; /* لون جميل عند المرور */
  }
}

/* إخفاء قائمة الديسكتوب في الموبايل */
.desktop-nav {
  display: none;
}

/* تنسيق أيقونة اللغة */
.lang-switcher {
  position: relative;
  cursor: pointer;
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switcher span {
  font-size: 16px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  list-style: none;
  padding: 8px 0;
  z-index: 999;
  min-width: 120px;
}

.lang-dropdown li {
  text-align: right;
}

.lang-dropdown li a {
  display: block;
  padding: 6px 12px;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

.lang-dropdown li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* عند تمرير الماوس */
.lang-switcher:hover .lang-dropdown {
  display: block;
}

/* ديسكتوب */
@media (min-width: 992px) {
  .mobile-nav, .menu-toggle, #langSwitcherMobile {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .desktop-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
  }

  .desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
  }

  .desktop-nav a:hover {
    color: #f5c542;
  }
}

/* موبايل */
@media (max-width: 991px) {
  #langSwitcherMobile {
    display: inline-block;
    margin-left: 10px;
  }

  #langSwitcherMobile .lang-dropdown {
    right: 0;
    top: 30px;
  }
}


/* إعداد عام */
.hero-header {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

/* زر القائمة وأيقونة اللغة في نفس الخط */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* اللغة العامة */
.lang-switcher {
  position: relative;
  cursor: pointer;
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switcher span {
  font-size: 16px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  list-style: none;
  padding: 8px 0;
  z-index: 999;
  min-width: 120px;
}

.lang-dropdown li a {
  display: block;
  padding: 6px 12px;
  color: white;
  text-decoration: none;
}

.lang-dropdown li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* عند تمرير الماوس في الديسكتوب */
.lang-switcher:hover .lang-dropdown {
  display: block;
}

/* الموبايل */
@media (max-width: 991px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
  }

  #langSwitcherMobile {
    display: inline-block;
  }

  #langSwitcherMobile .lang-dropdown {
    right: 0;
    top: 30px;
  }

  .lang-switcher span {
    display: none; /* نخفي كلمة Language في الموبايل */
  }
}

/* الديسكتوب */
@media (min-width: 992px) {
  .mobile-nav,
  .menu-toggle,
  #langSwitcherMobile {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }

  .desktop-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
  }

  .desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
  }

  .desktop-nav a:hover {
    color: #f5c542;
  }

  #langSwitcherDesktop {
    display: flex;
    align-items: center;
  }
}


/* ترتيب زر اللغة وزر المينيو في الموبايل */
@media (max-width: 991px) {
  .header-right {
    display: flex;
    flex-direction: row-reverse; /* يجعل 🌐 يمين و ☰ يسار */
    gap: 10px;
  }
}

/* إظهار كلمة Language في الموبايل */
@media (max-width: 991px) {
  #langSwitcherMobile span {
    display: inline !important;
    color: white !important;
    font-size: 14px;
  }
}


/* ترتيب كلمة Language يسار الأيقونة في الموبايل */
@media (max-width: 991px) {
  #langSwitcherMobile {
    display: inline-flex !important;
    align-items: center;
    gap: 6px; /* مسافة صغيرة بين الأيقونة والنص */
    flex-direction: row-reverse; /* يجعل الأيقونة يمين والنص يسار */
  }

  #langSwitcherMobile span {
    display: inline-block !important;
    color: #fff !important;
    font-size: 14px;
  }
}


/* تكبير اللوغو بشكل مناسب */
.logo2030 {
  height: 65px !important; /* حجم جديد أكبر */
  width: auto;
}


@media (min-width: 992px) {

  /* جعل قائمة الديسكتوب أقرب للوسط */
  .desktop-nav {
    justify-content: center !important;
    gap: 40px; /* مسافة جميلة بين العناصر */
    margin-right: 80px; /* هنا نزيح القائمة نحو المركز */
  }

}


/* ===== سكشن الخدمات ===== */
/* ===== سكشن الخدمات ===== */
.services-hero {
  position: relative;
  min-height: 55vh;
  border-radius: 22px;
  overflow: hidden;
  padding: 0;              /* نلغي البادينغ حتى لا يدفع المحتوى للأعلى */
  margin: 40px 20px;
  z-index: 1;

  display: flex;
  justify-content: center;  /* توسيط أفقي */
  align-items: center;      /* توسيط عمودي داخل السيكشن */
}


/* ===== خلفية الفيديو ===== */
.services-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;           /* الفيديو أسفل */
}

/* ===== طبقة السواد الشفاف ===== */
.dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.80) !important; /* ← نفس درجة السواد في الأعلى */
  z-index: 2 !important;
  pointer-events: none;
}


/* ===== المحتوى فوق كله ===== */
.services-content {
  position: relative;
  z-index: 3 !important;           /* المحتوى أعلى الجميع */
  text-align: center;
  max-width: 600px;
  margin: auto;
  color: #fff;
}

.services-content h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.services-content p {
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.services-hero .cta-btn {
  background-color: #4F007D;
  color: #fff;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 600;
}

.services-hero .cta-btn:hover {
  background-color: #5b3cd0;
}

/* ===== موبايل ===== */
@media (max-width: 768px) {
  .services-hero {
    min-height: 70vh;
    padding: 35px 18px;
    margin: 30px 12px;
  }

  .services-content h1 {
    font-size: 1.6rem;
  }
}


.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* ← نفس الدرجة بالضبط */
  z-index: 2;
}


/* صف الخدمات */
.services-row {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: 40px 0; /* يعطي تنفس بدون رفع المحتوى */
}


/* كل بطاقة خدمة */
.services-content {
  background: rgba(255, 255, 255, 0.08); /* شفافية خفيفة */
  padding: 30px 25px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
  width: 45%;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* عنوان */
.services-content h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* نص */
.services-content p {
  font-size: 1rem;
  line-height: 1.7;
}

/* زر */
.services-content .cta-btn {
  display: inline-block;
  margin-top: 18px;
}

/* موبايل – صف واحد */
@media (max-width: 768px) {
  .services-row {
    flex-direction: column;
    gap: 18px;
  }

  .services-content {
    width: 100%;
  }
}


.services-content {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  padding: 30px 25px;

  /* حل مشكلة البوردر المقطوع */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset;
}



@media (max-width: 768px) {
  .services-content {
    margin: 12px auto; /* ← يجعل الكارد في المنتصف من اليمين واليسار */
    width: 80%;        /* ← يعطيه مساحة مناسبة في الوسط */
  }
}


.services-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #222;
}

 /*  خلفية القسم الاحصائيات*/
.stats-section {
  background: #fff;
  padding: 60px 0;
  direction: rtl;
  font-family: "Cairo", sans-serif;
}

/* مركز المحتوى */
.stats-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

/* عنوان القسم */
.stats-title {
  font-size: 36px;
  font-weight: 700;
  color: #3b235a; /* البنفسجي الداكن */
  line-height: 1.5;
  margin-bottom: 50px;
}

/* الشبكة */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* كل مربع */
.stat-box h3 {
  font-size: 36px;
  font-weight: 700;
  color: #3b235a; /* نفس البنفسجي */
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 18px;
  color: #4a4a4a;
  margin: 0;
}

/* موبايل */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stats-title {
    font-size: 28px;
  }
}

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

  .stat-box h3 {
    font-size: 32px;
  }
}

/* تنسيق عام لداخل سكشن الفيديو */
.contact-wrapper {
  width: 100%;
  position: relative;
  z-index: 3;
}

/* عنوان النموذج والليبل */
.contact-form label {
  color: #fff;
  font-size: 16px;
  margin-bottom: 6px;
  display: block;
}

/* الحقول */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5); /* بورد أبيض خفيف */
  border-radius: 6px;
  background: transparent !important; /* شفاف */
  color: #fff;
  font-size: 16px;
  outline: none;
  margin-bottom: 18px;
}

/* placeholder باللون الأبيض */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* السيلكت (القائمة المنسدلة) */
.contact-form select option {
  background: #000; /* تظهر داخل المنيو */
  color: #fff;
}

/* زر الإرسال */
.contact-form button {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

/* تحسين للموبايل */
@media(max-width: 600px) {
  .contact-wrapper {
    padding: 15px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 15px;
  }
}

/* حاوية الروابط */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* شكل كل عنصر تواصل */
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.5); /* بورد خفيف */
  border-radius: 8px;
  background: transparent;
  color: #fff;
  text-decoration: none;
}

/* الأيقونة */
.contact-item-icon {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* النص */
.contact-item h4 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 18px;
}

.contact-item p {
  margin: 0;
  color: rgba(255,255,255,0.85);
}

/* موبايل */
@media(max-width: 600px) {
  .contact-item {
    flex-direction: row;
  }
}

.main-footer {
  background: linear-gradient(180deg, #5d0f81 0%, #3a0b4f 100%);
  padding: 35px 0;
  text-align: center;
  position: relative;
  color: #fff;
  font-family: "Cairo", sans-serif;
}

.footer-content {
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

/* اللوغو */
.footer-main-logo {
  height: 55px;
  margin-bottom: 15px;
}

/* النص تحت اللوغو */
.footer-description {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.95;
  margin: 0 15px 25px 15px;
}

/* المنيوهات */
.footer-menu {
  margin-bottom: 25px;
}

.footer-menu h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu ul li {
  margin: 6px 0;
}

.footer-menu ul li a {
  color: #fff;
  opacity: 0.85;
  font-size: 15px;
  text-decoration: none;
  transition: 0.2s;
}

.footer-menu ul li a:hover {
  opacity: 1;
}

/* الشعارات */
.footer-logos {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 45px;
  opacity: 0.9;
}

/* النص السفلي */
.footer-text {
  font-size: 14px;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* زر الاتصال */
.footer-call {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: white;
  color: #5d0f81;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
}



/* 🔥 على الديسكتوب يصبح الفوتر 3 أعمدة */
@media (min-width: 900px) {
  .footer-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr; /* 3 أعمدة */
    gap: 40px;
    text-align: right;
  }

  .footer-text {
    grid-column: 1 / 4; /* يظهر أسفل الأعمدة */
    text-align: center;
    margin-top: 20px;
  }

  .footer-logos {
    grid-column: 1 / 4; /* تظهر بين الأعمدة والنص */
    margin-top: 10px;
  }

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

  .footer-menu {
    text-align: right;
  }

  .footer-description {
    margin-left: 0;
    margin-right: 0;
  }

  /* زر الاتصال يبقى ثابت */
  .footer-call {
    right: 25px;
    bottom: 25px;
  }
}


@media (min-width: 992px) {

  /* نجبر القائمة على أن تتحرك للوسط */
  .hero-header .desktop-nav {
    margin-right: 120px !important; /* حرّكها نحو الوسط */
  }

}


@media (min-width: 992px) {
  .hero-header {
    justify-content: space-around !important;
  }
}


@media (min-width: 992px) {
  #langSwitcherDesktop .lang-dropdown {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* يظهر فقط عند المرور */
  #langSwitcherDesktop:hover .lang-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}


@media (min-width: 992px) {

  /* اجبار القائمة على الإغلاق افتراضيًا */
  #langSwitcherDesktop .lang-dropdown {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
  }

  /* تظهر عند المرور على المربع كله */
  #langSwitcherDesktop:hover .lang-dropdown,
  #langSwitcherDesktop .lang-dropdown:hover {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }
}


/* ==========================================================
     القوائم — موبايل
========================================================== */

#mobileNav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  height: 100vh;
  background: #1a1a1a;
  padding: 40px 20px;
  z-index: 999999;
  transform: translateX(100%);
  transition: 0.35s ease-in-out;
}

#mobileNav.show-nav {
  display: block;
  transform: translateX(0);
}

/* زر المينيو */
#menuToggle {
  cursor: pointer;
  font-size: 28px;
  color: #fff;
}

/* ==========================================================
     أزرار التواصل العائمة
========================================================== */

/* =================== أزرار التواصل العائمة =================== */
.floating-contact {
  position: fixed;
  bottom: 120px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999999;
}

.contact-btn {
  width: 55px;
  height: 55px;
  background: #5458a2;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  transition: 0.25s;
}

.contact-btn:hover {
  transform: scale(1.12);
  background: #3d40a0;
}

/* =================== زر الواتساب =================== */
.whatsapp-chat {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999999;
}

/* زر الواتساب */
.chat-button {
  width: 65px;
  height: 65px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  transition: 0.25s;
}

.chat-button:hover {
  transform: scale(1.12);
}

/* صندوق البوب-اب */
.chat-popup {
  position: fixed !important;
  bottom: 100px !important;
  right: 25px !important;
  left: auto !important;

  width: 290px;
  background: white;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  display: none;
  z-index: 999999 !important;
}

.chat-popup.open {
  display: block;
}

/* رأس البوب-اب */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #25d366;
  border-radius: 15px 15px 0 0;
  color: white;
}

.chat-header img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.close-btn {
  margin-right: auto;
  cursor: pointer;
  font-size: 22px;
}

/* نص البوب-اب */
.chat-body {
  padding: 15px;
}

.chat-send-btn {
  margin-top: 8px;
  display: block;
  background: #25d366;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
}









.cta-btn {
  display: block;
  width: 85%;                /* نفس عرض الزر في الصورة */
  margin: 20px auto 0;
  background-color: #4F007D !important; /* نفس التدرج البنفسجي الأقرب للصورة */
  color: #fff;
  text-align: center;
  padding: 14px 0;           /* ارتفاع ممتاز مثل الصورة */
  font-size: 17px;
  font-weight: 600;
  border-radius: 14px;       /* نفس انحناء الحواف */
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.18);
}





/* ==========================================================
   إصلاح ظهور قوائم الهيدر — نسخة نظيفة ومضمونة
========================================================== */

/* 1 — موبايل (إخفاء قائمة الديسكتوب) */
@media (max-width: 991px) {
  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: inline-block !important;
  }

  .mobile-nav {
    display: none;
  }
}

/* 2 — ديسكتوب (إظهار قائمة الديسكتوب وإخفاء الموبايل) */
@media (min-width: 992px) {
  .desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 25px;
  }

  .mobile-nav,
  .menu-toggle,
  #langSwitcherMobile {
    display: none !important;
  }
}

/* 3 — منع أي display:none سابق أن يؤثر */
.desktop-nav {
  display: flex !important;
}





/* ===== تصحيح ظهور قائمة الديسكتوب ===== */
@media (min-width: 992px) {
  .desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 25px;
  }

  /* إخفاء قائمة الموبايل */
  .mobile-nav,
  .menu-toggle,
  #langSwitcherMobile {
    display: none !important;
  }
}







/* ========================================
   نخبة المنافذ - Ports Elite
   نمط شامل احترافي - نسخة محدثة
   ======================================== */

/* ========== إعادة تعيين عامة ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.footer-sections {
  display: grid;
  grid-template-columns: 1fr 1fr; /* عمودين */
  gap: 20px;
}

/* للأجهزة الكبيرة ممكن ترجعه واحد */
@media (min-width: 768px) {
  .footer-sections {
    grid-template-columns: 1fr 1fr 1fr 1fr; /* مثلاً أربع أعمدة */
  }
}

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

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ========== متغيرات الألوان والخطوط ========== */
:root {
    --purple-dark: #3d4172;        /* أزرق/بنفسجي غامق */
    --purple-medium: #5458a2;      /* أزرق/بنفسجي متوسط (اللون الأساسي) */
    --purple-light: #6d72b5;       /* أزرق/بنفسجي فاتح */
    --purple-accent: #8e93c8;      /* أزرق/بنفسجي خفيف */
    --purple-very-light: #b5b9e0;  /* أزرق/بنفسجي خفيف جداً */
    --slate-dark: #1E293B;         /* رصاصي غامق جداً */
    --slate-medium: #334155;       /* رصاصي غامق */
    --slate-light: #475569;        /* رصاصي متوسط */
    --white: #FFFFFF;              /* أبيض */
    --white-off: #F8FAFC;          /* أبيض مائل للرصاصي */
    --text-dark: #0F172A;          /* نص غامق */
    --text-light: #64748B;         /* نص فاتح */
    --border-color: #E2E8F0;       /* لون الحدود */
    --shadow-sm: 0 2px 8px rgba(84, 88, 162, 0.1);
    --shadow: 0 10px 30px rgba(84, 88, 162, 0.15);
    --shadow-lg: 0 20px 50px rgba(84, 88, 162, 0.2);
    --shadow-purple: 0 10px 40px rgba(84, 88, 162, 0.3);
    
    --font-primary: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Cairo', 'Droid Arabic Kufi', sans-serif;
    
    /* حركات */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== إعادة تعيين عام ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    direction: rtl;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, var(--white) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(181, 185, 224, 0.02) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(109, 114, 181, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

body[dir="ltr"] {
    direction: ltr;
}

body[dir="ltr"] .header-container,
body[dir="ltr"] .container,
body[dir="ltr"] .footer-content {
    direction: ltr;
}

body[dir="ltr"] .nav-menu a::after {
    right: auto;
    left: 0;
}

body[dir="ltr"] .contact-item:hover {
    transform: translateX(8px);
}

body[dir="ltr"] .floating-actions {
    left: auto;
    right: 30px;
}

@media (max-width: 768px) {
    body[dir="ltr"] .floating-actions {
        right: 20px;
        left: auto;
    }
}

@media (max-width: 480px) {
    body[dir="ltr"] .floating-actions {
        right: 15px;
        left: auto;
    }
}

/* ========== الروابط والأزرار ========== */
a {
    color: var(--purple-medium);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
}

a:hover {
    color: var(--purple-dark);
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
}



.header-actions .theme-toggle-btn,
.header-actions .lang-toggle-btn {
  display: none !important;
}


/* ========== الأزرار الرئيسية ========== */
.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}


.btn-primary {
    background: linear-gradient(135deg, #5458a2 0%, #6d72b5 100%);
    color: var(--white) !important;
    box-shadow: 0 6px 20px rgba(84, 88, 162, 0.3);
    border: 2px solid transparent;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3d4178 0%, #4a4e8f 100%);
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(84, 88, 162, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--slate-medium) 0%, var(--slate-light) 100%);
    color: var(--white) !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--slate-dark) 0%, var(--slate-medium) 100%);
    color: var(--white) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: var(--white);
    color: #3d4178 !important;
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}








/* === الإصلاح النهائي لقائمة الديسكتوب === */
@media (min-width: 992px) {

  /* إظهار قائمة الديسكتوب دائمًا */
  .desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 25px;
    z-index: 99999999;
  }

  /* إخفاء عناصر الموبايل */
  #menuToggle,
  .mobile-nav,
  #langSwitcherMobile {
    display: none !important;
  }
}

/* في الموبايل نخفي الديسكتوب */
@media (max-width: 991px) {
  .desktop-nav {
    display: none !important;
  }
}




.contact-form-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: #000;
  margin: 0 0 25px;
}






