/* 🌐 إعدادات عامة */
body {
  font-family: 'Cairo', Arial, sans-serif;
  margin: 0;
  padding: 0;
  direction: rtl;
  background: #f4f6f9;
  color: #333;
  line-height: 1.6;
}

/* 🖼 الحاوية الرئيسية */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 15px;
  text-align: center;
}

/* 📌 صورة البانر */
.video-banner {
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 🎯 العناوين */
h1 {
  color: #0056b3;
  font-size: 2.2em;
  margin: 20px 0;
  font-weight: 700;
}

h2 {
  color: #222;
  margin-top: 40px;
  font-weight: 700;
}

/* 📜 الفقرات */
p {
  font-size: 1.1em;
  color: #555;
}

/* 🟢 أزرار التحميل */
.download-btn {
  display: inline-block;
  margin: 10px 5px;
  padding: 14px 25px;
  background: linear-gradient(45deg, #28a745, #1e7e34);
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(40,167,69,0.3);
  transition: all 0.3s ease;
}
.download-btn:hover {
  background: linear-gradient(45deg, #1e7e34, #28a745);
  transform: translateY(-2px);
}

/* 🔵 أزرار إضافية */
.extra-buttons a {
  display: inline-block;
  margin: 10px 5px;
  padding: 12px 20px;
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,123,255,0.3);
  transition: all 0.3s ease;
}
.extra-buttons a:hover {
  background: linear-gradient(45deg, #0056b3, #007bff);
  transform: translateY(-2px);
}

/* 🎥 قسم الفيديو الواحد */
.video-section {
  margin-top: 40px;
}

.single-video {
  max-width: 800px;
  margin: auto;
}

.single-video iframe {
  width: 100%;
  height: 450px; /* لسطح المكتب */
  border-radius: 10px;
}

.video-box p {
  margin-top: 10px;
  font-weight: bold;
  color: #444;
}

/* 📊 جدول المقارنة */
.comparison-table {
  margin-top: 40px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

thead {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
}

th, td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

tbody tr:hover {
  background-color: #f9f9f9;
}

/* 📞 قسم التواصل */
.contact {
  margin-top: 40px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact p {
  margin: 8px 0;
  font-weight: bold;
  color: #333;
}

.contact a {
  text-decoration: none;
}

/* 🔗 أزرار التواصل الاجتماعي */
.social-buttons a {
  display: inline-block;
  margin: 5px;
  padding: 10px 18px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

.whatsapp-btn {
  background: #25d366;
}
.whatsapp-btn:hover {
  background: #1ebe5b;
}

.facebook-btn {
  background: #3b5998;
}
.facebook-btn:hover {
  background: #2d4373;
}

.messenger-btn {
  background: #0084ff;
}
.messenger-btn:hover {
  background: #006edc;
}

/* 📱 تصميم متجاوب */
@media (max-width: 768px) {
  h1 {
    font-size: 1.6em;
  }

  p {
    font-size: 1em;
  }
  
  .download-btn, .extra-buttons a, .social-buttons a {
    display: block;
    margin: 10px auto;
    width: 90%;
  }

  th, td {
    font-size: 0.85em;
    padding: 8px;
  }

  .single-video iframe {
    height: 250px; /* للموبايل */
  }
}
