body{
     font-family: 'Cairo', sans-serif;
     margin:  0 0;
     background-color: #ffff;
    color: #202020;

}

/* شاشة التحميل */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* النقاط */
.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background: black;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.4);
    opacity: 1;
  }
}

/* اللوجو صورة */
#preloader  .logo {
  margin-top: 20px;
  width: 100px; /* اضبط حسب حجم شعارك */
  height: auto;
  animation: logoMove 1s ease-in-out infinite alternate;
  border-radius: 50%;
}


@keyframes logoMove {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-20px);
  }
}
#main{
    display:none ;
}



/*navbar*/

/* Navbar */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: sticky;
      top: 0;
      z-index: 100;
      background-color: #ffff;
    }

    .logo {
      font-weight: bold;
      font-size: 24px;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      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;
    }
    .menu-icon.scrolled{
      color: white;
    }

    .navbar.scrolled {
  background-color: #202020; /* أبيض بعد السكرول */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-links.scrolled a{
  color: #FFF;
}

    @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;
        color: #202020;
      }
      .nav-links.scrolled a{
        color: #202020;
      }

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

      .menu-icon {
        display: block;
      }

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


    

    /*swiper slide */

    /* === SLIDER STYLES === */

.swiper-slide img {
  width: 100%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}



/*info box*/

/* CSS */
.info-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin: 40px auto;
  max-width: 1000px;
}

.info-title h2 {
  font-size: 28px;
  color: #1B1B1B;
  margin: 0;
}

.info-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* موبايل */
@media (max-width: 768px) {
  .info-box {
    flex-direction: column;
    text-align: center;
  }
  .info-title h2 {
    font-size: 24px;
  }
  .info-text p {
    font-size: 16px;
  }
}



/*slid up to down */

/* CSS */
/* CSS */
/* CSS */
.banner-rotator {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 150px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #202020; /* أبيض */
  border: 2px solid #b3b9c9; /* إطار رمادي */
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow: hidden;
}

.rotator {
  position: relative;
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rotator-text {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  font-size: 22px;
  font-weight: bold;
  color: #fff; /* أسود */
  transition: all 0.7s ease-in-out;
  direction: rtl;
}

.rotator-text.active {
  opacity: 1;
  transform: translateY(0);
}

.arrow {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  transition: transform 0.2s, color 0.2s;
}

.arrow:hover {
  transform: scale(1.2);
  color: #b3b9c9; /* لون رمادي عند الهوفر */
}



/*cta form*/

/* CTA Section */
.cta-section {
  background: #fff;
  padding: 60px 20px;
  border-top: 2px solid #b3b9c9;
  border-bottom: 2px solid #b3b9c9;
}

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

/* Form */
.cta-form {
  flex: 1;
  min-width: 300px;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cta-form h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1B1B1B;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #b3b9c9;
  border-radius: 8px;
  font-size: 14px;
}

.cta-form button {
  width: 100%;
  padding: 14px;
  background: rgb(34, 107, 34);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-form button:hover {
  background:rgb(40, 244, 40) ;
}

/* Icons */
.cta-icons {
  flex: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.icon-box {
  flex: 1;
  min-width: 120px;
  padding: 20px;
  background: #fff;
  border: 1px solid #b3b9c9;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.icon-box i {
  font-size: 36px;
  margin-bottom: 10px;
  color: #1B1B1B;
}

.icon-box h3 {
  font-size: 16px;
  color: #1B1B1B;
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
  }

  .cta-icons {
    flex-direction: row;   /* 👈 بدل عمودي نخليها صف */
    justify-content: space-between;
  }

  .icon-box {
    flex: 1;
    min-width: auto;  /* عشان يترسوا بشكل متساوي */
  }
}



/*about us*/

/* خلفية السيكشن */
.about-section {
  background: url("imgs/bg_about.png") center/cover no-repeat;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* البوكس */
.about-box {
  background: rgba(255, 255, 255, 0.85); /* خلفية شبه شفافة */
  padding: 30px;
  border-radius: 15px;
  max-width: 900px;
  color: #1B1B1B;
  text-align: right;
  position: relative;
  overflow: hidden;
}

/* العنوان */
.about-box h2 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #000;
}

.about-box h3 {
  margin-top: 25px;
  font-size: 22px;
  color: #333;
  font-weight: 600;
}

/* الباراجراف */
.about-box p {
  line-height: 1.8;
  margin-bottom: 15px;
}

/* اللستة */
.about-box ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.about-box ul li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* الفوتر */
.about-footer {
  margin-top: 20px;
  font-weight: 600;
  color: #000;
}

/* البوردر سبينر متحرك */
.about-box::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(90deg, #000, #b3b9c9, #000);
  background-size: 300% 300%;
  animation: borderSpin 6s linear infinite;
  z-index: -1;
}

/* حركة البوردر */
@keyframes borderSpin {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive */
@media (max-width: 768px) {
  .about-box {
    max-width: 95%;
    padding: 20px;
  }

  .about-box h2 {
    font-size: 22px;
  }

  .about-box h3 {
    font-size: 18px;
  }
}


/*products*/
/* قسم المنتجات */
.products-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  justify-items: center;
}

/* الكارت */
.product-card {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* الصورة */
.product-image {
  position: relative;
}

.product-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* شفاف */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 1;
  transition: background 0.3s;
}

.overlay h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.details-btn {
  background: #fff;
  color: #333;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.details-btn:hover {
  background: #333;
  color: #fff;
}

/* موبايل */
@media (max-width: 768px) {
  .products-section {
    grid-template-columns: 1fr; /* تحت بعض */
    gap: 15px;
  }

  .overlay h3 {
    font-size: 18px;
  }
}

/* نفس شكل الكروت العادية */
.product-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: #fff;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* خاص بالكارت بتاع النص */
.other-products {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f9f9f9, #ececec);
}

.other-products .overlay {
  background: transparent;
  position: relative;
  padding: 0;
}

.other-products h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #1b1b1b;
}

.other-products p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}



/*service*/

/*مجالات*/

.specialties-box {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.specialties-header .icon img {
  width: 80px;
  margin-bottom: 10px;
}

.specialties-header h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

/* البوكس على هيئة سبورة */
.specialties-board {
  background-color: #F5F0EC; /* أزرق فاتح يشبه السبورة */
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.specialties-board ul {
  list-style: none;
  padding: 0;
}

.specialties-board ul li {
  background-color: #1B1B1B; /* أصفر فاتح لتحديد كل مجال */
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: bold;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .specialties-header h2 {
    font-size: 24px;
  }
  .specialties-header .icon img {
    width: 60px;
  }
  .specialties-board ul li {
    font-size: 16px;
    padding: 8px 12px;
  }
}




/*blogs*/

.blogs {
  margin: 50px auto;
  max-width: 800px;
  padding: 20px;
}

.blogs-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 26px;
  color: #1b1b1b;
}

.blog-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.blog-header h3 {
  font-size: 18px;
  color: #1b1b1b;
  margin: 0;
}

.blog-header .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
  color: #1b1b1b;
}

.blog-content {
  display: none;
  padding: 10px 0;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.blog-item.active .blog-content {
  display: block;
}

.blog-item.active .arrow {
  transform: rotate(90deg);
}






/*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 .linkedin { 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;
}




/*floating whatsapp*/
/* زر واتساب عائم */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px; /* لو عايزها الشمال غيرها left: 20px; */
  background-color: #25D366; /* أخضر واتساب */
  color: #fff;
  font-size: 20px;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  text-align: center;
  animation: pulse 1.5s infinite;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* أنيميشن */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


