.wrapper-inner {
  margin: 0 auto;
  max-width: 1100px;
}

section.banner {
  position: relative;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  border-radius: 0 0 80px 0;
}

section.banner .home-carousel .item > img {
  height: 100vh;
  object-fit: cover;
  object-position: top center;
}

section.banner .home-carousel .item {
  position: relative;
}

section.banner .home-carousel .item-content {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;

  @media (min-width: 1200px) {
    padding: 100px 0;
  }

  @media (max-width: 1199px) {
    padding: 70px 30px;
  }
  @media (max-width: 767px) {
    padding: 50px 8px;
  }
}

section.banner .home-carousel .caption {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

section.banner .home-carousel .caption .logo {
  max-width: 70%;
  margin: 0 auto;
}

section.banner .home-carousel .caption p {
  text-align: center;
  color: #fff;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 0;
}

section.banner .custom-nav {
  position: absolute;
  align-items: end;
  top: 50%;
  right: 70px;
  /* transform: translateY(-50%); */
  display: flex;
  flex-direction: column;
  gap: 29px;
  z-index: 10;

  @media (max-width: 991px) {
    top: unset;
    bottom: 210px;
  }
}

section.banner .custom-nav .custom-dot {
  position: relative;
  cursor: pointer;
  color: #ece9e5;
  font-family: "Inria Sans";
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  transition: all 0.3s ease;
}

section.banner .custom-nav .custom-dot.active {
  color: #ffc107;
  font-size: 28px;
}

section.banner .custom-nav .custom-dot::before {
  content: "";
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translate(-50%, 0);
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.45s;
}

section.banner .custom-nav .custom-dot.active::before {
  width: 60px;
}

section.banner .banner-icons {
  position: absolute;
  bottom: 100px;
  left: 70px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

section.banner .banner-icons a:last-of-type svg {
  border-radius: 11.5px;
  background: #fff;
  width: 23px;
  height: 23px;
  padding: 6.38px 6.5px 6.37px 6.5px;
}

section.banner .banner-icons a:hover svg path {
  fill: #ffc107;
}

section.banner .banner-icons a:last-of-type:hover svg path {
  fill: #fff;
}

section.banner .banner-icons a:last-of-type:hover svg {
  background: #ffc107;
}

.imagine-your-possibilities {
  @media (min-width: 768px) {
    padding-top: 0;
  }
}

.imagine-your-possibilities .content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;

  @media (min-width: 992px) {
    margin-left: 60px;
    margin-right: auto;
    max-width: 355px;
    margin-top: 0;
  }
}

.imagine-your-possibilities .content h1 {
  color: #144f6f;
}

.imagine-your-possibilities img {
  border-radius: 0 0 80px 0;
  object-fit: cover;
  width: 100%;
}

.imagine-your-possibilities .scroll-down {
  position: relative;
  background-color: #ffd41c;
  width: 80px;
  height: 160px;
  border-radius: 10px 10px 0 0;
  margin-left: 13px;
  cursor: pointer;
}

.imagine-your-possibilities .scroll-down svg {
  position: absolute;
  top: 20px;
  /* max-height: 1.25rem; */
  opacity: 1;
  transition: 0.5s all ease;
  animation: scroll 2.5s infinite;
  -webkit-animation: scroll 2.5s infinite;
}

.imagine-your-possibilities .scroll-down:hover svg {
  animation: none;
  top: 30px;
}

@keyframes scroll {
  from {
    top: 20px;
  }

  to {
    top: 8rem;
    opacity: 0;
  }
}

.imagine-your-possibilities .scroll-down-container {
  margin-top: -75px;
  z-index: 1;
  position: relative;
}

section.propertyCards {
  & .property-card-contents {
    .header-text {
      max-width: 1100px;
      margin-left: auto;
      margin-right: auto;
    }
  }
}

.news-events {
  .header-news {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    a {
      text-decoration: none;
      /* color: #23868b; */
    }

    /* a:hover {
      color: #144f6f;
    } */
  }

  .grid-wrapper {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    grid-template-rows: 1fr 1fr; /* 2 rows */
    gap: 24px;
    height: 100%; /* just for demo */

    @media (max-width: 991px) {
      display: flex;
      flex-direction: column;
    }

    .news-card:first-of-type {
      grid-row: 1 / span 2; /* spans both rows */
      height: 100%;
      border-radius: 10px;
      background: #fff;
      box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
      overflow: hidden;
    }

    .news-card .content p {
      margin-bottom: 0;
      color: #000;
    }

    .news-card:first-of-type .content p {
      -webkit-line-clamp: 4;

      @media (max-width: 991px) {
        -webkit-line-clamp: 3;
      }
    }

    .news-card:not(:first-of-type) .content p {
      -webkit-line-clamp: 3;
    }

    .news-card:not(:first-of-type) {
      display: flex;
      height: 100%;
      border-radius: 10px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);

      @media (max-width: 991px) {
        flex-direction: column;
      }

      .image {
        width: 55%;

        @media (max-width: 991px) {
          width: 100%;
        }

        img {
          border-bottom-right-radius: 20px;

          @media (max-width: 991px) {
            border-bottom-right-radius: 0;
          }
        }
      }
      a.content {
        text-decoration: none;
        padding: 35px 20px 27px;
        width: 45%;

        @media (max-width: 991px) {
          width: 100%;
        }
      }
    }

    .image {
      overflow: hidden;

      @media (max-width: 991px) {
        max-height: 380px;
      }

      @media (max-width: 575px) {
        max-height: 280px;
      }

      img {
        transition: transform 0.5s;
        object-fit: cover;
        object-position: center;
      }
    }

    a.content {
      padding: 45px 60px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 24px;
      text-decoration: none;

      @media (max-width: 991px) {
        padding: 35px !important;
      }

      p,
      h3 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      h3 {
        -webkit-line-clamp: 2;
      }

      p:not(:first-of-type) {
        -webkit-line-clamp: 3;
      }

      span {
        color: #23868b;
        text-decoration: none;
      }
      span:hover {
        color: #144f6f;
      }
    }

    h3 {
      color: #144f6f;
      font-size: 23px;
      font-weight: 400;
      line-height: 32.2px; /* 140% */
      margin-bottom: 0;
    }

    .news-card:hover img {
      transform: scale(1.2);
    }
  }
}

