* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
}

html,body {
  overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header .nav {
    background: #000;
    padding: 10px;
}

header .nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .nav .container .col2 .links {
    display: flex;
    align-items: center;
}

header .nav .container .col2 .links ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 17px;
}

header .nav .container .col2 .links ul li a {
    color: #fff;
    text-decoration: none;
    transition: .2s ease;
}

header .nav .container .col2 .links ul li a:hover {
    color: #DA4D13;
}

select {
    background-color: #DA4D13;
    color: #fff;
    padding: 5px 10px;
    border: none;
    outline: none;
    border-radius: 2px;
}

/* تنسيق الصفحة الجانبية */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* بدءاً من خارج الشاشة */
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    padding-top: 20px;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
}

/* تنسيق للروابط داخل الصفحة الجانبية */
.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px;
    text-align: left;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 8px 15px;
    transition: background-color 0.3s;
}

.sidebar ul li a:hover {
    background-color: #DA4D13;
}

/* تنسيق لزر الفتح */
.open-sidebar-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #DA4D13;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1100;
}

/* جعل الصفحة الجانبية تظهر عند تفعيل الزر */
.sidebar.active {
    left: 0;
}

/* استعلامات إعلامية للشاشات الصغيرة */
@media screen and (max-width: 991px) {
    /* إظهار زر فتح القائمة الجانبية */
    .open-sidebar-btn {
        display: block;
    }

    /* إخفاء العناصر الأخرى في شاشات الجوال */
    header .nav .container .col2 .links {
        display: none;
    }
}

/* للشاشات الكبيرة، الصفحة الجانبية تبقى مخفية */
@media screen and (min-width: 991px) {
    /* إخفاء زر فتح القائمة الجانبية في الشاشات الكبيرة */
    .open-sidebar-btn {
        display: none;
    }

    /* عرض الروابط مباشرة في الهيدر */
    header .nav .container .col2 .links {
        display: flex;
    }
}

.header {
    background-image: url("./img/Background-01.jpg");
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    height: 70vh;
}

.header .content {
    max-width: 1200px;
    margin: auto;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: left;
    color: #000;
    font-size: 65px;
    font-weight: 700;
}

.header #hero-section-title {
  text-align: left; 
  position: relative; 
  left: 150px;
}
  @media (max-width: 769px) {
    .header #hero-section-title {
      left: 115px;
    }
  }

.header p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 620px;
}

.header .cta {
    display: flex;
    background: #000;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    width: 150px;
}

.header .cta:hover {
    background: #333;
}

