/*----------------------------------------*/
/*  HOME PAGE 01
/*----------------------------------------*/
.callto-action {
  background-color: rgba(255, 70, 94, 0.05);
  margin: 0 45px;
  padding: 0px;
  padding-top: 60px;
  border-radius: 24px;
  position: relative;
  z-index: 1;
  &-mask {
    img {
      position: absolute;
    }

    .first-mask {
      top: -50px;
      left: 56px;
      z-index: -1;
    }

    .second-mask {
      bottom: -65px;
      right: 50%;
      left: 39.5%;
      transform: translateX(-100px);
      z-index: -1;
    }
  }

  &-text {
    margin-top: -50px;
    h2 {
      font-size: 48px;
      line-height: 64px;
      font-family: $gilroy-bold;
      max-width: 620px;
    }

    p {
      font-size: 18px;
      line-height: 30px;
      max-width: 95%;
      font-family: $gilroy-medium;
      margin: 20px 0px;
    }
    .primary__button {
      margin-top: 30px;
    }
  }

  &-image {
    img {
      margin-left: 25px;
    }
  }
}

/*----------------------------------------*/
/*  HOME PAGE 02
/*----------------------------------------*/
.call-action-two {
  padding-top: 250px;
  padding-bottom: 390px;
  background-color: rgba(255, 246, 247, 1);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-top-left-radius: 166px;
  position: relative;
  &-content {
    h2 {
      margin-top: 20px;
    }
    p {
      font-size: 18px;
      line-height: 30px;
      margin-bottom: 20px;
      margin-top: -5px;
    }
  }
  // Comments Group
  &_group {
    position: absolute;
    pointer-events: none;
    &::after {
      position: absolute;
    }

    &.call-action_group-1 {
      top: 240px;
      left: 365px;
      span.comments {
        left: 60px;
        &::before {
          left: 30px;
        }
        &::after {
          left: 20px;
        }
      }
    }

    &.call-action_group-2 {
      top: 172px;
      right: 472px;
    }

    &.call-action_group-3 {
      top: 525px;
      right: 362px;
    }

    &.call-action_group-4 {
      top: 650px;
      right: 700px;
    }

    &.call-action_group-5 {
      top: 555px;
      right: 1153px;
    }

    // comments span
    span.comments {
      position: absolute;
      top: -30px;
      max-width: 275px;
      width: 275px;
      text-align: center;
      background-color: #fff;
      color: #000560;
      font-size: 16px;
      line-height: 21px;
      padding: 10px 0px;
      border-radius: 25px;
      border-bottom-left-radius: 0px;
      &::before {
        content: '';
        position: absolute;
        top: 30px;
        width: 17px;
        height: 17px;
        border-radius: 50%;
        background-color: #fff;
      }
      &::after {
        content: '';
        position: absolute;
        top: 50px;
        right: 0px;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background-color: #fff;
      }
    }

    // border-radius
    &.call-action_group-2,
    &.call-action_group-3,
    &.call-action_group-4,
    &.call-action_group-5 {
      span.comments {
        left: -240px;
        border-radius: 25px;
        border-bottom-right-radius: 0px;
        &::before {
          right: 35px;
        }
        &::after {
          right: 15px;
        }
      }
    }
  }
}

