@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap");

/* تصحيح خطأ المحدد ليعمل box-sizing على جميع العناصر لمنع السكرول الأفقي */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: #0f172a;
  margin: 0;
  padding: 0;
  color: #1e293b;
  overflow-x: hidden; /* منع التمرير الأفقي في أجهزة الجوال */
}

/* التخطيط العام */
.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

/* الشريط العلوي */
.top-bar {
  background: linear-gradient(90deg, #000000, #6fa5b7);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.top-bar-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: #000000;
}
@media (min-width: 640px) {
  .top-bar-content {
    flex-direction: row;
  }
}
.info-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.time-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.time-info i {
  color: #000000;
}
.location-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #3888f8;
  font-weight: 600;
}
.social-link {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #0958b8;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
}

/* الهيدر الرئيسي */
.main-header {
  background-color: #ffffff;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 40;
  transition: all 0.3s ease;
  width: 100%;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.95rem;
}

.menu-toggle-btn {
  display: flex;
  background: #6ad1bb;
  border: none;
  color: #0f172a;
  font-size: 1.35rem;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.menu-toggle-btn:hover {
  background: #25eb60;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .menu-toggle-btn {
    display: none;
  }
}

/* تنسيق صورة اللوجو */
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img.small {
  height: 34px;
}

.logo-area:hover .logo-img {
  transform: scale(1.05);
}

.logo-text h1 {
  color: #030408;
  font-weight: 900;
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.2;
}

.logo-text h2 {
  color: #030408;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
}

.logo-text span {
  color: #020509;
  font-size: 0.65rem;
  font-weight: 700;
}

/* القائمة الرئيسية للشاشات الكبيرة */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  text-decoration: none;
  color: #334155;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #37a9c0, #1b8bb4);
  transition: width 0.3s ease;
  border-radius: 3px;
}

.nav-link.active,
.nav-link:hover {
  color: #000000;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* القوائم المنسدلة في سطح المكتب */
.dropdown-container {
  position: relative;
  cursor: pointer;
  padding: 0.5rem 0;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #334155;
  transition: color 0.3s ease;
}

.dropdown-container:hover .dropdown-toggle {
  color: #1e919d;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 14rem;
  background-color: #d0e7ea;
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.6rem 0;
  display: none;
  border: 1px solid #175a9d;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-container:hover .dropdown-menu {
  display: block;
}

.brands-menu {
  max-height: 18rem;
  overflow-y: auto;
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border-right: 3px solid transparent;
}

.dropdown-menu a:hover {
  background-color: #f0f6ff;
  color: #2563eb;
  border-right-color: #2563eb;
  padding-right: 1.5rem;
}

/* أزرار الاتصال الهيدر */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-hotline,
.btn-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  padding: 0.55rem 0.9rem;
  border-radius: 50px;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .btn-hotline,
  .btn-phone {
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    gap: 0.5rem;
  }
}

.btn-hotline {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
}

.btn-phone {
  display: none;
  background: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
}

@media (min-width: 640px) {
  .btn-phone {
    display: flex;
  }
}

/* أنيميشن النبض */
.pulse-orange {
  animation: pulseOrange 2s infinite;
}

@keyframes pulseOrange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 107, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

.pulse-blue {
  animation: pulseBlue 2s infinite 0.5s;
}

@keyframes pulseBlue {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 102, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
  }
}

.pulse-green {
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.btn-hotline:hover,
.btn-phone:hover {
  transform: translateY(-3px) scale(1.03);
}

/* القائمة الجانبية للجوال (Responsive Drawer) */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%; /* استخدام نسبة مئوية لضمان التجاوب مع كل أنواع الهواتف */
  max-width: 320px;
  height: 100%;
  background-color: #ffffff;
  z-index: 51;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fafc;
}

