@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&family=Cabin:ital,wght@0,400..700;1,400..700&display=swap");

body {
  /* direction: rtl; */
  font-family: "Almarai", serif;
}
/* Navbar Styles */
nav {
  z-index: 520;
}

nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #19182580 !important;
}

/* زرار التوجّل */
.navbar-toggler {
  border: none !important;
  padding: 6px 10px !important;
  margin-left: auto; /* يروح أقصى اليمين */
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: none;
  background-color: #000;
  width: 30px;
  height: 3px;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  display: block;
  background-color: #000;
  height: 3px;
  width: 100%;
  position: absolute;
  left: 0;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

/* زرار التحميل */
.download {
  width: 134px;
  height: 48px;
  border-radius: 8px;
  background-color: #DDA61C;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  border: none;
  transition: background 0.3s ease-in-out;
}

.download:hover {
  background-color: #DDA61C;
}

/* اللوجو */
.navbar-brand {
  width: 125px !important;
  height: auto !important;
}

.navbar-brand img {
  width: 100%;
  height: auto;
}



/* ---------- Mobile Navbar Menu (Neutral Charcoal Theme) ---------- */
@media (max-width: 768px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 90vh; /* full screen */
    background: #191825; /* dark charcoal */
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
    transition: all 0.4s ease-in-out;
    z-index: 999;
    display: none;
    flex-direction: column !important;
    text-align: right;
        overflow: hidden !important; /* لا سكرول داخلي */

  }


  .navbar-toggler {
    z-index: 1000;
    border: none !important;
  }

  /* للحالة العادية (الإنجليزي) */
  html[dir="ltr"] .navbar-toggler {
    margin-left: auto; /* يخليه في اليمين */
    margin-right: 0;
  }

  /* للحالة العربي */
  html[dir="rtl"] .navbar-toggler {
    margin-right: auto; /* يخليه في الشمال */
    margin-left: 0;
  }
  .navbar-collapse.show {
    display: flex;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 12px;
  }

  .navbar-nav .nav-link,
  .navbar-nav .nav-item a {
    font-size: 20px;
    font-weight: 700;
    color: #fff !important; /* make all links white, including Eng */
    transition: all 0.3s ease-in-out;
    display: block;
    width: 100%;
  }

  .navbar-nav .nav-link:hover {
    color: #DDA61C !important; /* orange hover */
    padding-right: 10px;
  }

  /* Toggler default = black */
  .navbar-toggler {
    z-index: 1000;
    border: none !important;
  }

  .navbar-toggler-icon,
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    background-color: #000 !important;
    transition: background-color 0.3s ease;
  }

  /* When menu open → toggler turns white */
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    background-color: #fff !important;
  }

  /* Mobile Download button inside menu */
  .download {
    width: 100%;
    margin-top: 30px;
    background-color: #DDA61C;
    font-size: 18px;
    color: #fff;
  }

  .download:hover {
    background-color: #b27d14;
  }
}
body.menu-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

header {
  width: 100%;
  height: 100vh;
  background-color: #dda61c;
  position: relative;
  display: flex;
  align-items: center;

  h2 {
    font-weight: 800;
    font-size: 70px;
    color: white;
    line-height: 1.2;
  }

  p {
    font-weight: 400;
    font-size: 24px;
    color: white;
    line-height: 1.6;
  }

  button {
    padding: 16px 60px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;

    &:hover {
      background-color: white;
      color: #dda61c;
    }
  }

  @media (max-width: 992px) {
    h2 {
      font-size: 50px;
    }
    p {
      font-size: 20px;
    }
    button {
      padding: 14px 32px;
      font-size: 16px;
    }
  }

  @media (max-width: 768px) {
    height: auto;
    padding: 60px 20px;
    text-align: center;

    .row {
      flex-direction: column-reverse;
    }

    h2 {
      font-size: 36px;
    }

    p {
      font-size: 18px;
      margin: 20px 0;
    }

    button {
      padding: 12px 28px;
      font-size: 16px;
    }

    .item-img {
      margin-bottom: 20px;
      img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
      }
    }
  }

  @media (max-width: 480px) {
    h2 {
      font-size: 28px;
    }
    p {
      font-size: 16px;
    }
    button {
      padding: 10px 24px;
      font-size: 14px;
    }
  }
}

