/* Off-Plan Prices Page Styling */
.offplan-prices {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
}
.offplanBox .page-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 0;
}
.offplanBox_cnt {
  display: flex;
  align-items: center;
  gap: 20px;
}
.offplanBox .search-location {
  width: 350px;
}
.offplanBox .custom-selectList-search {
  width: 350px;
}
.offplanBox .custom-selectList-search {
  width: 350px;
}
.locationMap_title {
  font-size: 28px;
  font-weight: 600;
  line-height: 26px;
  margin-bottom: 15px;
}
/* Property Card */
.property-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

/* Property Image */
.property-image {
  position: relative;
  height: auto;
  overflow: hidden;
  background-color: #e42b6b;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-name {
  position: relative;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  text-transform: capitalize;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Property Details */
.property-details {
  padding: 10px 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #e3e3e3;
  border-top: none;
  border-radius: 0 0 10px 10px;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  margin-bottom: 0px;
  font-size: 0.875rem;
  flex-grow: 1;
}

.pricing-table thead th {
  font-weight: 500;
  font-size: 14px;
  color: #000;
  text-transform: uppercase;
  padding: 10px;
  border-bottom: 1px solid #e6e6e6;
  text-align: left;
}

.pricing-table tbody tr {
  border-bottom: 1px solid #f1f3f5;
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table tbody td {
  padding: 10px;
  color: rgba(0, 0, 0, 0.7);
}

/* .pricing-table tbody td:first-child {
  font-weight: 600;
  color: #212529;
}

.pricing-table tbody td:last-child {
  font-weight: 700;
  color: #1f1f1f;
} */

/* Find Availability Button */
.btn-availability {
  width: 100%;
  background: #1f1f1f;
  color: #fff;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-availability:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-availability:active {
  transform: translateY(0);
}

.btn-availability i {
  font-size: 1rem;
}
/* Animation for cards on load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.property-card {
  animation: fadeInUp 0.6s ease forwards;
}
.property-card:nth-child(1) {
  animation-delay: 0.1s;
}

.property-card:nth-child(2) {
  animation-delay: 0.2s;
}

.property-card:nth-child(3) {
  animation-delay: 0.3s;
}

.property-card:nth-child(4) {
  animation-delay: 0.4s;
}

.property-card:nth-child(5) {
  animation-delay: 0.5s;
}

.property-card:nth-child(6) {
  animation-delay: 0.6s;
}

.property-card:nth-child(7) {
  animation-delay: 0.7s;
}

.property-card:nth-child(8) {
  animation-delay: 0.8s;
}

.property-card:nth-child(9) {
  animation-delay: 0.9s;
}

/* Mapbox Circle Markers */
.mapbox-circle-marker {
  width: 16px;
  height: 16px;
  background-color: #1f47f4;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.mapbox-circle-marker:hover {
  background-color: #002db3;
  transform: scale(1.3);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.mapboxgl-marker {
  cursor: pointer;
}

/* Responsive Media Query Start */
@media (max-width: 1399px) {
  .property-image {
    padding: 7px 12px;
    min-height: 44px;
  }
  .property-details {
    padding: 7px 12px;
  }
  .offplan-prices {
    margin-bottom: 40px;
  }
  .offplanBox .page-title {
    font-size: 18px;
  }
  .locationMap_title {
    font-size: 26px;
  }
}
@media (max-width: 1199px) {
  .offplanBox .page-title {
    font-size: 16px;
  }
  .offplan-prices {
    margin-bottom: 30px;
  }
}
@media (max-width: 991px) {
  .offplanBox_cnt {
    gap: 15px;
  }
  .offplanBox .page-title {
    font-size: 15px;
  }
  .locationMap_title {
    font-size: 24px;
  }
  .property-name {
    font-size: 15px;
  }
  .property-image {
    min-height: 40px;
  }
}
@media (max-width: 767px) {
  .offplanBox_cnt {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 575px) {
  .offplanBox .search-location {
    width: 100%;
    min-width: 265px;
  }
  .offplanBox .custom-selectList-search {
    width: 100%;
    min-width: 265px;
  }
  .locationMap_title {
    font-size: 22px;
    margin-bottom: 10px;
  }
}
