:root {
  --titleColor: #0a0a0a;
  --textColor: #777777;
  --IPMColor: #ad1414;
  --IPMColorLight: #c02d2d;
  --IPMColorBlack: #0a0a0a;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "obliqua", Regular;
  font-size: 18px;
  line-height: 24px;
  color: var(--textColor);
  font-weight: normal;
  font-style: normal;
}

* {
  position: relative;
}

h2 {
  color: var(--titleColor);
  font-size: 48px;
  line-height: 64px;
}

@media (max-width: 425px) {
  h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

h3 {
  font-size: 32px;
  line-height: 36px;
  color: var(--titleColor);
}

@media (max-width: 425px) {
  h3 {
    font-size: 24px;
    line-height: 28px;
  }
}

h4 {
  font-size: 24px;
  line-height: 28px;
  font-weight: bold;
  color: var(--titleColor);
}

@media (max-width: 468px) {
  h4 {
    font-size: 18px;
    line-height: 22px;
  }
}
button {
  background-color: var(--IPMColor);
  color: white;
  font-family: inherit;
  margin: 0;
  padding: 18px 32px;
  border: 0;
  outline: none;
  cursor: pointer;
  white-space: normal;
  font-size: 24px;
  text-align: center;
  transition: background-color 0.3s ease-in-out;
}

button:hover {
  background-color: var(--IPMColorBlack);
}

@media (max-width: 425px) {
  button {
    font-size: 18px;
    line-height: 22px;
    padding: 10px 11px;
  }
}

*,
::after,
::before {
  box-sizing: content-box;
}

.global-container {
  margin: 0 auto;
  width: 100%;
  max-width: 1648px;
}

.section {
  padding: 64px 0;
}

.view-all-link {
  display: inline-block;
  font-weight: bold;
  font-size: 24px;
  line-height: 70px;
  text-transform: uppercase;
  color: var(--IPMColor) !important;
  transition: transform 0.1s ease-in-out;
}

.view-all-link:hover {
  transform: translateX(5px);
  text-decoration: none;
}

@media (max-width: 425px) {
  .view-all-link {
    font-size: 20px;
    list-style: 24px;
  }
}

.icon-info-block {
  padding: 5px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.star {
  color: gold;
  font-size: 60px;
}

#test {
  overflow: hidden;
}

/*Background image style section*/
#background-img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.img-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* Header Style */
#header {
  height: 140px;
}

/*logo style*/
#logo {
  height: 110px;
  display: inline-block;
  float: left;
  margin-top: 20px;
}

/*flag icons style*/
.left-icon {
  margin-left: 30px;
}

.flag-icon {
  height: 50px;
  width: 50px;
  margin-top: 60px;
  display: inline-block;
  padding-left: 5px;
  transition: transform 250ms;
}

.flag-icon:hover {
  transform: translateY(-4px);
  cursor: pointer;
}

/* Navbar Style */
#navbar {
  float: right;
  padding: 30px;
  padding-right: 0px;
  font-size: 19px;
}
#navbar-mobile {
  display: none;
}
#navbar-mobile .fa-1x {
  font-size: 1.6rem;
}

#navbar-mobile .navbar-collapse {
  margin: 0 33px;
  background-color: white;
}

#navbar-mobile .navbar-collapse ul {
  margin: 32px;
  padding: 32px 0px;
  border-top: 1px solid var(--IPMColor);
  border-bottom: 1px solid var(--IPMColor);
}
#navbar-mobile .navbar-collapse.collapse {
  height: 400px;
}

#navbar-mobile .navbar-collapse ul .dropright {
  padding-top: 64px;
  text-align: left;
}

#navbar-mobile .navbar-collapse ul .dropright .dropdown-menu {
  padding: 0;
  padding-left: 8px;
  min-width: unset;
  background: transparent;
  border: 0;
}

#navbar-mobile .navbar-collapse ul .dropright .dropdown-item {
  display: inline-block;
  width: 24px;
  padding: 0px 4px;
}

#navbar-mobile .nav-link {
  color: var(--titleColor);
  font-size: 20px;
  line-height: 25px;
  font-weight: 500;
  text-align: left;
  padding: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
}

#navbar-mobile .nav-link:hover {
  color: var(--IPMColor);
}

.navbar-toggler.toggler-example {
  cursor: pointer;
  margin-right: 10px;
}
.dark-blue-text {
  color: #ffff;
}
.navbar-light .navbar-toggler {
  color: rgba(0, 0, 0, 0.5);
  border: 0;
  margin: 0;
  padding: 5px;
}