.app {
  h4 {
    font-weight: 800;
    font-size: 40px;
    color: #0f172a;
  }

  p {
    font-weight: 400;
    font-size: 18px;
    color: #0f172a;
    text-align: justify;
  }

  @media (max-width: 768px) {
    h4 {
      font-size: 28px;
    }
    .row {
      flex-direction: column-reverse !important;
    }
    p {
      font-size: 16px;
      text-align: right;
    }
  }

  @media (max-width: 480px) {
    h4 {
      font-size: 22px;
    }

    p {
      font-size: 14px;
    }
  }
}

.features {
  .row {
    width: 85%;
  }
  h3 {
    font-weight: 800;
    font-size: 56px;
    color: #0f172a;
  }
  .item-img {
    width: 64px;
    height: 64px;
    margin: auto;
  }
  .item {
    text-align: center;
    h4 {
      font-weight: 700;
      font-size: 24px;
      color: #050038;
    }
    p {
      font-weight: 400;
      font-size: 18px;
      color: #666c89;
      text-align: center;
      text-align-last: center;
      /*text-align-last: center; */
      direction: rtl;
    }
  }
}
@media (max-width: 768px) {
  .features {
    br {
      display: none;
    }
    h3 {
      font-size: 35px !important;
    }
  }
}
#screens {
  h3 {
    font-weight: 800;
    font-size: 40px;
    color: #000000;
  }

  .screens {
    .image {
      width: 290px;
      height: 570px;
      margin: auto;

      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }

    .owl-carousel.second {
      direction: ltr !important;
    }

    .caursoul-nav {
      width: 100%;
      display: flex;
      justify-content: space-between;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      padding: 0 20px;
      z-index: 10;

      span {
        width: 50px;
        height: 50px;
        background-color: #f39930;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        cursor: pointer;

        i {
          font-size: 16px;
          color: white !important;
        }
      }
    }
  }

  @media (max-width: 768px) {
    br {
      display: none;
    }

    .screens {
      h3 {
        font-size: 30px;
      }
      .image {
        width: 270px;
        height: 570px;
        margin-left: 50% !important;
        transform: translateX(-50%);
      }
    }
  }
}

