@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400&display=swap');

* {
  /* padding: 0; */
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  /* border: none; */
  outline: none;
  scroll-behavior: smooth;
  font-family: "Work Sans", sans-serif;
  /* overflow-x: hidden; */
}
:root{
  --main-color: #1aa090;
   --light-color:#666;
   --light-bg:#eee;
   --white:#fff;
   --black:#303030;
   --border:.1rem solid var(--light-color);
   --box-shodow:0 .5rem 1rem rgba(0,0,0,.1);

  --h1-font: 3rem;
  --h2-font: 2.9rem;
  --p-font: 1.1rem;

  --bg-color: #121b25;
  --text-color: #ffffff;
  --main-color: #1aa090;
  --other-color: #d6d6d6;
}



 *::selection{
   background-color: var(--main-color);
   color: var(--white);
}




body {
  background-color: #eee;
  overflow-x: hidden;
  /* background-color: var(--bg-color); */
}

html,body{
   overflow-x: hidden;
}

header {
  width: 100%;
  position: fixed;
  right: 0;
  top: 0;
  color: #101821;
  z-index: 1000;
  display: flex;
  font-size: 26px;

  align-items: center;
  background-color: var(--bg-color);
  justify-content: space-between;
  padding: 7px 5% 9.5px 5%;
   transform: translateY(0);
/* transform: translateY(-100%);  */
transition: transform 0.6s ease, background-color 0.6s ease;
  /* transform: translateY(1rem); */
}

.sticky{
  position: fixed;
  transition: all 0.5s ease;

}

.logo img {
  /* background-color: #1aa090; */
  height: auto;
  width: 50%;
  padding: -100px;
  overlay: -1;
}

.h-btn1 {
  text-shadow: 2px 4px 4px #101821;
  color: var(--other-color);
  font-weight: 500;
  font-size: 18px;
}

.h-btn2:hover {
  transform: translate(-7px);
}
.navbar {
  top: 3px;
  font-size: 12px;
  flex-wrap: wrap;
  position: relative;
  /* left: 0; */
  right: 84px;
  overflow-x: hidden;
  color: #101821;
  transition: all 0.5s ease;
  transform: translate(-9px);
  display: flex;
}
/* 
.navbar {
  color: #101821;
  display: flex;
} */

.propmodal {
  display: absolute;
  height: 100%;
  width: 100%;
  background-color: beige;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.drop {
  margin-left: -10px;
  color: #fff;
  cursor: pointer;
}
.dropdown-content {
  display: none;
  position: absolute;
  border-radius: 20%;
  background: #121b25;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 110px;
  z-index: 1;
}
.dropdown-content a {
  padding: 10px;
  display: block;
  text-decoration: none;
  color: #333;
}

.h-btn3 {
  display: inline-block;
  padding: 10px 18px;
  background: var(--main-color);
  color: var(--text-color);
  font-size: 18px;
  font-weight: 500;
  margin-left: 20px;
  transition: all 0.4s ease;
}
/* 
.navbar a {
  padding: 10px 25px;
  font-size: var(--p-font);
  font-weight: 400;
  text-shadow: 2px 4px 4px #101821;

  /* color: #101821; */
/* font-weight: 800; */
/* color: var(--other-color);
} */

.navbar a {
  font-size: 62.5%;
  padding: 10px 25px;
  font-size: 1rem;
  font-weight: 400;
  text-shadow: 2px 4px 4px #101821;
  text-decoration: none;
  /* color: #101821; */
  /* font-weight: 800; */
  color: var(--other-color);
}

/* Hide site initially */
.hidden {
  display: none;
}

#loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loader-logo {
  width: 120PX;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}


/* .header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
  letter-spacing: 2px;
  max-width: 480px;
  margin-left: 31%;
  font-weight: bold;
  top: 0;
  left: 0;
  z-index: 99;
} */

/* a {
  display: flex;
  margin-top: 24px;
  text-decoration: none;
  color: black;
  font-size: 10px;
  align-items: center;
  margin-bottom: -10px;
  text-transform: capitalize;
} */

