/** Project hero section start from here */
.projects-hero-section {
  background: var(--light-color);
  padding: 106px 54px;
  padding-bottom: 88px;
  position: relative;
  &::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 206px;
    background: #393939;
    z-index: 1;
  }
  .container {
    position: relative;
    z-index: 2;
  }
  .headings {
    padding-inline: 53px;
    margin-bottom: 143px;

    .row {
      --bs-gutter-x: 20px;
      --bs-gutter-y: 40px;
    }

    h6 {
      font-family: Outfit;
      font-size: 21.33px;
      font-weight: 300;
      line-height: 26.88px;
      color: var(--gray_900);
      padding-bottom: 13px;
      max-width: 400.67px;
      border-bottom: 4px solid #202020;
    }

    .title {
      margin-top: 67.33px;
      font-family: Outfit;
      font-size: 42.67px;
      font-weight: 300;
      color: var(--gray_900);

      span {
        font-size: 128px;
        font-weight: 700;
        line-height: 120px;
      }
    }

    .description {
      font-family: Outfit;
      font-size: 32px;
      font-weight: 500;
      line-height: 48px;
      color: var(--color-black);
    }
  }

  .featued-img-wrapper {
    width: 100%;
    height: 701px;
    position: relative;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .info-box {
      position: absolute;
      bottom: 73px;
      left: 60px;
      right: 60px;
      padding: 45px 48px;
      background: #d9d9d91a;
      -webkit-backdrop-filter: blur(200px);
      backdrop-filter: blur(200px);

      p {
        font-family: Outfit;
        font-size: 24px;
        font-weight: 500;
        line-height: 43.44px;
        text-align: center;
        color: var(--color-grey-light-alt);
        margin: 0px;

        span {
          color: var(--secondary-color);
        }
      }
    }
  }

  @media only screen and (max-width: 768px) {
    padding: 60px 40px;

    .headings {
      padding-inline: 35px;
      margin-bottom: 80px;

      h6 {
        font-size: 18px;
        line-height: 26.88px;
        padding-bottom: 13px;
        border-bottom: 4px solid #202020;
        max-width: 250px;
      }

      .title {
        margin-top: 40px;
        font-size: 32px;

        span {
          font-size: 80px;
          line-height: 120px;
        }
      }

      .description {
        font-size: 24px;
        line-height: 32px;
      }
    }

    .featued-img-wrapper {
      .info-box {
        position: absolute;
        bottom: 55px;
        left: 40px;
        right: 40px;
        padding: 25px 38px;

        p {
          font-size: 18px;
          line-height: 28px;
        }
      }
    }
  }
  @media only screen and (max-width: 576px) {
    padding: 60px 20px;

    .headings {
      padding-inline: 15px;
      margin-bottom: 60px;

      .row {
        --bs-gutter-y: 25px;
      }

      h6 {
        font-size: 18px;
        line-height: 24px;
        padding-bottom: 10px;
        border-bottom: 3px solid #202020;
      }

      .title {
        margin-top: 35px;
        font-size: 28px;

        span {
          font-size: 62px;
          line-height: 90px;
        }
      }

      .description {
        font-size: 18px;
        line-height: 24px;
      }
    }

    .featued-img-wrapper {
      height: 460px;
      .info-box {
        position: absolute;
        bottom: 25px;
        left: 10px;
        right: 10px;
        padding: 25px 15px;

        p {
          font-size: 16px;
          line-height: 24px;
        }
      }
    }
  }
}
/** Project hero section end here */

