@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:rgba(12, 105, 209, 1);
  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;
}



/* اللوجو */
.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%;
  }

 

  /* 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;
  }

  
}
body.menu-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

header {
  width: 100%;
  height: 100vh;
  background-image: url(../images/header.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  .layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(12, 105, 209, 0.6), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem; /* add breathing room on small screens */

    h1 {
      font-weight: 700;
      font-size: 80px;
      color: white;
      font-family: "Aref Ruqaa", serif;
      margin-bottom: 1rem;
      line-height: 1.2;
    }

    p {
      font-weight: 400;
      font-size: 24px;
      color: white;
      line-height: 1.6;
    }
  }

  /* 📱 Medium Screens (Tablets) */
  @media (max-width: 992px) {
    .layer h1 {
      font-size: 60px;
    }
    .layer p {
      font-size: 20px;
    }
  }

  /* 📱 Small Screens (Mobiles) */
  @media (max-width: 768px) {
    height: 80vh; /* less height for mobile */
    .layer h1 {
      font-size: 40px;
      line-height: 1.3;
    }
    .layer p {
      font-size: 18px;
    }
  }

  /* 📱 Extra Small Screens */
  @media (max-width: 480px) {
    height: 70vh;
    .layer {
      padding: 0 0.8rem;
    }
    .layer h1 {
      font-size: 28px;
      line-height: 1.4;
    }
    .layer p {
      font-size: 16px;
    }
  }
}

.app {
  h4 {
    font-weight: 800;
    font-size: 40px;
    color: #0f172a;
  }

  p {
    font-weight: 400;
    font-size: 18px;
    color: rgba(91, 91, 103, 1);
    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;
    }
  }
}
.partners {
  h3 {
    font-weight: 800;
    font-size: 56px;
    color: #0f172a;
  }
  .item-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
  }
  @media (max-width: 768px) {
    .partners-slider {
      overflow: hidden;
    }
  }
}
.build {
  background-color: rgba(242, 249, 255, 1);
  padding: 4rem 1rem;
  border-radius: 12px;
  overflow: hidden;

  /* ❌ Remove fixed height — allow natural content height */
  height: auto;

  .row {
    align-items: center;
  }

  .content {
    h2 {
      font-weight: 800;
      font-size: 56px;
      color: rgba(24, 24, 27, 1);
      line-height: 1.3;
      margin-bottom: 1rem;
    }

    p {
      font-weight: 400;
      font-size: 24px;
      color: rgba(91, 91, 103, 1);
      line-height: 1.6;
    }
  }

  .item-img {
    text-align: center;
    img {
      width: 100%;
      max-width: 480px;
      height: auto;
    }
  }

  /* 💻 Medium Screens (Tablets) */
  @media (max-width: 992px) {
    .content {
      h2 {
        font-size: 42px;
      }
      p {
        font-size: 20px;
      }
    }
  }

  /* 📱 Small Screens (Mobiles) */
  @media (max-width: 768px) {
    padding: 2.5rem 1rem;

    .row {
      flex-direction: column !important;
      text-align: center;
    }

    .content {
      order: 2;
      margin-top: 1.5rem;
      h2 {
        font-size: 32px;
      }
      p {
        font-size: 18px;
      }
    }

    .item-img {
      order: 1;
      img {
        max-width: 300px;
      }
    }
  }

  /* 📱 Extra Small Screens */
  @media (max-width: 480px) {
    padding: 2rem 1rem;

    .content {
      h2 {
        font-size: 26px;
        line-height: 1.4;
      }
      p {
        font-size: 16px;
      }
    }

    .item-img img {
      max-width: 250px;
    }
  }
}

.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: 363px !important;
      height: 690px !important;
      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: rgba(126, 215, 47, 1);
        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;
      }
    }
  }
}
.how .container {
  width: 65%;
}

.how h4 {
  font-size: 16px;
  font-weight: 700;
}
.how h2 {
  font-weight: 700;
  font-size: 36px;
  color: #161c2d;
}

