.home-page-header>div {
  margin: 20px auto;
}

.soldier-index {
  background: #ffffff;
  border-radius: 21px;
  width: 95%;
  padding: 20px 0;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 375px;
  margin: 40px auto 50px;
  max-height: 492px;
}

.soldier-index div:nth-child(1) {
  background-image: url("../img/home/box-soldier.png");
  width: 100%;
  height: 509px;
  background-repeat: round;
  background-repeat: no-repeat;
  background-position: center;
  padding: 20px 7%;
  position: relative;
}

.soldier-index div:nth-child(1)>img {
  width: 100%;
  max-width: 309px;
  height: 235px;
}

.soldier-index div:nth-child(1) p {
  color: #00011d;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
}

.before {
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  /*     justify-content: space-between; */
}

.before img {
  width: 15% !important;
  border-radius: 50%;
}

.before span {
  color: #000000;
  margin-right: 10px;
}

.before div {
  margin-right: 75px;
}

.before div span {
  color: #617798;
  font-size: 14px;
}

.specifications {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.specifications span {
  color: #000000;
  font-size: 14px;
  font-weight: bold;
}

.specifications span span {
  color: #000000;
  font-size: 14px;
  font-weight: normal;
}

.specifications svg {
  margin-left: 4px;
}

.soldier-index div:nth-child(1) h3 {
  color: #0e1935;
  font-size: 26.1497px;
  font-weight: bold;
  margin-top: 15px;
}

.soldier-index div:nth-child(1) h6 {
  color: #0e1935;
  font-size: 26.1497px;
  font-weight: bold;
  margin-top: 15px;
}

.soldier-index div:nth-child(1) h3 span {
  color: #0e1935;
  font-size: 18.4586px;
  font-weight: normal;
}

.soldier-index div:nth-child(1) h6 span {
  color: #0e1935;
  font-size: 18.4586px;
  font-weight: normal;
}

.icons {
  background: linear-gradient(180deg, #ff8946 0%, #d3682c 100%);
  border-radius: 14px;
  width: 43px;
  height: 43px;
  text-align: center;
  padding-top: 8px;
  transform: rotate(45deg);
  margin: auto;
  margin-top: 30px;
}

.icons svg {
  transform: rotate(-45deg);
}

.soldier-index div:nth-child(2) {
  background-image: url("../img/home/box-soldier.png");
  width: 100%;
  height: 509px;
  background-repeat: round;
  background-repeat: no-repeat;
  background-position: center;
  padding: 20px 85px;
  position: relative;
}

.soldier-index div:nth-child(2) img {
  width: 100%;
  max-width: 309px;
}

.soldier-index div:nth-child(2) p {
  color: #00011d;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
}

.soldier-index div:nth-child(2) h3 {
  color: #0e1935;
  font-size: 26.1497px;
  font-weight: bold;
  margin-top: 15px;
}

.soldier-index div:nth-child(2) h6 {
  color: #0e1935;
  font-size: 26.1497px;
  font-weight: bold;
  margin-top: 15px;
}

.soldier-index div:nth-child(2) h3 span {
  color: #0e1935;
  font-size: 18.4586px;
  font-weight: normal;
}


.noshahr {
  background-image: url("../img/home/chaloos.png");
}

.royan {
  background-image: url("../img/home/noshahr.png");
}


.chaloos {
  background-image: url("../img/home/royan.png");
}

.estate {
  width: 100%;
  height: 160px;
  background-repeat: no-repeat;
  background-size: contain;
  /* background-position: center; */
  text-align: center;
  padding-top: 60px;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  margin-bottom: 50px;
  box-shadow: 0px -4px 53px -15px #F98442;
  cursor: pointer;
}

.estate:hover .estate-options {
  height: 100%;
}

.estate:hover .estate-options a {
  margin: 0;
}

.estate-options a:hover {
  border: 1px solid #617798;
  font-weight: bold;
}


.estate-options {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  right: 0;
  bottom: 0%;
  width: 100%;
  height: 50%;
  background-color: #fff;
  transition: all 0.3s ease;
  overflow: hidden;
}

.estate-options a {
  display: flex;
  background: #F0F3F5;
  border-radius: 11px;
  height: 60px;
  width: 30%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #617798;
  margin: 12px 0;
  transition: all 0.3s ease;
}

.eatate-sub {
  opacity: 0;
  transition: all 0.3 ease;
  display: none !important;
}


.estate::before {
  /* content: ""; */
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), rgba(249, 132, 66, 0.31);
  backdrop-filter: blur(1px);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
}

.estate span {
  color: #ffffff;
  font-size: 26px;
  font-weight: bold;
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, 0);
}

.newest-city {
  background-image: url("../img/home/newest-city.png");
  width: 100%;
  background-position: center;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding: 10px 20px;
  position: relative;
}

.newest-city::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background: #000;
  right: -8px;
}