/** Highlights section start from here */
.highlights-section {
  position: relative;
  z-index: 2;
  padding: 58px 54px 50px;
  background: linear-gradient(148.4deg, #545454 -4.16%, #000000 100%);

  .highlights-row {
    --bs-gutter-x: 88px;
  }

  .description {
    font-family: Outfit;
    font-size: 32px;
    font-weight: 500;
    line-height: 57.6px;
    color: var(--light-color);
    margin-top: 137px;
    span {
      color: var(--primary-color);
    }
  }

  .highlights-img-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;

    img {
      position: absolute;
      top: 0px;
      right: 44px;
      width: 100%;
      max-width: 421px;
      height: 641px;
      object-fit: cover;
      box-shadow: 0px 4px 20px 0px #000000;
    }
  }

  .hightlights-card {
    padding: 43px 24px;
    background: #505050;
    margin-top: 94px;

    ul {
      padding: 0px;
      margin: 0px;
      list-style: none;
      li {
        font-family: Outfit;
        font-size: 24px;
        font-weight: 500;
        line-height: 36px;
        padding-left: 48px;
        color: #ffffff;
        position: relative;
        &:not(:last-child) {
          margin-bottom: 18px;
        }

        &::after {
          content: "";
          position: absolute;
          top: 0px;
          left: 0px;
          background-image: url(../icons/check-circle-icon.svg);
          background-size: 32px;
          width: 32px;
          height: 32px;
        }
      }
    }
  }

  @media only screen and (max-width: 991px) {
    .highlights-row {
      --bs-gutter-y: 60px;
    }

    .highlights-img-wrapper {
      img {
        position: unset;
        width: 100%;
        max-width: unset;
      }
    }
    .description {
      margin: 0px;
    }
  }
  @media only screen and (max-width: 768px) {
    padding: 60px 40px;

    .highlights-row {
      --bs-gutter-y: 40px;
    }

    .description {
      font-size: 24px;
      line-height: 38px;
    }

    .highlights-img-wrapper {
      img {
        height: 460px;
      }
    }

    .hightlights-card {
      padding: 32px 20px;
      background: #505050;
      margin-top: 60px;

      ul {
        li {
          font-size: 18px;
          line-height: 28px;
          padding-left: 38px;
          &:not(:last-child) {
            margin-bottom: 15px;
          }

          &::after {
            background-size: 24px;
            width: 24px;
            height: 24px;
          }
        }
      }
    }
  }
  @media only screen and (max-width: 576px) {
    padding: 60px 20px;

    .highlights-row {
      --bs-gutter-y: 20px;
    }

    .highlights-img-wrapper {
      img {
        height: 380px;
      }
    }

    .description {
      font-size: 18px;
      line-height: 24px;
    }

    .hightlights-card {
      padding: 24px 16px;
      background: #505050;
      margin-top: 40px;

      ul {
        li {
          font-size: 16px;
          line-height: 24px;
          padding-left: 28px;

          &:not(:last-child) {
            margin-bottom: 10px;
          }

          &::after {
            background-size: 18px;
            width: 18px;
            height: 18px;
          }
        }
      }
    }
  }
}
/** Highlights section end here */

