//OUR PROJECT AREA
.project {
  padding-top: 140px;
  &__container {
    border-bottom: 1px solid #dddddd;
    padding-bottom: 60px;
  }
  &-wrapper {
    margin-bottom: 70px;
    &-image {
      margin-left: -30px;
      margin-bottom: -10px;
      img {
        max-width: 100%;
      }
    }

    &-title {
      h3 {
        font-size: 30px;
        line-height: 40px;
      }

      span {
        font-size: 16px;
        font-family: $gilroy-medium;
        line-height: 30px;
        color: $tertiary;
        padding: 5px 0;
        display: block;
      }

      p {
        font-size: 18px;
        line-height: 30px;
        margin-top: 5px;
      }
    }

    &-button {
      margin-top: 20px;
    }
  }

  .load-more-button {
    text-align: center;
    margin-top: 10px;

    .primary__button {
      font-size: 18px;
    }
  }
}

//OUR PROJECT DEATIL AREA
.project-details-content {
  .our-work-process {
    margin-top: 125px;
    padding-bottom: 150px;
    z-index: 5;
  }
}

.project-detail {
  padding-top: 160px;
  .overview-image {
    img {
      border-radius: 5px;
    }
  }

  .project-overview-wrapper {
    background-color: white;
    position: relative;
    margin: 0 100px;
    margin-top: -58px;
    border-radius: 5px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.07);

    .overview-detail {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 30px 45px;

      p {
        font-size: 18px;
        line-height: 30px;
        font-family: $gilroy-medium;
      }

      h6 {
        font-size: 18px;
        line-height: 30px;
        font-family: $gilroy-bold;
      }
    }
  }

  .project-detail-content {
    margin-top: 58px;

    h2 {
      font-size: 40px;
      line-height: 49px;
      margin-bottom: 15px;
    }

    p {
      font-size: 18px;
      line-height: 30px;
    }
  }

  .project-next-prev-button {
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .btn-modifi {
      font-size: 18px;
      border: 1px solid $tertiary;
      color: $tertiary;
      padding: 15px 38px;
      display: flex;
      align-items: center;

      &:hover {
        background: $tertiary;
        color: white;
      }
    }

    .icon01 {
      padding-right: 5px;
    }

    .icon02 {
      padding-left: 5px;
    }
  }
}

//project-work-process
.project-work-process {
  background: #fff5f7;
  margin: 0 45px;
  border-radius: 24px;
  position: relative;
  z-index: -5;
  &.project-detail {
    padding-top: 125px;
  }
  .process-item {
    .dashed02 {
      background-color: #fff5f7;
    }
  }

  .shape {
    pointer-events: none;
    img {
      position: absolute;
    }

    .round-shape01 {
      top: -7%;
      right: 3%;
    }

    .round-shape02 {
      top: -10%;
      left: 3.5%;
    }
  }
}

/*----------------------------------------*/
/*  RESPONSIVE CSS START 
/*----------------------------------------*/

@media (max-width: 1200px) {
  // project page
  .project {
    padding-top: 120px;
    &-wrapper {
      margin-bottom: 30px;
      &-title {
        h3 {
          margin-bottom: 0px;
        }
        span {
          line-height: 24px;
        }
      }
    }
    .load-more-button {
      margin-top: 60px;
    }
  }
  // Project-Details
  .project-detail .project-detail-content h2 {
    font-size: 38px;
    line-height: 46px;
    margin-bottom: 15px;
  }
  .project-detail .project-next-prev-button {
    margin-top: 60px;
  }
  .project-detail .project-detail-content p {
    font-size: 16px;
    line-height: 26px;
  }
}

@media (max-width: 1023px) {
  // Project Details
  .project-detail {
    padding-top: 90px;
  }
  .project-detail .project-detail-content {
    margin-top: 30px;
  }

  .project-work-process {
    &.project-detail {
      margin: 0px;
      margin-top: 90px;
    }
  }
}
@media (min-width: 992px) and (max-width: 1024px) {
  .project {
    &-wrapper {
      &-image {
        margin-left: -25px;
      }
    }
  }
}
@media (max-width: 991px) {
  // project-worck-proecess
  .our-work-process {
    .process-item {
      .dashed01,
      .dashed02,
      .dashed03 {
        &::before,
        &::after {
          display: none;
        }
      }
    }

    .shape {
      .round-shape01 {
        top: -5%;
      }
      .round-shape02 {
        top: -6%;
      }
    }
  }

  // Project details page
  .project-detail {
    .project-overview-wrapper {
      margin-top: 40px;
      margin-left: 0px;
      margin-right: 0px;
      width: 100%;
      .overview-detail {
        display: list-item;
        text-align: center;
        .detail-tittle {
          margin-bottom: 15px;
        }
      }
    }
    .overview-image {
      display: flex;
      justify-content: center;
      img {
        object-fit: contain;
      }
    }
  }
}

@media (max-width: 767px) {
  .project {
    padding-top: 60px;
    &-wrapper {
      &-title {
        h3 {
          font-size: 24px;
          line-height: 32px;
          margin-bottom: 0px;
        }
        span {
          line-height: 26px;
        }
        p {
          font-size: 14px;
          line-height: 28px;
        }
      }
      &-button {
        margin-top: 15px;
        .primary__button {
          padding: 15px 30px;
        }
      }
    }
  }
  // Project deatils page
  .project-detail {
    .project-overview-wrapper {
      margin-left: 0px;
      margin-right: 0px;
    }
  }
}

@media (max-width: 575px) {
  // project-worck-proecess
  .project-work-process {
    margin: 0;
    border-radius: 0px;
  }
}

@media (min-width: 320px) and (max-width: 574px) {
  .project {
    .load-more-button {
      .primary__button {
        padding: 15px 30px;
      }
    }
  }

  .project-detail {
    padding-top: 60px;
    .project-detail-content {
      h2 {
        font-size: 24px;
        line-height: 38px;
        margin-bottom: 0px;
      }
    }
    .project-overview-wrapper {
      margin-top: 0px;
    }
  }
  .our-work-process {
    .section-title {
      h2 {
        font-size: 26px;
        line-height: 36px;
      }
    }
    &.project-detail {
      padding: 60px 0px;
      padding-bottom: 90px;
      margin-top: 60px;
    }
    .shape {
      display: none;
    }
  }
}

@media (min-width: 320px) and (max-width: 419px) {
  .project {
    &-wrapper {
      &-image {
        margin-left: -15px;
      }
      &-title {
        h3 {
          margin-top: 15px;
          font-size: 28px;
          line-height: 28px;
        }
      }
    }
  }
  .project-detail {
    .project-overview-wrapper {
      .overview-detail {
        padding: 30px 20px;
      }
    }
  }
}

/* Medium devices 768 - 991 */
@media #{$md} {
  /* common area start */
  .project {
    &-wrapper {
      &-image {
        margin-left: -15px;
      }
    }
  }
  // project-worck-proecess
  .project-work-process {
    .shape {
      .round-shape01 {
        top: -5%;
      }
      .round-shape02 {
        top: -6%;
      }
    }
  }
}

/* Small devices 420 - 574 */
@media #{$xs} {
  /* common area start */
  .project {
    &-wrapper {
      &-image {
        margin-left: -20px;
      }
    }
  }
}
