@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

:root {
  --default-d-padding: 0 8%;
  --default-s-padding: 0 4%;
  --dark: #030c15;
  --orange: #ed530f;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-down header {
  transform: translateY(-100%);
}

.scroll-up header {
  box-shadow: 0 -10px 60px rgb(170, 170, 170);
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--dark);

  header {
    width: 100%;
    padding: var(--default-d-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: 500ms ease;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 999999;

    .nav-links {
      ul {
        display: flex;
        list-style-type: none;
        align-items: center;
        gap: 42px;

        a {
          text-decoration: none;
          font-size: 15px;
          line-height: 2px;
          font-weight: 500;
          color: var(--dark);

          li {
            position: relative;
            transition: 200ms ease;

            &::after {
              content: "";
              position: absolute;
              bottom: -12px;
              left: 0;
              width: 100%;
              height: 2px;
              background-color: var(--orange);
              transform: scaleX(0);
              transition: transform 200ms ease-in-out;
            }

            &:hover {
              color: var(--orange);
              &::after {
                transform: scaleX(1.3);
              }
            }
          }
        }
      }
    }
  }

  section {
    .text-heading {
      display: flex;
      flex-direction: column;
      align-items: center;

      h1 {
        font-size: 32px;
      }
      .underline {
        display: flex;
        align-items: center;
        .line {
          width: 50px;
          height: 1px;
          background-color: rgba(0, 0, 0, 0.123);
        }

        .line-middle {
          width: 50px;
          height: 4px;
          background: linear-gradient(60deg, #e63517, var(--orange));
        }
      }
    }
  }

  #home {
    width: 100%;
    height: 90vh;
    background: rgb(46, 64, 83);
    background: linear-gradient(
      117deg,
      rgba(46, 64, 83, 1) 0%,
      rgba(3, 12, 21, 1) 48%
    );
    display: flex;
    align-items: center;
    padding: var(--default-d-padding);
    position: relative;
    overflow: hidden;

    .divider {
      position: relative;
      z-index: 999;
      width: 100%;
      display: flex;
      position: absolute;
      bottom: -10px;
      z-index: 999;
      left: 0;

      img {
        display: flex;
        width: 100%;
      }
    }

    #particles-js {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .left {
      width: 50%;
      color: white;
      z-index: 9999;

      h1 {
        font-size: 48px;
        font-weight: 700;
        line-height: 56px;
      }

      p {
        font-size: 24px;
        color: rgb(255, 255, 255, 0.6);
      }

      .button-container {
        margin-top: 15px;
        button {
          width: 140px;
          height: 50px;
          padding: 13px 0;
          cursor: pointer;

          border: none;
          color: white;
          background: linear-gradient(60deg, #e63517, var(--orange));
          border-radius: 8px 8px 26px;
          transition: 200ms ease;

          &:hover {
            border-radius: 8px;
          }
        }
      }
    }

    .right {
      width: 50%;
      height: 100%;
      z-index: 99;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;

      img {
        width: 80%;
        -webkit-user-drag: none;
      }

      .our-offer {
        width: 100%;
        height: 100%;
        /* background-color: red; */
        position: relative;

        .box {
          width: 300px;
          height: 290px;
          background-color: rgba(255, 255, 255, 0.247);
          position: absolute;
          top: 40%;
          left: 50%;
          transform: translate(-50%, -50%);
          border-radius: 12px;

          .offer {
            position: absolute;
            left: -60px;
            top: 40px;
            width: 300px;
            height: 90px;
            background-color: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            gap: 10px;

            .left-part {
              .icon-container {
                width: 60px;
                height: 60px;
                border-radius: 50px;
                background-color: rgb(245, 83, 110);
                display: flex;
                justify-content: center;
                align-items: center;

                svg {
                  path {
                    stroke: white;
                  }
                }
              }
            }

            .right-part {
              display: flex;
              flex-direction: column;
              gap: 5px;
              .bottom-part {
                span {
                  padding: 3px 7px;
                  border-radius: 6px;
                  font-size: 12px;

                  &:nth-child(1) {
                    background-color: rgb(221, 221, 221);
                    color: gray;
                  }
                  &:nth-child(2) {
                    background-color: rgb(245, 83, 110, 18%);
                    color: rgb(245, 83, 110);
                  }
                }
              }
            }
          }

          .offer-2 {
            position: absolute;
            left: -20px;
            bottom: 40px;
            width: 350px;
            height: 90px;
            background-color: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            gap: 10px;

            .left-part {
              .icon-container {
                width: 60px;
                height: 60px;
                border-radius: 50px;
                background: linear-gradient(
                  117deg,
                  rgba(46, 64, 83, 1) 0%,
                  rgba(3, 12, 21, 1) 48%
                );
                display: flex;
                justify-content: center;
                align-items: center;

                svg {
                  path {
                    stroke: white;
                  }
                }
              }
            }

            .right-part {
              display: flex;
              flex-direction: column;
              gap: 5px;
              .bottom-part {
                span {
                  padding: 3px 7px;
                  border-radius: 6px;
                  font-size: 12px;

                  &:nth-child(1) {
                    background-color: rgb(221, 221, 221);
                    color: gray;
                  }
                  &:nth-child(2) {
                    background-color: rgba(46, 64, 83);
                    color: white;
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  #partners {
    /* background-color: red; */

    min-height: 500px;
    width: 100%;

    .divider {
      position: relative;
      z-index: 999;
      width: 100%;
      display: flex;

      img {
        display: flex;
        width: 100%;
        position: absolute;
        top: -250px;
        left: 0;
      }
    }

    .content {
      padding: var(--default-d-padding);
      padding-top: 90px;

      .logos {
        overflow: hidden;
        padding: 10px 0;
        white-space: nowrap;
        position: relative;
        margin-top: 50px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        justify-content: center;
        align-items: center;

        img {
          height: 80px;
          -webkit-user-drag: none;
          justify-self: center;
          transition: 200ms ease;

          &:nth-child(5) {
            height: 100px;
          }
        }
      }
    }
  }

  #about {
    width: 100%;
    min-height: 100vh;
    padding-top: 90px;

    .about-container {
      padding: var(--default-d-padding);
      .top-heading {
        padding: 0 120px;
        padding-top: 90px;
        display: flex;
        flex-direction: column;
        gap: 18px;

        p {
          text-align: center;
        }

        h2 {
          text-align: center;
          padding-top: 30px;
          /* color: rgb(131, 131, 131); */
        }
      }
    }

    #whyChoose {
      width: 100%;
      min-height: 80vh;
      margin-top: 90px;
      background-image: url("./assets/images/whyChoose.jpg");
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      padding: var(--default-d-padding);
      display: flex;
      flex-direction: column;

      justify-content: center;

      .techProfessiancyTitle {
        text-align: center;

        h2 {
          font-size: 30px;
          color: white;
        }
      }

      .whyChooseUsTitle {
        width: 60%;

        h1 {
          font-size: 40px;
          color: white;
        }
        p {
          color: rgb(192, 192, 192);
          font-size: 16px;
        }
      }

      .whyChooseUsBody {
        width: 60%;
        padding-top: 30px;
      }

      .bottom-about-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding-top: 45px;
        .about-card {
          width: 250px;
          height: 190px;
          box-shadow: 0 0 14px rgba(128, 128, 128, 0.116);
          border-radius: 12px;
          padding: 30px;
          display: flex;
          flex-direction: column;
          gap: 15px;
          transition: 200ms ease;
          background-color: white;

          .card-top {
            display: flex;
            justify-content: center;
            align-items: center;
          }

          .card-bottom {
            h2 {
              font-size: 18px;
              text-align: center;
              color: rgb(131, 131, 131);
              font-weight: 500;
            }
          }

          &:hover {
            box-shadow: 7px 14px 14px rgba(128, 128, 128, 0.116);
          }
        }
      }
    }
  }

  #services {
    width: 100%;
    min-height: 100vh;
    padding: var(--default-d-padding);
    padding-top: 90px;

    .services-heading {
      padding: 0 120px;
      text-align: center;
      padding-top: 55px;
    }

    .services-body {
      .card-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        padding-top: 50px;

        .card {
          width: 340px;
          min-height: 300px;
          box-shadow: 0 0 14px rgba(128, 128, 128, 0.185);
          border-radius: 6px;
          padding: 50px 30px;
          display: flex;
          flex-direction: column;
          gap: 10px;
          transition: 200ms ease;

          p {
            color: rgb(150, 150, 150);
          }

          &:hover {
            transform: translateY(-10px);
          }
        }
      }
    }
  }

  #contacts {
    width: 100%;
    min-height: 100vh;
    padding: var(--default-d-padding);
    padding-top: 90px;
    padding-bottom: 90px;

    .contact-us-content {
      width: 100%;
      display: flex;
      padding-top: 50px;
      gap: 20px;

      .left-content {
        width: 50%;
        border: 1px solid rgba(134, 134, 134, 0.089);
        padding: 20px;
        border-radius: 6px;

        h1 {
          font-weight: 600;
          font-size: 24px;
        }

        p {
          font-size: 15px;
          color: rgb(150, 150, 150);
        }

        form {
          padding-top: 20px;
          display: flex;
          flex-direction: column;
          gap: 12px;
          .input-container {
            display: flex;
            flex-direction: column;
            gap: 3px;

            label {
              font-size: 15px;
              font-weight: 600;
            }

            input,
            textarea {
              padding: 10px;
              outline: none;
              border: 1px solid rgba(134, 134, 134, 0.089);
              border-radius: 6px;
            }
          }

          .button-container {
            padding-top: 20px;
            button {
              width: 100%;
              height: 50px;
              padding: 10px;
              border-radius: 6px;
              border: none;
              cursor: pointer;
              background: linear-gradient(60deg, #cc3115, var(--orange));
              color: white;
              display: flex;
              justify-content: center;
              align-items: center;

              .spinner {
                display: none;
                width: 25px;
                height: 25px;
                border: 2px solid white;
                border-radius: 50px;
                border-top: 2px solid rgba(255, 255, 255, 0.432);
                border-right: 2px solid rgba(255, 255, 255, 0.432);
                animation: spinAnim 1s infinite linear;
              }
            }
          }
        }
      }

      .right-content {
        width: 50%;
        border: 1px solid rgba(134, 134, 134, 0.089);
        padding: 20px;
        border-radius: 6px;

        h1 {
          font-weight: 600;
          font-size: 24px;
        }

        p {
          font-size: 15px;
          color: rgb(150, 150, 150);
        }

        .contacts-info {
          padding-top: 20px;
          ul {
            list-style-type: none;
            display: flex;
            flex-direction: column;
            gap: 20px;

            li {
              display: flex;
              align-items: flex-start;
              gap: 15px;
            }
          }

          p {
            padding-top: 20px;
          }
        }
      }
    }
  }

  footer {
    height: 100px;
    background: linear-gradient(
      117deg,
      rgba(46, 64, 83, 1) 0%,
      rgba(3, 12, 21, 1) 48%
    );
    display: flex;
    justify-content: center;
    align-items: center;

    p {
      color: white;

      span {
        background: -webkit-linear-gradient(
          30deg,
          #e53317,
          #fe9400,
          #fdf2e3
        );
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 600;
      }
    }
  }
}
.accordion {
  background-color: #ffffff;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* margin: 8px 0; */

  span {
    display: flex;
    align-items: center;

    gap: 20px;
  }
}

.active,
.accordion:hover {
  background-color: #ccc;
}

.accordion:after {
  content: "\002B";
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  margin-bottom: 10px;

  p {
    padding: 20px 0;
  }
}
#preloader {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    117deg,
    rgba(46, 64, 83, 1) 0%,
    rgba(3, 12, 21, 1) 48%
  );
  position: fixed;
  display: grid;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
}

.loading__text {
  color: #fff;
  font-weight: 700;
  position: relative;
  top: -50px;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 10px;

  .logoTitle {
    font-size: 19px;
    span {
      color: #ced7e7;
    }
  }

  .icon {
    padding-bottom: 80px;
  }
}

.pace {
  pointer-events: none;
  user-select: none;
  z-index: 9999999999;
  position: fixed;
  margin: auto;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: 0;
  width: 400px;
  border: 0;
  height: 2px;
  overflow: hidden;
  background-color: rgb(255, 255, 255, 8%);
}

.pace .pace-progress {
  max-width: 400px;
  position: absolute;
  z-index: 2000;
  top: 0;
  right: 100%;
  height: 100%;
  width: 100%;
  background: #fff;
}

.pace.pace-inactive {
  display: block;
}

.menu-button {
  display: none;
}

.navbar-menu-s {
  display: none;
}

@keyframes spinAnim {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 768px) {
  .services-image {
    margin-bottom: 35px;
  }
  .backToTop {
    display: none;
  }
  .pace .pace-progress {
    max-width: 400px;
    position: absolute;
    z-index: 2000;
    top: 0;
    right: 100%;
    height: 100%;
    width: 100% !important;
    background: #fff;
  }

  .s-t {
    padding-bottom: 50px;
  }
  .loading__text {
    .icon {
      padding-bottom: 120px;
    }
  }

  header {
    .nav-links {
      display: none;
    }

    .menu-button {
      display: flex;
      width: 40px;
      height: 100%;
      flex-direction: column;
      gap: 10px;

      .line {
        width: 100%;
        height: 3px;
        background-color: var(--orange);
      }
    }
  }

  .navbar-menu-s {
    position: fixed;
    height: 100vh;
    width: 100%;
    background: linear-gradient(
      117deg,
      rgba(46, 64, 83, 1) 0%,
      rgba(3, 12, 21, 1) 48%
    );
    z-index: 9999992;
    padding: 10px 8%;
    /* display: none; */
    display: flex;
    flex-direction: column;
    left: -1000px;
    transition: 600ms ease;

    .menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 0;

      .left-header {
        color: white;

        h2 {
          font-size: 43px;
        }
      }

      .right-header {
        button {
          background-color: transparent;
          border: none;
        }
      }
    }

    .menu-body {
      flex-grow: 1;

      ul {
        list-style-type: none;
        display: flex;
        flex-direction: column;
        gap: 20px;

        a {
          text-decoration: none;
          color: white;
          font-size: 20px;
        }
      }
    }

    .menu-footer {
      text-align: center;
      color: rgba(226, 226, 226, 0.829);
      padding-bottom: 50px;
    }
  }

  .active {
    left: 0;
  }

  #home {
    flex-direction: column-reverse;
    padding: var(--default-s-padding);
    min-height: 100vh !important;
    gap: 40px !important;
    padding-top: 130px !important;
    padding-bottom: 130px !important;

    min-height: 85vh !important;

    .left {
      width: 100% !important;
      height: 50% !important;
      /* display: none; */

      p {
        font-size: 18px !important;
        text-align: center;
      }

      h1 {
        text-align: center;
      }

      button {
        width: 100% !important;
      }
    }
    .right {
      width: 100% !important;
      height: 50% !important;
    }
  }

  #about {
    .about-container {
      .top-heading {
        padding: var(--default-s-padding) !important;
      }
    }

    #whyChoose {
      padding-top: 30px !important;
      padding-bottom: 30px !important;

      .bottom-about-content {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 30px !important;

        .about-card {
          width: 100% !important;
          height: 190px;
          box-shadow: 0 0 14px rgba(128, 128, 128, 0.116);
          border-radius: 12px;
          padding: 30px;
          display: flex;
          flex-direction: column;
          gap: 15px;
          transition: 200ms ease;
          background-color: white;

          .card-top {
            display: flex;
            justify-content: center;
            align-items: center;
          }

          .card-bottom {
            h2 {
              font-size: 18px;
              text-align: center;
              color: rgb(131, 131, 131);
              font-weight: 500;
            }
          }

          &:hover {
            box-shadow: 7px 14px 14px rgba(128, 128, 128, 0.116);
          }
        }
      }
    }
  }

  #partners {
    .divider {
      position: relative;
      z-index: 999;
      width: 100%;
      display: flex;

      img {
        display: flex;
        width: 100%;
        position: absolute;
        top: -70px !important;
        left: 0;
      }
    }
    .content {
      .logos {
        grid-template-columns: repeat(2, 1fr) !important  ;

        img {
          width: 100%;
          object-fit: contain;
        }
      }
    }
  }

  #services {
    .services-heading {
      padding: var(--default-s-padding) !important;
    }

    .services-body {
      .card-container {
        grid-template-columns: repeat(1, 1fr) !important;

        .card {
          width: 100% !important;
        }
      }
    }
  }

  #contacts {
    padding: 30px 4% !important;
    .contact-us-content {
      flex-direction: column-reverse;

      .left-content {
        width: 100% !important;
      }
      .right-content {
        width: 100% !important;
      }
    }
  }

  footer {
    text-align: center !important;
  }
}
@media (min-width: 768px) and (max-width: 1224px) {
  .pace .pace-progress {
    max-width: 400px;
    position: absolute;
    z-index: 2000;
    top: 0;
    right: 100%;
    height: 100%;
    width: 100% !important;
    background: #fff;
  }

  .s-t {
    padding-bottom: 50px;
  }
  .loading__text {
    .icon {
      padding-bottom: 120px;
    }
  }

  header {
    .nav-links {
      display: none;
    }

    .menu-button {
      display: flex;
      width: 40px;
      height: 100%;
      flex-direction: column;
      gap: 10px;

      .line {
        width: 100%;
        height: 3px;
        background-color: var(--orange);
      }
    }
  }

  .navbar-menu-s {
    position: fixed;
    height: 100vh;
    width: 100%;
    background: linear-gradient(
      117deg,
      rgba(46, 64, 83, 1) 0%,
      rgba(3, 12, 21, 1) 48%
    );
    z-index: 9999992;
    padding: 10px 8%;
    /* display: none; */
    display: flex;
    flex-direction: column;
    left: -1900px;
    transition: 600ms ease;

    .menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 0;

      .left-header {
        color: white;

        h2 {
          font-size: 43px;
        }
      }

      .right-header {
        button {
          background-color: transparent;
          border: none;
        }
      }
    }

    .menu-body {
      flex-grow: 1;

      ul {
        list-style-type: none;
        display: flex;
        flex-direction: column;
        gap: 20px;

        a {
          text-decoration: none;
          color: white;
          font-size: 20px;
        }
      }
    }

    .menu-footer {
      text-align: center;
      color: rgba(226, 226, 226, 0.829);
      padding-bottom: 50px;
    }
  }

  .active {
    left: 0;
  }

  #home {
    flex-direction: column-reverse;
    padding: var(--default-s-padding);
    min-height: 100vh !important;
    gap: 40px !important;
    padding-top: 130px !important;
    padding-bottom: 130px !important;

    min-height: 85vh !important;

    .left {
      width: 100% !important;
      height: 50% !important;
      /* display: none; */

      p {
        font-size: 18px !important;
        text-align: center;
      }

      h1 {
        text-align: center;
      }

      button {
        width: 100% !important;
      }
    }
    .right {
      width: 100% !important;
      height: 50% !important;
    }
  }

  #about {
    .about-container {
      .top-heading {
        padding: var(--default-s-padding) !important;
      }
    }

    #whyChoose {
      padding-top: 30px !important;
      padding-bottom: 30px !important;

      .bottom-about-content {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 30px !important;

        .about-card {
          width: 100% !important;
          height: 190px;
          box-shadow: 0 0 14px rgba(128, 128, 128, 0.116);
          border-radius: 12px;
          padding: 30px;
          display: flex;
          flex-direction: column;
          gap: 15px;
          transition: 200ms ease;
          background-color: white;

          .card-top {
            display: flex;
            justify-content: center;
            align-items: center;
          }

          .card-bottom {
            h2 {
              font-size: 18px;
              text-align: center;
              color: rgb(131, 131, 131);
              font-weight: 500;
            }
          }

          &:hover {
            box-shadow: 7px 14px 14px rgba(128, 128, 128, 0.116);
          }
        }
      }
    }
  }

  #partners {
    .divider {
      position: relative;
      z-index: 999;
      width: 100%;
      display: flex;

      img {
        display: flex;
        width: 100%;
        position: absolute;
        top: -70px !important;
        left: 0;
      }
    }
    .content {
      .logos {
        grid-template-columns: repeat(2, 1fr) !important  ;

        img {
          width: 100%;
          object-fit: contain;
        }
      }
    }
  }

  #services {
    .services-heading {
      padding: var(--default-s-padding) !important;
    }

    .services-body {
      .card-container {
        grid-template-columns: repeat(1, 1fr) !important;

        .card {
          width: 100% !important;
        }
      }
    }
  }

  #contacts {
    padding: 30px 4% !important;
    .contact-us-content {
      flex-direction: column-reverse;

      .left-content {
        width: 100% !important;
      }
      .right-content {
        width: 100% !important;
      }
    }
  }

  footer {
    text-align: center !important;
  }
  .backToTop {
    display: none;
  }
}



.backToTop {
  position: fixed;
  bottom: 50px;
  right: 2.5%;
  z-index: 99999;
  border: none;
  background-color: transparent;
  cursor: pointer;
  opacity: 0;
  transition: 200ms ease;

  .icon {
    width: 50px;
    height: 50px;
    background-color: var(--orange);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
  }
}

.scrolled {
  opacity: 1;
}