.header img {
    position: absolute;
    right: 2%;
    bottom: -10px;
    width: 55%;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .header {
        padding: 1rem;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    .header img {
        position: relative;
        width: 100%;
        margin-top: 1rem;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

.why-choose-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    display: flex;
    flex-wrap: wrap; /* للسماح بتغيير اتجاه العناصر على الشاشات الصغيرة */
    gap: 30px;
  }

  /* العمود الخاص بالميزات */
  .features-column {
    flex: 1;
    min-width: 300px;
  }
  .features-column h2 {
    color: #DA4D13;
    font-size: 24px;
    margin-bottom: 10px;
  }
  .features-column h1 {
    font-size: 40px;
    margin: 10px 0 20px;
    font-weight: 700;
  }
  .features-column p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .features {
    margin-bottom: 50px;
  }
  .features .icon {
    margin-bottom: 20px;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    flex-direction: column;
  }
  .features .icon img {
    width: 80px;
    padding-bottom: 20px;
  }
  .features h3 {
    max-width: 350px;
    text-align: center;
    font-weight: 700;
  }
  .details ul {
    list-style: none;
    padding: 0;
  }
  .details ul li {
    margin: 10px 0;
  }
  .details ul li:before {
    content: "✔";
    color: #DA4D13;
    margin-right: 10px;
  }
  .details button {
    background: black;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
  }

  /* العمود الخاص بالآلات */
  .cards-column {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .card {
    background: #f8f8f8;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: box-shadow 0.3s;
    border: none;
  }
  .card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
  }
  .card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .card p {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
  }
  .card a {
    color: #DA4D13;
    text-decoration: none;
    font-weight: bold;
  }
  .card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  /* التوافق مع الشاشات الصغيرة */
  @media (max-width: 1127px) {
    .why-choose-us {
      flex-direction: column; /* جعل الأعمدة تتكدس عموديًا */
    }
    .cards-column {
        grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
    }
  }
  @media (max-width: 768px) {
    .why-choose-us {
      flex-direction: column; /* جعل الأعمدة تتكدس عموديًا */
    }
    .cards-column {
      grid-template-columns: 1fr; /* جعل البطاقات صفًا واحدًا */
    }
  }

  .about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    gap: 20px;
  }

  /* جزء الصور */
  .about-images {
    flex: 1;
    position: relative;
    min-width: 300px;
  }

  .about-images img {
    width: 100%;
    border-radius: 10px;
  }

  .about-images .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: #DA4D13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .about-images .play-button::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  /* جزء النص */
  .about-content {
    flex: 1;
    min-width: 300px;
  }

  .about-content h2 {
    color: #DA4D13;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .about-content h1 {
    font-size: 36px;
    margin: 10px 0;
    font-weight: 700;
  }

  .about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .about-content .stats {
    display: flex;
    align-items: center;
    margin-top: 20px;
  }

  .stats .years {
    font-size: 36px;
    color: #DA4D13;
    margin-right: 10px;
  }

  .stats .vision {
    font-size: 14px;
    color: #555;
  }

  .about-content button {
    background: black;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
  }

  /* نافذة البوب اب */
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .popup iframe {
    width: 80%;
    height: 80%;
    border: none;
    border-radius: 10px;
  }

  .popup .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
  }

  /* توافق مع الشاشات الصغيرة */
  @media (max-width: 768px) {
    .about-section {
      flex-direction: column;
    }

    .popup iframe {
      width: 90%;
      height: 60%;
    }
  }

  .section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    background: url('./img/Counter-background-01.jpg') no-repeat center center/cover;
    color: white;
    height: 70vh;
}

.section::after {
  content: "";
  background: rgba(0, 0, 0, 0.6);
}

.content {
    max-width: 600px;
}

.content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.content h5 {
  color: #DA4D13;
  font-size: 24px;
}

.btn {
    background: #DA4D13;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn:hover {
    background: #f75c1f;
}

.stats {
    text-align: center;
}

.stat {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.label {
    font-size: 1rem;
}

.stats-wrapper {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .section {
        flex-direction: column;
        text-align: center;
        height: 100vh;
    }

    .stats-wrapper {
        flex-direction: column;
    }
    .stat {
      font-size: 3rem;
      font-weight: bold;
      margin-bottom: 5px;
  }
  .content h2 {
    font-size: 2.5rem;
}
.content h5 {
  font-size: 20px;
}
}

.section-two {
  padding: 50px 20px;
  text-align: center;
  background: url("./img/Pattern-01.png");
}

.section-two h2 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.section-two p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #555;
}

.section-two .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  transform: scale(.8);
}

.section-two .card {
  background: #f8f8f8;
  border: 1px solid none;
  border-radius: 8px;
  width: 550px;
  overflow: hidden;
  transition: transform 0.3s;
}

.section-two .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 9;
}

.section-two .card-content {
  padding: 20px;
  text-align: left;
}

.section-two .card-content h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.section-two .card-content p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
}

.section-two .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.section-two .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-two .card-footer .stars {
  color: #DA4D13;
  background: none;
  font-size: 35px;
}

.section-two .btn {
  background: black;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.section-two .btn:hover {
  background: darkgray;
}

@media (max-width: 768px) {
  .section-two .cards {
      flex-direction: column;
      align-items: center;
  }

  .section-two .card {
      width: 90%;
  }
  .section-two .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    transform: scale(1);
  }
}

.section-three {
  display: flex;
  flex-direction: column;
  background-color: #000;
}

.section-three .logos {
  background-color: #DA4D13; /* البرتقالي */
  padding: 50px 0;
  text-align: center;
}

.section-three .logos img {
  max-width: 100px;
  height: auto;
}