.navbar-light .navbar-nav .nav-link {
  color: rgb(0, 0, 0);
}
.navbar-light:hover .navbar-nav .nav-link {
  color: rgb(0, 0, 0);
}
.navbar {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0px 0px 0px 0px;
}

#header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#header li {
  float: right;
  margin-left: 2px;
}

#header li > a {
  display: block;
  color: white;
  text-align: center;
  padding: 40px 16px;
  padding-top: 10px;
  text-decoration: none;
  transition: transform 450ms;
}

#header li .dropdown {
  padding: 40px 16px;
  padding-top: 10px;
}

#header li .dropdown .dropdown-menu {
  padding-top: 24px;
  min-width: unset;
  background: transparent;
  border: 0;
}

#header li .dropdown .dropdown-item {
  width: 35px;
  padding: 4px 0px;
}

#header li .dropdown .dropdown-item:hover {
  background-color: transparent;
}

#header li:hover a {
  transform: translateY(-5px);
}

@media (max-width: 1750px) {
  #header {
    padding: 0px 32px;
  }
}

@media screen and (max-width: 1206px) {
  #navbar {
    font-size: 14px;
  }
}

/* below header style*/

.navbar-brand {
  padding: 10px;
}
/* mobile styles (logo, navbar, flag icons, below header section) */
@media screen and (max-width: 1023px) {
  #logo {
    display: none;
  }

  #navbar {
    display: none;
  }
  #navbar-mobile {
    float: none;
    padding: 0;
    text-align: center;
    margin: auto;
    display: block;
  }
  #navbar-mobile ul.top-navbar {
    display: block;
    text-align: center;
    padding: 10px 0;
  }

  li:hover a {
    transform: translateY(-0px);
  }

  #header {
    text-align: center;
  }

  #header {
    height: auto;
  }

  #below-header {
    text-align: center;
  }
}

/* Search form style */
#search-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 100px;
  align-items: end;
}

.search-container {
  max-width: 824px;
  width: 100%;
  padding: 32px;
  background: transparent
    linear-gradient(
      120deg,
      #ffffff 0%,
      #ffffff 41%,
      #ffffffbf 41%,
      #ffffffbf 100%
    )
    0% 0% no-repeat padding-box;
}

.search-container > p {
  margin-bottom: 48px;
}

.search-container .basic_fields_grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

#search-form-filter {
  padding: 32px;
  background-color: #ffff;
}

#search-form-filter > h3 {
  margin-bottom: 25px;
}

/* select type form style */
#property-type-form,
#location-form,
#property-status {
  max-width: 340px;
  width: 90%;
  border: 1px solid #777777;
  color: #777777;
  font-weight: 400;
  font-size: 18px;
  padding: 16px 17px 15px 21px;
  height: max-content;
  /* Arrow */
  appearance: none;
  background-image: url("/assets/icons/arrow-down.png");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}
#sku-input {
  max-width: 340px;
  width: 90%;
  border: 1px solid #777777;
  color: #777777;
  font-weight: 400;
  font-size: 18px;
  padding: 16px 17px 15px 21px;
}

::placeholder {
  color: #919191;
}
/* Price filter slider */

.wrapper {
  padding: 32px 0px;
}

.wrapper header h2 {
  font-size: 24px;
  font-weight: 600;
}

.wrapper-p {
  text-align: center;
}

.wrapper header p {
  font-size: 15px;
  margin-top: 5px;
}

.wrapper .price-input {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.price-input input {
  outline: none;
  font-size: 18px;
  margin-left: 12px;
  color: var(--textColor);
  border: 0;
}

.price-input .max-input {
  text-align: right;
}

.price-input input::-webkit-outer-spin-button,
.price-input input::-webkit-inner-spin-button {
  display: none;
}

.wrapper .slider {
  height: 10px;
  position: relative;
  background-color: #dbdbdb;
}

.wrapper .progress {
  position: absolute;
  height: 100%;
  left: 5%;
  right: 65%;
  background-color: var(--textColor);
  border-radius: 5px;
}

.wrapper .range-input {
  position: relative;
}

.wrapper .range-input input {
  position: absolute;
  width: 100%;
  height: 10px;
  top: -10px;
  pointer-events: none;
  background: none;
  appearance: none;
  accent-color: white;
}

.wrapper .range-input input::-moz-range-thumb {
  pointer-events: auto;
  transform: translateY(10px);
  border: 1px solid var(--textColor);
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}


.wrapper .range-input input::-webkit-slider-thumb {
  height: 15px;
  width: 15px;
  background-color: #4070f4;
  border-radius: 50%;
  pointer-events: auto;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}
.min-input {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.max-input {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
/* submit button */
#search-submit-button-form {
  width: 91%;
  background-color: var(--IPMColor);
  color: white;
  font-family: inherit;
  margin: 0;
  padding: 18px 32px;
  border: 0;
  outline: none;
  cursor: pointer;
  white-space: normal;
  font-size: 24px;
  text-align: center;
  transition: background-color 0.3s ease-in-out;
}

#search-submit-button-form:hover {
  background-color: var(--IPMColorBlack);
}

/* price of house background style */

#search-right {
  width: 100%;
  display: flex;
  justify-content: end;
}