.newest-city span:nth-child(1) {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.newest-city span:nth-child(2) {
  color: #ffffff;
  font-size: 14px;
}

.special-sale {
  background: #fff;
  box-shadow: 0px -4px 53px rgba(0, 0, 0, 0.07);
  border-radius: 15px;
  width: 100%;
  height: 450px;
  background-position: center;
  margin-top: 65px;
  position: relative;
}

.special-sale::after {
  content: "";
  width: 100%;
  height: 140px;
  position: absolute;
  bottom: -80px;
  right: 0;
  z-index: 2;
  background-image: url(../img/layout/card-bottom.svg);
  background-size: 100% 100%;
  pointer-events: none;
}

.special-img {
  width: 100%;
  height: 200px;
  background-repeat: round;
  display: flex;
  align-content: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
}

.special-img::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.51) 100%);
}

.special-img>img {
  position: absolute;
  right: 1px;
  top: 0px;
  width: 99%;
  height: 100%;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
}

.specials {
  background: linear-gradient(180deg, #ff8946 0%, #d3682c 100%);
  border-radius: 5px 5px 5px 0px;
  position: absolute;
  top: 10px;
  padding: 2px 5px;
  left: -5px;
}

.specials span {
  color: #ffffff;
  font-size: 12px;
}

.special-img div:nth-child(3) {
  position: absolute;
  bottom: 10px;
  z-index: 5;
}

.special-img div:nth-child(3) span {
  font-weight: bold;
  color: #fff;
  font-size: 14px;
  margin-right: 5px;
  backdrop-filter: blur(1px);
  padding: 5px;
  border-radius: 5px;
}

.special-img div:nth-child(3) img {
  width: 25px;
  height: 25px;
}

.special-img div:nth-child(4) {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 5;
}

.special-img div:nth-child(4) span {
  color: #fff;
  font-size: 12px;
  opacity: 0.7;
}

.special-sale h4 {
  color: #00011d;
  font-size: 16px;
  margin-top: 10px;
  padding: 0 20px;
  line-height: 190.52%;
  font-weight: bold;
}

.citys {
  color: #00011d;
  font-size: 14px;
  padding: 0 20px;
  opacity: 0.5;
}

.toman-citys {
  display: flex;
  align-items: center;
  padding: 30px 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
  width: 90%;
  margin: auto;
}

.toman-citys span:nth-child(1) {
  color: #ff8946;
  font-size: 19.7537px;
  font-weight: bold;
}

.toman-citys span:nth-child(2) {
  color: #ff8946;
  font-size: 13.9438px;
  font-weight: bold;
  margin-right: 6px;
}

.property-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.property-details div:nth-child(1) span {
  font-size: 12.0065px;
  color: #000000;
  font-weight: bold;
  margin-right: 3px;
}

.property-details div:nth-child(1) span span {
  font-weight: normal;
  margin-right: 0;
}

.property-details span span {
  opacity: 0.5;

}

.property-details div:nth-child(2) span {
  font-size: 12.0065px;
  color: #000000;
  font-weight: bold;
  margin-right: 3px;
}

.property-details div:nth-child(2) span span {
  font-weight: normal;
  margin-right: 0;
}

.property-details div:nth-child(3) span {
  font-size: 12.0065px;
  color: #000000;
  font-weight: bold;
  margin-right: 3px;
}

.property-details div:nth-child(3) span span {
  font-weight: normal;
  margin-right: 0;
}

.reject-icon {
  background: #00011d;
  border-radius: 14px;
  transform: rotate(45deg);
  width: 43px;
  height: 43px;
  text-align: center;
  padding: 8px;
  position: absolute;
  left: 60px;
  bottom: -57px;
}

.reject-icon svg {
  transform: rotate(-45deg);
}

.header-slider {
  background: #ffff;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.header-slider::after {
  content: "";
  width: 70px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  background-image: linear-gradient(to left,
      rgba(255, 0, 0, 0),
      rgba(61, 61, 61, 0.35));
  pointer-events: none;
}

.header-slider .swiper-pagination {
  pointer-events: none;
}

.header-slider .swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  right: 3%;
  bottom: 2%;
  top: auto;
}

.header-slider .swiper-button-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  left: 3%;
  bottom: 2%;
  top: auto;
}

.header-slider .swiper-button-next::after,
.header-slider .swiper-button-prev::after {
  content: initial;
}

.header-slider .swiper-pagination-bullet {
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: #b0b7bf;
  opacity: 1;
}

.header-slider .swiper-pagination-bullet-active {
  background: linear-gradient(180deg, #ff8946 0%, #d3682c 100%);
  height: 19px;
}

.map-background {
  position: absolute;
  width: 100%;
  right: 0;
  top: 0;
  max-height: 798px;
  z-index: -1;
}

@media only screen and (max-width: 400px) {
  .special-img {
    /* width: 90%; */
    margin: auto;
  }
}

@media only screen and (max-width: 1000px) {
  .newest-city {
    background-position: unset;
    background: linear-gradient(90deg,
        rgba(249, 132, 66, 0.56) 0%,
        #ffffff 21.05%),
      linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 21.05%),
      url(image.png), #ffffff;
    box-shadow: 0px -4px 53px rgba(0, 0, 0, 0.15);
  }

  .header-slider::after {
    display: none;
  }
}

@media only screen and (max-width: 1400px) {
  .special-sale {
    background-image: none;
    background: #fff;
    border-radius: 13px;
  }
}