@keyframes start-heading {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes start-para {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes start-banner {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes start-button {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

html,
body {
  background-color: #1E1E1E;
  height: 100%;
  margin: 0;
}

/* header css  */
body .header {
  background-color: black;
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 70px;

  @media screen and (max-width:830px) {
    padding: 0 20px;
  }

  .logo {
    height: 40px;
    width: auto;

    @media screen and (max-width: 515px) {
      height: 50px;
      width: auto;
    }
  }

  .drawer-icon {
    height: 50px;
    width: 50px;

    @media screen and (max-width: 515px) {
      height: 30px;
      width: auto;
    }

  }



  /* navigation menu */
  .nav-menu {
    color: white;
    display: flex;
    gap: 20px;

    /* navigation menu item */
    .menu-item {
      font-size: 20px;
      font-family: "Inter";
      list-style-type: none;
      cursor: pointer;
      transition: transform 0.2s ease-in-out, text-shadow 0.2s ease-in-out;

      .no-style {
        color: inherit;
        text-decoration: none;
      }

      &:hover {
        text-shadow:
          0 0 5px #fff,
          0 0 10px #fff,
          0 0 15px #0ff,
          0 0 20px #0ff;
        transform: scale(1.1);
      
      }
    }

  }
}

.drawer {
  width: 50%;
  height: 100%;
  background: #111;
  position: fixed;
  top: 0;
  right: -60%;
  transition: 0.3s;
  color: white;
  padding: 20px;
  z-index: 4;

  .close-btn {

    height: 55px;
    width: auto;
    align-content: end;
    margin-left: auto;
    position: relative;
    cursor: pointer;
    top: 40px;
    left: 30px;

  }

  .drawer-menu {
    margin-top: 100px;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 30px;

    .drawer-item {
      font-size: 20px;
      font-family: "Inter";
      list-style-type: none;
      color: white;
      cursor: pointer;
      transform: scale(1);
      transition: transform 0.2s ease-in , text-shadow 0.2s ease-in;
      text-decoration: none;

      &:hover {
        text-shadow:
          0 0 5px #fff,
          0 0 10px #fff,
          0 0 15px #0ff,
          0 0 20px #0ff;
        transform: scale(1.1);
        
      }
    }
  }

  &.open {
    right: 0;
  }

}


body .banner {
  height: 500px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  justify-content: center;
  gap: 20px;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url("../assets/images/banner.jpg");
    background-size: cover;
    background-position: center center;
    /* background-position-y: -280px; */
    background-repeat: no-repeat;
    transform: scaleX(-1);
    z-index: 0;

    opacity: 0;
    animation-name: start-banner;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
    animation-duration: 0.4s;

  }

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 500px;
    width: 100%;
    background: linear-gradient(to right, rgb(0, 0, 0), black, black 30%, transparent);
    opacity: 0.75;
    /* Optional: make the gradient semi-transparent */
    z-index: 1;
  }

  .heading-one {
    margin-left: 56px;
    font-size: 45px;
    font-family: "Inter";
    color: white;
    width: 750px;
    top: 20%;
    z-index: 2;
    opacity: 0;
    animation-name: start-heading;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
    animation-delay: 0.4s;

    @media screen and (max-width: 830px) {
      font-size: 35px;
      width: 550px;
    }

    @media screen and (max-width: 615px) {
      font-size: 30px;
      word-wrap: break-word;
      text-align: center;
      width: 90%;
      margin: 0 auto;
    }

    @media screen and (max-width: 515px) {
      font-size: 25px;
      width: 90%;
    }

  }

  .para-one {
    margin-left: 56px;
    font-size: 24px;
    font-family: "Inter";
    color: white;
    width: 676px;
    z-index: 2;
    opacity: 0;
    animation-name: start-para;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    animation-duration: 0.8s;
    animation-delay: 0.6s;


    @media screen and (max-width: 830px) {
      font-size: 18px;
      width: 550px;
    }

    @media screen and (max-width: 615px) {
      font-size: 16px;
      word-wrap: break-word;
      text-align: center;
      width: 90%;
      margin: 0 auto;
    }
  }

  .buttons {
    z-index: 2;
    gap: 20px;
    margin-left: 56px;
    display: flex;
    opacity: 0;
    animation-name: start-button;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
    animation-delay: 0.8s;

    @media screen and (max-width: 615px) {
      justify-content: center;
      flex-direction: column;
      margin-left: 0;
      align-items: center;
    }

    .connect {
      height: 55px;
      width: 170px;
      background-color: black;
      border: 2px solid white;
      border-radius: 12px;
      color: white;
      font-size: 20px;
      font-family: 'Inter';
      cursor: pointer;
      transform: scale(1);
      transition: transform 0.2s ease-in-out;

      &:hover {
        transform: scale(1.1);

      }

      @media screen and (max-width: 515px) {
        font-size: 17px;
        width: 140px;
      }
    }

    .services {
      height: 55px;
      width: 170px;
      background-color: black;
      border: 2px solid white;
      border-radius: 12px;
      color: white;
      font-size: 20px;
      font-family: 'Inter';
      cursor: pointer;
      transform: scale(1);
      transition: transform 0.2s ease-in-out;


      &:hover {
        transform: scale(1.1);

      }

      @media screen and (max-width: 515px) {
        font-size: 17px;
        width: 140px;
      }


    }
  }

}



.work-desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: fit-content;
  width: 100%;

  .work-heading {
    color: white;
    font-size: 40px;
    font-family: "Inter";
    text-align: center;
    font-weight: bold;
    margin-top: 93px;

    @media screen and (max-width: 815px) {
      font-size: 35px;
      word-wrap: break-word;
      text-align: center;
      width: 90%;

    }

    @media screen and (max-width: 515px) {
      font-size: 25px;
      word-wrap: break-word;
      text-align: center;
      width: 90%;

    }

  }

  .work-para {
    font-size: 24px;
    font-weight: bold;
    font-family: "Inter";
    color: white;
    width: 60%;
    text-align: center;
    margin-bottom: 93px;

    @media screen and (max-width: 815px) {
      font-size: 18px;
      word-wrap: break-word;
      text-align: center;
      width: 90%;
      margin-bottom: 93px;
    }
  }

  .explore-services {
    font-size: 24px;
    width: 82%;
    word-wrap: normal;
    font-family: "Inter";
    font-weight: bold;
    cursor: pointer;
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    margin-bottom: 20px;
    text-align: end;




    @media screen and (max-width:2500px) {

      width: 55%;
    }

    @media screen and (max-width:1524px) {

      width: 80%;
    }

    @media screen and (max-width:1024px) {
      text-align: center;
    }

  }

  .work-cards {
    height: fit-content;
    display: flex;
    justify-content: center;
    gap: 5%;
    margin-bottom: 213px;
    width: 100%;

    @media screen and (max-width:1024px) {
      flex-direction: column;
      align-items: center;
      gap: 50px;
    }


    .work-card-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 10px;
      box-sizing: border-box;
      height: 377px;
      width: 360px;
      background-color: black;
      border: 2px solid white;
      border-radius: 20px;
      box-shadow: 0 0 0 0 black;
      transform: scale(1);
      transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;

      &:hover {
        transform: scale(1.1);
        box-shadow: 0 0 15px 2px white;
      }

      @media screen and (max-width: 400px) {
        height: 350px;
        width: 300px;
      }

      .work-img {
        height: 170px;
        width: auto;
      }

      .card-title {
        font-size: 24px;
        font-family: "Inter";
        font-weight: bold;
        color: white;
        line-height: 0;

        @media screen and (max-width: 400px) {
          font-size: 18px;
        }
      }

      .card-description {
        font-size: 20px;
        font-family: "Inter";
        font-weight: bold;
        color: white;
        text-align: center;

        @media screen and (max-width: 400px) {
          font-size: 16px;
        }

      }
    }
  }
}