#price-house {
  max-width: 667px;
  width: 100%;
  display: flex;
  gap: 73px;
  align-items: center;
  justify-content: space-between;
  padding: 42px 32px;
  padding-left: 11%;
  background: transparent
    linear-gradient(
      120deg,
      #ffffff00 0%,
      #ffffff00 12.8%,
      #ffffffbf 13%,
      #ffffffbf 100%
    )
    0% 0% no-repeat padding-box;
  cursor: pointer;
}

.house-price-div {
  padding-top: 30px;
}
.house-price {
  text-wrap: nowrap;
}

/* mobile style for blocks of form and price house */

@media (max-width: 1800px) {
  .search-container {
    margin: 0px 30px;
    box-sizing: border-box;
  }
  #search-right {
    margin: 0px 30px;
  }
}

/* into smaller blocks */
@media screen and (max-width: 940px) {
  #search-content {
    align-items: center;
    box-sizing: border-box;
  }

  #price-house {
    height: 200px;
    display: none;
  }

  #price-house {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  #search-form-filter .basic_fields_grid {
    grid-template-columns: 1fr;
  }

  #search-form-filter .basic_fields_grid .field {
    max-width: unset;
  }

  #search-form-filter .basic_fields_grid select,
  #sku-input {
    width: 100%;
    max-width: unset;
    box-sizing: border-box;
  }

  .price-input input {
    width: 100px;
  }

  #search-submit-button-form {
    width: 100%;
    box-sizing: border-box;
  }
}

/* About us section style */

#about-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 9%;
  align-items: center;
}

.about-us-image {
  height: 731px;
  width: 100%;

  background: linear-gradient(
      123deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 57.8%,
      rgba(255, 255, 255, 1) 58%,
      rgba(255, 255, 255, 1) 100%
    ),
    url("../images/build-yourself-carousel-7.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-us-text-container {
  padding: 0px 33px;
}

.about-us-text-container button {
  margin-top: 33px;
  max-width: 400px;
  width: 100%;
}

@media (max-width: 1150px) {
  .about-us-text-container button {
    width: auto;
  }
}

@media (max-width: 768px) {
  #about-us {
    grid-template-columns: 1fr;
    column-gap: unset;
  }

  .about-us-image {
    display: none;
  }
}

@media (max-width: 425px) {
  #about-us {
    grid-template-columns: 1fr;
    column-gap: unset;
  }

  .about-us-image {
    display: none;
  }

  .about-us-text-container button {
    width: 95%;
  }
}

/* Our services section style */

#our-services {
  display: grid;
  column-gap: 32px;
  grid-template-columns: 1fr 2fr;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service {
  display: block;
  padding: 32px;
  text-align: right;
  background: linear-gradient(
      247deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 74.8%,
      rgba(175, 201, 230, 1) 75%,
      rgba(175, 201, 230, 1) 100%
    ),
    #94b7dd;

  transition: transform 0.05s ease-in-out;
}

.service:active {
  transform: scale(0.8);
}

.service:hover {
  text-decoration: none;
}

.service h4 {
  text-wrap: nowrap;
  font-size: 48px;
  line-height: 64px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
}

.service img {
  height: 280px;
  transition: all 0.4s ease-in-out;
}

@media (max-width: 1700px) {
  #our-services {
    padding-left: 30px;
    padding-right: 30px;
    grid-template-columns: 1fr;
  }

  #our-services h2 {
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .service h4 {
    font-size: 32px;
  }

  .service img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    gap: 24px;
  }

  .service {
    padding: 16px;
  }

  .service h4 {
    font-size: 20px;
  }

  .service img {
    height: 100px;
  }
}

@media (max-width: 450px) {
  #our-services h2 {
    text-align: left;
    margin-bottom: 32px;
  }

  .services-grid {
    gap: 24px;
  }

  .service {
    padding: 7px;
  }

  .service h4 {
    font-size: 18px;
    line-height: 20px;
  }

  .service img {
    height: 100px;
  }
}

@media (max-width: 375px) {
  .services-grid {
    gap: 10px;
  }
}