/* Content Section */
.section-three .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.section-three .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  color: #fff;
}

.section-three .text-content {
  flex: 1;
  padding: 20px;
}

.section-three .text-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-three .text-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.section-three .text-content .btn {
  display: inline-block;
  background-color: #DA4D13;
  color: #fff;
  padding: 10px 20px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.section-three .text-content .btn:hover {
  background-color: #c63f10;
}

.section-three .image-content img {
  max-width: 500px;
  height: auto;
  transform: scale(1.4);
  margin-left: 50px;
}

/* Responsive Design */
@media (max-width: 1500px) {
  .section-three .image-content img {
    width: 400px;
  }
}

@media (max-width: 992px) {
  .section-three .content {
    flex-direction: column;
    text-align: center;
  }

  .section-three .text-content h2 {
    font-size: 2.5rem;
  }

  .section-three .text-content p {
    font-size: 1rem;
  }

  .section-three .image-content img {
    max-width: 100%;
    transform: scale(1);
    margin-left: 0;
    position: relative;
    top: 60px;
  }
}

@media (max-width: 576px) {
  .section-three .text-content h2 {
    font-size: 2rem;
  }

  .section-three .text-content p {
    font-size: 0.9rem;
  }

  .section-three .text-content .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

.faq-section {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 120px;
}

.faq-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 180px;
}

.faq-image {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.faq-image img {
  width: 600px;
  height: auto;
  border-radius: 5px;
}

.video-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: #ff6600;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-content {
  flex: 2;
  max-width: 600px;
}

.faq-content h3 {
  color: #ff6600;
  margin: 0;
}

.faq-content h1 {
  font-size: 2em;
  margin: 10px 0;
  font-weight: 700;
}

.faq-content p {
  margin-bottom: 20px;
  color: #555;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid #DA4D13;
  border-radius: 2px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  color: #333;
  padding: 15px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-weight: 650;
}

.faq-question .icon {
  font-size: 18px;
  color: #ff6600;
  margin-left: 10px;
  font-weight: bold;
}

.faq-answer {
  display: none;
  padding: 15px;
  font-size: 14px;
  background: #fff;
  border-top: 1px solid #ddd;
  max-width: 455px;
}

/* Video Popup */
.video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
}

.video-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  position: relative;
}

.video-content video {
  width: 100%;
  height: auto;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-container {
    flex-direction: column;
  }
  .faq-image, .faq-content {
    max-width: 100%;
  }
  .faq-image img {
    max-width: 350px;
  }
  .faq-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
}

.section-four {
  padding: 2rem;
  background: url("./img/Pattern-01.png");
}

.section-four #tag {
  color: #DA4D13;
}

.section-four h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 3.5rem;
  color: #000000;
  font-weight: 650;
}

.section-four p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #666;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(.85);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.card-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-content .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 1rem;
}

.card-content a {
  text-decoration: none;
  color: #fff;
  background: #DA4D13;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
}

.card-content a:hover {
  background: #ee5518;
}

footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 1rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  width: 280px;
}

.footer-logo h1 {
  font-size: 1.5rem;
  margin: 0;
}

.footer-logo p {
  margin: 0;
  font-size: 0.9rem;
  color: #DA4D13;
}

.footer-top a {
  background-color: #DA4D13;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.footer-top a:hover {
  background-color: #e45118;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.footer-content .social-icons {
  text-align: center;
}

.footer-content .social-icons i {
  color: #DA4D13;
  font-size: 30px;
  padding-right: 10px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #DA4D13;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  text-decoration: none;
  color: #ccc;
  font-size: 0.9rem;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #ccc;
  border-top: 1px solid #444;
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-top a {
    margin-top: 1rem;
  }

  .footer-content {
    text-align: center;
  }
}

@media (max-width: 1697px) {
  .section-three .image-content img {
    max-width: 60vh;
  }
  .section-three .container{
    position: relative;
    right: 80px;
  }
}

@media (max-width: 769px) {
  .section-three .image-content img {
    max-width: 40vh;
  }
  .section-three .container{
    right: 0;
  }
}