.choose {
  height: fit-content;
  width: 100%;
  background-color: black;
  padding: 20px 20px 100px 20px;
  box-sizing: border-box;

  @media screen and (max-width:1024px) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
  }

  .choose-title {
    font-size: 40px;
    font-family: "Inter";
    font-weight: bold;
    color: white;
    text-align: center;
    line-height: 40px;

    @media screen and (max-width: 515px) {
      font-size: 25px;
    }
  }

  .choose-first {
    display: flex;
    width: 100%;
    align-content: center;
    justify-content: center;
    margin-top: 30px;
    gap: 40px;


    @media screen and (max-width:1024px) {
      flex-direction: column-reverse;
      align-items: center;

      &:nth-of-type(even) {
        flex-direction: column;
        align-items: center;

      }

    }

    .choose-title-desc {
      display: flex;
      flex-direction: column;
      justify-content: center;

      .choose-first-title {
        font-size: 30px;
        font-family: "Inter";
        font-weight: bold;
        color: white;
        line-height: 0;

        @media screen and (max-width:665px) {
          font-size: 20px;
        }

        @media screen and (max-width: 515px) {
          text-align: center;
          font-size: 20px;
        }
      }

      .choose-first-desc {
        margin: 0;
        font-size: 24px;
        font-family: "Inter";
        font-weight: 500;
        color: white;
        width: 660px;

        @media screen and (max-width:665px) {
          font-size: 18px;
          max-width: 500px;
          min-width: 300px;
        }

        @media screen and (max-width: 515px) {
          box-sizing: border-box;
          width: 98%;
          text-align: center;
          font-size: 18;
        }
      }

    }

    .lottie-wrapper {
      width: 400px;
      height: 250px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;

      @media screen and (max-width: 515px) {
        width: 300px;
        height: 250px;
      }

      .lottie-container-1 {
        transform: scale(2);
        /* zoom into animation */
        transform-origin: center;
        background-color: transparent;
        /* keep it centered */
        width: 75%;
        height: 75%;
      }

      .lottie-container-2 {
        transform: scale(2);
        /* zoom into animation */
        transform-origin: center;
        background-color: transparent;
        /* keep it centered */
        width: 70%;
        height: 70%;
      }

      .lottie-container-3 {
        transform: scale(2);
        /* zoom into animation */
        transform-origin: center;
        background-color: transparent;
        /* keep it centered */
        width: 50%;
        height: 50%;
      }

      .lottie-container-4 {
        transform: scale(2);
        /* zoom into animation */
        transform-origin: center;
        background-color: transparent;
        /* keep it centered */
        width: 55%;
        height: 55%;

      }
    }

  }

}

