@use "@/assets/styles/variables" as *;

// start navbar
.navbar {
  background-color: transparent;
  // background-color: transparent;
  transition: 0.4s all;
  height: fit-content;
  z-index: 55555555;
  padding: 20px 0px;
  box-shadow: 0px 4px 8px 0px rgba(162, 169, 173, 0.1);
  .white-img {
    display: none;
  }

  &.scroll {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  }

  a,
  .nav-link {
    transition: 0.3s all;
    opacity: 0.8;
    color: #5a7184;
    &.lang {
      margin: 0px 5px;
    }
    &.icon {
      span {
        color: $primary !important;
      }
    }
    // &:hover {
    //   // font-size: 18px !important;
    //   font-weight: 700 !important;
    //   opacity: 1;
    // }
  }

  .logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

    span {
      // position: absolute;
      // top:100%;
      // left: 50%;
      // transform: translateX(-50%);
      font-size: 12px;
      color: #ffff;
    }
  }

  &.active {
    transition: 0.4s all;
    z-index: 5555555555;
    height: fit-content;

    .logo-container {
      span {
        color: #df9011;
      }
    }
  }
  &.fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    padding: inherit !important;
    transition: 0.4s all;
  }

  .items {
    position: relative;

    .links {
      display: flex;
      align-items: center;
      gap: 24px;

      a,
      .nav-link {
        color: #5a7184;
        font-size: 17px;
        white-space: nowrap;
        text-align: center;
        cursor: pointer;
        // white-space: nowrap;
        font-weight: 500;

        &.spe {
          color: #dcb63b !important;
        }
      }
    }

    .icons {
      position: relative;
      display: flex;
      align-items: center;
      gap: 13px;
      color: #fff;

      .icon {
        //   position: relative;
        //   width: 44px;
        //   height: 44px;
        //   display: flex;
        //   align-items: center;
        //   justify-content: center;
        //   border: 1px solid #fff;
        //   border-radius: 50%;
        cursor: pointer;
      }

      span {
        text-transform: uppercase;
        cursor: pointer;
      }
    }
  }
  &.mobile,
  &.back,
  &.active {
    background-color: #fff;
    color: #5a7184;

    .icons {
      span {
        color: #5a7184;
        // border-left: 1px solid #ebeaed;
      }
    }

    .icon {
      // border: 1px solid #ebeaed !important;
    }

    .white-img {
      display: block;
    }

    .dark-img {
      display: none;
    }

    a,
    .nav-link {
      color: #5a7184;
      opacity: 1;
      transition: 0.4s all;
    }
  }

  .router-link-active,
  .active {
    font-weight: 700 !important;
    opacity: 1;
  }

  .searchBar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1111;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px 0px;
    display: flex;
    align-items: center;
    background: #fff;

    .inp {
      display: flex;
      flex-direction: column;
      gap: 8px;

      label {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        color: $grey1;
      }
    }

    .searchBtn {
      display: flex;
      width: 160px;
      height: 56px;
      justify-content: center;
      align-items: center;
      gap: 8px;
      border-radius: 100px;
      background-color: $primary;
      color: #fff !important;
    }
  }

  .overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    right: 0;
    background: rgba(14, 19, 27, 0.64);
    backdrop-filter: blur(2px);
    opacity: 0.88;
    z-index: 11;
  }
}

//   end navbar

// start footer

.footer-container {
  .main-links-container {
    margin-top: 48px;
    display: flex;
    // align-items: center;
    justify-content: space-between;
    .subscripe-container {
      display: flex;
      flex-direction: column;
      // align-items: center;
      gap: 5px;
      h3 {
        color: $black;
        font-size: 18px;
        margin-bottom: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: capitalize;
      }
      p {
        margin-top: 16px;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        cursor: pointer;
        color: $sec;
      }
    }
    .image-container {
      img {
        margin-bottom: 23px;
      }

      p {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        color: $sec;
        margin: 0px;
        line-height: 24px;
        /* 150% */
        margin-bottom: 32px;
        width: 240px;
      }

      .icons {
        display: flex;
        align-items: center;
        gap: 8px;

        .icon {
          display: flex;
          width: 48px;
          height: 48px;
          justify-content: center;
          align-items: center;
          flex-shrink: 0;
          border-radius: 30px;
          background: #f4f5f6;
          transition: background-color 0.3s ease, transform 0.3s ease;

          svg path {
            transition: fill 0.3s ease;
          }

          &:hover {
            background-color: $primary;
            transform: translateY(-3px);

            svg path {
              fill: #fff;
            }
          }
        }
      }
    }
    .search-input {
      align-items: center;
      background: #f4f5f6;
      border-radius: 40px;
      display: flex;
      gap: 12px;
      height: 60px;
      margin-top: 16px;
      padding: 0 32px;
      position: relative;
      width: 100%;
      .inputt {
        width: 70%;
      }
      input {
        border: none;
        outline: none;
        width: 100%;
      }
      button {
        align-items: center;
        background: $primary;
        color: #fff;
        border-radius: 30px;
        display: flex;
        flex-direction: column;
        height: 45px;
        justify-content: center;
        padding: 0 38px;
        position: absolute;
        width: 100px;
      }
    }
    .head {
      color: $black;
      font-size: 18px;
      display: block;
      // margin-bottom: 16px;
      font-style: normal;
      font-weight: 700;
      line-height: normal;
      text-transform: capitalize;
    }
    .all-links {
      display: flex;
      // align-items: center;
      gap: 50px;

      .links-container {
        .links {
          margin-top: 16px;
          display: flex;
          flex-direction: column;
          gap: 16px;

          .link {
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
            cursor: pointer;
            color: $sec;
            transition: color 0.3s ease;

            &:hover {
              color: $primary;
            }
          }
        }
      }
    }
  }

  .foot-line {
    margin-top: 50px;
    border-radius: 12px 12px 0px 0px;
    background: #f4f5f6;
    display: flex;
    align-items: center;
    padding: 12.425px 24px 12.575px 24px;
    justify-content: space-between;

    span {
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      color: $sec;
    }

    a {
      transition: opacity 0.3s ease;

      &:hover {
        opacity: 0.8;
      }
    }
  }
}

html[dir="rtl"] {
  .search-input {
    button {
      left: 5px;
    }
  }
}
html[dir="ltr"] {
  .search-input {
    button {
      right: 5px;
    }
  }
}

// end footer

// start text page

.text-page {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 75px;

  .breadline {
    display: flex;
    align-items: center;
    gap: 8px;

    a {
      font-size: 12px;
      font-style: normal;
      font-weight: 400;
      color: $sec;
      transition: color 0.3s ease;

      &:hover {
        color: $primary;
      }
    }

    span {
      font-size: 12px;
      font-style: normal;
      font-weight: 400;
      color: $sec;
    }
  }
  svg {
    rect {
      fill: $primary !important;
    }
  }
  .title {
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    color: $black;
    margin-top: 20px;
    margin-bottom: 0px;
  }
  .title-services {
    margin-top: 20px;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    width: 640px;
    text-align: center;
  }
}
dropdown-shadow {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
}
dropdown-index {
  z-index: 999999999;
}
// end text page
