/* Custom Styles */
body {
  font-family: "Mulish", sans-serif;
  background: #fff;
}
h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
  font-family: "Sansation", sans-serif;
}
a {
  text-decoration: none;
}
/* Navbar styles */
.navbar {
  transition: background 0.3s, box-shadow 0.3s;
  background: #fffbe7;
  z-index: 1050;
}
.navbar .menu-logo {
  height: 80px;
  max-width: 100%;
}
.property nav.navbar.navbar-expand-lg {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.navbar.sticky {
  background: #fffbe7 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100vw;
  left: 0;
  right: 0;
  top: 0;
  z-index: 6;
  box-sizing: border-box;
}
.navbar.sticky .menu-logo {
  /* height: 60px; */
}
.navbar .nav-link,
.navbar-brand {
  color: #456a4b;
  font-weight: 500;
}
ul.dropdown-menu::after {
    bottom: 100%;
    left: 67px;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    border-width: 13px;
    margin-left: -30px;
    border-left: 13px solid #fff0;
    border-right: 13px solid #fff0;
    border-bottom: 13px solid #f3eed2;
}
ul.dropdown-menu {
    border: none;
    width: 250px;
    padding: 15px 10px;
    background-color: #f3eed2;
    margin-top: 15px;
}
a.dropdown-item {
    padding: 8px 20px;
}
svg.calendar-icon {
    position: absolute;
    right: 16px;
    z-index: 5;
    bottom: 13px;
    height: 25px;
    color: #939393;
}
.property .navbar .nav-link,
.property .navbar-brand {
  color: #222;
}
.navbar.sticky .nav-link,
.navbar.sticky .navbar-brand {
  color: #222 !important;
}
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .navbar .dropdown > .dropdown-toggle::after {
    pointer-events: none;
  }
}
/* Hero section */
.hero {
  background: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80")
    center/cover no-repeat;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
}

.search-bar {
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  margin-top: 2rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.search-bar input,
.search-bar select {
  flex: 1;
  /* border: none;
      outline: none; */
  padding: 0.75rem;
  border-radius: 50px;
  /* background: #f3f3f3; */
}
.search-bar button {
  border-radius: 8px;
}
/* Section titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #53875b;
}
.main-section{
  background-image: url(img/bg-pattern-2.png);
    background-repeat: no-repeat;
    background-position: 100% 0%;
    background-size: auto 400px;
}
/* Apartment types */
.apartment-types .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  /* background-color: #f7f7f7; */
  background-color: #dfd7c9;
  margin-bottom: 30px;
  padding: 30px;
  position: relative;
  transition: all 0.4s ease;
}
.apartment-types .card-icon {
  background-color: #fffbe7;
  border-radius: 50%;
  color: var(--headings-color);
  display: block;
  font-size: 30px;
  height: 70px;
  /* line-height: 75px; */
  align-items: center;
  display: flex;
  justify-content: center;
  /* margin-bottom: 65px; */
  margin-bottom: 90px;
  text-align: center;
  width: 70px;
  transition: all 0.4s ease;
}
.apartment-types .card-icon .icon-svg {
  width: 40px;
  height: 40px;
}
.apartment-types .card:hover {
  background-color: #181a20;
}
.apartment-types .card:hover .card-icon {
  background-color: hsla(0, 0%, 100%, 0.1);
}
.apartment-types .card:hover .card-icon i,
.apartment-types .card:hover div,
.apartment-types .card:hover small {
  color: #fff;
}
/* Featured listings */
.featured-listings .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}
.featured-listings .card-img-top {
  border-radius: 12px 12px 0 0;
  height: 180px;
  object-fit: cover;
}
/* Properties by city */
.city-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  position: relative;
  color: #fff;
  height: 180px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.city-card .city-name {
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 2;
}
/* Dark section */
.dark-section {
  background: #f6f9f3;
  /* color: #fff; */
  padding: 6rem 0;
}
/* .dark-section .section-title,
.dark-section .featured-section-subtitle,
.dark-section .anchor-button {
  color: #fff;
} */
.dark-section .card {
  background: #333;
  color: #fff;
  border: none;
}
/* Testimonials */
.testimonial-card {
  border: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}
