/* ---------------------Contenu Principal--------------------- */

.marketing-container {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-top: 50px;
}

.marketing-text {
  margin: 0;
  padding: 0;
}

.marketing-text h1 {
  font-size: 60px;
}

.marketing-text .promotion-text {
  font-size: 29px;
}

.marketing-image {
  flex: 0 0 auto;
  background: inherit;
  display: inline-block;
  border-radius: 8px;
}

.marketing-image img {
  width: 520px;
  height: auto;
}

/* Style pour le surlignage */
.highlight {
  color: #f30367;
}

/* Masquer les boutons de navigation Swiper */
.swiper-button-next,
.swiper-button-prev {
  display: none;
}

/* Style pour les boutons sous la section principale mais au-dessus du Swiper */
.cta-buttons {
  text-align: center;
  margin: 40px 0;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  color: #f57c00;
  background-color: transparent;
  border: 2px solid #f57c00;
  border-radius: 5px;
  text-decoration: none;
  margin: 0 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #f57c00;
  color: #fff;
}

.cta-button:active {
  background-color: #e64a19;
  color: #fff;
}

/*----------------------Swiper_slide------------------------- */
.static-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
.swiper-title {
  text-align: center; /* توسيط العنوان */
  margin: 20px 0; /* إضافة مسافة فوق وتحت العنوان */
}

.static-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  width: 30%;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.static-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.static-slide img {
  width: 20%;
  height: auto;
  margin-bottom: 10px;
}

.static-title {
  text-align: center;
}

.static-title h2 {
  font-size: 24px;
  margin: 10px 0;
  color: #333;
}

.static-title p {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

/* -----------------------video------------------------*/
.video-container {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.video-player {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ------------------------------Steps--------------------------- */
.steps-title {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
}

.steps-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.steps-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 10px;
  flex: 0 1 23%;
  text-align: center;
  transition: transform 0.3s;
}

.steps-item:hover {
  transform: translateY(-5px);
}

.steps-item h3 {
  font-size: 20px;
  color: #f57c00;
  margin-bottom: 10px;
}

.steps-item p {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

/* -------------------تنسيقات لقسم الأسئلة الشائعة ---------------------*/
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-title {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: #f57c00;
  color: white;
  padding: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #e67e22;
}

.faq-answer {
  display: none;
  padding: 15px;
  background-color: #fff;
  color: #333;
}

/* استعلام وسائط للأجهزة الصغيرة */
@media (max-width: 1000px) {
  .marketing-container {
    flex-direction: column; /* تغيير الاتجاه إلى عمودي */
    align-items: center; /* توسيط العناصر */
  }

  .marketing-image img {
    width: 100%; /* جعل الصورة تأخذ العرض الكامل للحاوية */
    max-width: 400px; /* تحديد الحد الأقصى لعرض الصورة */
  }

  .marketing-text h1 {
    font-size: 36px; /* تصغير حجم العنوان */
    text-align: center; /* توسيط العنوان */
  }

  .marketing-text .promotion-text {
    font-size: 20px; /* تصغير حجم نص الترويج */
    text-align: center; /* توسيط نص الترويج */
  }

  .cta-button {
    padding: 10px 20px; /* تصغير الحواف */
    font-size: 16px; /* تصغير حجم الخط */
  }

  .swiper-title {
    text-align: center; /* توسيط العنوان */
    margin: 20px 0; /* إضافة مسافة فوق وتحت العنوان */
  }

  .static-container {
    flex-direction: column; /* ترتيب العناصر عمودياً */
    align-items: center; /* توسيط العناصر */
  }

  .static-slide {
    width: 80%; /* كل شريحة تأخذ 80% من العرض */
    margin-bottom: 20px; /* إضافة مساحة عمودية بين الشرائح */
  }

  .steps-item {
    flex: 0 1 100%; /* كل عنصر خطوة يأخذ 100% من العرض */
    margin: 10px 0; /* إضافة مساحة عمودية بين العناصر */
  }

  .video-container {
    padding: 15px; /* تقليل الحواف الداخلية */
  }
}