.close-btn {
  background: #fee2e2;
  border: none;
  color: #ef4444;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

.drawer-body {
  padding: 1rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.875rem;
  color: #0f172a;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  transition: all 0.3s ease;
}

.drawer-link:hover {
  background-color: #f0f6ff;
  color: #2563eb;
  padding-right: 1.15rem;
}

.drawer-link.main-color {
  color: #2563eb;
  background: #f0f6ff;
}

.drawer-link i {
  width: 1.25rem;
  color: #2563eb;
  text-align: center;
}

/* القوائم المنسدلة للموبايل */
.drawer-dropdown-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: transparent;
  border: none;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-align: right;
  font-family: "Cairo", sans-serif;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.drawer-dropdown-btn:hover {
  background-color: #f0f6ff;
  color: #2563eb;
}

.drawer-dropdown-btn span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-dropdown-btn span i {
  width: 1.25rem;
  color: #2563eb;
  text-align: center;
}

.drawer-submenu {
  padding-right: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.drawer-submenu.hidden {
  display: none;
}

.drawer-submenu.scrollable {
  max-height: 12rem;
  overflow-y: auto;
}

.drawer-submenu a {
  text-decoration: none;
  color: #64748b;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.drawer-submenu a:hover {
  color: #2563eb;
  background-color: #f0f6ff;
  padding-right: 0.75rem;
}

.drawer-footer {
  padding: 1rem;
  border-top: 1px solid #f1f5f9;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  padding: 0.75rem 0.85rem;
  border-radius: 50px;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.drawer-btn.orange {
  background: linear-gradient(135deg, #ff6b00, #ff8800);
}
.drawer-btn.blue {
  background: linear-gradient(135deg, #0052cc, #0066ff);
}
.drawer-btn.green {
  background: linear-gradient(135deg, #10b981, #059669);
}

/* الأزرار العائمة للموبايل */
.floating-buttons {
  position: fixed;
  bottom: 1.25rem;
  left: 1rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.12);
}

.float-btn.whatsapp {
  background-color: #22c55e;
}
.float-btn.phone {
  background-color: #ff8800;
}

/* تحسين الاستجابة للشاشات الصغيرة جداً (أقل من 380px) */
@media (max-width: 380px) {
  .logo-text h1 {
    font-size: 1rem;
  }
  .logo-text span {
    display: none; /* إخفاء النص الفرعي لتوفير المساحة */
  }
  .btn-hotline {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .mobile-drawer {
    width: 88%;
  }
}

/* دوران الأسهم */
.rotate-180 {
  transform: rotate(180deg);
}

#screensArrow,
#brandsArrow {
  transition: transform 0.25s ease;
}
/* تنسيقات قسم البطل (Hero Section) */
.hero-section {
  background-color: #0b1329; /* لون احتياطي في حال تأخر تحميل الصورة */
  color: #ffffff;
  padding: 4rem 1rem 5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
/* ضبط صورة الـ HTML لتغطي الخلفية بالكامل */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* لتجنب قص الصورة */
  object-position: center;
  z-index: 1; /* الطبقة الأولى في الخلف */
}

/* طبقة التظليل (Overlay) فوق الصورة لتوضيح النصوص */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 50, 106, 0.93) 0%,
    rgba(0, 0, 0, 0.88) 100%
  );
  z-index: 2; /* الطبقة الثانية فوق الصورة مباشرة */
}

/* محتوى السيكشن (النصوص، الأزرار، الكروت) تظهر فوق الصورة والتظليل تماماً */
.hero-content {
  position: relative;
  z-index: 3; /* الطبقة العليا لضمان تفاعل المستخدم ووضوح النصوص */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero-subtitle {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-description {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 750px;
  margin: 0 auto;
}

/* شبكة الإحصائيات والأرقام */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 750px;
  margin: 1.5rem 0;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: #38bdf8;
}

.stat-label {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* أزرار الاتصال داخل القسم */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-btn.hotline {
  background: linear-gradient(135deg, #ff6b00, #ff8800);
}

.hero-btn.whatsapp {
  background: linear-gradient(135deg, #10b981, #059669);
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

/* الشارات الثلاثة في الأسفل */
.hero-badges {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-item i {
  color: #f59e0b;
}
/* حاوية وتنسيق الصورة تحت الكلام */
.hero-image-container {
  width: 100%;
  max-width: 850px;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-main-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* تأثير جمالي عند تمرير الماوس فوق الصورة */
.hero-main-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.25);
}

@media (max-width: 768px) {
  .hero-image-container {
    margin-top: 1.5rem;
  }
  .hero-main-img {
    max-height: 250px;
    border-radius: 12px;
  }
}
/* الحاوية الرئيسية للصور الثلاث */
.gallery-container {
  display: flex;
  flex-wrap: wrap; /* للسماح بنزول الصور تحت بعض في الشاشات الصغيرة */
  justify-content: center;
  gap: 20px; /* المسافة بين الصور */
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* بطاقات الصور */
.img-card {
  flex: 1 1 300px; /* العرض يتوسع بالتساوي وبحد أدنى 300px ليكون متجاوباً */
  max-width: 380px; /* أقصى عرض للبطاقة */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* تأثير عند مرور الماوس */
.img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ضبط حجم وحجم الصور */
.img-card img {
  width: 100%;
  height: 250px;
  object-fit: cover; /* يمنع تشوه أو مط الصورة */
  display: block;
}

/* عنوان الصورة */
.card-title {
  padding: 15px;
  text-align: center;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #eceaea;
}
/* تنسيقات سيكشن أنواع الشاشات */
.screens-types-section {
  background-color: #f8fafc;
  padding: 5rem 1rem;
  text-align: center;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-badge {
  background: #e0f2fe;
  color: #0284c7;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.section-desc {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}
/* شبكة الكروت (Grid) */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .screens-grid {
    grid-template-columns: repeat(3, 1fr); /* هنا خليناها 3 أعمدة بدل 4 */
  }
}
/* تصميم الكارت الواحد */
.screen-card {
  background: linear-gradient(135deg, #81a8b0, #655f5f);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.screen-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(77, 124, 227, 0.1);
  border-color: #000000;
}

/* أيقونة الكارت الملونة */
.card-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.screen-card:hover .card-icon-box {
  transform: scale(1.1) rotate(5deg);
}

/* ألوان الأيقونات المختلفة مطابقة للصورة */
.card-icon-box.purple {
  background-color: #f3e8ff;
  color: #9333ea;
}
.card-icon-box.pink {
  background-color: #ffe4e6;
  color: #f43f5e;
}
.card-icon-box.green {
  background-color: #dcfce7;
  color: #16a34a;
}
.card-icon-box.blue {
  background-color: #e0f2fe;
  color: #0284c7;
}
.card-icon-box.teal {
  background-color: #ccfbf1;
  color: #0d9488;
}
.card-icon-box.orange {
  background-color: #ffedd5;
  color: #f97316;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.825rem;
  color: #000000;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* رابط "اعرف المزيد" مع السهم المتحرك */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ea6907;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-link i {
  transition: transform 0.3s ease;
}

.screen-card:hover .card-link i {
  transform: translateX(-5px); /* تحريك السهم لليسار عند الهوفر */
}

.card-link:hover {
  color: #f4f1ee;
}
/* تنسيق زر العودة إلى الأعلى */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem; /* يظهر في أقصى اليمين، بينما الأزرار العائمة الأخرى في اليسار */
  width: 3.2rem;
  height: 3.2rem;
  background-color: #0c3298;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* حالة ظهور الزر عند التمرير */
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: #00143f;
  transform: translateY(-4px) scale(1.08);
}
/* تنسيقات سيكشن الماركات */
.brands-section {
  background-color: #ffffff;
  padding: 5rem 1rem;
  text-align: center;
}

/* شبكة كروت الماركات */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(
      7,
      1fr
    ); /* 7 كروت في السطر للشاشات الكبيرة مطابقة للصورة */
  }
}

/* تصميم كارت الماركة الواحد */
.brand-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* الكارت المحدد افتراضياً (مثل فيليبيس في الصورة) */
.brand-card.active,
.brand-card:hover {
  transform: translateY(-5px);
  border-color: #2563eb;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
}

.brand-name-en {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #0f172a;
  font-family: Arial, sans-serif;
}
.brands-grid .brand-card {
  text-decoration: none;
}
.brand-name-ar {
  font-size: 0.825rem;
  font-weight: 700;
  color: #64748b;
}

/* ألوان مميزة لبعض العلامات التجارية مطابقة للصورة */
.brand-name-en.text-red {
  color: #dc2626;
}
.brand-name-en.text-blue {
  color: #2563eb;
}
.brand-name-en.text-green {
  color: #16a34a;
}
.brand-name-en.text-orange {
  color: #f97316;
}
/* تنسيقات سيكشن مميزاتنا / ليه تختارنا */
.why-us-section {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  padding: 5rem 1rem;
  text-align: center;
}

/* شبكة الكروت للمميزات */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* تصميم الكارت الواحد مع تدرجات وإضاءة خفيفة */
.why-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: right;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* تأثير خط ملون متحرك عند الهوفر أسفل الكارت */
.why-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  transition: width 0.35s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
  border-color: #cbd5e1;
}

.why-card:hover::after {
  width: 100%;
}

.why-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.why-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.why-card-text {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* مربعات الأيقونات ذات التدرجات الملونة غير السادة */
.why-icon-box {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.why-card:hover .why-icon-box {
  transform: scale(1.1) rotate(-6deg);
}

/* تدرجات الألوان غير السادة للأيقونات */
.yellow-grad {
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
}
.green-grad {
  background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
}
.blue-grad {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}
.purple-grad {
  background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
}
.red-grad {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
}
.sky-grad {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}
/* تنسيقات سيكشن مناطق التغطية */
.coverage-section {
  background-color: #f8fafc;
  padding: 3.5rem 1rem;
  text-align: center;
}

/* الهيدر والعنوان */
.coverage-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}

.coverage-header h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

@media (min-width: 640px) {
  .coverage-header h2 {
    font-size: 2rem;
  }
}

.coverage-header p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  max-width: 600px;
}

/* شبكة الكروت المتجاوبة */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 500px) {
  .coverage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .coverage-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .coverage-grid {
    grid-template-columns: repeat(
      7,
      1fr
    ); /* 7 كروت في السطر لتطابق الصورة تماماً */
    gap: 1.1rem;
  }
}

/* تصميم الكارت الواحد للمحافظة */
.coverage-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.coverage-card i {
  font-size: 1.25rem;
  color: #2563eb;
  transition: transform 0.3s ease;
}

.coverage-card span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
}

.coverage-card:hover {
  transform: translateY(-5px);
  border-color: #2563eb;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12);
  background-color: #ffffff;
}

.coverage-card:hover i {
  transform: scale(1.2);
  color: #1d4ed8;
}
/* ==========================================
   تنسيقات سلايدر آراء العملاء
   ========================================== */
.testimonials-section {
  background: #f8fafc;
  padding: 4rem 1rem;
  overflow: hidden;
}

.testimonials-slider-container {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonials-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0;
}

.testimonials-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* تصميم كارت التقييم */
.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: right;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .testimonial-card {
    min-width: calc(50% - 0.625rem);
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    min-width: calc(33.333% - 0.85rem);
    padding: 1.75rem;
  }
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}

.user-info span {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stars {
  color: #f59e0b;
  font-size: 0.85rem;
  display: flex;
  gap: 0.15rem;
}

.testimonial-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.75;
  margin: 0;
  flex-grow: 1;
}

.testimonial-date {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: left;
  margin-top: auto;
}

/* أزرار السلايدر الجانبية (للكمبيوتر) */
.slider-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e3a8a;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.slider-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: scale(1.08);
}

/* النقاط والحاويات السفلية */
.slider-controls-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background: #2563eb;
  width: 24px;
  border-radius: 50px;
}

/* ==========================================
   تعديلات خاصة بالشاشات الصغيرة (الموبايل)
   ========================================== */
@media (max-width: 767px) {
  /* إخفاء الأزرار الجانبية التي تضغط الكارت في الموبايل */
  .testimonials-slider-container .slider-btn {
    display: none;
  }

  .testimonials-slider-container {
    padding: 0;
  }

  .testimonial-card {
    padding: 1.25rem;
  }
}
/* تنسيقات سيكشن الأسئلة الشائعة */
.faq-section {
  background-color: #f8fafc;
  padding: 5rem 1rem;
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* تنسيق المربع الواحد (FAQ Item) */
.faq-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.3s ease;
}

/* هوفر جميل للمربع */
.faq-item:hover {
  border-color: #2563eb;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

/* زر السؤال */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Cairo", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  text-align: right;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #2563eb;
}

/* أيقونة السهم */
.faq-icon {
  font-size: 0.85rem;
  color: #64748b;
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #2563eb;
}

.faq-item.active .faq-question {
  color: #2563eb;
}

/* صندوق الإجابة المخفي والمفتوح */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.35s ease;
  background: #f8fafc;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* مساحة كافية لاحتواء النص */
  padding: 1.25rem 1.5rem;
  border-top-color: #f1f5f9;
}

.faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.8;
}
/* تنسيقات قسم الـ CTA الأول */
.cta-section {
  background: linear-gradient(135deg, #0b1329 0%, #1e3a8a 100%);
  padding: 4rem 1rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.2rem;
  }
}