/* popular properties section style */
#popular-properties {
  color: #ffff;
  text-align: center;
}

#popular-properties .links {
  text-align: right;
}

.properties-container {
  margin-bottom: 30px;
}

.properties-link-container {
  text-align: right;
}

.property {
  height: 740px;
  width: 400px;
  padding-top: 48px;
  background-color: #0a0a0a;
  display: inline-block;
  margin-top: 50px;
  margin-left: 25px;
  color: white;
  text-align: left;
  transition: all 0.4s ease-in-out;
  vertical-align: top;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
}

.property:hover {
  transform: scale(1.08);
  background-color: var(--IPMColor);
}

.property-image-div {
  height: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.property-image-div img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.property-image {
  height: 100%;
  width: 100%;
}

.property-title {
  color: white;
}

.property-info {
  height: 60%;
}

.property-info-h2 {
  font-size: 32px;
  padding-top: 64px;
  padding-left: 30px;
  margin-bottom: 0px;
}

.property-info-p {
  margin-left: 30px;
  font-size: 23px;
  line-height: 28px;
  color: var(--textColor);
}

.property-info-ref {
  margin-left: 30px;
  margin-top: 10px;
  font-size: 24px;
  line-height: 28px;
}

.property-info-data {
  font-size: 36px;
  line-height: 70px;
  position: absolute;
  bottom: 22px;
  right: 32px;
}

@media screen and (max-width: 1712px) {
  #popular-properties .links {
    padding: 0 30px;
  }

  .property {
    height: 520px;
    width: 300px;
  }

  .property:hover {
    transform: scale(1.08);
    background-color: var(--IPMColor);
  }

  .property-info-h2 {
    font-size: 24px;
    padding-top: 20px;
    padding-left: 30px;
  }

  .property-info-p {
    margin-top: 10px;
    margin-left: 30px;
    font-size: 20px;
  }

  .property-info-ref {
    margin-left: 30px;
    margin-top: 10px;
    font-size: 20px;
  }

  .property-info-data {
    font-size: 25px;
    position: absolute;
    bottom: 10px;
    right: 10px;
  }
}

@media screen and (max-width: 1314px) {
  .property {
    height: 420px;
    width: 250px;
  }

  .property:hover {
    transform: scale(1.08);
    background-color: var(--IPMColor);
  }

  .property-info-h2 {
    font-size: 19px;
    padding-top: 10px;
    padding-left: 20px;
  }

  .property-info-p {
    margin-top: 5px;
    margin-left: 20px;
    font-size: 14px;
  }

  .property-info-ref {
    margin-left: 20px;
    margin-top: 5px;
    font-size: 14px;
  }

  .property-info-data {
    font-size: 19px;
    position: absolute;
    bottom: 10px;
    right: 10px;
  }
}

@media screen and (max-width: 1116px) {
  .property {
    height: 400px;
    width: 210px;
  }

  .property:hover {
    transform: scale(1.08);
    background-color: var(--IPMColor);
  }

  .property-info-h2 {
    font-size: 16px;
    padding-top: 10px;
    padding-left: 20px;
  }

  .property-info-p {
    margin-top: 5px;
    margin-left: 20px;
    font-size: 14px;
  }

  .property-info-ref {
    margin-left: 20px;
    margin-top: 5px;
    font-size: 14px;
  }

  .property-info-data {
    font-size: 19px;
    position: absolute;
    bottom: 10px;
    right: 10px;
  }
}

@media screen and (max-width: 430px) {
  #popular-properties .links {
    text-align: left;
  }

  .property {
    height: 600px;
    width: 100%;
    max-width: 324px;
    margin-left: 0px;
  }
  .property.first {
    margin-top: 33px t;
  }

  .property-info-h2 {
    font-size: 24px;
    line-height: 28px;
    padding-top: 32px;
    padding-left: 24px;
    margin-bottom: 0px;
  }

  .property-info-p {
    margin-left: 30px;
    font-size: 20px;
    line-height: 24px;
    margin-left: 24px;
    color: var(--textColor);
  }

  .property-info-ref {
    margin-left: 24px;
    margin-top: 32px;
    font-size: 24px;
    line-height: 28px;
  }

  .property-info-data {
    font-weight: normal;
    font-size: 36px;
    line-height: 70px;
    position: absolute;
    bottom: 22px;
    right: 32px;
  }

  .property:hover {
    background-color: var(--IPMColor);
    transform: scale(1);
  }
}

/*Build dream house section style*/

#build-dream-house {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  align-items: center;
  margin-bottom: 64px;
}

.build-dream-house-text-container {
  padding: 0px 33px;
}

