:root {
  --titleColor: #0a0a0a;
  --textColor: #777777;
  --IPMColor: #ad1414;
  --IPMColorLight: #c02d2d;
  --IPMColorBlack: #0a0a0a;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "obliqua", sans-serif;
  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);
  margin: 0;
  margin-bottom: 25px;
}

@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;
  }
}

.global-container {
  margin: 0 auto;
  width: 100%;
  max-width: 1648px;
}

.icon-info-block {
  padding: 5px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.section {
  padding: 64px 0;
}
.separator {
  height: 1px;
  background-color: #94b7dd;
  width: 100%;
  margin-bottom: 16px;
}
.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;
  }
}

/* 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;
  color: var(--titleColor);
}

#navbar-mobile .navbar-collapse {
  margin: 0 33px;
  background-color: var(--IPMColorBlack);
}

#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 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: white;
  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: var(--titleColor);
  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:first-child .dropdown {
  padding-top: 6px;
}

#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:hover a {
  transform: translateY(-5px);
}

@media (max-width: 1750px) {
  #header {
    padding: 0px 32px;
  }
}

@media screen and (max-width: 1206px) {
  #navbar {
    font-size: 14px;
  }
}

@media (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;
  }

  .below-header-text-h1,
  .below-header-text-p {
    margin-left: 0 !important;
  }
}

.main-block {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 32px;
}

.main-block-image {
  order: 1;
  height: 879px;
  width: 100%;
  background-image: url("../images/services.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.main-block-text-container {
  order: 2;
  padding: 0px 33px;
  margin-top: 33px;
}

@media (max-width: 768px) {
  .main-block {
    grid-template-columns: 1fr;
    column-gap: unset;
  }

  .main-block-image {
    height: 431px;
  }
}

@media (max-width: 425px) {
  .main-block {
    grid-template-columns: 1fr;
    column-gap: unset;
  }

  .main-block-image {
    height: 324px;
    width: auto;
    margin-left: 32px;
    margin-right: 32px;
  }
}

.what-you-need-to-know {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding-bottom: 128px;
}

.what-you-need-to-know-text-container button {
  margin-top: 64px;
}

.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) {
  .what-you-need-to-know {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 768px) {
  .what-you-need-to-know {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 425px) {
  .what-you-need-to-know {
    padding-top: 64px;
  }

  .what-you-need-to-know-text-container button {
    margin-top: 32px;
    box-sizing: border-box;
    width: 100%;
  }
}

.which-steps-you-take {
  width: 100%;
  padding: 128px 0px;
  background: linear-gradient(
      123deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    url("../images/rent.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.which-steps-you-take .global-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.which-steps-you-take h2 {
  color: white;
  margin-bottom: 64px;
  text-align: center;
  max-width: 628px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  --stepDoneColor: #75c043;
}

.step-marker-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-marker {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 100%;
}

.step.done .step-marker {
  background-color: var(--stepDoneColor);
}

.step-markers-connection-line {
  width: 4px;
  background-color: white;
  height: calc(100% - 48px);
}

.step.done .step-markers-connection-line {
  background-color: var(--stepDoneColor);
}

.step.last .step-markers-connection-line {
  display: none;
}

.step-card {
  padding: 32px;
  background-color: white;
  margin-bottom: 64px;
  width: 100%;
  max-width: 980px;
}

.step-card h4 {
  font-size: 24px;
}

.step-card p {
  color: black;
}

@media (max-width: 1700px) {
  .which-steps-you-take .global-container {
    padding: 0 30px;
  }
}
@media (max-width: 425px) {
  .step {
    gap: 30px;
  }
}

.other-services {
  padding-top: 128px;
  padding-bottom: 64px;
}

.other-services-text-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 64px;
}

.other-services-text-grid button {
  margin-top: 64px;
}

.other-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  flex-wrap: wrap;
}

.other-services-grid a {
  display: block;
}

.other-services-grid a:hover {
  text-decoration: none;
}

.other-service {
  display: block;
  padding: 32px;
  text-align: right;
  background: #94b7dd;

  transition: transform 0.05s ease-in-out;
}

.our-services-overlay {
  height: calc(100% + 3px) !important;
  top: -3px;
  width: auto;
  position: absolute;
  left: 0;
  -moz-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

.other-service h4 {
  text-wrap: nowrap;
  font-size: 48px;
  line-height: 64px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
}

.other-service img {
  height: 280px;
  transition: all 0.4s ease-in-out;
}

.other-service:active {
  transform: scale(0.8);
}

@media (max-width: 1700px) {
  .other-services {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 1400px) {
  .other-service h4 {
    font-size: 32px;
  }

  .other-service img {
    height: 180px;
  }
}

@media (max-width: 1050px) {
  .other-services-grid {
    gap: 24px;
  }

  .other-service {
    padding: 16px;
  }

  .other-service h4 {
    font-size: 20px;
  }

  .other-service img {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .other-services-text-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .our-values > h2 {
    margin-bottom: 32px;
  }

  .other-services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .other-service {
    padding: 20px;
  }

  .other-service h4 {
    font-size: 29px;
    line-height: 39px;
  }

  .other-service img {
    height: 169px;
  }
}

@media (max-width: 425px) {
  .other-services-text-grid button {
    display: none;
  }

  .other-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .other-service {
    padding: 7px;
  }

  .other-service.first {
    grid-column: 2;
  }

  .other-service h4 {
    font-size: 18px;
    line-height: 20px;
  }

  .other-service img {
    height: 100px;
  }
}

@media (max-width: 375px) {
  .other-services-grid {
    gap: 10px;
  }
}

#why-choose-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.why-choose-us-text-container {
  padding: 0px 33px;
  order: 1;
}
.why-choose-us-image {
  order: 2;
  height: 731px;
  width: 100%;
  background-image: url("../images/aboutUs/TeamIPM/team.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.why-choose-us-text-container button {
  margin-top: 64px;
}

@media (max-width: 768px) {
  #why-choose-us {
    grid-template-columns: 1fr;
    column-gap: unset;
  }

  .why-choose-us-image {
    height: 431px;
  }
}

@media (max-width: 425px) {
  #why-choose-us {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .why-choose-us-text-container {
    order: 2;
  }

  .why-choose-us-text-container button {
    display: none;
  }

  .why-choose-us-image {
    order: 1;
    height: 324px;
    width: auto;
    margin-left: 32px;
    margin-right: 32px;
  }
}

.find-your-dream-property-title-container {
  text-align: center;
  margin-bottom: 64px;
}

.dream-properties-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr 1fr;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.property .image-container {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.property .image-container img:first-child {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.property .image-container img:not(:first-child) {
  height: 92px;
  position: absolute;
  bottom: 0;
  z-index: 1;
  left: 0;
  width: 100%;
  object-fit: cover;
  object-position: left;
}

.property .image-container .plate {
  position: absolute;
  z-index: 2;
  bottom: 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  width: calc(100% + 8px);
  left: -8px;
  padding: 20px;
  padding-left: 15%;
}

.property .image-container .plate .text-container {
  overflow: hidden;
}

.property .image-container .plate .text-container h4 {
  font-weight: normal;
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 309px;
}

.property .image-container .plate .text-container p {
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 309px;
}

.property .image-container .plate .price {
  text-wrap: nowrap;
  margin-bottom: 0;
}

.property .property-descrition {
  padding: 0px 32px;
}

.property .property-description .icons-info {
  padding: 16px 0px;
  display: grid;
  gap: 32px;
  grid-template-columns: 5fr 1fr 1fr;
  align-items: center;
  justify-content: space-between;
}

.property .property-description .icons-info p {
  margin-bottom: 0;
}

.property .property-description .icons-info .icon-info-block {
  align-items: center;
}

.property .property-description > p {
  height: 215px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property .icons-info {
  margin-bottom: 32px;
}

@media (max-width: 1700px) {
  .dream-properties-grid {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 1100px) {
  .dream-properties-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .dream-properties-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 425px) {
  .find-your-dream-property-title-container {
    display: none;
  }

  .property .image-container {
    height: 250px;
  }

  .property .image-container .plate .text-container h4 {
    font-size: 17px;
  }

  .property .image-container .plate .text-container p {
    font-size: 12px;
    margin-bottom: 0;
  }

  .property .image-container .plate .price {
    font-size: 18px;
    line-height: 26px;
    text-wrap: nowrap;
  }

  .property .property-description .icons-info p {
    font-size: 16px;
    line-height: 22px;
  }

  .property .property-description .main-button {
    width: 65%;
  }
}

.find-your-dream-property-links {
  text-align: right;
}

/* below header style*/
#below-header {
  display: inline-block;
  width: 50%;
  margin-left: 25%;
}
.below-header-text {
  color: #3b3e50;
}
.below-header-text-h1 {
  margin-top: 60px;
  font-size: 50px;
  color: #94b7dd;
}
.below-header-text-h2 {
  margin-top: 50px;
  font-size: 24px;
  font-weight: bold;
  color: #94b7dd;
}
.below-header-text-h3 {
  color: #94b7dd;
}
.below-header-text-p {
  margin-top: 15px;
  font-size: 16px;
  line-height: 30px;
}
hr {
  width: 100%;
  border: #dedede 1px solid;
}
.below-header-text-h3 {
  font-size: 18px;
}
.below-header-text-h2 {
  font-size: 28px;
}
.build-yourself-img {
  margin-top: 20px;
}
.build-yourself-list {
  font-size: 14px;
}

/*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;
  font-weight: 400;
}

.footer-grid p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.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 button style */
#scrollButton {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #f2f2f2;
  color: #94b7dd;
  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;
}

/* ALL MOBILE STYLES */

@media screen and (max-width: 650px) {
  #below-header {
    width: 96%;
    margin-left: 2%;
    margin-right: 2%;
  }
}

@media screen and (max-width: 420px) {
  #scrollButton {
    right: 0px;
  }
}
