body,
html {
  height: 100%;
}

.home-form {
  /* margin-top: 250px; */
  z-index: 10;
  top: 0;
  /* position: absolute; */
  /* width: 100%; */
  /* left: 0; */
}

.home-logo {
  width: 300px;
}
body,
html {
  height: 100%;
}

.bg {
  background-image: url("../img/bg-img/main/Buy_min.webp");
  /* background-image: url("../img/bg-img/home_page_bg.jpg"); */

  height: 100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-animation: slide 100s linear infinite;
  animation: slide 100s linear infinite;
}

.searchbar {
  margin-bottom: auto;
  margin-top: auto;
  /* height: 60px; */
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
}

.search_input {
  color: #000;
  border: 0;
  outline: 0;
  margin-left: 15px;
  background: none;
  caret-color: transparent;
  line-height: 45px;
  transition: width 0.4s linear;
  padding: 0px 10px;
  width: 550px;
  /*font-size: 20px;*/
  font-weight: 500;
  caret-color: #3cb64a;
  transition: width 0.4s linear;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .search_input {
    width: 550px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .search_input {
    width: 550px;
  }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .search_input {
    width: 420px;
  }
}
@media only screen and (min-width: 350px) and (max-width: 480px) {
  .search_input {
    width: 200px;
  }
}
@media only screen and (max-width: 350px) {
  .search_input {
    width: 150px;
  }
}

.searchbar:hover > .search_input {
  padding: 0 10px;
  /* width: 450px; */
  caret-color: #3cb64a;
  transition: width 0.4s linear;
}

.search_icon {
  height: 40px;
  width: 40px;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  /* color:white; */
  background: white;
  color: #3cb64a;
}

.search_btn {
  height: 40px;
  width: 50px;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20%;
  /* color:white; */
  background: #3cb64a;
  color: #fff;
}

/* Best Deals – same design as FOR SALE (top-right, angled, rounded right only), yellow with black text */
.rp-pic {
  position: relative;
}
.best-deals-notic {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #ffeb3b;
  padding: 7px 13px;
  display: inline-block;
  position: absolute;
  z-index: 4;
  top: 14px;
  right: -2px;
  left: auto;
  margin: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  transform: rotate(3deg);
  line-height: 1.2;
}
.best-deals-notic.related-property {
  margin: 0;
}

/* Urgent – professional stamp style: red double-border, bold text, slight rotation */
.urgent-notic.related-property,
.urgent-notic {
  color: #b71c1c;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 14px;
  display: inline-block;
  position: absolute;
  z-index: 4;
  top: 14px;
  left: -2px;
  right: auto;
  margin: 0;
  border: 2px solid #b71c1c;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: inset 0 0 0 2px #b71c1c, 0 1px 3px rgba(0, 0, 0, 0.12);
  line-height: 1.2;
  text-shadow: 0 0 1px rgba(183, 28, 28, 0.25);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.rp-pic .urgent-notic ~ .best-deals-notic { top: 46px; }
.rp-pic .urgent-notic ~ .sale-notic,
.rp-pic .urgent-notic ~ .rent-notic,
.rp-pic .urgent-notic ~ .holiday-notic { top: 46px; }
.rp-pic .urgent-notic ~ .best-deals-notic ~ .sale-notic,
.rp-pic .urgent-notic ~ .best-deals-notic ~ .rent-notic,
.rp-pic .urgent-notic ~ .best-deals-notic ~ .holiday-notic { top: 78px; }