.work {
  .image {
    width: 500px;
    height: 550px;
  }
  h3 {
    font-weight: 800;
    font-size: 56px;
    color: #0f172a;
  }
  p {
    font-weight: 400;
    font-size: 32px;
    color: #030b11;
    position: relative;
    cursor: pointer;
  }
  .owl-theme .item {
    margin: auto;
    text-align: center;
   @media (min-width :768px) {
     img {
      width: 300px;
      height: 500px;
    }
   }
  }

  .active {
    font-weight: 700;
    font-size: 32px;
    color: #dda61c;
    display: flex;
    align-items: center;
    position: relative;
  }
  .outer {
    width: 500px;
    height: 500px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid #dda61c;
    display: flex;
    justify-content: center;
    align-items: center;
    .inner {
      width: 360px;
      height: 360px;
      border-radius: 50%;
      border: 8px solid #dda61c;
    }
  }

  p.active::after {
    content: " ";
    width: 3px;
    height: 100%;
    background-color: #dda61c;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    direction: ltr;
    margin-left: 30px;
  }

  p::after {
    content: " ";
    width: 3px;
    height: 100%;
    background-color: #cbd5e1;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    direction: ltr;
    margin-left: 30px;
  }

  p::after {
    background-color: #cbd5e1;
  }
}
@media (max-width: 768px) {
  .work {
    .image {
      width: 100% !important;  
      height: auto !important;
      img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
      }
    }

    h3 {
      font-size: 28px !important;
    }

    .active {
      font-size: 18px;
    }

    p {
      font-size: 16px;
    }

    .outer {
      display: none;
    }

    .contain {
      position: relative;
      width: 100%;
      height: auto; 
      .owl-carousel .item {
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
}


.join {
  overflow: hidden;

  h4 {
    font-weight: 800;
    font-size: 40px;
    color: #000000;
    span {
      font-family: "Aref Ruqaa", serif;
      color: #dda61c;
      font-size: 45px;
    }
  }

  p {
    font-weight: 400;
    font-size: 18px;
    color: #2b2b2b;
  }
  button {
    padding: 16px 60px;
    background-color: transparent;
    border: 2px solid #2e2f35;
    border-radius: 8px;
    color: #2e2f35;
    font-size: 18px;
    transition: all 0.3s ease;
  }
}

@media (max-width: 768px) {
  .join h4 {
    font-size: 30px !important;
  }

  .join p {
    font-size: 14px;
  }
  .join {
    button {
      padding: 10px 24px;
      font-size: 14px;
    }
  }
  .join .row {
    /* flex-direction: column-reverse !important; */
    gap: 2rem;
  }
}
.start {
  background-color: #FACC15;
  min-height: 85vh; /* أفضل من height عشان الموبايل */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.start h3 {
  font-weight: 800;
  font-size: 46px;
  color: #2B2B2B;
}

.start p {
  font-weight: 400;
  font-size: 18px;
  color: #2B2B2B;
  line-height: 1.8;
}

.start .one {
  bottom: 0;
  right: 0;
}

.start .two {
  bottom: 0;
  left: 0;
}

/* ✅ Responsive design */
@media (max-width: 768px) {
  .start {
    padding: 3rem 1rem;
    min-height: 70vh;

    br{
      display: none;
    }
  }

  .start h3 {
    font-size: 28px;
  }

  .start p {
    font-size: 16px;
  }

  /* إخفاء الصور على الموبايل */
  .start .one,
  .start .two {
    display: none !important;
  }
}

footer {
  background-color: #010912;
}

.footer h4 {
  font-weight: 400;
  font-size: 16px;
  color: #fefefe;
}

.footer p {
  font-weight: 400;
  font-size: 14px;
  color: #fefefe;
}

.footer .icons span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(217, 217, 217, 0.3);
}

.footer .buttons button {
  border: solid 1px rgba(255, 255, 255, 0.8);
}

.footer a {
  text-decoration: none;
}
@media (max-width: 768px) {
  .connect {
    width: 100%;
    text-align: center !important;
  }
  .icons {
    margin: auto !important;
    margin-top: 20px !important;
  }
  .one h4 {
    margin-left: 0%;
  }
  #how ol {
    padding: 0 !important;
  }
}
.social-icons {
  .icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    text-decoration: none;

    &:hover {
      transform: scale(1.2);
    }
  }

  .whatsapp i {
    color: #25d366;
  }

  .facebook i {
    color: #1877f2;
  }

  .instagram i {
    background: radial-gradient(
      circle at 30% 107%,
      #fdf497 0%,
      #fdf497 5%,
      #fd5949 45%,
      #d6249f 60%,
      #285aeb 90%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .linkedin i {
    color: #0077b5;
  }
}
.footer h6 {
  font-weight: 500;
  color: white;
  font-size: 16px;
  a {
    text-decoration: none;
    color: #4584c5;
    font-weight: 700;
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .footer h6 {
    font-size: 12px;
  }
}

.privacy-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  line-height: 1.9;
}

.privacy-container h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #124261;
  border-bottom: 2px solid #ff8f00;
  padding-bottom: 10px;
}

.privacy-section {
  margin-bottom: 30px;
}

.privacy-section h2 {
  font-size: 22px;
  color: #b20404;
  margin-bottom: 15px;
}

.privacy-section ul {
  list-style: disc;
  padding-right: 20px;
}

.privacy-section li {
  margin-bottom: 10px;
  color: #333;
}

@media (max-width: 600px) {
  .privacy-container {
    padding: 20px;
    margin: 20px;
  }

  h1 {
    font-size: 24px;
  }

  .privacy-section h2 {
    font-size: 20px;
  }
}
.text-last-start {
  text-align-last: start !important;
  -moz-text-align-last: start !important; /* Firefox support */
}
