:root {
  --dark-blue: rgb(4, 30, 65);
  --dark-blue2: rgb(30, 53, 84);
  --color-red: #EA3636;
  --color-green: #41A883;
  --color-green2: #308667;
  direction: ltr;
}

@import url('https://fonts.googleapis.com/css2?family=Aleo:wght@700&display=swap');
/* @import url('/public/fonts/Tajawal-Regular.ttf'); */

@font-face {
    font-family: "bahij";
    src: url("/fonts/BAHIJ.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "bahij";
    src: url("/fonts/BAHIJ-BOLD.TTF") format("truetype");
    font-weight: bold;
    font-style: normal;
}

.carousel-indicators .active {
  background-color: var(--color-red);
}


/* body[style="direction: rtl;"]{
  text-align: right;
  font-family: "bahij", sans-serif;
  font-weight: 600;
} */

.carousel-item {
  height: 32rem;
  background: black;
  color: white;
  position: relative;
  background-position: center;
  background-size: cover;
}

.overlay-image {
  background-position: center;
  background-size: cover;
  opacity: 0.9;
  height: 80vh;
  object-fit: cover;
}

.carousel-bottom {
  background-color: var(--dark-blue2);
  width: 100%;
  height: 150px;
  padding: 60px;
  /* font-family: 'Aleo', 'Courier New', Courier, monospace; */
  font-weight: 800;
  text-align: center;
  color: white;
}

.carousel-item .container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 50px;
}

.main-slide {
  padding: 0px;
}

.carousel-item {
  color: white;
  position: relative;
}

.carousel-img {
  height: 80vh;
  object-fit: cover;
}

.body-content-1 {
  text-align: center;
  background-color: rgb(236, 238, 245);
  width: 100%;
  padding-top: 30px;
  padding-bottom: 110px;
}

.body-content-1>h1 {
  /* margin-top: 20px; */
  margin-bottom: 50px;
}

.body-content-2 {
  text-align: center;
  background-color: white;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 70px;
}

.body-content-2>h1 {
  /* margin-top: 20px; */
  margin-bottom: 85px;
  color: rgb(60, 73, 116);
  font-weight: 700;
  /* border-bottom: 1px solid rgb(60, 73, 116); */
  /* width: 305px; */
}


.partnership {
  text-align: center;
  background-color: rgb(236, 238, 245);
  width: 100%;
  padding-top: 50px;
  padding-bottom: 110px;
  padding-left: 5%;
  padding-right: 5%;
}

.partnership img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 300px;
}

.partnership>h1 {
  margin-bottom: 50px;
  color: rgb(60, 73, 116);
  font-weight: 700;
}

.body-content-1 img {
  width: 100%;
  /* height: 100%; */
  max-width: 450px;
  max-height: 320px;
  /* border: grey 1px solid; */
  border-radius: 5px;
  object-fit: contain;
}

.body-content-1 p {
  color: rgb(60, 73, 116);
  font-size: 20px;
}

.body-content-1 h1 {
  color: rgb(60, 73, 116);
  font-weight: 700;
  margin-bottom: 30px;
}

.body-content-1 .row {
  padding-left: 13%;
  padding-right: 10%;
  padding-top: 80px;
}

.content-elevator {
  text-align: left;
  margin-left: -1%;
}

.content-elevator p {
  text-align: left;
}

body[style="direction: rtl;"] .content-elevator p {
  text-align: right;
}

.content-elevator-text {
  padding-right: 10%;
  padding-left: 0%;
  text-align: left;
}

body[style="direction: rtl;"] .content-elevator-text {
  padding-right: 0%;
  padding-left: 10%;
  text-align: right;
}

.content-escalator {
  margin-top: 40px;
  text-align: left;
  direction: ltr;
}

body[style="direction: rtl;"] .content-escalator {
  margin-top: 40px;
  text-align: right;
  direction: rtl;
}

.content-escalator-text {
  padding-right: 0%;
  padding-left: 3%;
  padding-top: 40px;
}

body[style="direction: rtl;"] .content-escalator-text {
  padding-right: 3%;
  padding-left: 0%;
  padding-top: 40px;
}

@media (max-width: 992px) {
  .row #escalator-top-image{
    display: none;
  }

  .row #escalator-bottom-image{
    display: inline-block;
  }

  div .elevator-image {
    margin-top: 50px;
    margin-bottom: 50px;
  }

}

#escalator-top-image{
  display: inline-block;
}

#escalator-bottom-image{
  display: none;
}


@media (max-width: 575px) {
  .content-escalator-text {
    padding-top: 0px;
  }

  .content-elevator p{
    text-align: center;
  }
}

hr {
  width: 45%;
  text-align: center;
  margin-top: 70px;
  margin: 110px auto 20px;
}

.card__btn:focus, .card__btn:active {
  outline: var(--color-green) 2px auto !important;
  box-shadow: none !important;
}

.btn:focus, .btn:active {
  outline: none !important;
  box-shadow: none !important;
}

.property-card {
  /* height: 18em; */
  height: 350px;
  width: 300px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  /* -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1); */
  border-radius: 16px;
  overflow: hidden;
  -webkit-box-shadow: 15px 15px 27px #e1e1e3;
  box-shadow: 15px 15px 27px #b3b3b3, -15px -15px 27px #d3d3d4;
  margin-bottom: 90px;
}

.property-image {
  height: 350px;
  width: 100%;
  padding: 16px 32px;
  position: Absolute;
  top: 0px;
  /* -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1); */
  /* background-image: url('https://cdn.photographylife.com/wp-content/uploads/2017/01/What-is-landscape-photography.jpg'); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
}

/* Bottom Card Section */

.property-description {
  background-color: rgba(30, 53, 84, 0.692);
  color: white;
  height: 64px;
  width: 100%;
  position: absolute;
  bottom: 0px;
  /* -webkit-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1); */
  -webkit-transition: height .35s ease-in-out;
  transition: height .35s ease-in-out;
  padding: 8px 16px;
  text-align: left;
}

body[style="direction: rtl;"] .property-description {
  text-align: right;
}

.property-card:hover .property-description {
  height: 150px;
}

.news-button {
  margin-top: 1px;
  padding-bottom: 0px;
}

.property-card:hover {
  text-decoration: none;
  color: white;
}

.property-card:hover p {
  text-decoration: none;
  color: white;
}

.property-card p {
  color: white;
  height: 45px;
}

.elevator-image {
  margin-top: 0px;
  margin-bottom: 20px;
}

.carousel-item .container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-bottom: 5vh;
  /* background-color: rgba(0, 0, 0, 0.295); */
  padding-left: 10%;
  padding-right: 10%;
}

#post-list-container{
  max-width: 1600px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}