body{
    margin: 0 0;
    background-color: #ffff;
    font-family: 'Cairo', sans-serif;
     overflow-x: hidden;
}


/*navbar*/

/* Navbar */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      background-color: #FFFFFF; /* أزرق فاتح */
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .logo {
      font-weight: bold;
      font-size: 24px;
      width: 200px;
      height: 100px;
      color: #1B1B1B; /* أسود داكن */
    }

    .nav-links {
      display: flex;
      gap: 20px;
      list-style: none;
    }

    .nav-links li a {
      text-decoration: none;
      color: #1B1B1B;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links li a:hover {
      color: #FFF3B0; /* أصفر فاتح */
    }

    .lang-btn {
      padding: 5px 10px;
      background-color: #FFF3B0; /* أصفر فاتح */
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
    }

    /* Mobile */
    .menu-icon {
      display: none;
      font-size: 28px;
      cursor: pointer;
    }

    @media (max-width: 992px) {
      .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: #ffff;
        flex-direction: column;
        gap: 20px;
        padding: 30px;
        transition: right 0.3s;
      }

      .nav-links.show {
        right: 0;
      }

      .menu-icon {
        display: block;
      }

      .navbar {
        justify-content: space-between;
      }
    }


    /* Overlay خفيف لتوضيح النص */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* يملى الشاشة بالكامل */
  background-image: url('../../imgs/bghome.jpg'); /* ضع رابط الصورة */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3); /* إضاءة سوداء خفيفة */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 20px;
}

/* زر السهم */
.scroll-down {
  position: absolute;
  bottom: 20px;
  font-size: 32px;
  color: #FFF3B0; /* أصفر فاتح */
  z-index: 2;
  text-decoration: none;
  animation: bounce 2s infinite;
}

/* حركة السهم */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .scroll-down {
    font-size: 24px;
  }
}

/* image up */
#machine_image{
    display: block;
    width: 80%;
    height: 400px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 255, 0.295) 5px 10px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*next section */

 /**/
.machines-slider {
  width: 100%;
  padding: 80px 0;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

/* الكارت نفسه */
.machine-card {
  width: 260px;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  transition: 0.4s ease;
}

/* الصورة */
.machine-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* افتراضي: بلور */
.swiper-slide .machine-card {
  opacity: 1;
  transform: scale(0.85);
  border: 3px solid blue;
}

/* اللي في النص */
.swiper-slide-active .machine-card {
  opacity: 1;
  transform: scale(1.05);
  border: 3px solid blue;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* اللي جنب النص */
.swiper-slide-prev .machine-card,
.swiper-slide-next .machine-card {
  filter: blur(2px);
  opacity: 0.7;
  transform: scale(0.95);
}


/* زر */
.machine-card a {
  background: blue;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
}


/*contact*/
.contact-section {
  padding: 40px 20px;
  background: #fff;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.contact-title {
  flex: 1 1 40%;
}

.contact-title h2 {
  font-size: 32px;
  color: #d32f2f;
  margin-bottom: 15px;
}

.contact-title p {
  font-size: 18px;
  color: #555;
}

.contact-form {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 90%;
}

.contact-form button {
  padding: 14px;
  background: #d32f2f;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #b71c1c;
}

/* 📱 للموبايل */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-title {
    text-align: center;
  }

  .contact-title h2 {
    font-size: 28px;
  }
}




/*footer*/
.footer {
  background-color: #1B1B1B;
  color: #fff;
  padding: 40px 20px;
}

.footer a{
  color: #fff;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.footer-logo img {
  width: 300px;
}

/* قسم التواصل */
.footer-contact h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-contact p {
  margin: 5px 0;
  font-size: 16px;
}


.social-icons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
}

/* ألوان الأيقونات حسب المنصة */
.social-icons .facebook { background-color: #3b5998; color: #fff; }
.social-icons .instagram { background-color: #E1306C; color: #fff; }
.social-icons .tiktok { background-color: #000000; color: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo img {
    margin-bottom: 20px;
  }

  .social-icons {
    justify-content: center;
  }
}


.footer-bottom {
  background-color: #151515; /* لون أغمق من Footer الأساسي */
  color: #fff;
  text-align: center;
  padding: 15px 20px;
  font-size: 14px;
}

.footer-bottom a {
  color: #FFA500; /* لون مميز للرابط */
  text-decoration: none;
  font-weight: bold;
}

.footer-bottom a:hover {
  text-decoration: underline;
}




/**/
 .btn-products {
      padding: 15px 40px;
      font-size: 20px;
      font-weight: bold;
      color: #fff;
      background: #0073e6;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      animation: pulse 1.5s infinite ease-in-out;
      display: block;
      margin: auto;
      margin-top: 50px;
    }

    @keyframes pulse {
      0%   { transform: scale(1); }
      50%  { transform: scale(1.2); }
      100% { transform: scale(1); }
    }


    /*videos*/

    .videos-section {
  padding: 60px 0;
  background: #f8f9fb;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .3s ease;
}

.video-card:hover {
  transform: translateY(-6px);
}

.video-title {
  padding: 16px;
  font-size: 16px;
}

.more-videos {
  text-align: center;
  margin-top: 40px;
}

.btn-more {
  padding: 14px 32px;
  background: #111;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

.btn-more:hover {
  background: #444;
}

/* Responsive */
@media (max-width: 900px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}