.cta-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cta-btn.whatsapp {
  background: linear-gradient(135deg, #10b981, #059669);
}
.cta-btn.hotline {
  background: linear-gradient(135deg, #ff6b00, #ff8800);
}
.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

/* تنسيقات الفوتر (Footer Section) الثاني */
.main-footer {
  background-color: #2c3347;
  color: #94a3b8;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: right;
}

.footer-grid {
  display: grid;
  -ms-grid-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 3px;
  background-color: #2563eb;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-links li,
.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  text-decoration: none;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(-4px);
}

.footer-links i {
  color: #38bdf8;
  font-size: 0.75rem;
}

/* معلومات الشعار والنبذة في الفوتر */
.footer-logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  font-size: 1.75rem;
  color: #38bdf8;
}

.footer-logo-text h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0;
}

.footer-logo-text span {
  color: #64748b;
  font-size: 0.7rem;
}

.footer-about {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  transform: translateY(-3px);
}

/* شريط حقوق النشر السفلي */
.footer-bottom {
  background-color: #050a15;
  padding: 1.25rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 0.5rem;
  text-align: center;
}
/* تنسيق صورة الشعار في الفوتر */
.footer-logo-img {
  width: 48px; /* العرض المطلوب للشعار، يمكنك تعديله حسب رغبتك (مثلاً 40px أو 50px) */
  height: 48px; /* الارتفاع */
  object-fit: contain; /* لضمان عدم قص أطراف اللوجو وتناسبه داخل المربع */
  border-radius: 8px; /* زوايا دائرية خفيفة إذا أردت، أو احذفها */
}

@media (min-width: 640px) {
  .footer-bottom-flex {
    flex-direction: row;
    text-align: right;
  }
}
