/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
  .Droplocation {
    display: none;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: auto;
    width: 100px;
  }
}
@media (max-width: 480px) {
  .nav-links {
    gap: 10px;
  }
  .logo img {
    height: auto;
    width: 107px;
    margin-left: -10px;
  }

  .post-property-button {
    padding: 8px 11px;
    font-size: 12px;
    margin-left: 10px;
  }

  .free-badge {
    font-size: 8px;
    padding: 2px 5px;
  }

  .nav-btn,
  .menu-button {
    width: 32px;
    height: 35px;
  }
}

/*Hero section */
/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../img/pexels-te-lensfix-380994-1374377.jpg") no-repeat
    center center/cover;
  padding: 0 20px;
  animation: changeBackground 10s infinite;
  color: white;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1160px;
  width: 100%;
}

.search-container {
  width: 100%;
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.6);
  padding: 35px 30px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.toggle-buttons {
  display: inline-block;
  margin: 20px auto;
  font-weight: bold;
  padding: 14px 0;
  width: auto;
  background: #114b54;
  border-radius: 10px;
}

.toggle-buttons a {
  text-decoration: none;
  color: white;
}
.toggle-btn {
  padding: 12px 20px;

  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: white;
  margin: 5px;
}

.toggle-btn.active {
  background: white;
  color: black;
  margin: 5px;
}

.search-box {
  position: relative;
  margin-bottom: 30px;
}

.search-input {
  width: 65%;
  padding: 16px 50px 16px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.sea-btn {
  text-decoration: none;
  border: none;
  background: #f0f0f0;
  padding: 15px 20px;
  border-radius: 5px;
  background: #114b54;
  color: white;
  font-size: 16px;
}
.sea-btn .arrow {
  margin-left: 4px;
  border: solid rgb(222, 233, 230);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #114b54;
}

.location-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #114b54;
  font-size: 20px;
}

.download-section {
  text-align: center;
  margin-top: -20px;
}

.download-text {
  font-size: 19px;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
}

.app-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: -30px;
  margin-bottom: 20px;
}

@rem .app-btn {
  @rem padding: 12px 30px;
  @rem border: none;
  @rem border-radius: 8px;
  @rem background: #114b54;
  @rem color: white;
  @rem font-size: 16px;
  @rem cursor: pointer;
  @rem display: flex;
  @rem align-items: center;
  @rem gap: 8px;
  @rem font-weight:bold;
  @rem transition: all 0.3s ease;
  @rem;
}
@rem .app-btn:hover {
  @rem background-color:white;
  @rem border:2px solid  #114b54;
  @rem color:black;
  @rem;
}
.app-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  background: rgba(0, 0, 0, 0.9);
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  width: 35%;
  font-weight: 50%;
  justify-content: center;
}

.app-button:hover {
  background-color: white;
  color: black;
  border: 2px solid black;
}

.app-button img {
  height: 30px;
}

@media (max-width: 420px) {
  .hero-section {
    margin-top: 5rem;
  }
  .app-button {
    width: 95%;
  }
  .app-button span {
    color: white;
    font-size: 7px;
  }
}
@media (max-width: 600px) {
  .search-container {
    margin-top: 4rem;
    padding: 20px;
  }

  .search-input {
    width: 60%;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }
  .app-button {
    flex-direction: column;
    gap: 5px;
    color: white;
    font-size: 14px;
    width: 60%;
  }
  .toggle-btn,
  .app-uttotn {
    text-align: center;
    justify-content: center;
  }
  #sea {
    display: none;
  }
}

/* service section*/
/* category section */

