.header_img {
  right: -140px;
}

.services {
  padding-top: 106px;
}

.services_cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.services_card {
  width: 410px;
  flex: 0 0 410px;
  height: 502px;
  position: relative;
}
.services_cards .services_card:nth-child(1) {
  background: url(../assets/images/services/1.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}
.services_cards .services_card:nth-child(2) {
  background: url(../assets/images/services/2.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}
.services_cards .services_card:nth-child(3) {
  background: url(../assets/images/services/3.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}
.services_cards .services_card:nth-child(4) {
  background: url(../assets/images/services/4.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}
.services_cards .services_card:nth-child(5) {
  background: url(../assets/images/services/5.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}
.services_cards .services_card:nth-child(6) {
  background: url(../assets/images/services/6.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}
.services_cards .services_card:nth-child(7) {
  background: url(../assets/images/services/7.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}
.services_cards .services_card:nth-child(8) {
  background: url(../assets/images/services/8.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}

.services_card_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 25px 22px 37px;
  border-bottom: 2px solid rgba(249, 250, 251, 0.3);
}
.services_card_top p {
  color: rgb(255, 255, 255);
  font-family: Montserrat;
  font-size: 32px;
  font-weight: 500;
  line-height: 39px;
  letter-spacing: -1.5%;
  text-align: left;
}

.services_card_link {
  position: absolute;
  right: 0;
  bottom: 0;
}

.start_card {
  width: 416px;
  height: 506px;
  position: relative;
}

.start_card p {
  background: linear-gradient(
    180deg,
    rgb(234, 234, 234),
    rgba(234, 234, 234, 0.8)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0%;
  text-align: left;
  margin-bottom: 60px;
  padding-top: 70px;
}

.start_card .bg_btn {
  width: 327px;
  height: 72.54px;
  font-size: 21.32px;
  margin-left: 8px;
}

.start_card_arrow {
  position: absolute;
  top: 146px;
  left: -60px;
}

.services_cards {
  margin-bottom: 190px;
}

.contact {
  background: url(../assets/images/serv-cont-bg.png);
  background-size: cover;
  background-position: center;
}

@media only screen and (max-width: 1550px) {
  .services_header_img {
    width: 569.1px;
    right: -107px;
  }
  .services_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 43px 80px;
  }
  .services_card {
    width: 329.33px;
    height: 402.17px;
  }
  .services_card_top {
    padding: 30px;
    padding-bottom: 18px;
  }
  .services_card_top p {
    font-size: 22px;
    font-weight: 500;
    line-height: 31px;
  }
  .services_card_top img {
    width: 52px;
  }
  .services_card_link img {
    width: 90.25px;
    height: 90.25px;
  }
  .start_card p {
    font-size: 15.83px;
    font-weight: 400;
    line-height: 17.42px;
    padding-top: 56px;
    margin-bottom: 56px;
  }
  .start_card {
    width: 100%;
    height: auto;
  }
  .start_card_arrow {
    width: 33px;
    left: -45px;
  }
  .start_card .bg_btn {
  width: 258.88px;
    height: 57.43px;
    font-size: 16.88px;
    font-weight: 500;
    line-height: 23.93px;
  }

}

@media only screen and (max-width: 550px) {
  .services_cards {
    gap: 30px;
    display: flex;
    flex-direction: column;
  }
  .page_header {
    padding-bottom: 50px;
  }

  .services_card {
    width: 100%;
    height: 430px;
    background-size: cover;
  }
  .services_card_top p {
    font-size: 20px;
  }
  .services_card_top {
    padding: 20px;
  }
  .services_card_link img {
    width: 90px;
  }
  .start_card_arrow {
    display: none;
  }
  .services_cards {
    margin-bottom: 50px;
  }
  .start_card .bg_btn {
    height: 60px;
  }
  .start_card {
    height: auto;
  }
  .start_card p {
    padding-top: 40px;
    -webkit-nbsp-mode: 30px;
  }
  .start_card .bg_btn {
    width: 100%;
  }
}