.header a:hover {
  color: red;
  transition: 0.4s;
}

a.currentPage {
  color: red;
}
section{
   transition: transform 1s, opacity 1s;
}
.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

.hero_section {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url("image/neutral/analog-landscape-city-with-buildings.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-color: rgba(0, 0, 0, 0.9); */
  /* filter: brightness(80%); */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero_section::after {
  content: "";
  width: 100%;
  height: 100%;
  /* background: url("image/neutral/analog-landscape-city-with-buildings.png"); */
  min-height: 100dvh;
  /* background-color: rgba(0, 0, 0, 0.9); */
  filter: brightness(30%);
  /* background: black; */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
}

.hero_section .hero_container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  flex-direction: column;
  gap: 30px;
}

.hero_section .hero_container .hero_text_container {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.hero_section .hero_container .hero_text_container .hero_text {
  color: #fff;
  font-size: clamp(2em, 3vw, 4em);
  text-align: center;
}

.hero_section .hero_container .hero_text_container .hero_desc {
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.hero_section
  .hero_container
  .search_form_container
  .search_form
  .search_input_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 7px;
  outline: none;
  border: none;
  /* min-width: 100PX; */
  width: 100%;
}

.hero_section
  .hero_container
  .search_form_container
  .search_form
  .search_input_container
  label {
  font-size: 14px;
  font-weight: 500;
}

.hero_section
  .hero_container
  .search_form_container
  .search_form
  .search_input_container
  .search_input {
  width: 100%;
  height: 40px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  padding: 10px;
  outline: none;
  border: 1px solid #fff;
  background: #fff;
  border: none;
  /* display: none; */
}

.hero_section .hero_container .search_form_container {
  width: 100%;
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.hero_section .hero_container .search_form_container .search_form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  background: var(--other-color);
  width: 100%;
  padding: 20px;
  border-radius: 5px;
}

.hero_section
  .hero_container
  .search_form_container
  .search_form
  .search_form_btn {
  background: var(--main-color);
  color: #fff;
  width: 100%;
  height: 40px;
  border: none;
  outline: none;
  border-radius: 20px;
  font-family: cursive;
  margin-top: 25px;
  cursor: pointer;
  transition: all 0.5s linear;
}

.search_form_btn{
  padding: 12PX;
}

.hero_section
  .hero_container
  .search_form_container
  .search_form
  .search_form_btn:hover {
  background: var(--bg-color);
}

.hero_section .hero_container .search_form_container .search_type_container {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  /* width: 100%; */
}

.hero_section
  .hero_container
  .search_form_container
  .search_type_container
  .search_type_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.hero_section
  .hero_container
  .search_form_container
  .search_type_container
  .search_type_inner
  .search_type_btn {
  background: #ffffff;
  padding: 10px;
  border: none;
  border-radius: 20px;
  font-family: monospace;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s linear;
}

.hero_section
  .hero_container
  .search_form_container
  .search_type_container
  .search_type_inner
  .search_type_btn.active {
  background: var(--main-color);
  color: var(--other-color);
}

.hero_section
  .hero_container
  .search_form_container
  .search_type_container
  .search_type_inner
  .search_type_btn:hover {
  background: var(--main-color);
  color: var(--other-color);
}

/* @media (max-width: 1170px) {
  #menu-icon {
    display: block;
  }
  .navbar {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 270px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #101821;
    padding: 20px 15px;
    gap: 0.5rem;
    text-align: left;
    transition: all 0.5s ease;
  }
  .navbar a {
    display: block;
    font-size: 20px;
    padding: 15px;
  }

  .navbar.open {
    right: 0;
  }

  :root {
    --h1-font: 2rem;
    --h2-font: 2rem;
    --p-font: 1rem;
  }
  .home {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: 120vh;
  }
  .home-text {
    order: 2;
    width: 100%;
    max-width: 900px;
  }
  .home-img {
    width: 400px;
    height: 480px;
    margin: 0 auto;
    padding-top: 20px;
  }
  .about {
    grid-template-columns: 1fr;
  }
} */

.loader {
  --dim: 3rem;
  width: var(--dim);
  height: var(--dim);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto; /* center horizontally */
  animation: spin988 2s linear infinite;
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


.loader .circle {
  --color: #333;
  --dim: 1.2rem;
  width: var(--dim);
  height: var(--dim);
  background-color: var(--color);
  border-radius: 50%;
  position: absolute;
}

.loader .circle:nth-child(1) {
  top: 0;
  left: 0;
}

.loader .circle:nth-child(2) {
  top: 0;
  right: 0;
}

.loader .circle:nth-child(3) {
  bottom: 0;
  left: 0;
}

.loader .circle:nth-child(4) {
  bottom: 0;
  right: 0;
}

@keyframes spin988 {
  0% {
    transform: scale(1) rotate(0);
  }

  20%, 25% {
    transform: scale(1.3) rotate(90deg);
  }

  45%, 50% {
    transform: scale(1) rotate(180deg);
  }

  70%, 75% {
    transform: scale(1.3) rotate(270deg);
  }

  95%, 100% {
    transform: scale(1) rotate(360deg);
  }
}

.featured_properties_section, .top_properties_section {
  /* width: 100%; */
  height: 100%;
  min-height: 100dvh;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.loader, .errorMsg{
 display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #444;
}

/* 
 .top_properties_section{
  align-items: center;
  background: var(--bg-color);
 } */
/* .top_properties_container .title_container{
  position: relative;
  left: 0;
}
 .top_properties_container .product_card{
  /* align-self: center; */
  /* position: relative; */
  /* left: 50%; */
 /* } */ 

.featured_properties_section .featured_properties_container, .top_properties_container{
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
} 

/* 
.featured_properties_section .featured_properties_container .title_container {
  } */
.featured_properties_section .featured_properties_container .title_container, .top_properties_container .title_containe{
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 5px;
}

.featured_properties_section
  .featured_properties_container
  .title_container
  .subtitle {
  color: var(--main-color);
}
.featured_properties_section
  .featured_properties_container
  .title_container
  .title {
  font-size: clamp(1.3em, 4vw, 2.5em);
  color: var(--bg-color);
}

.featured_properties_section .featured_properties_container .content_container,.top_properties_container .content_container{
  width: 90%;
  height: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.featured_properties_section .featured_properties_container .menu_container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured_properties_menu_container .featured_properties_menu_list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.featured_properties_menu_container .featured_properties_menu_list li {
  list-style: none;
}

.featured_properties_menu_container .featured_properties_menu_list li button {
  padding: 10px 20px;
  font-family: monospace;
  background: var(--other-color);
  border: none;
  outline: none;
  border-radius: 20px;
  transition: all 0.2s linear;
  cursor: pointer;
}

.featured_properties_menu_container
  .featured_properties_menu_list
  li
  button.active {
  background: var(--main-color);
}

.featured_properties_menu_container
  .featured_properties_menu_list
  li
  button:hover {
  background: var(--main-color);
}

.featured_properties_content_container,.top_properties_content_container {
  display: grid; 
  flex-wrap: nowrap;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 90px;
  /* width: 90%;  */
  /* background: var(--main-color); */
}

.product_card{
  width: 100%;
  /* height: 100%; */
  /* max-width: 350px; */
  max-height: 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid var(--other-color);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  background: var(--text-color);
  cursor: pointer;
}

.product_card .img_container{
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product_card
.img_container img{
  width: 100%;
  height: 50%;
  object-fit: cover;
  transition: .2s linear;
}
.product_card:hover .img_container img{
  transform: scale(1.1);

}
.product_card
.product_features_list{
  display: flex;
  /* position: fixed; */
  top: 20px;
  /* margin-left: -38px; */
  bottom: 0;
  gap: 10px;
}

.product_card .location {
  color: #1aa090;
}

.text_container{
  display: flex;
  gap: 10px;
  flex-direction: column;
  padding: 10px;
}

.text_container h3{
  transition: all 0.3s linear;

}

.product_card:hover 
.text_container h3{
color: var(--main-color);
}

.text_container h4{
  color: var(--main-color);

}


.text_container h3{

  color: #101821;
}

.text_container li{
  list-style: none;
display: flex;
gap: 10px;
align-items: center;
justify-content: center; 
color: gray;
}

.product_card
.price_container{
  padding: 1px 1px;
  margin-bottom: 10px;
  display: flex;
  justify-content: end;
  position: relative;
  /* bottom: 20px; */
  font-size: 18px;
  border: 1px solid var(--other-color);
}

.featured_tab{
  display: none;

}

.featured_tab.active{
  display: block;

}

.services_section, .cities_section{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

.services_section .title_container, .cities_container .title_container{
 text-align: center;
}

.services_section .services_container, .cities_container{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.services_section .services_container .services_content_container{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.services_section .services_container .services_row{
  /* gap: 20px; */
  background: var(--other-color);
   width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.services_section .services_container .services_row:nth-child(2){
 flex-direction: row-reverse;
}

.services_col{
  flex: 1;
  height: 100%;
  width: 100%;
}

/* 
.services_col:nth-child(2){
  min-height: 60vh;
} */

.services_col .img_container{
  width: 100%;
  height: 100%;
  display: flex;
}

.services_col .img_container img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services_col .text_container {
  padding: 20px;
}

.services_col .text_container h4{
  font-size: clamp(1.3em, 3vw, 3em);
  /* color: #121b25; */
  color: var(--main-color);
}

.subtitle{
  color: var(--main-color);
  /* color: var(--bg-color); */ 
}

.title {
  /* color: var(--bg-color); */

  font-size: clamp(1.3em, 4vw, 2.5em);
}

.services_col .text_container .sub-desc{
  font-size: 16px;
  padding: 10px 0;
  color: gray;
}

.services_col .text_container .desc{
  font-size: 16px;
  padding: 10px 0;
}

.details_section{
  position: fixed;
  background: #121b25;
  z-index: 999;
  top: 80px;
  height: 100%;
  width: 100%;
}

option{
  background-color: var(--main-color);
}


/* hide detail by default */
.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  position: absolute;
}

/* hero block */
.detail-hero {
  text-align: center;
  margin-bottom: 20px;
}
.detail-hero h1 {
  font-size: 2.5rem;
  margin: 0;
}
.detail-hero span {
  background: #1aa090;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}
.detail-hero h2 {
  font-size: 2rem;
  color: #333;
}

/* gallery */
.gallery-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}
.gallery-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* amenities icons */
.amenities-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.amenities-icons .amenity {
  display: flex;
  align-items: center;
  gap: 8px;
}
.amenities-icons .amenity i {
  font-size: 1.5rem;
  color: #1aa090;
}

/* description, features, summary */
.description-section, .features-section, .property-summary {
  margin-bottom: 20px;
}
.features-section ul {
  list-style: disc;
  padding-left: 20px;
}
.property-summary p {
  margin: 5px 0;
}

/* inquiry form */
.inquiry-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.inquiry-form input,
.inquiry-form textarea {
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.inquiry-form button {
  background: #1aa090;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
}

/* similar props */
.similar-properties #similarPropsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

#backToList {
  margin-top: 20px;
  background: none;
  border: none;
  color: #1aa090;
  font-size: 1rem;
  cursor: pointer;
}


header.scrolled {
  position: fixed;
  top: 0;
  width: 100%;
}




.swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: var(--other-color);
      display: flex;
      justify-content: center;
      align-items: center;
    }

.cities_content_container{
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  /* left: 20%; */
  padding: 20px;
  cursor: grab;
}

.cities_card{
  position: relative;
  display: flex;
  /* left: 25%; */
  align-items: center;
  justify-content: center;
}

.cities_card .img_container{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  overflow: hidden;
}

.cities_card .img_container img{
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.cities_card .text_container{
position: absolute;
bottom: 10px;
background: var(--text-color);
width: 90%;
padding: 10px;
margin-left: auto;
margin-right: auto;
border-radius: 5px;
}

.cities_card .text_container h4{
  font-size: 18px;

}


.cities_card .text_container p{
  font-size: 16px;
  color: gray;
  padding: 5px 0;
}

.top_properties_content_container .product .img_container{
  width: 150%;
}

.top_properties_content_container .product .img_container img{
  width: 100%;
}

.top_properties_content_container{
  position: relative;
  left: 27%;
  align-self: center;
}


.about_section{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

.about_section .about_container .title_container{
  text-align: center;
}

.about_section .about_container{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
}

.about_section .about_container .content_container{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}


.about_section .about_container .content_container .about_col{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.about_section .about_container .content_container .about_col .img_container{
  width: 80%;
  height: 100%;
  display: flex;
  /* max-width: 800px; */
}

.about_section .about_container .content_container .about_col .text_container{
    width: 80%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.about_section .about_container .content_container .about_col .text_container .desc{
  font-size: 16px;
  color: gray;
}


.about_section .about_container .content_container .about_col .text_container .content{
  font-size: 16px;
  color: gray;
}

.about_section .about_container .content_container .about_col .text_container blockquote{
  font-size: clamp(1.3em,3vw, 3em);
  color: var(--main-color);
  padding: 20px;
  padding-left: 30px;
  border-left: 5px solid var(--main-color);
}

.about_section .about_container .content_container .about_col .img_container img{
    width: 100%;
  height: 100%;
  display: flex;
  object-fit: cover;
}

.heading{
  text-align: center;
  padding-bottom: 2.5rem;
  font-size: 3rem;
  color: var(--bg-color);
  text-transform: capitalize;
}

.services{
  background-color: var(--bg-color);
}

.services h1{
  color: var(--main-color);
}

.services .box-container{
  display: grid;
  /* background: var(--black); */
  /* flex-wrap: wrap; */
  grid-template-columns: repeat(auto-fit, 20rem);
  gap: 2rem;
  /* width: 100%; */
  justify-content: center;
  align-items: center;
  /* height: 4rem; */
}

.services .box-container .box{
  background-color: #fff;
/* width: 100%; */
/* width: 250px; */
  box-shadow: var(--box-shadow);
  padding: 1rem;
  text-align: center;
}
.services .box-container .box img{
/* margin: .5rem 0; */
/* height: 3rem;s */
}

.services .box-container .box h3{
  /* font-size: 62.5%; */
  font-size: 1.6rem;
  padding: 2rem;
  /* color: var(--bg-color); */
  text-transform: capitalize;
}

.services .box-container .box p{
  line-height: 2;
  font-size: 1rem;
  /* color: var(--light-color); */
  padding-top: .5rem;
}


.box1, .box2, .box3, .box4, .box5, .box6{
  position: relative;
  background: url("image/neutral/young-couple-buying-new-house-asian-woman-african-man-signing-documents-new-home.jpg");
  /* overlay: 0.1; */
  padding: 7rem;
  height: 100%;
  color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  border-radius: 8px;
}

.box1::before,
.box2::before,
.box3::before,
.box4::before,
.box5::before,
.box6::before{
  content: " ";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
  /* padding: 7rem; */

  border-radius: 8px;

  /* opacity: 0.5; */
}

.box1 *,
.box2 *,
.box3 *,
.box4 *,
.box5 *,
.box6 * {
  position: relative;
  z-index: 1;
}

.box2{
  background: url("image/neutral/aerial-view-small-village-country-roadside.jpg");

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.box3{
  background: url("image/neutral/modern-residential-building\(1\).jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.box4{
  background: url("image/neutral/mortgage-house-loan-website-login-graphic-concept.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.box5{
  background: url("image/neutral/aerial-view-small-village-country-roadside.jpg");
  
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.box6{
  background: url("image/neutral/smiling-african-american-woman-showing-model-building.jpg");
  
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}



/*  */
.top_properties_section {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg-color);
}

.top_properties_section .heading {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--main-color);
}

.top_properties_section .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.top_properties_section .box {
  background-color: var(--text-color);
  box-shadow: var(--box-shadow);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top_properties_section .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.top_properties_section .box .thumb {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.top_properties_section .box .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.top_properties_section .box .thumb img:hover {
  transform: scale(1.05);
}


.top_properties_section .box .total-images {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 1.3rem;
}

.top_properties_section .box .content {
  padding: 2rem;
  text-align: left;
}

.top_properties_section .box .name {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.top_properties_section .box .location {
  font-size: 1.5rem;
  color: var(--light-color);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.top_properties_section .box .location i {
  color: var(--main-color);
}

.top_properties_section .box .flex {
  display: flex;
  justify-content: space-between;
  background: var(--light-bg);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 1rem;
}

.top_properties_section .box .flex p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  color: var(--black);
}

.top_properties_section .box .flex p i {
  color: var(--main-color);
}

.top_properties_section .box .btn {
  width: 50%;
  background-color: var(--main-color);
  color: var(--bg-color);
  padding: 1rem;
  align-self: center;
  justify-self: center;
  position: relative;
  left: 22%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1.5rem;
  font-weight: 500;
}

.top_properties_section .box .btn:hover {
  /* background-color: #0056b3; */
  background: var(--bg-color);
  color: var(--main-color);
}

@media (min-width: 768px) {
  .top_properties_section .box .thumb {
    height: 280px;
  }

  .top_properties_section .box .name {
    font-size: 2.2rem;
  }

  .top_properties_section .box .content {
    padding: 2.2rem;
  }
}

@media (min-width: 1024px) {
  .top_properties_section .box-container {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
  }

  .top_properties_section .box .thumb {
    height: 300px;
  }

  .top_properties_section .box .name {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .top_properties_section .heading {
    font-size: 2.2rem;
  }

  .top_properties_section .box .btn {
    font-size: 1.3rem;
  }
}

/*  */



.h-btn {
  display: flex;
  align-items: center;
}

  
  .btn{
     margin-top: 1rem;
     padding: 1rem 3rem;
     background-color: var(--main-color);
     color: var(--white);
     /* cursor: pointer; */
     text-align: center;
     font-size: 1rem;
     text-transform: capitalize;
  }

#menu-icon {
  color: var(--text-color);
  font-size: 36px;
  margin: 5px;
  z-index: 10001;
  cursor: pointer;
  display: none;
}

.footer {
  background: var(--black);
  color: var(--other-color);
  padding: 0.5rem 8% 1rem 8%;
  position: relative;
  font-size: 1rem;
}

.footer .flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer .box {
  flex: 0 1 8rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  gap: 0.6rem;
}

.footer .box a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--other-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer .box a i {
  color: var(--main-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer .box a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer .box a:hover i {
  color: var(--main-color);
}

.footer .flex .box a i {
  color: var(--main-color);
}

i{
  color: var(--main-color);
}

.footer .box:nth-child(3) a {
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer .box:nth-child(3) a:hover {
  background: var(--main-color);
  color: var(--white);
}

.footer .box:nth-child(3) a:hover i {
  color: var(--white);
}

.footer .credit {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* margin-top: -.5rem; */
  padding-top: 1.0rem;
  text-align: center;
  color: var(--light-color);
  font-size: 0.95rem;
}

.footer .credit span {
  color: var(--main-color);
  font-weight: 600;
}

.footer .credit a {
  color: var(--main-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer .credit a:hover {
  color: var(--white);
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .footer {
    padding: 3rem 6%;
  }
  .footer .flex {
    gap: 2.5rem;
  }
}


@media (max-width: 1024px) {
  .footer {
    padding: 3rem 6%;
  }
  .footer .flex {
    gap: 2.5rem;
  }
}



@media (max-width: 768px) {
  .footer .flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer .box {
    width: 100%;
  }
  .footer .box a {
    /* font-size: 1rem; */
  }
  .footer .credit {
    /* font-size: 0.9rem; */
  }
}

@media (min-width: 1440px) {
  .footer {
    /* padding: 4rem 12%; */
  }
  .footer .box a {
    /* font-size: 1.1rem; */
  }
}




*{
   font-family: 'Montserrat', sans-serif;
   margin: 0; padding: 0;
   box-sizing: border-box;
   outline: none; border: none;
   text-decoration: none;
}

@media (max-width: 1170px) {
  #menu-icon {
    display: block;
    color: #fff;
    cursor: pointer;
  }
  .navbar {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 270px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #101821;
    padding: 20px 15px;
    gap: 0.5rem;
    text-align: left;
    transition: all 0.5s ease;
  }
  .navbar a {
    display: block;
    font-size: 20px;
    padding: 15px;
  }

  .navbar.open {
    right: 0;
  }

  :root {
    --h1-font: 2rem;
    --h2-font: 2rem;
    --p-font: 1rem;
  }
  .home {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: 120vh;
  }
  .home-text {
    order: 2;
    width: 100%;
    max-width: 900px;
  }
  .home-img {
    width: 400px;
    height: 480px;
    margin: 0 auto;
    padding-top: 20px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .top_properties_section .box-container{
    left: 0;
  }
  
  .top_properties_section .box-container .thumb img{
    left: 10%;

  }
  .product_card
.price_container{
  bottom: 10px;
}

  }

@media (max-width: 1330px) {
  
.featured_properties_content_container,.top_properties_content_container {
  grid-template-columns: 1fr 1fr 1fr;
}


.product_card
.img_container img{
  height: 50%;
}
}

*{
   font-family: 'Montserrat', sans-serif;
   margin: 0; padding: 0;
   box-sizing: border-box;
   outline: none; border: none;
   text-decoration: none;
}

.header{
   position: sticky;
   top: 0; left: 0; right: 0;
   z-index: 1000;
   box-shadow: var(--box-shodow);
}

.header .navbar.nav-1 .flex{
   padding-top: 1rem;
   padding-bottom: 1rem;
}

.header .navbar.nav-2 .flex{
   padding-top: 0;
   padding-bottom: 0;
}

.header .navbar.nav-1{
   background-color: var(--black);
}

.header .navbar.nav-2{
   background-color: var(--white);
}

.header .navbar .flex{
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.header .navbar .flex .logo{
   font-size: 2.2rem;
   color: var(--white); 
}

.header .navbar .flex .logo i{
   color: var(--main-color);
   margin-right: 1rem;
}

.header .navbar .flex ul{
   list-style: none;
}

.header .navbar .flex ul li{
   float: left;
   position: relative;
}

.header .navbar .flex ul li a{
   display: inline-block;
   padding: 1.2rem 2rem;
   font-size: 1.8rem;
   color: var(--black);
   background-color: var(--white);
}

.header .navbar .flex ul li a:hover{
   background-color: var(--main-color);
   color: var(--white);
}

.header .navbar .flex ul li a i{
   margin-left: 1rem;
}

.header .navbar .flex ul li ul{
   position: absolute;
   width: 17rem;
   left: 0;
}

.header .navbar .flex ul li ul li{
   width: 100%;
}

.header .navbar .flex ul li ul li a{
   display: none;
}

.header .navbar .flex ul li:hover ul li a{
   display: block;
}


@media (max-width : 430px) {
.top_properties_section .box-container{

}
}

@media (max-width : 590px) {
  .product_features_list{

    visibility: none;
    /* opacity: 0; */
    /* background-color: #0056b3; */
  }
  .price_container{
    position: initial;
    bottom: 0;
    /* top: 100px; */
  }
}


.featured_properties_content_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  width: 100%;
  padding: 0 1rem;
}

.property_card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.property_card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Ensure proper scaling on smaller screens */
@media (max-width: 768px) {
  .featured_properties_content_container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
  }

    .navbar {
    position: absolute;
    top: 100%;
    right: -100%;
    /* width: 100%; */
    background: var(--bg-color);
    flex-direction: column;
    /* text-align: left; */
    transition: right 0.4s ease;
  }

  .navbar.open {
    right: 0;
  }

  #menu-icon {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }
  

  .property_card img {
    height: 180px;
  }
}