.testimonial-card span.icon.bi.bi-quote {
  color: hsla(8, 79%, 62%, 0.15);
  font-size: 46px;
  position: absolute;
  right: 60px;
  top: 10px;
  z-index: 1;
}
.testimonial-card h6 {
  font-weight: 700;
  margin-bottom: 2rem;
}
.testimonial-review i.bi.bi-star-fill {
  color: #ffb63f;
}
img.testimonial-img {
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}
.star-rating i {
  font-size: 1.5rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
}
.star-rating i.selected,
.star-rating i:hover,
.star-rating i:hover ~ i {
  color: #ffb63f;
}
.support-card {
  background-color: #f7f7f7;
  max-width: 1300px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 100px 50px;
  border-radius: 35px;
  position: relative;
}
.support-card h4 {
  font-size: 2.2rem;
  font-weight: 600;
}
/* Blog cards */
.blog-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
}
.blog-card img {
  border-radius: 12px 12px 0 0;
  height: 160px;
  object-fit: cover;
}
/* Footer */
footer {
  background: #222;
  color: #fff;
  padding: 3rem 0 2rem 0;
}
footer h6 {
  font-size: 1.4rem;
  font-weight: 600;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a i {
  font-size: 33px;
}
p.link-footer {
  margin-bottom: 0.35rem;
  font-weight: 300;
}
.copyright {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
/* Responsive */
@media (max-width: 991px) {
  .hero-content {
    max-width: 90vw;
  }
  .search-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  .city-card {
    height: 120px;
  }
}
@media (max-width: 575px) {
  .section-title {
    font-size: 1.85rem;
  }
  .hero {
    min-height: 320px;
  }
  .city-card {
    height: 80px;
    font-size: 1rem;
  }
}

/* Top bar */
.topbar {
  background-color: #0e2a47;
  color: #fff;
  padding: 6px 0;
}
.topbar a {
  color: #fff;
  font-size: 0.9rem;
}

/* Hero slider */
.hero-slider {
  position: relative; /* margin-top: -105px; */
}
.hero-slides {
  display: flex;
  transition: transform 0.6s ease;
}
.hero-slide {
  min-width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  max-width: 700px;
  font-family: "Sansation", sans-serif;
  margin: auto;
    text-align: center;
}
/*.hero-content {*/
/*  position: relative;*/
/*  z-index: 2;*/
/*  text-align: center;*/
/*  max-width: 600px;*/
/*  margin: auto;*/
/*  font-family: "Sansation", sans-serif;*/
/*}*/
.hero-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  z-index: 3;
  width: max-content;
  max-width: 1100px;
}
.hero-search .search-bar {
  padding: 12px 40px;
  align-items: center;
}
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-prev {
  left: 12px;
}
.hero-next {
  right: 12px;
}
.welcome-section {
  padding: 6rem 0 4rem 0;
}
.apartment-types {
  padding: 4rem 0;
}
.welcome-text {
  font-size: 1.7rem;
  color: #333;
  font-weight: 200;
  text-align: center;
  font-family: "Source Serif 4", serif;
}
/* Featured carousel layout tweaks */
.featured-section {
  background-color: #f7f7f7;
  padding: 9rem 0;
}
@media (max-width:600px){
    .featured-section{
        padding: 3rem 0;
    }
    .amenities-section{
        padding: 3rem 1rem;
    }
    .amenities-section .featured-main-title {
    padding: 0 20px;
}
    .section-padding {
    padding: 3rem 0;
}
}
.featured-carousel {
  position: relative;
  overflow: hidden; /*padding: 0 1rem;*/
}
.featured-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
      margin-bottom: 1rem;
}
.featured-card {
  box-sizing: border-box;
  min-width: calc((100% - 2rem) / 3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 25px;
  overflow: hidden;
  background: #fff;
}
.featured-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.card-img-wrap {
  position: relative;
}
.card-img-wrap::before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: black;
    opacity: 0.2;
}
.price-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.tag-featured {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #ff6b6b;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}
.featured-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.featured-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ddd;
}
.featured-dots button.active {
  background: #111;
}
.featured-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.featured-arrow.left {
  left: 8px;
}
.featured-arrow.right {
  right: 8px;
}
.featured-section-subtitle {
  color: #686868;
  margin-bottom: 60px;
}
.anchor-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  text-align: center;
  transition: all 0.4s ease;
  align-items: baseline;
}
.anchor-button:hover {
  color: #ff6b6b;
}
.anchor-button i {
  font-size: 18px;
  transition: all 0.4s ease;
  position: relative;
  top: 1px;
}
.anchor-button:hover i {
  transform: translateX(4px);
}
.btn-primary {
  background-color: #d1f470;
  color: #333;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #5bd5d9ba;
}