.build-dream-house-text-container button {
  margin-top: 64px;
}

#build-dream-house-image {
  display: block;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/*Build dream house mobile style*/
@media (max-width: 1024px) {
  #build-dream-house {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 425px) {
  .build-dream-house-text-container button {
    margin-top: 32px;
    width: 95%;
  }
}

/*Opinion section style*/
.opinions-container {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}

#opinion .links {
  text-align: right;
}

.opinions-persons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.opinion-person {
  cursor: pointer;
  height: 400px;
  width: 100%;
  position: relative;

  background: linear-gradient(
      119deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 66.8%,
      rgba(255, 255, 255, 0.6) 67%,
      rgba(255, 255, 255, 0.6) 100%
    ),
    url(../images/opinion.png);

  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.05s ease-in-out;
}

.opinion-person:active {
  transform: scale(0.8);
}

.opinion-person.active {
  transform: scale(0.8);
}

.opinion-person h4 {
  position: absolute;
  bottom: 16px;
  right: 16px;
}

.opinion-text {
  display: none;
  opacity: 0;
  padding: 0 64px;
  transition: opacity 0.3s ease-in-out;
}

.opinion-text.active {
  display: block;
  opacity: 1;
}

.opinion-text .star {
  margin-top: 10px;
  margin-bottom: 16px;
}

@media (max-width: 1720px) {
  .opinions-persons-grid {
    padding: 0 30px;
  }
  #opinion .links {
    padding: 0 30px;
  }
}

@media (max-width: 1440px) {
  .opinion-text {
    padding: 0 30px;
  }
}

@media (max-width: 1150px) {
  .opinions-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .opinion-person {
    height: 200px;
  }
}

@media (max-width: 468px) {
  .opinions-persons-grid {
    gap: 16px;
  }

  .opinion-person {
    height: 154px;
  }

  .opinion-text .star {
    letter-spacing: 18px;
    text-align: center;
    margin-bottom: 24px;
  }

  #opinion .links {
    text-align: left;
  }
}

/*Footer section style*/

footer {
  background-color: var(--IPMColorBlack);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 60px;
}

.footer-grid h3 {
  color: white;
  margin-bottom: 25px;
}

.footer-grid .awesome-icon {
  padding: 5px;
  background-color: var(--IPMColor);
  font-size: 25px;
}

.footer-grid .icon-info-block {
  color: white;
}

.footer-grid .certificates {
  margin-top: 25px;
}

.contact-us-bx24-form-re-styling .b24-form-control {
  border-radius: 0 !important;
  border: 1px solid var(--textColor) !important;
  background-color: white !important;
  padding-left: 20px !important;
  font-size: 18px !important;
  line-height: 22px !important;
}

.contact-us-bx24-form-re-styling .b24-form-control-label {
  padding-left: 20px !important;
  color: var(--textColor) !important;
  opacity: 1 !important;
}

.contact-us-bx24-form-re-styling .b24-form-btn {
  background-color: var(--IPMColor) !important;
  color: white !important;
  font-family: "obliqua", Regular !important;
  font-weight: normal !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 18px 32px !important;
  border: 0 !important;
  outline: none !important;
  cursor: pointer !important;
  white-space: normal !important;
  font-size: 24px !important;
  text-align: center !important;
  transition: background-color 0.3s ease-in-out !important;
  border-radius: 0 !important;
}
.contact-us-bx24-form-re-styling .b24-form-btn:hover {
  background-color: var(--IPMColorBlack) !important;
}
@media (max-width: 1700px) {
  .footer-grid {
    padding: 0 30px;
  }
}

@media (max-width: 1250px) {
  .footer-grid {
    padding: 0 30px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid .form-column {
    grid-row: 2;
    grid-column: 1/3;
  }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid .form-column {
    grid-row: unset;
    grid-column: unset;
  }
}

/*Footer copyright section style*/
#footer-copyright {
  background-color: var(--IPMColor);
  color: white;
  padding: 17px 0;
}

@media (max-width: 1700px) {
  #footer-copyright {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* Scroll to top button style */
#scrollButton {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #f2f2f2;
  color: #ad1414;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 250ms;
}

#scrollButton:hover {
  width: 52px;
  height: 52px;
  transform: translateY(-8px);
}

#scrollButton i {
  font-size: 24px;
}
@media screen and (max-width: 420px) {
  #scroll-button {
    right: 0px;
  }
}

@media screen and (max-width: 322px) {
  #our-services-h1 {
    overflow-wrap: break-word;
  }
  .about-us-content-h1 {
    overflow-wrap: break-word;
  }
  #build-dream-house-left {
    padding: 70px 0px;
  }
}
