body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  scroll-behavior: smooth;
}

/* فواصل مخصصة */
.section-divider {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  z-index: 10;
}

.divider-white-to-blue {
  background: linear-gradient(to bottom, #ffffff 0%, #f5f7fb 100%);
}

.divider-blue-to-white {
  background: linear-gradient(to bottom, #f5f7fb 0%, #ffffff 100%);
}

.divider-blue-to-dark {
  background: linear-gradient(to bottom, #ffffff 0%, #053472 100%);
}

.divider-dark-to-blue {
  background: linear-gradient(to bottom, #053472 0%, #031b3a 100%);
}

.divider-dark-to-white {
  background: linear-gradient(to bottom, #031b3a 0%, #ffffff 100%);
}

/* عناصر زخرفية للفواصل */
.divider-shape {
  position: absolute;
  width: 150%;
  height: 60px;
  bottom: 0;
  left: -25%;
  border-radius: 50% 50% 0 0;
}

.divider-shape-light {
  background: rgba(255, 255, 255, 0.1);
}

.divider-shape-dark {
  background: rgba(5, 52, 114, 0.1);
}

/* تأثير للمهمة */
/* #mission {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
} */

/* مؤشر التنقل بين الأقسام */
.section-indicator {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(5, 52, 114, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.section-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(5, 52, 114, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.section-dot:hover {
  background: #92850e;
  transform: scale(1.3);
}

.section-dot.active {
  background: #053472;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(146, 133, 14, 0.3);
}

.section-dot::after {
  content: attr(data-title);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #053472;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.section-dot:hover::after {
  opacity: 1;
}

/* تأثيرات للعناوين عند الظهور */
.section-title {
  position: relative;
  overflow: hidden;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #92850e, transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.section-title.in-view::after {
  transform: translateX(100%);
}

/* تأثير للكروت عند الظهور */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* تحسين تأثير Parallax للجوال */
@media (max-width: 768px) {
  #mission {
    background-attachment: scroll;
  }

  .section-indicator {
    left: 10px;
    padding: 10px 5px;
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  scroll-behavior: smooth;
}

/* فواصل مخصصة بين أقسام الخدمات */
.services-divider {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-white-to-gray {
  background: linear-gradient(to bottom, #ffffff 0%, #f5f7fb 100%);
}

.divider-gray-to-white {
  background: linear-gradient(to bottom, #f5f7fb 0%, #ffffff 100%);
}

/* شريط القسم مع أيقونة */
.section-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(5, 52, 114, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(146, 133, 14, 0.2);
  box-shadow: 0 5px 15px rgba(5, 52, 114, 0.1);
}

.section-bar span {
  font-size: 14px;
  font-weight: 600;
  color: #053472;
}

.section-bar i {
  color: #92850e;
  font-size: 16px;
}

/* تأثيرات الظهور للعناصر في أقسام الخدمات */
.service-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* خط زمني متحرك */
.timeline-line {
  position: relative;
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, #053472, #92850e);
  transition: height 1.5s ease;
}

.timeline-line.animated::before {
  height: 100%;
}

/* مؤشر تقدم للأقسام */
.progress-indicator {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 10px;
  border-radius: 20px;
  border: 1px solid rgba(5, 52, 114, 0.2);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-step:hover .step-circle {
  transform: scale(1.2);
}

.step-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(5, 52, 114, 0.2);
  transition: all 0.3s ease;
}

.step-circle.active {
  background: #053472;
  box-shadow: 0 0 0 3px rgba(146, 133, 14, 0.3);
}

.step-circle.completed {
  background: #92850e;
}

.step-label {
  font-size: 10px;
  color: #053472;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.progress-step:hover .step-label {
  opacity: 1;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
  .services-divider {
    height: 60px;
  }

  .section-bar {
    padding: 6px 15px;
  }

  .section-bar span {
    font-size: 12px;
  }

  .progress-indicator {
    display: none;
  }
}

/* تأثيرات للكروت */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(5, 52, 114, 0.15) !important;
}

// ----------------------------------------------------------

.partners-section {
  width: 100%;
  padding: 20px 0;
}

.partners-title {
  text-align: center; /* ✅ في المنتصف */
  font-size: 22px;
  font-weight: 800;
  color: #053472;
  margin: 0 0 14px; /* ✅ مسافة بين النص والصور */
  letter-spacing: 0.2px;
}

/* كودك كما هو */
.partners-marquee {
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  width: 100%;
}

.partners-track {
  display: flex;
  width: 100%;
  padding: 0 18px;
}

.partners-group {
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ هذا اللي يوسّط الشعارات */
  gap: 18px;
  width: 100%;
  flex-wrap: wrap; /* ✅ اختياري: لو زادوا الشعارات تنزل سطر */
}

.partner-card {
  height: 100px;
  width: 150px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  flex: 0 0 auto;
}

.partner-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

// ----------------------------------------------------------
#mobile-menu {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 1000px; /* أو قيمة كبيرة تكفي */
}

#mobile-menu.closed {
  max-height: 0;
}
