@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;
  background-color: rgba(0, 75, 74, 1);
}

nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: rgba(255, 255, 255, 1) !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: linear-gradient(
    to right,
    rgba(85, 135, 134, 1),
    rgba(0, 75, 74, 1)
  );
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid #004b4a; /* border color */
  transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
  border-color: #2e7876; /* lighter border on hover */
}

.download:hover {
  background: linear-gradient(
    to right,
    rgba(85, 135, 134, 0.85),
    rgba(0, 75, 74, 0.85)
  );
}

.navbar-brand {
  display: flex;
  align-items: center;
  width: 70px;
  height: 70px; /* حجم العرض اللي انت عايزه */
}

.navbar-brand img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

/* ---------- 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: #5cdeec !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: white !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: #5cdeec;
    font-size: 18px;
    color: #fff;
  }

  .download:hover {
    background-color: #5cdeec;
  }
}
body.menu-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

header {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 75, 74, 1));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  .layer {
    position: absolute;
    inset: 0;
    display: flex;
    background-image: url("../images/header.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;

    .row {
      width: 100%;
      align-items: center;
    }

    .content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      margin: auto;
      text-align: end;
    }

    h1 {
      font-weight: 700;
      font-size: 48px;
      color: #fff;
      margin-bottom: 16px;
      line-height: 1.25;
      span{
        color: #80A5A5;
      }
    }

    p {
      font-weight: 400;
      font-size: 24px;
      color: rgba(210, 214, 219, 1);
      line-height: 1.6;
    }

    .buttons-download {
      display: flex;
      gap: 16px;
      margin-top: 40px;

      a {
        width: 300px;
        height: 70px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        font-weight: 700;
        font-size: 18px;
        border: 2px solid rgba(128, 165, 165, 1);
        background-color: transparent;
        color: rgba(128, 165, 165, 1);
        text-decoration: none;
        transition: 0.3s ease;

        &:first-child {
          background: linear-gradient(rgba(0, 75, 74, 1), rgba(85, 135, 134, 1));
          color: #fff;
          border: none;
        }

        &:hover {
          transform: translateY(-3px);
        }
      }
    }
  }

  /* ===== WEB DESIGN (AS IS) ===== */
  .header-imgs {
    display: flex;
    /* justify-content: center;
    align-items: flex-end; */
    gap: 20px;
    margin-top: 450px; /* رجعناها زي الديزاين بالظبط */

    img {
      width: 300px;
      height: 680px;
    }

    .one {
      margin-top: 100px !important;
      margin-left: -50px !important;
      z-index: 5;
    }
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  header {
    height: auto;
    height: 125vh;
    padding-bottom: 40px;
    .header-imgs{
      justify-content: center !important;
    align-items: flex-end !important;
      .one{
        margin-left: 0 !important;
        margin-top: 0 !important;
      }
    }
    .row{
      flex-direction: column-reverse !important;
      gap: 10px;
    }
    .layer {
      padding: 0 16px;
      background-position: center top;

      .content {
        text-align: center !important;
      }
    }

    h1 {
      
      font-size: 24px !important;
      line-height: 1.5;
    }

    p {
      font-size: 14px !important;
      line-height: 1.7;
      margin: 10px !important;
    }

    br {
      display: none;
    }

    .buttons-download {
      flex-direction: column;
      gap: 12px;
      margin-top: 20px;

      a {
        width: 100%;
        max-width: 300px;
        height: 52px;
        font-size: 15px;
        border-radius: 10px;
      }
    }

    /* ===== MOBILE FIX ===== */
    .header-imgs {
      margin-top: 30px; /* مفيش مسافات غريبة */
      justify-content: center;
      align-items: center;
      gap: 12px;

      img {
        width: 140px;
        height: auto;
      }

      .one {
        margin: 0;
      }
    }
  }
}




.app {
  h3 {
    font-weight: 700;
    font-size: 40px;
    color: #002625;
  }

  h5  {
    font-weight: 400;
    font-size: 20px;
    color: #001919;
  }
  .info{
    background-color: #CCDBDB52;
    border-radius: 24px;
    box-shadow: 0 4px 12px #00030526;
    span{
      top: -25px;
      right: 50px;
    }
  }

  @media (max-width: 768px) {
    h4 {
      font-size: 28px;
    }
   
    h6 {
      font-size: 16px;
      text-align: right;
    }
  }

  @media (max-width: 480px) {
    h4 {
      font-size: 22px;
    }

    h6 {
      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: 94px;
    height: 94px;
    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;
    }
  }
}
.join {
  h2 {
    font-weight: 700;
    font-size: 35px;
    color: rgba(0, 38, 37, 1);
  }

  h4 {
    font-weight: 700;
    font-size: 25px;
    color: rgba(0, 38, 37, 1);
    line-height: 2.8rem;
  }

  .item-img {
    border-radius: 50px;
    overflow: hidden;

    img {
      height: 100%;
      width: 100%;
      object-fit: cover;
    }
  }

  /* ========== MOBILE ========== */
  @media (max-width: 768px) {
    h2 {
      font-size: 26px;
      text-align: center;
    }

    h4 {
      font-size: 18px;
      line-height: 2rem;
      text-align: center;
    }

    .item-img {
      height: auto !important;
      border-radius: 68px;
      img {
        height: 100%;
      }
    }
  }

  /* ========== SMALL MOBILE ========== */
  @media (max-width: 480px) {
    h2 {
      font-size: 22px;
    }

    h4 {
      font-size: 16px;
      line-height: 1.9rem;
    }

    .item-img {
      /* height: 850px !important; */
      /* border-radius: 20px; */
    }
  }
}

.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-it-works {
  direction: rtl;
  text-align: center;
  padding: 80px 0;
  h2 {
    font-size: 32px;
    font-weight: 700;
    color: #00332f;
    margin-bottom: 60px;
  }
  .steps {
  width: 100%;
  overflow-x: hidden;
  padding-bottom: 40px;
}

/* الصفين */
.row {
  display: flex;
  justify-content: center;
  gap: 180px;
}

/* تزحزح الصفوف */
.top-row {
  padding-right: 120px;
  padding-bottom: 100px;
}

.bottom-row {
  padding-left: 180px;
}

/* الدايرة */
.circle {
  width: 180px;
  height: 180px;
  background: rgba(204, 219, 187, 0.48);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: #00332f;

  /* شادو أخف + مش عميق */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1)0 2px 10px rgba(0, 0, 0, 0.12);
}
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 40px 0;
    .steps {
    padding: 0;
  }

  .row {
    flex-direction: column;
    gap: 24px;
    padding: 0 !important;
  }

  .top-row,
  .bottom-row {
    padding: 0 !important;
  }

  .circle {
    margin: 0 auto;
  }
  }

  
}

footer {
  background-color: rgba(0, 25, 25, 1);
}

.footer h4 {
  font-weight: 400;
  font-size: 16px;
  color: rgba(210, 214, 219, 1);
}

.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 0.18s ease, fill 0.18s ease;
}

.address:hover .icon-pin {
  transform: translateY(-2px);
  fill: #0b3a55; /* darker on hover */
}