.book-btn {
  border-radius: 12px;
  display: flex;
  font-weight: 600;
  gap: 12px;
  justify-content: flex-start;
  font-size: 15px;
  font-style: normal;
  letter-spacing: 0;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
  transition: all 0.4s ease;
  background-color: #fff;
  color: #516fd2;
  align-items: baseline;
}
.book-btn:hover {
  color: #ff6b6b;
}
.book-btn i {
  font-size: 18px;
  transition: all 0.4s ease;
  position: relative;
  top: 1px;
}
.book-btn:hover i {
  transform: translateX(4px);
}

.float-animate {
  display: inline-block;
  animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {
  /* 0%   { transform: translateY(0); }
  25%  { transform: translateY(-4px); }
  50%  { transform: translateY(-8px); }
  75%  { transform: translateY(-15px); }
  100% { transform: translateY(0); } */

  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
.spin-right {
  animation: spin-right 14s linear infinite;
}
@keyframes spin-right {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(1turn);
}
}
@keyframes bounceY {
0% {
    transform: translatey(0);
}
50% {
    transform: translatey(-20px);
}
100% {
    transform: translatey(0);
}
}
.cta-box-home{
    display: flex; justify-content: flex-end; gap: 25px;
}
@media (max-width: 600px){
    .cta-box-home{
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 20px;
    gap: 15px;
    }
}
.animated-btn {
  position: relative;
  display: inline-flex;
  gap: 7px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  border-radius: 14px;
  background: transparent;
  border: 1px solid #d1f470;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
}

.animated-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #d1f470; /* your fill color */
  transform: skew(50deg);
  transition: all 0.6s ease;
  z-index: -1;
}

.animated-btn:hover::before {
  left: 100%;
}

.animated-btn:hover {
  color: #000;
  border-color: #d1f470;
}

.animated-btn-reverse {
  position: relative;
  display: inline-flex;
  gap: 7px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  border-radius: 14px;
  /* background: #00bcd4; */
  /* background: #d3e713ab; */
  background: #d1f470;
  border: 1px solid #8d8d8d;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
}

.animated-btn-reverse::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #fff; /* your fill color */
  transform: skew(50deg);
  transition: all 0.6s ease;
  z-index: -1;
}

.animated-btn-reverse:hover::before {
  left: 100%;
}

.animated-btn-reverse:hover {
  border-color: #d1f470;
}

.img-box-1 img,
.img-box-2 img,
.img-box-3 img,
.img-box-4 img {
  border-radius: 12px;
}
.img-box-2 {
  margin-left: 30px;
  margin-bottom: 50px;
}
.img-box-1 {
  vertical-align: bottom;
}
.img-box-3 {
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  text-align: center;
  bottom: -35px;
}
.img-box-4,
.img-box-5 {
  position: absolute;
  right: -50px;
  z-index: -1;
}
.bounce-y{
        transform: translatey(0);
    animation: bounceY 6s ease-in-out infinite;
}
@media (max-width: 600px) {
    .img-box-1 {
        display: block;
        margin-bottom: 20px;
    }
  .img-box-4,
    .img-box-5 {
  right: 0;
  top: 90%;
}
.img-box-3 {
        bottom: auto;
        top: 30%;
    }
        .img-box-2 {
        display: block;
        margin-left: 0;
        margin-bottom: 0;
    }
    .about-box-1 { 
        margin-bottom: 30px;
    }
}
.img-box-4 {
  bottom: 0;
}
.list-style1 ul {
  padding-left: 0;
  margin-bottom: 50px;
}