.c-stepper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  direction: ltr;
}

.c-stepper__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.one {
  text-align: start;
}

.one span {
  background-color: rgba(63, 128, 194, 1);
}

.two {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.two span {
  background-color: #68d585;
}

.three {
  align-items: end;
}

.three span {
  background-color: #ffce31;
}

.how span {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
}

.c-stepper__item:before {
  content: "";
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #d5d7dd,
    #d5d7dd 5px,
    transparent 5px,
    transparent 10px
  );
  margin: 1rem auto 0;
  z-index: -1;
}

.c-stepper__title {
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.owl-carousel .item img {
  transition: transform 0.3s ease-in-out;
  transform: scale(0.9);
}

.owl-carousel .item:hover img {
  transform: scale(1);
}
.one h4 {
  margin-left: -75%;
}
.one:hover {
  color: rgba(63, 128, 194, 1);
}
.two:hover {
  color: #68d585;
}
.three:hover {
  color: #ffce31;
}

/* Responsive styles */
@media (max-width: 768px) {
  .why .container {
    width: 90%;
  }
  .how h2 {
    font-weight: 700;
    font-size: 27px;
    color: #161c2d;
  }
  .c-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-direction: column-reverse;
  }

  .c-stepper__item {
    width: 100%;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 30px;
    text-align: center;
  }

  .c-stepper__item span {
    text-align: center;
  }

  .one {
    align-items: center !important;
  }

  .c-stepper__item:before {
    display: none;
  }

  .c-stepper__desc {
    text-align: center;
  }
  .one {
    text-align: center !important;
    h4 {
      margin-left: 0 !important;
    }
  }
  /* .c-stepper{
    margin-right: 35px;
  } */
}
.ready {
  position: relative;
  background: url("../images/ready.jpg") center center / cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
  height: 60vh;
  display: flex;
  align-items: center;


  .layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(rgba(12, 105, 209, 0.6), rgba(0, 0, 0, 0.6));
    display: flex;
  
    padding: 0 1.5rem;
  }

  h2 {
    font-weight: 800;
    font-size: 56px;
    color: #fff;
    margin-bottom: 1rem;
  }

  p {
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
    max-width: 700px;
  }

  button {
    border-radius: 8px;
    transition: 0.3s ease;
    &:hover {
      background-color: #0c69d1;
      color: #fff;
    }
  }

  /* 💻 Medium screens (tablets) */
  @media (max-width: 992px) {
    .w-50{
      width: 100% !important;
    }
    height: 60vh;
    h2 {
      font-size: 42px;
    }
    p {
      font-size: 17px;
    }
  }

  /* 📱 Small screens (mobiles) */
  @media (max-width: 768px) {
   
    .layer {
      padding: 0 1rem;
    }
    h2 {
      font-size: 30px;
      line-height: 1.4;
    }
    p {
      font-size: 16px;
    }
    button {
      padding: 0.5rem 1.5rem;
      font-size: 14px;
    }
  }

  /* 📱 Extra small screens */
  @media (max-width: 480px) {

    h2 {
      font-size: 24px;
    }
    p {
      font-size: 14px;
    }
  }
}


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 */
}
.owl-carousel.second .image img {
  width: 100%;
  height: auto;
  display: block;
}

.owl-carousel.second {
  overflow: visible !important;
}
.owl-carousel.second {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* CSS */
.address {
  display: inline-flex;
  align-items: center;
  gap: 10px;                 /* space between icon and text */
  font-size: 0.95rem;
  color: #000;
  direction: rtl;            /* keep Arabic direction */
}

.icon-pin {
  width: 20px;
  height: 20px;
  fill: #124261;             /* main theme color — غيّره لو تحب */
  flex-shrink: 0;
  transition: transform .18s ease, fill .18s ease;
}

.address:hover .icon-pin {
  transform: translateY(-2px);
  fill: #0b3a55;             /* darker on hover */
}