.service {
  margin: 50px auto;
  max-width: 1160px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.card {
  width: 220px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: black;
}

.icon {
  font-size: 2em;
  margin-bottom: 10px;
}

h3 {
  margin: 10px 0;
  font-size: 1.2em;
}

p {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 15px;
}

.card button {
  background-color: #114b54;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.card button:hover {
  background-color: #114b54;
}

@rem /*featured Properties */

      body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.featured-projects {
  max-width: 1160px;
  margin: auto;
  position: relative;
}
.project-img-cont {
  width: 100%;
  height: 300px;
  display: block;
}
.featured-projects h2 {
  text-align: center !important;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header h2 {
  color: #114b54;
  text-align: center !important;

  font-size: 24px;
}

.header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #f7c10b;
  margin-top: 5px;
}

.see-all {
  font-size: 16px;
  color: #007bff;
  cursor: pointer;
  text-decoration: none;
  display: flex;
}

.projects {
  display: flex;
  transition: transform 0.5s ease;
  margin-bottom: 30px;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  flex: 0 0 calc(50% - 10px); /* Two cards at a time */
  max-width: calc(50% - 10px); /* Two cards at a time */
  margin-right: 20px;
  text-decoration: none;
  color: black;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.project-info {
  padding: 15px;
  position: relative;
}

.project-info h3 {
  font-size: 18px;
  color: #333;
}

.project-info p {
  font-size: 14px;
  color: #666;
  margin: 5px 0;
}

.price-details {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.price-details .heading {
  font-size: 20px;
  font-weight: bold;
}
.price-details span {
  font-size: 14px;
}

.offer {
  background: #ef290f;
  color: #fff;
  padding: 0px 10px;
  font-size: 12px;
  border-radius: 4px;
}

.view-details {
  background: #114b54;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 4px;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  transition: bottom 0.3s ease;
}

.project-card:hover .view-details {
  bottom: 15px;
}

@rem .slider-btn {
  @rem position: absolute;
  @rem top: 50%;
  @rem transform: translateY(-50%);
  @rem background-color: rgba(0, 0, 0, 0.5);
  @rem color: white;
  @rem border: none;
  @rem padding: 10px;
  @rem cursor: pointer;
  @rem font-size: 18px;
  @rem z-index: 10;
  @rem;
}

@rem .slider-btn.prev {
  @rem left: 10px;
  @rem;
}

@rem .slider-btn.next {
  @rem right: 10px;
  @rem;
}

@media (max-width: 768px) {
  .header h2 {
    font-size: 20px;
    text-align: center;
  }
  .projects {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .see-all {
    display: none;
    font-size: 12px;
  }
  .project-info h3 {
    font-size: 16px;
  }
  .project-card {
    flex: 0 0 100%; /* Show one card at a time on smaller screens */
    max-width: calc(100% - 40px);
    margin: 0px auto;
  }
}
@rem property near you 
        /* Section Heading */
        /* Style for the prop-head div */


/* Style for the heading */
/* Base styles for the prop-head div */
/* Base styles for the prop-head div */

.prop-near {
  position: absolute;
  top: 30rem;
}
.prop-rent {
  margin-top: 2rem;
}
.prop-buy {
  margin-top: 7rem;
}

.prop-head {
  display: flex;
  justify-content: space-between; /* Space between heading and link */
  align-items: center; /* Vertically center align items */
  margin-bottom: 20px; /* Add some spacing below the heading */
  width: 100%; /* Ensure it spans the full width */
  text-align: center;
}
.prop-head-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0px auto;
  padding: 0px 20px;
}
/* Base styles for the heading */
.prop-head h2 {
  display: inline-block;
  float: left;
  margin: 0; /* Remove default margin */
  font-size: 24px; /* Adjust font size as needed */
}

/* Base styles for the "See All Properties" link */
.prop-head .see-all-prop {
  display: inline-block;
  float: right;
  text-decoration: none; /* Remove underline */
  color: #007bff; /* Link color */
  font-size: 16px; /* Adjust font size */

  align-items: center; /* Align icon with text */ /* Right margin for larger screens */
}

/* Arrow icon in the "See All Properties" link */
.prop-head .see-all-prop i {
  margin-left: 5px; /* Space between text and icon */
}

/* Responsive Design */

@rem @media (max-width: 2560px) {
  @rem .prop-head h2 {
    @rem margin-left:690px;
    @rem;
  }
  @rem .prop-head .see-all-prop {
    @rem margin-right:690px;
    @rem;
  }
  @rem;
}

@media (max-width: 1024px) {
  .prop-head h2 {
    margin-left: 6rem; /* Reduce left margin for tablets */
  }

  .prop-head .see-all-prop {
    margin-right: 6rem; /* Reduce right margin for tablets */
  }
}

@media (max-width: 768px) {
  .prop-head {
    flex-direction: column; /* Stack items vertically on mobile */
    align-items: flex-start; /* Align items to the left */
  }

  .prop-head h2 {
    margin-left: 2rem; /* Further reduce left margin for mobile */
    font-size: 20px; /* Smaller font size for mobile */
  }

  .prop-head .see-all-prop {
    display: none;
  }
}

@media (max-width: 480px) {
  .prop-head h2 {
    margin-left: 1rem; /* Minimal left margin for very small screens */
    font-size: 18px; /* Even smaller font size */
  }

  .prop-head .see-all-prop {
    margin-right: 1rem; /* Minimal right margin for very small screens */
    font-size: 12px; /* Even smaller font size */
  }
}
@rem .see-all-prop {
  @rem font-size: 16px;
  @rem color: #007BFF;
  @rem margin-right:10rem;
  @rem cursor: pointer;
  @rem text-decoration: none;
  @rem display: flex;
  @rem;
}

.see-all-prop i {
  margin-left: 5px;
}

/* Property Container */
.prop-cont {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 80px;
}

/* Property Card */
.prop-card {
  width: 275px;
  background-color: #fff;
  border-radius: 10px;
  overflow: visible;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Soft shadow */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Property Image */
.property-image {
  position: relative;
}

.property-image img {
  width: 100%;
  border-radius: 10px;
  height: 300px;
  object-fit: fill;
}

/* Heart Icon */
.heart-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.heart-icon i {
  font-size: 18px;
  color: #333;
  transition: color 0.3s;
}

.heart-icon.filled i {
  color: #ff0000; /* Red color for filled heart */
}

/* Property Details */
.property-details {
  position: absolute;
  bottom: -50px;
  left: 16px;
  right: 16px;
  background: white;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 140px;
}

.property-details h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.property-details p {
  margin: 5px 0;
  font-size: 14px;
  color: #666;
}

.property-details .price {
  font-size: 16px;
  font-weight: bold;
  color: #ff6600;
}
.view {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .prop-cont {
    flex-direction: column;
    align-items: center;
  }
  .property-details {
    height: 128px;
    top: 160px;
  }
  .prop-card {
    width: 90%;
  }

  .prop-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .see-all-prop {
    margin-top: 10px;
  }
  .view {
    display: block;
    text-align: center;
    margin: 20px auto;
    font-size: 1.2rem;
    background: #114b54;
    color: white;
    text-decoration: none;
  }
}

@rem bottom navbar
      * {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar Styling */
.top-navbar {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff;
  padding: 3px 0;
  display: flex;
  justify-content: space-evenly; /* Adjust space between top-btns */
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-top: 2px solid #ddd;
}
.top-btn {
  text-decoration: none;
}
/* Reduce space between top-btns */
.top-navbar .top-btn {
  margin: 0 5px; /* Adds small space between top-btns */
  transition: all 1s ease-out; /* Smooth transition */
}

@media (max-width: 600px) {
  .top-navbar .top-btn span {
    display: none; /* Hide the text inside the span */
  }

  .top-navbar .top-btn {
    width: 50px; /* Adjust the width for smaller screens */
  }
}

@rem .top-navbar .top-btn.active {
  @rem width: 200px; /* Expand active top-btn */
  @rem box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  @rem border-radius: 26px;
  @rem;
}

@rem .top-navbar .top-btn:not(.active):hover {
  @rem transform: translateY(-5px) scale(1.1); /* Lift effect on hover */
  @rem;
}

/* Icons Styling */
.top-navbar .top-btn .top-icon {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 46px;
  transition: all 0.3s ease-out;
}

.top-navbar .top-btn.active .top-icon {
  background: #114b54;
}

.top-navbar .top-btn .top-icon i {
  font-size: 18px;
  color: #222;
  transition: color 0.3s ease-out;
}

.top-navbar .top-btn.active .top-icon i {
  color: #fff;
}

/* Labels Styling */
.top-navbar .top-btn span {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  margin-left: 10px;
  transition: color 0.3s ease-out;
}

.top-navbar .top-btn.active span {
  color: #016e5f;
}

/* Search Input */
.top-navbar .top-btn.search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.top-navbar .top-btn.search input {
  width: 150px;
  height: 35px;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 0 10px;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease-out;
}

.top-navbar .top-btn.search input:focus {
  border-color: #016e5f;
}

/* move in city section */

.move-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1160px;
  margin: -30px auto 30px;
}
.heading-container {
  display: block;
  text-align: center;
  max-width: 1160px;
  margin: 0 auto;
}
.move-head {
  margin-top: 10px;
  text-align: left !important ;
}
.move-card {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.move-card:nth-child(1) {
  background-color: #d0e6ff;
}
.move-card:nth-child(2) {
  background-color: #faffb6;
}
.move-card:nth-child(3) {
  background-color: #bfffaf;
}
.move-card:nth-child(4) {
  background-color: #d0e6ff;
}
.move-card:nth-child(5) {
  background-color: #faffb6;
}

.building {
  width: 100px;
  height: 120px;
  position: relative;
  margin: 20px 0;
}

.building-1 {
  background: url("../img/image\ 70.png") no-repeat center center/cover;
  clip-path: polygon(0 20%, 100% 20%, 100% 100%, 0 100%);
}

.building-2 {
  background: url("../img/image.png") no-repeat center center/cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.building-3 {
  background: url("../img/image-1.png") no-repeat center center/cover;
  @rem transform: perspective(300px) rotateX(45deg);
}

.building-4 {
  background: url("../img/image-2.png") no-repeat center center/cover;
  clip-path: polygon(0 30%, 100% 30%, 100% 100%, 0 100%);
}

.building-5 {
  background: url("../img/image-3.png") no-repeat center center/cover;

  clip-path: polygon(0 10%, 100% 10%, 100% 100%, 0 100%);
}

.title {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

.subtitle {
  color: #666;
  font-size: 0.9em;
}

.move-container a{
  text-decoration: none;
}

@media (max-width: 1024px) {
  .move-container {
    /* flex-direction: column; */
    align-items: center;
  }
  .heading-container {
    display: block;
    text-align: center;
    max-width: 1120px;
    padding: 0px 20px;
    margin: 0 auto;
  }
  .move-head {
    text-align: center !important ;
  }

  .move-card {
    width: 100%;
    max-width: 300px;
  }
}
