@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap");

body {
  direction: rtl;
  font-family: "Almarai", serif;
}
.navbar {
  .logo {
    width: 170px !important;
    height: 120px !important;
    img{
      width: 170px !important;
    height: 120px !important;
    }
  }
  li a {
    font-weight: 600;
    font-size: 16px;
    color: #1f3767;
  }
  button {
    border: #fff solid 2px !important;
    color: #000 !important;
    padding: 10px !important;
  }
  .navbar-toggler-icon {
    background-image: none;
    background-color: #fff;
    width: 30px;
    height: 3px;
    position: relative;
    left: 0px;
  }
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    display: block;
    background-color: #fff !important;
    height: 3px;
    width: 100%;
    position: absolute;
  }
  .navbar-toggler-icon::before {
    top: 8px;   
  }
  .navbar-toggler-icon::after {
    top: -8px;
  }

  /* Expanded Navbar Background */
  &.bg-expand {
    background-color: #1f3767 !important; /* White background when expanded */
    li a {
      color: #000 !important; /* Adjust link color for contrast */
    }
  }
}
button {
    border: #fff solid 2px !important;
    color: #000 !important;
    padding: 10px !important;
  }
  .navbar-toggler-icon { 
    background-image: none;
    background-color: #fff !important;
    width: 30px;
    height: 3px;
    position: relative;
  } 
.nav-link:hover{
  color: #1f3767;
  font-weight: 600;
}

@media (max-width: 768px) {
  .navbar {
    background-color: #1f3767 !important;
    .logo {
      width: 80px !important;
      height: 80px !important;
      img{
        width: 80px !important;
        height: 80px !important;
      }
    }
    li a {
      color: #fff;
      &:hover{
        color: #fff;

      }
    }
  }
  .navbar-nav {
    flex-direction: column !important;
    text-align: right;
  }
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  .collapse {
    display: none;
  }

  .collapse.show {
    display: block;
  }
}
header {
  width: 100%;
  height: 100vh;

  h2 {
    font-weight: 700;
    font-size: 38px;
    color: #1f3767;
    span {
      color: #6eabda;
    }
  }
  P {
    font-weight: 500;
    font-size: 24px;
    color: #1f3767;
  }
  a {
    margin: 40px;
  }
  .icon {
    top: 0;
    right: 0;
    z-index: -1;
    img {
      width: 600px;
      height: 600px;
    }
  }
}
@media (max-width: 768px) {
  header {
    
    .icon {
      display: none;
    }
    .row {
      flex-direction: row-reverse;
      padding-top: 200px;
    }
    .buttons {
      flex-direction: column;
      width: 100% !important;
    }
    h2 {
      font-size: 30px;
    }
    p {
      font-size: 20px;
      text-align: justify;
    }
    a {
      margin: 10px;
    }
  }
}

.about {
  h3 {
    font-weight: 700;
    font-size: 34px;
    color: #1f3767;
  }
  p {
    font-weight: 400;
    font-size: 16px;
    color: #1f3767;
  }
  .icon {
    top: -50px;
    left: 0;
    z-index: -1;
    img {
      width: 600px;
      height: 600px;
    }
  }
  .box {
    width: 370px;
    height: 200px;
    border-radius: 8px;
    border: 1px solid #e1e1b5;
    h4 {
      font-weight: 600;
      font-size: 24px;
      color: #1f3767;
    }
    .box-image {
      width: 100px;
      height: 100px;
      margin: auto;
    }
  }
}

@media (max-width: 768px) {
  .about {
    padding-top: 50px ;
    .about_data {
      padding-top: 50px;
      flex-direction: column-reverse;
    }
    p {
      text-align: justify;
    }
    .icon {
      display: none;
    }
    .box {
      width: 250px;
      margin: auto;
    }
  }
}
.screens {
  .driver {
    position: relative;
    background: none;
  }

  .driver::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/Path 126798.png");
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scaleX(-1); /* Flip the background image horizontally */
    z-index: -1; /* Ensure it stays behind the content */
  }
  .client {
    background-image: url("../images/Path 126798.png");
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
  }
  a {
    margin: 20px;
  }
  h3 {
    font-weight: 700;
    font-size: 34px;
    color: #1f3767;
  }
  p {
    font-weight: 400;
    font-size: 16px;
    color: #1f3767;
  }
}
@media (max-width: 768px) {
  .screens {
    .container::before {
      display: none;
    }

    .client {
      background-image: none;
      .row {
        flex-direction: column-reverse;
      }
    }
    .buttons {
      flex-direction: column;
      width: 100% !important;
    }
    p {
      text-align: justify;
    }
    .item-images {
      flex-direction: column;
      img {
        margin: auto;
      }
    }
  }
}
.join {
  .container {
    background-image: url("../images/Artboard\ –\ 2.png");
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 15px;
  }

  h3 {
    font-weight: 700;
    font-size: 34px;
    color: #fff;
  }
  p {
    font-weight: 400;
    font-size: 16px;
    color: #fff;
  }
}
@media (max-width: 768px) {
  .join {
    .buttons {
      flex-direction: column;
      width: 100% !important;
    }
    p {
      text-align: justify;
    }
    a {
      margin-top: 10px;
    }
  }
}
footer {
  background-image: url("../images/Artboard\ –\ 1.png");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;

  .item-image {
    width: 135px;
    height: 60px;
  }
  h6 {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
  }
  a {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 20px;
    &:hover {
      font-weight: 700;
      color: #fff;
    }
  }
  h5 {
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
  }
  .col-md-3 {
    .logo {
      height: 100% !important;
    }
  }
}