/* ////////////////////////////////// */

.our-promise .nav-pills {
  max-width: 510px;
}

.our-promise .nav-pills .nav-link.active {
  background-color: #ffd41c;
  color: #142a3c;
  border-radius: 0 10px 10px 0;
}
.our-promise .nav-pills .nav-link {
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  color: #fff;
  padding: 16px 0 16px 130px;

  @media (max-width: 1199px) {
    padding-left: 70px;
    margin-right: 30px;
  }
  @media (max-width: 991px) {
    padding-left: 30px;
  }

  @media (max-width: 767px) {
    padding-left: 20px;
    margin-right: 20px;
  }
}
.our-promise .nav-pills .nav-link.active svg path {
  fill: #142a3c;
}
.our-promise .promise-text {
  background-color: #aaeaf9;
}
.our-promise .d-lg-block {
  background-color: #aaeaf9;
  height: 100%;
  position: absolute;
  margin-left: auto;
}
.our-promise .promise-text p {
  padding: 73px 0 73px 130px;
  max-width: 510px;
  margin-bottom: 0;

  @media (max-width: 1199px) {
    padding-left: 70px;
    margin-right: 30px;
  }

  @media (max-width: 991px) {
    padding: 70px 30px;
    max-width: 100%;
    margin-right: 0;
  }

  @media (max-width: 767px) {
    padding: 50px 20px;
  }
}