.list-style1 li {
  align-items: center;
  display: flex;
  list-style-type: none;
  margin-bottom: 20px;
  gap: 10px;
}
.list-style1 li i {
  font-size: 25px;
}
.section-padding {
  padding: 8rem 0;
}
.section-padding .title {
  font-weight: 700;
}

/* Amenities carousel */
.amenities-section {
  padding: 8rem 0;
}
.amenities-section .section-title {
  margin-bottom: 0;
}
.amenities-carousel {
  position: relative;
}
.amenities-track-wrap {
  overflow: hidden;
  margin-top: 1rem;
}
.amenities-track {
  display: flex;
  gap: 1rem;
  transition: scroll-left 0.4s ease;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.amen-card {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  padding: 0;
}
.amen-card .city-card {
  height: 400px;
  border-radius: 12px;
  width: 100%;
}

.city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: black;
  opacity: 0.3;
  z-index: 1;
}

/* desktop: 4 cards */
@media (min-width: 992px) {
  .amen-card {
    width: calc((100% / 4) - (0.75rem));
  } /* adjust gap compensation */
}

/* tablet: 2 cards */
@media (min-width: 576px) and (max-width: 991px) {
  .amen-card {
    width: calc((100% / 2) - (0.5rem));
  }
}
/* mobile: 1 card */
@media (max-width: 575px) {
  .amen-card {
    width: 100%;
  }
  .amenities-section .amen-prev,
  .amenities-section .amen-next {
    display: inline-flex !important;
  }
}

/* arrow buttons */
.amen-prev,
.amen-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: inline-flex; /* show by default; Bootstrap d-lg-none / d-lg-flex will hide/show appropriately */
  position: relative;
  z-index: 4;
}
.amenities-carousel > .amen-prev {
  margin-right: 0.5rem;
}
.amenities-carousel > .amen-next {
  margin-left: 0.5rem;
}

/* small visual tweak so arrows overlay horizontally on large screens (desktop control on right/left via the header controls already present) */
.amenities-section .d-none.d-lg-flex {
  gap: 8px;
}

/* ensure no horizontal scroll on page */
.amenities-track-wrap::-webkit-scrollbar {
  display: none;
}
.amenities-track-wrap {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Responsive counts */
@media (max-width: 767px) {
  .hero-slide {
    height: 70vh;
  }
  .hero-slide .hero-content{
      margin-top:42%;
  }
  .featured-card {
    min-width: 100%;
  }
  /* .featured-carousel { padding: 0 8px; } */
  .featured-arrow {
    width: 36px;
    height: 36px;
  }
  .search-bar{
      background: transparent;
  }
  .apartment-types .card-icon{
      margin-bottom:65px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .featured-card {
    min-width: calc((100% - 1rem) / 2);
  }
}
@media (min-width: 992px) {
  .featured-card {
    min-width: calc((100% - 2rem) / 3);
  }
}

/* About page specific styles */
.about-hero {
  color: #111;
  padding: 120px 0;
  background-image: url("img/about-bg-image.jpg");
  background-size: cover;
  background-position: center; /* margin-top: -105px; */
  height: 450px;
  display: flex;
  align-items: end;
  position: relative;
}
.about-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.about-hero .breadcrumb .active {
  color: rgba(255, 255, 255, 1);
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-size: 20px;
}
.agent-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.agent-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}
.agents-grid {
  justify-content: center;
}
.list-style1 li i {
  font-size: 22px;
  background: #f7f7f7;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}
@media (max-width: 575px) {
  .about-hero {
    padding: 80px 0;
    background-position: center;
  }
  .agent-img {
    height: 140px;
  }
}

/* subtle overlay to improve hero text contrast */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(5 5 5 / 0.4);
  z-index: 0;
}
.about-text {
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 300;
}
.about-hero > .container,
.about-hero h1,
.about-hero .breadcrumb {
  position: relative;
  z-index: 1;
  color: #fff;
}
.icon-contact{
  font-size: 1.3rem;
  color: #456a4b;
}
.social-icon-contact{
  font-size: 2.2rem;
    color: #53875b;
}
.anchor-text-contact{
  font-size: 1.1rem;
  color: #333;
}