.footer {
  height: 395px;
  width: 100%;
  align-content: center;

  @media screen and (max-width:900px) {
    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-heading {
    font-size: 40px;
    font-weight: bold;
    font-family: "Inter";
    text-align: center;
    color: white;

    @media screen and (max-width:515px) {
      font-size: 25px;
    
    }

  }

  .contacts-detail {

    display: flex;
    justify-content: center;
    gap: 20px;

    @media screen and (max-width:900px) {
      flex-direction: column;
      gap: 20px;
      align-items: center;
      justify-content: center;
      width: 90%;
    }

    @media screen and (max-width:515px) {
      flex-direction: column;
      gap: 20px;
      align-items: center;
      justify-content: center;
      width: 90%;
    }

    .vertical-line {
      height: 63px;
      width: 3px;
      background-color: white;

      @media screen and (max-width:900px) {
        height: 0;
        width: 0;
        display: none;
      }

    }

    .social-media {
      width: 100px;
      height: 63px;
      display: flex;
      align-items: center;
      gap: 20px;

      @media screen and (max-width:900px) {
        width: 90%;
        align-items: center;
        justify-content: center;
      }

      @media screen and (max-width: 515px) {
        width: 90%;
        justify-content: center;


      }

      .social-logo {
        height: 27px;
        width: auto;
        object-fit: fill;
        background-color: white;
        border-radius: 8px;
        cursor: pointer;

        @media screen and (max-width:900px) {
          height: 35px;
          width: auto;
        }

      }
    }

    .contact-item-1 {
      display: flex;
      align-items: center;
      font-size: 24px;
      color: white;
      font-family: "Inter";
      gap: 20px;

      @media screen and (max-width:515px) {
        font-size: 20px;
        width: 100%;
       justify-content: center;
      }

      @media screen and (max-width:360px) {
        font-size: 18px;
      }

      .contact-logo {
        height: 22px;
        width: auto;

        @media screen and (max-width:515px) {
          height: 22px;
          width: auto;
        }


      }
    }
  }
}