/** Projects section start from here */
.project-section {
  background: #202020;
  padding: 54px;
  padding-top: 44px;
  padding-inline: 94px;
  margin-top: 120px;
  position: relative;

  .title {
    font-family: Outfit;
    font-size: 64px;
    font-weight: 600;
    line-height: 80.64px;
    color: var(--light-color);
    margin-right: -40px;
    text-align: end;
    margin-bottom: 133px;
  }

  .three-lines {
    position: absolute;
    top: 0px;
    left: -94px;
    transform: scale(-1) scaleY(-1);
    width: 50%;
    max-width: 638.18px;
    max-height: 133.15px;
  }

  .projects {
    column-gap: clamp(
      24px,
      calc((100% - (288.6px * 3)) / 2),
      calc((100% - (288.6px * 3)) / 2)
    );
    row-gap: 98px;
    margin-top: 105px;
    padding: 10.36px 13.64px 0px 13.64px;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    max-width: 1252px;
    margin-inline: auto;

    @media screen and (max-width: 1130px) {
      column-gap: clamp(
        24px,
        calc((100% - (288.6px * 2)) / 1),
        calc((100% - (288.6px * 2)) / 1)
      );
    }

    .project-card {
      width: 100%;
      height: 364.08px;
      max-width: 288.6px;
      position: relative;
      overflow: hidden;
      transition: clip-path 0.3s ease-in-out, background 0.3s ease-in-out;
      clip-path: polygon(55px 0, 100% 0, 100% 100%, 0 100%, 0 55px);

      /* Hover animations */
      &:hover {
        clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
        background: var(--primary-color);

        .featued-img-wrapper {
          width: 90%;
          height: 90%;
        }

        .details {
          top: 0;
          bottom: auto;
          right: 10%;
          background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 100%);
          --webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);

          .inner-content {
            display: block;
          }
        }

        .detail-icon {
          background: #212121;
          border: 5px solid var(--primary-color);
          transform: translate(-190px, 10px);

          img {
            content: url("../icons/red-detail-arrow.svg");
          }
        }

        @media only screen and (max-width: 768px) {
          clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);

          /* .details {
            bottom: 67%;
          } */
        }
      }

      @media only screen and (max-width: 768px) {
        height: 390px;
      }

      .featued-img-wrapper {
        width: 100%;
        height: 100%;
        border-radius: 0px 0px 32px 32px;
        overflow: clip;
        transition: all 0.7s cubic-bezier(0.34, 0, 0.2, 1.2);

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center;
        }
      }

      &:not(:hover) {
        .details {
          padding-right: 90px;
        }
      }

      .details {
        position: absolute;
        top: calc(100% - 90px);
        bottom: 0;
        left: 0px;
        right: 0px;
        padding: 21px 20px 20px 20px;
        height: auto;
        background: rgba(0, 0, 0, 0.4);
        -webkit-backdrop-filter: blur(3.73958px);
        backdrop-filter: blur(3.73958px);
        transition: all 0.7s cubic-bezier(0.34, 0, 0.2, 1.2);

        .inner-content {
          display: none;
          margin-top: 20px;
        }

        h4 {
          font-family: "Outfit";
          font-style: normal;
          font-weight: 400;
          font-size: 23.68px;
          line-height: 28.42px;
          letter-spacing: -0.04em;
          margin-bottom: 0px;
          color: #ffffff;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          min-height: 56px;
        }

        h6 {
          font-family: "Outfit";
          font-style: normal;
          font-weight: 400;
          font-size: 12px;
          line-height: 120.8%;
          letter-spacing: 0.2em;
          color: #ffffff;
          display: -webkit-box;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          overflow: hidden;
        }

        p {
          font-family: "Outfit";
          font-style: normal;
          font-weight: 600;
          font-size: 10px;
          line-height: 17px;
          margin: 0px;
          color: #ffffff;
          display: -webkit-box;
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          overflow: hidden;
        }

        @media only screen and (max-width: 768px) {
          padding: 16.17px 10.45px 16.45px 16.67px;
          bottom: --63.8px;

          h4 {
            font-size: 18px;
          }

          .inner-content {
            margin-top: 15px;
          }
        }
      }

      /* Details Icon */
      .detail-icon {
        box-sizing: content-box;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        width: 46.59px;
        height: 46.59px;
        border-radius: 100px;
        right: 15.88px;
        bottom: 20.75px;
        border: 2px solid #ffffff;
        transition: all 0.55s cubic-bezier(0.34, 0.8, 0.64, 1.1);

        transform: translateX(0);

        img {
          width: 16.05px;
          height: 16.05px;
        }
      }
    }
  }

  @media only screen and (max-width: 991px) {
    padding-inline: 60px;
    .title {
      font-size: 52px;
      line-height: 70px;
      margin-right: -10px;
    }
  }
  @media only screen and (max-width: 768px) {
    padding: 60px 40px;

    .title {
      font-size: 42px;
      line-height: 52px;
      margin-bottom: 60px;
      margin-right: 0px;
    }

    .projects {
      column-gap: 24px;
      row-gap: 60px;
      margin-top: 60px;
    }
  }

  @media only screen and (max-width: 720px) {
    .projects {
      .project-card {
        max-width: 100%;
      }
    }
  }
  @media only screen and (max-width: 576px) {
    padding: 60px 20px;
    .title {
      font-size: 32px;
      line-height: 42px;
      margin-bottom: 40px;
      margin-right: 0px;
    }

    .projects {
      column-gap: 16px;
      row-gap: 24px;

      .project-card {
        max-width: 100%;
      }
    }
  }
}
/** Projects section end here */

/** Get in touch section start from here */
.getin-touch-section {
  padding-block: 120px;

  @media only screen and (max-width: 768px) {
    padding-block: 60px;
  }
}
/** Get in touch section end here */
