@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: 400;
  font-size: 18px;
  color: #191C1F !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,
    #977AE2,
    #6338D4
  );
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  border: none;
  font-size: 16px;
  transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.download:hover {
  background: linear-gradient(
    to right,
    #977AE2,
    #6338D4
  );
}

.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: #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: #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-image: url("../images/header.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  .layer {
    position: absolute;
    inset: 0;
    display: flex;
     background: linear-gradient(#00000033);

    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
  }

  h1 {
    font-weight: 700;
    font-size: 48px;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;

    span {
      color: rgba(128, 165, 165, 1);
    }
  }

  p {
    font-weight: 400;
    font-size: 24px;
    color: white;
    line-height: 1.6;
  }

  .content-wrapper {
    width: 50%;
    margin: 0 auto;
  }

  .buttons-download {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;

    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  white;
      background-color: transparent;
      color: white;
      text-decoration: none;
      transition: 0.3s ease;
    }

    a:first-child {
      background: linear-gradient(#6338D4, #977AE2);
      color: #fff;
      border: none;
    }

    a:hover {
      transform: translateY(-3px);
    }

    a:first-child:hover {
      filter: brightness(1.1);
    }

    a:last-child:hover {
      background-color: rgba(128, 165, 165, 0.15);
    }
  }

  /* 📱 MOBILE */
  @media (max-width: 768px) {
    height: 80vh;
    padding: 4rem 0;

    .content-wrapper {
      width: 100% !important;
      padding: 0 1rem !important;
    }

    h1 {
      font-size: 30px;
      line-height: 1.4;
    }

    p {
      font-size: 18px;
      line-height: 1.5;
    }

    .buttons-download {
      flex-direction: column;
      gap: 10px;

      a {
        width: 100%;
        max-width: 280px;
        height: 60px;
        font-size: 16px;
      }
    }
  }

  /* 📱 VERY SMALL SCREENS */
  @media (max-width: 480px) {
    .layer {
      h1 {
        font-size: 26px;
      }
      p {
        font-size: 16px;
      }
    }
  }
}



.app {
  h3{
 font-weight: 700;
    font-size: 40px;
    color: #311C6A;
  }
  h4 {
    font-weight: 700;
    font-size: 40px;
    color: #311C6A;
  }

  p {
    font-weight: 400;
    font-size: 18px;
    color: #191C1F;
    text-align: justify;
    line-height: 2.8rem;
  }

  @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: #311C6A;
  }
  .item-img {
    width: 94px;
    height: 94px;
    margin: auto;
  }
  .item {
    text-align: center;
    border: 1px solid #E0D7F629;
    border-radius: 8px;
    padding: 10px;
    height:370px ;
    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 {
    .item{
      height: auto;
    }
    br {
      display: none;
    }
    h3 {
      font-size: 35px !important;
    }
  }
}
.join {
  h2 {
    font-weight: 700;
    font-size: 40px;
    color: #311C6A;
    
  }

  h4 {
    font-weight: 400;
    font-size: 20px;
    color: #191C1F;
    line-height: 2.8rem;
    span{
      font-weight: 700;
    font-size: 32px;
    color: #6338D4;
    }
  }
 .buttons-download {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    flex-wrap: nowrap; 

    a {
      width: 260px;
      height: 70px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 12px;
      font-weight: 700;
      font-size: 18px;
      border: 2px solid #6338D4;
      background-color: transparent;
      color: #6338D4;
      text-decoration: none;
      transition: 0.3s ease;
      white-space: nowrap;
    }

    a:first-child {
      background: linear-gradient(#6338D4, #977AE2);
      color: #fff;
      border: none;
    }

    a:hover {
      transform: translateY(-3px);
    }
  }
  .item-img {
 
 

    img {
      height: 100%;
      width: 100%;
    }
  }

  /* ========== 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: 35px;
      img{
        height: 100%;
      }
    }
    .buttons-download {
      flex-direction: column; 
      flex-wrap: nowrap;

      a {
        width: 100%;
        max-width: 280px;
        height: 60px;
        font-size: 16px;
      }
    }
  }

  /* ========== SMALL MOBILE ========== */
  @media (max-width: 480px) {
    h2 {
      font-size: 22px;
    }

    h4 {
      font-size: 16px;
      line-height: 1.9rem;
    }

    
  }
}
.winners {
  text-align: center;

  h2 {
    font-weight: 700;
    font-size: 40px;
    color: #311C6A;
  }

  p {
    font-weight: 400;
    font-size: 20px;
    color: #191C1F;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
  }

  .item-img {
    width: 50%;
    margin: 3rem auto;

    img {
      width: 100%;
      height: auto;
      display: block;
    }
  }

  /* 📱 Tablet & Mobile */
  @media (max-width: 768px) {
    h2 {
      font-size: 28px;
    }

    p {
      font-size: 17px;
      padding: 0 1rem;
      line-height: 1.6;
    }

    .item-img {
      width: 100%;
      margin: 2rem auto;
    }
  }

  /* 📱 Small Mobile */
  @media (max-width: 480px) {
    h2 {
      font-size: 24px;
    }

    p {
      font-size: 15px;
    }
  }
}


.work {
    background-color: #E8DFFF;
  padding: 60px 0;

  .image {
    width: 500px;
    height: 550px;
  }
  h3 {
    font-weight: 700;
    font-size: 40px;
    color: #311C6A;
  }
  p {
    font-weight: 400;
    font-size: 32px;
    color: #191C1F;
    position: relative;
    padding-right: 20px;
    cursor: pointer;
  }
   .video-wrapper {
    max-width: 900px; 
    margin: 0 auto 50px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(49, 28, 106, 0.15);
    aspect-ratio: 16 / 9; 
    background: #000;

    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }
  .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: #311C6A;
    display: flex;
    align-items: center;
    position: relative;
  }
  

  p.active::after {
    content: " ";
    width: 3px;
    height: 100%;
    background-color: #311C6A;
    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 {
        padding: 40px 0;

    .image {
      width: 100% !important;  
      height: auto !important;
      img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
      }
    }
      .video-wrapper {
      max-width: 100%;
      margin: 0 16px 40px;
      border-radius: 12px;
      aspect-ratio: 16 / 9;
    }

    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;
      }
    }
  }
}


footer {
  background-color: #211347;
}

.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 */
}
