.service .hero {
  position: relative;
  bottom: 0;
  height: 899px;
}

.service .hero .backGround {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    165.02deg,
    #3f3e3e -13.02%,
    #181818 38.65%,
    #181818 100%
  );
  z-index: -2;
}

.service .hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 20px;
  min-height: 550px;
  height: 100%;
  padding-bottom: 100px;
  color: #ffffff;
  z-index: 4;
}

.service .hero .container h2 {
  max-width: 600px;
  padding: 0;
  margin-bottom: 23px;
}

.service .hero .container p {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 25px;
}

.service .hero .container .heroButton {
  display: flex;
  align-items: center;
}

.service .hero .container .heroButton .line {
  background-color: #ffffff;
  height: 2px;
  margin-left: -30px;
  width: 100%;
}

@-webkit-keyframes ButtonMove {
  0% {
    margin-top: 0;
  }
  50% {
    margin-top: 5px;
  }
  100% {
    margin-top: 0;
  }
}

@keyframes ButtonMove {
  0% {
    margin-top: 0;
  }
  50% {
    margin-top: 5px;
  }
  100% {
    margin-top: 0;
  }
}

.service .hero .button_container {
  position: relative;
  width: 71px;
  height: 71px;
  margin-right: 5px;
  margin-left: 20px;
}

.service .hero .button {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  width: 71px;
  height: 71px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

.service .hero .button img {
  width: 17px;
  height: 22px;
  -webkit-animation: ButtonMove infinite 1s;
  animation: ButtonMove infinite 1s;
}

.service .hero .button_back {
  position: absolute;
  width: 71px;
  height: 71px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  top: 5px;
  left: 5px;
  z-index: -1;
}

.service .content {
  position: relative;
}

.service .content .container {
  padding: 100px 20px;
  display: flex;
  gap: 60px;
}

.service .content .container em {
  font-style: italic;
}

.service .content p {
  margin-bottom: 10px;
}

.service .coversation {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 100px 20px;

  h3 {
    width: 100%;
    max-width: 650px;
    margin-bottom: 20px;
    text-align: center;
  }

  p {
    width: 100%;
    max-width: 650px;
    margin-bottom: 40px;
    text-align: center;
  }
}

.service .service-content-text {
  width: 100%;
  max-width: 800px;
}

.service .service-content-picture {
  width: 100%;
  max-width: 380px;
}

.service .service-content-picture-img {
  height: 250px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 24px;
}

.service .service-content-picture-img img {
  width: 100%;
  height: auto;
  overflow: hidden;
  object-fit: cover;
}

.service .page-excerpt {
  padding-bottom: 16px;
}

.service .steps-service .project-steps.container {
  padding-top: 0;
  padding-bottom: 100px;
  margin-left: auto;
  margin-right: auto;
}

.service .all-projects.container {
  padding-top: 0;
  padding-bottom: 90px;
  display: flex;
  justify-content: center;
}

.service .similar-projects .container {
  padding-top: 0;
  padding-bottom: 50px;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.service .project_block__black {
  width: 100%;
  max-width: 500px;
  margin: 0;
}

.service .project_block__black picture {
  width: 100%;
  max-width: 500px;
  height: 279px;
}

.service .project_block__black .image picture {
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.service .project_block__black .image picture img {
  width: 100%; /* Makes the image responsive */
  height: 100%; /* Ensures the image fills the container */
  object-fit: cover;
}

@media screen and (max-width: 900px) {
  .service .project_block__black .image {
    max-width: 100%;
  }
  .service .content .container {
    flex-direction: column;
    gap: 60px;
  }
  .service .project_block__black {
    margin-left: auto;
    margin-right: auto;
  }

  .all-projects.container .button {
    margin-left: auto;
    margin-right: auto;
  }

  .service .service-content-text {
    max-width: 100%;
  }

  .service .service-content-picture {
    max-width: 100%;
  }

  .service .service-content-picture-img {
    width: 100%;
  }

  .service .service-content-picture-img img {
    width: 100%;
  }
}

@media screen and (max-width: 750px) {
  .service .hero {
    height: 700px;
  }
  .service .hero .container {
    margin: auto;
    padding: 0 20px;
    padding-bottom: 100px;
    max-width: calc(var(--global_container_width) + 100px);
  }

  .service .hero .container h2 {
    margin-bottom: 35px;
  }

  .service .hero .container p {
    margin-bottom: 102px;
    font-size: 20px;
    line-height: 25px;
    max-width: 470px;
  }

  .service .hero .container .heroButton {
    width: 200%;
    transform: translateX(-50%);
  }

  .service .hero .container .heroButton .button_container {
    width: 54px;
    height: 54px;
  }

  .service .hero .container .heroButton .button_container .button {
    width: 54px;
    height: 54px;
  }

  .service .hero .container .heroButton .button_container .button img {
    width: 22px;
    height: 29px;
  }

  .service .hero .container .heroButton .button_container .button_back {
    width: 54px;
    height: 54px;
  }

  .service .content .container {
    margin: auto;
    padding: 50px 20px 50px 20px;
    max-width: calc(var(--global_container_width) + 100px);
  }

  .service .steps-service {
    padding-bottom: 50px;
  }

  .service .coversation {
    padding: 0px 20px 130px 20px;
  }

  .service .coversation h3 {
    margin-bottom: 40px;
  }

  .service .coversation p {
    margin-bottom: 50px;
    max-width: 600px;
  }

  .service .steps-service .project-steps.container {
    padding-top: 0;
    padding-bottom: 0px;

    margin-left: auto;
    margin-right: auto;
  }

  .service .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .service .similar-projects .container {
    padding-top: 0;
    padding-bottom: 50px;
    gap: 50px;
  }

  .service .all-projects.container {
    padding-top: 0;
    padding-bottom: 75px;
  }
  .service .coversation {
    padding-bottom: 50px;
  }

  .service .coversation .h2 {
    margin-bottom: 20px;
  }

  .service .coversation .body5 {
    margin-bottom: 30px;
  }
}