/*----------------------------------------*/
/*  HOME PAGE 04
/*----------------------------------------*/
.homepage-03 {
  &.call-to-action03 {
    padding: 165px 0px;
  }
  .call-action-text {
    .sub-section-heading {
      margin-top: -25px;
      h2 {
        margin-bottom: 20px;
      }
      h6 {
        letter-spacing: 2px;
        word-spacing: 5px;
        color: #fff;
        font-size: 14px;
        font-family: $gilroy-regular;
        margin-bottom: 10px;
      }

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

    .t-bg-orange {
      padding: 20px 55px;
      margin-top: 25px;
    }
  }

  .call-action-video {
    z-index: 1;
    position: relative;

    img {
      position: relative;
    }
    .image-overlay {
      position: relative;
      &::before {
        content: '';
        position: absolute;
        background: rgba(0, 5, 96, 0.459);
        border-radius: 4px;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
      }
    }

    .play-video {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translateX(-50%) translateY(-50%);
      z-index: 2;

      a {
        width: 120px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ed880a;
        border-radius: 50%;

        i {
          color: #ffffff;
          font-size: 22px;
        }
      }
    }

    .pattern {
      img {
        position: absolute;
      }

      .pattern-one {
        top: -12%;
        left: -8%;
        z-index: -1;
      }

      .pattern-two {
        bottom: -10%;
        right: -8%;
        z-index: -1;
      }
    }
  }
}

/*----------------------------------------*/
/*  TEAM MEMBER PAGE
/*----------------------------------------*/
.callto-action-modifi {
  background-color: inherit;
  border-radius: 0;
  margin: 0;
  padding: 190px 0px 120px 0px;
  .mask-group {
    .mask01 {
      position: absolute;
      bottom: 20%;
      left: 3%;
      z-index: -1;
    }
  }
  .callto-action-image {
    margin-top: -55px;
    img {
      margin-left: 30px;
      margin-bottom: 35px;
    }
  }
  .callto-action-text {
    margin-top: 35px;
    h2 {
      margin-bottom: 20px;
    }
  }
  .mask-group {
    .mask01 {
      bottom: 15%;
      left: 3.9%;
    }
  }
  // project details
  &.callto-action-project-d {
    padding-top: 130px;
    padding-bottom: 95px;
    .callto-action-text {
      margin-top: 95px;
    }
  }
}

@media (min-width: 1340px) {
  .callto-action-image {
    margin-right: -170px;
  }
}

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

/*common max-Sizes */
@media (max-width: 1200px) {
  .callto-action {
    padding-top: 90px;

    &-image {
      img {
        max-width: 100%;
        height: auto;
      }
    }

    &-text {
      h2 {
        font-size: 42px;
        line-height: 52px;
      }
      p {
        margin-top: 0px;
      }
    }

    .primary__button {
      margin-top: 0px;
    }
  }
  // Homepage 02 / Callaction-02
  .call-action-two {
    &_group {
      &.call-action_group-1 {
        top: 180px;
        left: 120px;
      }
      &.call-action_group-2 {
        top: 235px;
        right: 120px;
      }
      &.call-action_group-3 {
        top: 595px;
        right: 220px;
      }
      &.call-action_group-4 {
        top: 715px;
        right: 600px;
      }
      &.call-action_group-5 {
        top: 510px;
        right: 810px;
      }
    }
  }

  .callto-action-modifi {
    .callto-action-image {
      img {
        margin-left: 0px;
      }
    }
    .mask-group {
      .mask01 {
        display: none;
      }
    }
  }

  .homepage-03 {
    .call-action-video {
      .pattern {
        .pattern-two {
          right: 0px;
        }
      }
    }
  }
  // Service
  .callto-action {
    margin: 0px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .callto-action-modifi {
    .mask-group {
      .mask01 {
        bottom: 28%;
      }
    }
  }
}

@media (min-width: 992px) and (max-width: 1023px) {
  .callto-action-modifi {
    padding: 90px 25px !important;
    .callto-action-text {
      .primary__button {
        margin-top: 15px;
      }
    }
    .mask-group {
      .mask01 {
        bottom: 32%;
      }
    }
  }
}

@media (max-width: 991px) {
  .callto-action {
    &-modifi {
      padding-bottom: 90px;
      .callto-action {
        &-image {
          margin-bottom: 30px;
          img {
            margin-bottom: 0px;
          }
        }
      }
    }
    &-image {
      margin-bottom: 30px;
      display: flex;
      justify-content: center;
    }
    // &-video {
    //   display: flex;
    //   justify-content: center;
    // }
    &-text {
      margin-top: 0px;
      padding-top: 0px;
      h2 {
        margin-bottom: 0px;
      }
    }
    &-mask {
      display: none;
    }
  }

  .callto-action-modifi.callto-action-project-d .callto-action-text {
    margin-top: 30px;
  }

  // Homepage -02 / Callaction -02
  .call-action-two {
    &_group {
      &.call-action_group-3 {
        right: 75px;
      }
      &.call-action_group-5 {
        right: 625px;
      }
    }

    &__comments-group {
      display: none;
    }
  }

  // Homepage-04
  .homepage-03 {
    &.call-to-action03 {
      padding-bottom: 120px;
    }
    .call-action-video {
      margin-bottom: 35px;
      display: flex;
      justify-content: center;
      .image-overlay {
        max-width: 570px;
      }
    }
  }
  .homepage-03 .call-action-video .pattern .pattern-one {
    top: -5%;
  }
  .homepage-03 .call-action-video .pattern .pattern-two {
    right: 35px;
  }
}

@media (max-width: 767px) {
  .callto-action {
    margin: 0px;

    &-modifi {
      padding-bottom: 60px;
      .callto-action-text {
        margin-top: 0px;
        h2 {
          font-size: 32px;
          line-height: 42px;
          margin-bottom: 0px;
        }
        p {
          max-width: 100%;
        }
      }
    }
  }
  // Homepage -02 / Callaction -02
  .call-action-two {
    padding: 90px 0px;
    &-content {
      h2 {
        margin-top: 0px;
        margin-bottom: 15px;
      }
      p {
        margin-top: 0px;
        width: 100% !important;
      }
      a {
        &.primary__button {
          margin-top: 0px;
        }
      }
    }
    &_group {
      display: none;
    }
  }

  // Homepage-04
  .homepage-03 {
    &.call-to-action03 {
      padding-bottom: 90px;
    }
    .call-action-text {
      .sub-section-heading {
        p {
          margin-bottom: 30px;
        }
      }
    }
    .call-action-video {
      .pattern {
        .pattern-one {
          left: 0px;
        }
      }
    }
  }
}

@media (max-width: 575px) {
  .call-action-two {
    border-top-left-radius: 0px;
  }
}

@media (min-width: 320px) and (max-width: 574px) {
  // homepage-01
  .callto-action {
    padding-left: 0px;
    &-text {
      padding-bottom: 30px;
      h2 {
        font-size: 22px;
        line-height: 32px;
      }
      p {
        font-size: 16px;
        line-height: 26px;
        max-width: 100%;
      }
    }
  }

  // homepage-02
  .call-action-two {
    &-content {
      h2 {
        font-size: 28px;
        line-height: 38px;
        margin-bottom: 0px;
      }
      p {
        font-size: 14px;
        line-height: 26px;
      }
    }
  }

  // homepage-04
  .homepage-03 {
    &.call-to-action03 {
      padding-top: 120px;
    }

    .call-action-video {
      .play-video {
        a {
          width: 60px;
          height: 60px;
        }
      }
    }
    .call-action-text {
      .sub-section-heading {
        margin-top: 0px;
      }
      .sub-section-heading {
        h2 {
          font-size: 22px;
          line-height: 36px;
        }
        p {
          font-size: 14px;
          margin-bottom: 15px;
        }
      }
    }
  }
  .homepage-03 .call-action-text .sub-section-heading h6 {
    margin-bottom: 0px;
  }
  .homepage-03 .call-action-text .sub-section-heading h2 {
    margin-bottom: 0px;
  }
  // Services
  .callto-action-modifi {
    padding: 60px 0px;
    .callto-action-text {
      h2 {
        font-size: 22px;
        line-height: 36px;
        margin-bottom: 0px;
      }
      p {
        font-size: 14px;
        line-height: 24px;
      }
    }
    &.callto-action-project-d {
      padding-bottom: 90px;
      .callto-action-text {
        margin-top: 0px;
      }
    }
  }
}

@media (min-width: 320px) and (max-width: 419px) {
  .callto-action-text {
    .primary__button {
      margin-top: 0px;
    }
  }
}

/* large devices 992 - 1199*/
@media #{$lg} {
  // Homepage-02 / Callaction -02
  .call-action-two {
    &_group {
      &.call-action_group-5 {
        right: 655px;
      }
    }
  }
}

/* Medium devices 768 - 991 */
@media #{$md} {
  .callto-action {
    .callto-action-text {
      h2 {
        max-width: 100%;
        margin-bottom: 20px;
      }
      p {
        max-width: 100%;
      }
    }
  }
  // Homepage -02 / callaction -02
  .call-action-two {
    &_group {
      &.call-action_group-1 {
        top: 85px;
        left: 70px;
      }
      &.call-action_group-2 {
        top: 170px;
        right: 35px;
      }
      &.call-action_group-3 {
        top: 545px;
      }
      &.call-action_group-4 {
        top: 755px;
        right: 300px;
      }
      &.call-action_group-5 {
        top: 580px;
        right: 410px;
      }
    }
  }
}

/* Small devices 575 - 767 */
@media #{$sm} {
  // Homepage -02 / callaction -02
  .call-action-two {
    &_group {
      &.call-action_group-2 {
        right: 15px;
      }
      &.call-action_group-3 {
        right: 200px;
      }
      &.call-action_group-4 {
        right: 30px;
      }
    }
  }
}

/* Small devices 420 - 574 */
@media #{$xs} {
  // Homepage -02 / callaction -02
  .call-action-two {
    &_group {
      &.call-action_group-2,
      &.call-action_group-4 {
        display: none;
      }
      &.call-action_group-3 {
        top: 765px;
        right: 60px;
      }
      &.call-action_group-4 {
        right: 20px;
      }
    }
  }
  .callto-action-modifi {
    .callto-action-text {
      h2 {
        font-size: 38px;
        line-height: 52px;
      }
    }
  }
}
/* extra Small devices 420 */
@media #{$xsm} {
  // Homepage -02 / callaction -02
  .call-action-two {
    &_group {
      &.call-action_group-2,
      &.call-action_group-4 {
        display: none;
      }
    }
  }
}
