* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
}
.pictures {
  margin: 20px;
  height: 400px;
  width: 97%;
  position: relative;
}
.pictures img {
  border-radius: 20px;
  object-fit: cover;
  max-height: 100%;
  width: 100%;
}
.spouse h2 {
  position: absolute;
  top: 150px;
  left: 500px;
  transform: translate(-50px -50px);
  font-size: 40px;
  color: white;
  font-weight: bold;
  text-transform: capitalize;
}
.second-picture {
  /* display: flex;
    justify-content: center;
    align-items: center; */
  margin: 20px 200px;
  height: 40%;
  width: 90%;
}
.second-picture img {
  object-fit: cover;
  border-radius: 20px;
  width: 80%;
  max-height: 400px;
}
.spouse-services {
  /* background-color: red; */
  display: flex;
  justify-content: center;
}

.ser {
  gap: 50px;
  /* background-color: green; */
  height: 40%;
  display: flex;
  width: 80%;
  flex-direction: column;
  align-items: center;
  /* padding: 20px; */
  /* justify-content: center; */
}
.first-services {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 20px;
}
.first-services p {
  font-weight: 200;
  color: #515854;
  line-height: 30px;
}
.ser h1 {
  margin-top: 1vmax;
  font-size: 34px;
  color: rgba(32, 30, 30, 0.795);
  font-weight: bold;
}
.first-services h4 {
  color: rgba(32, 30, 30, 0.888);
  font-weight: bold;
}
.second-services {
  /* background-color: red; */
  width: 94%;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.second-services h4 {
  color: rgba(47, 43, 43, 0.925);
  font-size: 18px;
  font-weight: bold;
}
.second-sub {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sec-sub1 span {
  color: rgba(47, 43, 43, 0.925);
  font-size: 14px;
  font-weight: bold;
}
.our-services {
  /* background-color: green; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* justify-content: left; */
  color: #515854;
  width: 80%;
  height: 40%;
  gap: 20px;
  padding-left: 28px;
  /* padding: 20px 80px; */
  line-height: 30px;
  font-weight: 200;
  /* margin: 20px 40px; */
}
.our-services > p {
  margin-left: 23px;
}

.our-services h1 {
  font-size: 25px;
  color: rgba(34, 32, 32, 0.816);
  font-weight: bold;
}
.our-first h4 {
  font-size: 16px;
  color: rgba(34, 32, 32, 0.882);
  font-weight: bold;
}
.right-our {
  display: flex;
  flex-direction: column;
}
.why-choose {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  /* margin-left: 28px;
  padding-left: 13px;
  width: 80%; */
}
.why-choose h1 {
  font-size: 25px;
  margin-top: 2vmax;
  font-weight: bold;
  color: rgba(42, 37, 37, 0.908);
}
.us {
  width: 80%;
  font-weight: 200;
  line-height: 30px;
  color: #515854;
  font-size: 16px;
}
.us-cont span {
  font-size: 15px;
  font-weight: bold;
  color: rgba(42, 37, 37, 0.908);
}
.happens {
  padding: 40px 0;
  width: 80%;
  font-weight: 200;
  line-height: 30px;
  color: #515854;
  font-size: 16px;
  /* margin: 20px 40px; */
}
.hpn-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.next-hpn span {
  font-size: 15px;
  color: rgba(33, 30, 30, 0.945);
  font-weight: bold;
}
@media (max-width: 500px) {
  .imgcnt {
    margin-top: 14vh;
  }
}
@media (max-width: 430px) {
  .second-picture {
    /* display: flex;
        justify-content: center;
        align-items: center; */
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 10px;
    height: 100%;
    width: 125%;
    margin-top: -14vh;
  }
  .our-services > p {
    margin: 0;
    padding: 0;
  }
  .ser h1 {
    font-size: 22px;
  }
  .first-services {
    padding: 0;
  }
  .why-choose {
    width: 100%;
    padding: 0;
    padding-top: 40px;
    margin: 0;
  }
  .spouse-services {
    margin-top: -10vh;
  }

  .ser {
    width: 100%;
    padding: 23px;
  }
  .our-services {
    width: 100%;
    margin: 0;
    /* padding: 23px; */
  }
  .us {
    width: 100%;
    padding: 0 23px;
    font-weight: 200;
    line-height: 30px;
    color: #515854;
    font-size: 16px;
  }
  .happens {
    padding: 23px;
    font-size: 16px;
    width: 100%;
  }
  .imgcnt {
    margin-top: 4vh;
  }
  .imgslidercntr {
    height: 50%;
    margin-top: 10px;
  }
}
@media (max-width: 414px) {
  .second-picture {
    /* display: flex;
        justify-content: center;
        align-items: center; */
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding: 10px;
    height: 100%;
    width: 125%;
    margin-top: -14vh;
  }
  .ser h1 {
    font-size: 22px;
  }
  .first-services {
    padding: 0;
  }
  .why-choose {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .spouse-services {
    margin-top: -10vh;
  }

  .ser {
    width: 100%;
    padding: 23px;
  }
  .our-services {
    width: 100%;
    margin: 0;
    padding: 23px;
  }
  .our-services > p {
    margin: 0;
    padding: 0;
  }
  .us {
    width: 100%;
    padding: 23px;
    font-weight: 200;
    line-height: 30px;
    color: #515854;
    font-size: 16px;
  }
  .happens {
    padding: 23px;
    font-size: 16px;
    width: 100%;
  }
}
