
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
}
.main-header {
  background-color: #000;
  padding: 1rem 0;
}
 .promo-banner {
    position: fixed;
    bottom: 20px;
  left: 20px; /* بدلاً من right: 20px */
    background: #f0c200;
    color: #000;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
    font-weight: bold;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.7s ease-out;
  }

  .promo-call {
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
  }

  .promo-call:hover {
    background: #333;
  }

  .promo-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #000;
  }

  @keyframes slideIn {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @media (max-width: 600px) {
    .promo-banner {
      flex-direction: column;
      bottom: 10px;
      right: 10px;
      left: 10px;
    }
  }
.main-header .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
    
  color: white;
  font-size: 2rem;
  font-weight: bold;
}
.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}
.menu-toggle {
  display: none;
  font-size: 1rem;
  cursor: pointer;
  position: absolute;
  top: 20px;
  left: 20px; /* اجعلها على اليسار */
  z-index: 1001;
}
.main-nav a:hover {
  color: #f0c200;
}

/* Responsive nav */

.swiper {
 width: 100%;
  height: 75vh; /* نسبة من ارتفاع الشاشة بدلاً من قيمة ثابتة */
  max-height: 500px;
  min-height: 300px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}

header {
  background: #000;
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav {
  margin-top: 1rem;
}
nav a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: #f0f0f0;
}

.card {
  background-color: #fff;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card h3 {
  margin: 1rem 0 0.5rem;
  padding: 0 1rem;
}

.card p {
  padding: 0 1rem 1rem;
  color: #555;
}

footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
}

/* Floating Contact Icons */
.floating-icons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-icons a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
.floating-icons a:hover {
  transform: scale(1.1);
}
.floating-icons .whatsapp {
  background-color: #25D366;
}
.floating-icons .phone {
  background-color: #007bff;
}

.floating-icons a i {
  font-size: 24px;
  color: white;
}

/* Why Section */
.why-section {
  background: #fff;
  padding: 4rem 2rem;
}

.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}
.why-image {
  flex: 1 1 400px;
  max-width: 500px;
}
.why-image img {
  max-width: 100%;
  border-radius: 10px;
}

.why-content {
    text-align: right;
 display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.why-features {
    text-align: right;
 display: grid;
  grid-template-columns: repeat(2, 1fr); /* صفين متوازنين */
  gap: 1.5rem;

}
.browse-button {
  display: inline-block;
  background-color: #f0d100;
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  text-align: center;
}

.browse-button:hover {
  background-color: #e2c200;
}

.feature {
   display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fefefe;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.20);
  
}

.feature .icon {
    text-align: right;
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 0.3rem;
}
.contact-section {
  padding: 4rem 2rem;
  background: #fff;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: bold;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 1.5rem;
  background: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #333;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.faq-section {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  font-family: 'Arial', sans-serif;
  direction: rtl;
  text-align: right;
}

.faq-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  width: 100%;
  background: #f0c000;
  color: #000;
  font-weight: bold;
  padding: 1rem;
  border: none;
  font-size: 1.2rem;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .arrow {
  transition: transform 0.3s ease;
}

.faq-answer {
  background: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





/* Responsive */
@media (max-width: 768px) {

/* منع أي عنصر من الخروج عن حدود الشاشة */
* {
  box-sizing: border-box;
}
 .main-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* حسب ارتفاع الهيدر */
    left: 0;   /* جهة اليسار */
    width: 200px;
    background-color: #000;
    z-index: 999;
    border-radius: 0 8px 8px 0;
  }
  
 .main-nav.active {
    display: flex;
  }

 .main-nav a {
    padding: 1rem;
    text-align: left;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #222;
  }

 .main-nav a:hover {
    background-color: #333;
  }
  
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* إجبار الصور والعناصر على التقيّد بعرض الشاشة */
img, .swiper, .swiper-slide {
  max-width: 100%;
  height: auto;
  display: block;
}

  .why-container {
    display: flex;
    flex-direction: column;
    text-align: right;
    align-items: center;
  }

  .why-image,
  .why-content {
    width: 100%;
  }

  .why-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature {
    flex-direction: row;
    align-items: flex-start;
    text-align: right;
  }

  .hero {
    padding: 2rem 1rem;
    text-align: center;
  }

  .cards {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .card {
    width: 90%;
  }

  .swiper {
    height: 200px;
    min-height: 180px;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-form,
  .contact-info {
    width: 100%;
  }
}
