@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 ===== */
nav {
  z-index: 520;
  background: transparent;
  transition: background 0.3s ease;
  padding-top: 10px;
}

.navbar-brand {
  width: 70px;
  height: 70px;
}

.navbar-brand img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: #fff !important;
}

/* ===== Toggle Button ===== */
.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  position: relative;
  z-index: 1001;
}

.navbar-toggler-icon {
  background-color: #fff;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  display: block;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ===== Buttons ===== */
.download,
.downloadtwo {
  width: 140px;
  height: 48px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}

.download {
  background: linear-gradient(to right, #358dcc, #115081);
  color: #fff;
  border: 2px solid #115081;
}

.download:hover {
  background: linear-gradient(to right, #479fe0, #136297);
  transform: translateY(-2px);
}

.downloadtwo {
  color: #115081;
  background-color: transparent;
  border: 2px solid #115081;
}

.downloadtwo:hover {
  background-color: #115081;
  color: #fff;
}

/* ===== Mobile Menu ===== */
/* ========== MOBILE MENU REDESIGN ========== */
@media (max-width: 768px) {

  .navbar-collapse {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    padding: 24px 20px 32px;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .navbar-collapse.show {
    transform: translateY(0);
  }

  /* القائمة */
  .navbar-nav {
    width: 100%;
    text-align: right;
    margin-bottom: 24px;
  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid #eee;
    padding: 14px 0;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 700;
    color: #191C1F !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-nav .nav-link::after {
    content: "›";
    font-size: 22px;
    color: #bbb;
  }

  /* Hover / Tap */
  .navbar-nav .nav-link:hover {
    color: #004b4a !important;
  }

  /* Mobile buttons */
  .mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-buttons button {
    height: 50px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
  }

  /* Overlay خلف المنيو */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
  }
}


/* ===== Header ===== */
header {
  width: 100%;
  height: 100vh;
  background: url("../images/header.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 120px; /* ✅ Prevent h1 touching logo */
}

header .layer {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 3rem;
}

header h1 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1rem;
}

header p {
  font-size: 20px;
  color: rgba(220, 225, 230, 1);
  max-width: 850px;
  line-height: 1.6;
  margin: 0 auto;
}

header .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 2rem;
}

header .buttons a {
  width: 220px;
  height: 56px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

header .buttons a:first-child {
  background: linear-gradient(#358dcc, #115081);
  color: #fff;
}

header .buttons a:last-child {
  background: transparent;
  border: 2px solid rgba(176, 197, 213, 1);
  color: rgba(176, 197, 213, 1);
}

/* ===== Items ===== */
header .items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

header .items span {
  min-width: 180px;
  height: 48px;
  border-radius: 32px;
  background: rgba(207, 220, 230, 1);
  color: #115081;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  header {
    height: 90vh;
    padding-top: 140px; /* ✅ extra space for logo */
  }

  header .layer {
    padding: 0 1.6rem;
  }

  header h1 {
    font-size: 30px;
    line-height: 1.4;
  }

  header p {
    font-size: 16px;
    line-height: 1.6;
  }

  header .buttons a {
    width: 170px;
    height: 48px;
    font-size: 14px;
  }

  header .items span {
    min-width: 140px;
    height: 42px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  header {
    height: 85vh;
    padding-top: 150px;
  }

  header .layer {
    padding: 0 1rem;
  }

  header h1 {
    font-size: 26px;
  }

  header p {
    font-size: 15px;
  }

  header .buttons a {
    width: 150px;
    height: 45px;
    font-size: 13px;
  }

  header .items span {
    min-width: 130px;
    height: 40px;
    font-size: 12px;
  }
  /* ===== Modern Fullscreen Mobile Menu ===== */
@media (max-width: 992px) {
  .navbar-collapse {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 45, 72, 0.96);
    backdrop-filter: blur(8px);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.45s ease;
    z-index: 2000;
    text-align: center;
  }

  .navbar-collapse.show {
    transform: translateY(0);
    opacity: 1;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
  }

  .navbar-nav .nav-link {
    font-size: 22px;
    color: #fff !important;
    font-weight: 600;
    transition: 0.3s;
  }

  .navbar-nav .nav-link:hover {
    color: #5cdeec !important;
    transform: scale(1.05);
  }

  /* Close button icon (X) */
  .navbar-toggler {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 2100;
  }

  .navbar-toggler-icon {
    background-color: transparent;
    width: 30px;
    height: 3px;
  }

  /* Animate toggler into X */
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    position: relative;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    background: #fff;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 3px;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
  }

  /* Buttons inside menu */
  .mobile-buttons {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
  }

  .download,
  .downloadtwo {
    width: 100%;
    height: 50px;
    font-size: 17px;
    border-radius: 8px;
  }

  /* Disable scrolling when menu open */
  body.menu-open {
    overflow: hidden;
  }
}

}




.join-section {
  background: #fff;
  padding: 80px 40px;

  .join {
    margin: 0 auto;

    h3 {
      font-weight: 700;
      font-size: 32px;
      color: rgba(17, 80, 129, 1);
      margin-bottom: 1rem;
      line-height: 1.4;
    }

    p {
      font-weight: 400;
      font-size: 18px;
      color: rgba(6, 27, 43, 1);
      line-height: 1.7;
      margin-bottom: 2rem;
      max-width: 850px;
      margin-inline: auto;
    }

    .item-img {
      height: 500px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
      }

      &:hover img {
        transform: scale(1.05);
      }
    }
  }

  /* ✅ Large Tablets */
  @media (max-width: 992px) {
    padding: 60px 30px;

    .join {
      h3 {
        font-size: 28px;
      }
      p {
        font-size: 17px;
      }

      .item-img {
        height: 400px;
      }
    }
  }

  /* ✅ Tablets */
  @media (max-width: 768px) {
    padding: 50px 20px;

    .join {
      h3 {
        font-size: 26px;
      }
      p {
        font-size: 16px;
        max-width: 95%;
      }

      .item-img {
        height: 350px;
        margin-bottom: 15px;
      }
    }
  }

  /* ✅ Mobiles */
  @media (max-width: 576px) {
    padding: 40px 15px;

    .join {
      h3 {
        font-size: 22px;
        line-height: 1.5;
      }

      p {
        font-size: 15px;
      }

      .item-img {
        height: 250px;
        border-radius: 8px;
      }
    }
  }

  /* ✅ Extra Small Devices */
  @media (max-width: 400px) {
    padding: 30px 12px;

    .join {
      h3 {
        font-size: 20px;
      }
      p {
        font-size: 14px;
      }

      .item-img {
        height: 200px;
      }
    }
  }
}

.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;
  }
  a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 70px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(rgba(53, 141, 204, 1), rgba(17, 80, 129, 1));
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
  }
  @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;
    }
    a{
      width: 150px;
      height: 50px;
      font-weight: 400;
      font-size: 16px;
      margin: auto;
    }
  }
}
.features-section {
  background: #fff;
  padding: 80px 40px;

  .features {
    margin: 0 auto;

    h3 {
      font-weight: 700;
      font-size: 32px;
      color: rgba(17, 80, 129, 1);
      margin-bottom: 1rem;
      line-height: 1.4;
    }

    p {
      font-weight: 400;
      font-size: 18px;
      color: rgba(6, 27, 43, 1);
      line-height: 1.7;
      margin-bottom: 2rem;
      max-width: 850px;
      margin-inline: auto;
    }

    .item {
      background-color: rgba(207, 220, 230, 0.4);
      border-radius: 12px;
      width: 100%;
      max-width: 397px;
      min-height: 330px;
      text-align: right;
      transition: all 0.3s ease;
      position: relative;

      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      }

      span {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(17, 80, 129, 1);
        position: absolute;
        top: -30px;
        right: 45px;
        img {
          width: 40px;
          height: 40px;
        }
      }

      h4 {
        font-weight: 700;
        font-size: 18px;
        color: rgba(17, 80, 129, 1);
        text-align: center;
      }

      p {
        text-align: center;
        font-weight: 400;
        font-size: 16px;
        color: rgba(6, 27, 43, 1);
        max-width: 90%;
        margin: 0 auto;
      }
    }
  }

  /* ✅ Large Tablets (≤992px) */
  @media (max-width: 992px) {
    padding: 60px 30px;

    .features {
      h3 {
        font-size: 28px;
      }
      p {
        font-size: 17px;
      }

      .item {
        min-height: 300px;

        span {
          top: -25px;
          right: 35px;
          width: 64px;
          height: 64px;

          img {
            width: 36px;
            height: 36px;
          }
        }
      }
    }
  }

  /* ✅ Tablets (≤768px) */
  @media (max-width: 768px) {
    padding: 50px 20px;

    .features {
      h3 {
        font-size: 26px;
      }
      p {
        font-size: 16px;
        max-width: 95%;
      }

      .item {
        min-height: 280px;
        margin-bottom: 20px;
        span {
          right: 50%;
          transform: translateX(50%);
        }
      }
    }
  }

  /* ✅ Mobiles (≤576px) */
  @media (max-width: 576px) {
    padding: 40px 15px;

    .features {
      h3 {
        font-size: 22px;
        line-height: 1.5;
      }

      p {
        font-size: 15px;
      }

      .item {
        min-height: 250px;
        border-radius: 10px;
        padding: 40px 15px 30px;
        span {
          width: 60px;
          height: 60px;
          top: -25px;
          img {
            width: 30px;
            height: 30px;
          }
        }

        h4 {
          font-size: 16px;
        }

        p {
          font-size: 14px;
        }
      }
    }
  }

  /* ✅ Extra Small (≤400px) */
  @media (max-width: 400px) {
    padding: 30px 12px;

    .features {
      h3 {
        font-size: 20px;
      }
      p {
        font-size: 14px;
      }

      .item {
        min-height: 220px;
        span {
          width: 50px;
          height: 50px;
          img {
            width: 26px;
            height: 26px;
          }
        }
      }
    }
  }
}





.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;
    }
  }
}

.about-section {
  .about-img {
    width: 100%;
    height: 500px; 
    overflow: hidden;
    border-radius: 20px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover; 
      display: block;
    }
  }

  /* 📱 Mobile */
  @media (max-width: 768px) {
    .about-img {
      height: 260px; 
      border-radius: 16px;
    }
  }

  /* 📱 Small Mobile */
  @media (max-width: 480px) {
    .about-img {
      height: 220px;
      border-radius: 14px;
    }
  }
}



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 */
}