.our-promise .promiseImage {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0 0 80px 0;

  @media (max-width: 991px) {
    border-radius: 0;
  }
}
.our-promise .rounded-end-custom {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.our-promise .promise-tab {
  height: 100%;
  background-color: #144f6f;
  color: #fff;
  padding: 82px 0;
}

.our-promise .promise-tab h2 {
  color: #fff;
  padding-left: 130px;
  margin-bottom: 25px;

  @media (max-width: 1199px) {
    padding-left: 70px;
    margin-right: 30px;
  }

  @media (max-width: 991px) {
    padding-left: 30px;
  }

  @media (max-width: 767px) {
    padding-left: 20px;
    margin-right: 20px;
  }
}

.testimonials {
  position: relative;
  background: url("../../assets/img/home/testimonials-bg.jpg") left top / cover
    no-repeat;
}
.testimonials .container-fluid {
  position: relative;
  z-index: 1;
}

.testimonials:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(0deg, #224764 -17.4%, rgba(34, 71, 100, 0) 75.99%),
    #d3d3d3 112.146px -269.615px / 120.847% 170.39% no-repeat;
  background-blend-mode: color-burn, normal;
  opacity: 0.8;
}

.testimonials h2 {
  margin-bottom: 40px;
}

.testimonials p {
  margin-bottom: 0;
}

.testimonials .testimonials-carousel .item {
  border-radius: 10px;
  background: #23868b;
  overflow: hidden;
}

.testimonials .testimonials-carousel .item img {
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 40px 0;
}

.testimonials .testimonials-carousel .item .item-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 61px 45px;
  color: #fff;
}

.testimonials .owl-counter {
  margin-top: 20px;
  margin-left: 30px;
}

.testimonials .owl-counter span {
  color: #000;
  font-family: "Inria Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

/* @media (max-width: 1199px) {
  .our-promise .nav-tab h2,
  .our-promise .nav-tab .nav-link-tab,
  .our-promise .nav-contents .tab-content {
    padding-left: 50px;
  }
}

@media (max-width: 991px) {
  .our-promise .col-lg-5 {
    margin-top: 0;
  }

  .our-promise #pills-imgContent img {
    border-radius: 0;
  }

  .our-promise .nav-contents .tab-content {
    padding: 0 50px;
    max-width: unset;
  }

  .our-promise .nav-contents {
    padding: 50px 0;
  }
} */

.our-promise ul li {
  margin-bottom: 0;
}

@media (max-width: 1199px) {
  .our-promise .nav-tab h2,
  .our-promise .nav-tab .nav-link-tab,
  .our-promise .nav-contents .tab-content {
    padding-left: 50px;
  }
}

@media (max-width: 991px) {
  .our-promise .col-lg-5 {
    margin-top: 0;
  }

  .our-promise #pills-imgContent img {
    border-radius: 0;
  }

  .our-promise .nav-contents .tab-content {
    padding: 0 50px;
    max-width: unset;
  }

  .our-promise .nav-contents {
    padding: 50px 0;
  }
}

@media (max-width: 767px) {
  section.banner .custom-nav {
    right: 20px;
  }

  section.banner .banner-icons {
    left: 20px;
  }
}

@media (max-width: 575px) {
  /* .our-promise .nav-tab h2,
  .our-promise .nav-tab .nav-link-tab,
  .our-promise .nav-contents .tab-content {
    padding-left: 16px;
  }

  .our-promise .nav-contents .tab-content {
    padding-right: 16px;
  } */

  .our-promise .nav-tab h2,
  .our-promise .nav-tab .nav-link-tab,
  .our-promise .nav-contents .tab-content {
    padding-left: 16px;
  }

  .our-promise .nav-contents .tab-content {
    padding-right: 16px;
  }

  section.banner .banner-icons {
    display: none;
  }

  section.banner .custom-nav .custom-dot.active::before {
    width: 0;
  }

  section.banner .custom-nav {
    right: 16px;
  }

  .wrapper-inner {
    margin: 0;
  }
}

/* Index Override */
.page-id-2784 {
  section.propertyCards {
    .btn-global {
      color: #000 !important;
    }

    .property-card-contents {
      .property-grid {
        .property-card:first-child {
          .inside {
            .details {
              p {
                &.property-subtitle {
                  display: none;
                }
              }
            }
          }
        }
      }
    }
  }
}

/* Index Override - End */
