
html {
  scroll-behavior: smooth;
}


/* Common */
.ticker-wrapper {
  position: fixed;
  width: 100%;
  height: 44px;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  z-index: 9999;
}

/* Positions */
.ticker-wrapper.top {
  top: 0;
}

.ticker-wrapper.bottom {
  bottom: 0;
}

/* Labels */
.breaking {
  background: #d90429;
  color: #fff;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
}

.breaking.blue {
  background: #0077b6;
}

/* Ticker */
.ticker {
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-track span {
  white-space: nowrap;
  padding: 0 50px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

/* Push content */
body {
  padding-top: 44px;
  padding-bottom: 44px;
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}



/*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: 100px;
        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;
      }
    }








    /**/
.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 {
  filter: blur(4px);
  opacity: 0.4;
  transform: scale(0.85);
}

/* اللي في النص */
.swiper-slide-active .machine-card {
  filter: blur(0);
  opacity: 1;
  transform: scale(1.05);
  border: 3px solid #d90429;
  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: #d90429;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
}

/* a meeting*/
.a-meeting{
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, #d90429, #b3001b);
    color: white;
    font-size: 18px;
    border-radius: 30px;
    text-decoration: none;
    width: 300px;
    height: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 20px;
    cursor: pointer;
    overflow: hidden;
    animation: pulse 2.5s infinite ease-in-out;
}

/* الغيمة / الظل المتحرك */
.a-meeting::after{
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 20px;
    background: rgba(0,0,0,0.35);
    filter: blur(15px);
    border-radius: 50%;
    animation: shadowPulse 2.5s infinite ease-in-out;
}

/* Hover */
.a-meeting:hover{
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff1e3c, #c70022);
}

/* Animation: تكبير وتصغير */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.07);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation: الغيمة */
@keyframes shadowPulse {
    0% {
        width: 65%;
        opacity: 0.4;
    }
    50% {
        width: 80%;
        opacity: 0.6;
    }
    100% {
        width: 65%;
        opacity: 0.4;
    }
}


/*about*/
/* عام */
.about-company {
  padding: 80px 20px;
  background: #f6f6f6;
  font-family: Arial, sans-serif;
  direction: rtl;
}

.about-company h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #111;
  text-align: center;
}

.about-company h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #d90429;
}

.about-company p {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 15px;
}

/* البلوكات */
.block {
  max-width: 1000px;
  margin: 0 auto 40px;
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* بلوك مميز */
.block.highlight {
  border-right: 6px solid #d90429;
  background: linear-gradient(135deg, #fff, #fff5f6);
}

/* القوائم */
.about-company ul {
  padding-right: 20px;
}

.about-company ul li {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
  position: relative;
}

.about-company ul li::before {
  content: "✔";
  color: #d90429;
  font-weight: bold;
  margin-left: 8px;
}

/* قسم العلامة التجارية */
.block.brand {
  background: #111;
  color: #fff;
}

.block.brand h2 {
  color: #fff;
}

.block.brand p {
  color: #ddd;
}

/* الإحصائيات */
.stats {
  max-width: 1000px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stats div {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stats strong {
  font-size: 30px;
  color: #d90429;
  display: block;
  margin-bottom: 5px;
}

.stats span {
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .about-company h2 {
    font-size: 26px;
  }

  .about-company h3 {
    font-size: 20px;
  }

  .block {
    padding: 20px;
  }
}


.clients-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.clients-section h2 {
  font-size: 30px;
  margin-bottom: 40px;
  color: #111;
}

/* Grid */
.clients-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

/* Client Card */
.client {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.client img {
  width: 100%;
  max-width: 120px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: grayscale(100%);
  transition: 0.3s ease;
}

.client span {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #444;
}

/* Hover */
.client:hover {
  transform: translateY(-5px);
}

.client:hover img {
  filter: grayscale(0%);
}


/*meeting*/
.appointment-section {
  background: #f7f7f7;
  padding: 80px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.appointment-container {
  max-width: 500px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.appointment-container h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #d90429;
}

.form-group {
  margin-bottom: 20px;
  text-align: right;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
}

button.btn-appointment {
  background-color: #d90429;
  color: #fff;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s ease;
}

button.btn-appointment:hover {
  background-color: #a1001f;
}

.form-message {
  margin-top: 15px;
  color: green;
  font-weight: bold;
}



/**/
.quote-section {
  background: #f4f4f4;
  padding: 80px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.quote-container {
  max-width: 500px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.quote-container h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #d90429;
}

.form-group {
  margin-bottom: 20px;
  text-align: right;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group button,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
}

button.btn-quote,
button.btn-select-machine {
  background-color: #d90429;
  color: #fff;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s ease;
}

button.btn-quote:hover,
button.btn-select-machine:hover {
  background-color: #a1001f;
}

.form-message {
  margin-top: 15px;
  color: green;
  font-weight: bold;
}

/* Dialog */
/* Dialog */
#openMachineDialog {
    display: block;
    margin: 20px auto;
    background-color: #d90429;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
  }

  /* dialog يغطي الشاشة ويظهر فوق كل شيء */
  .machine-dialog {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 99999;
  }

  .dialog-content {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
  }

  .dialog-content h3 {
    margin-bottom: 20px;
    color: #d90429;
  }

  .dialog-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
  }

  .dialog-content ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f1f1f1;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
  }

  .dialog-content ul li:hover {
    background: #d90429;
    color: #fff;
  }

  .dialog-content ul li img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
  }

  .dialog-content ul li input[type="checkbox"] {
    transform: scale(1.3);
    cursor: pointer;
  }

  .dialog-content button {
    background: #555;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin: 5px;
  }

  #confirmSelection {
    background: #d90429;
  }







  /*dialog*/
  .promo-dialog {
  position: fixed;
  bottom: 50px;
  left: 20px;
  width: 280px;
  background: #f5f5f5;
  border: 2px solid #007bff;
  border-radius: 10px;
  display: none; /* يظهر بال JS */
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.5s;
}

  .promo-dialog .dialog-content {
  padding: 15px;
  text-align: center;
}

  .promo-dialog .dialog-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

  .promo-dialog .dialog-content input {
  width: 90%;
  padding: 7px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

  .promo-dialog .dialog-content button {
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.close-btn2 {
  position: absolute;
  top: 0px;
  color: black;
  right: 8px;
  cursor: pointer;
  font-size: 18px;
}

@keyframes fadeIn {
  from {opacity:0; transform: translateY(20px);}
  to {opacity:1; transform: translateY(0);}
}


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





.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Bubble Message */
.chat-bubble {
  width: 280px;
  background: #0b0b0b;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

/* Header */
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 6px;
}

/* Close Button */
.close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* Body */
.chat-body {
  font-size: 13px;
  line-height: 1.4;
}

/* Floating Button */
.chatbot-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #d90429;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}



