* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.container123 {
  max-width: 1200px;
  margin: 90px auto;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid #ddd;
}

.price {
  font-size: 16px;
  margin-bottom: 5px;
}

.validate-text {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.property-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.features {
  display: flex;
  gap: 20px;
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.thumbnail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3rem;
  position: relative;
}

.thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
}

.thumbnail-overlay {
  position: relative;
  width: 100px;
  height: 100px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.plus-icon {
  color: white;
  font-size: 24px;
  font-weight: bold;
  position: relative;
}

.image-count {
  font-size: 14px;
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  border-radius: 50%;
  padding: 2px 6px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90%;
  width: 90%;
  margin: auto;
}

/* #expandedImg {
width: 103%;
height:auto;
max-height:90vh;
} */
#expandedImg {
  width: 100%;
  height: 80vh;
  object-fit: contain; /* Scales image properly without distortion */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.property-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
}

.prop-details {
  max-width: 600px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
}
.prop-details h2 {
  text-align: left;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th,
td {
  padding: 15px;
  border: 1px solid #ddd;
  text-align: left;
  border: none;
}
tr {
  border-bottom: 1px solid #ddd;
}
th {
  color: rgb(11, 11, 11);
}

/* Responsive Design */
@media (max-width: 600px) {
  th,
  td {
    padding: 8px;
  }
}

/* Owner Information Section */
.owner-info {
  width: 40%;
  background: #f7f7f7;
  padding: 20px;
  margin-top: 5px;
  border-radius: 8px;
  float: right;
  text-align: center;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

/* User Icon */
.owner-info img {
  height: 120px;
  width: 120px;
  border-radius: 50%;
}

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

.owner-details p {
  font-size: 14px;
  color: #666;
}

/* General Responsive Design Adjustments */
@media (max-width: 1024px) {
  .property-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .prop-details,
  .owner-info {
    width: 90%;
    max-width: 700px;
    text-align: center;
  }

  .prop-details h2 {
    text-align: center;
  }

  table {
    font-size: 14px;
  }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .property-container {
    flex-direction: column;
    align-items: center;
  }

  .prop-details,
  .owner-info {
    width: 95%;
  }

  .prop-details h2 {
    font-size: 18px;
  }

  table {
    font-size: 12px;
  }

  th,
  td {
    padding: 10px;
  }

  .owner-info {
    margin-top: 20px;
  }
}

/* Small Tablets and Large Mobile Devices (max-width: 600px) */
@media (max-width: 600px) {
  .property-container {
    padding: 15px;
  }

  .prop-details,
  .owner-info {
    width: 100%;
    margin: 10px 0;
  }

  .prop-details h2 {
    font-size: 16px;
    text-align: center;
  }

  table {
    font-size: 10px;
  }

  th,
  td {
    padding: 8px;
  }

  .owner-info {
    box-shadow: none;
    margin-top: 15px;
  }

  .owner-info img {
    height: 80px;
  }

  .owner-details h3 {
    font-size: 16px;
  }

  .owner-details p {
    font-size: 12px;
  }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .property-container {
    padding: 10px;
    gap: 15px;
  }

  .prop-details h2 {
    font-size: 14px;
  }

  .owner-info img {
    height: 60px;
  }

  .owner-details h3 {
    font-size: 14px;
  }

  .owner-details p {
    font-size: 10px;
  }

  th,
  td {
    font-size: 10px;
    padding: 6px;
  }

  table {
    margin-top: 5px;
  }
}

/*facilities */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.cont {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header123 {
  display: block;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 30px;
}
.header123 p {
  line-height: 26px;
  margin: 10px 0px;
}

.title {
  font-size: 24px;
  color: #1a1a1a;
  font-weight: bold;
}

.view-all {
  color: #0066ff;
  text-decoration: none;
  font-size: 14px;
}

.description {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.facility-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.facility-icon {
  width: 40px;
  height: 25px;
  margin-bottom: 10px;
}

.facility-name {
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .facility-card {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .header123 {
    flex-direction: column;
    gap: 10px;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .facility-card {
    padding: 10px;
  }
}
/*owner info*/

.contact-btn {
  background: #114b54;
  color: white;
  margin-top: 20px;
  font-size: 17px;
  padding: 10px;
  border-radius: 5px;
}
.contact-btn:hover {
  background: white;
  border: 2px solid 114b54;
  color: black;
}
/*map container */
.map-container {
  margin-top: 20px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.map-container h2 {
  margin-bottom: 10px;
  color: #333;
}

/*main image gallery-container */

.gallery-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  height: 400p;
}
.total-images {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-block;
  background: black;
  color: white;
  padding: 40px 60px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 4px;
  height: 100%;
  max-width: 1000px;
}

.main-image {
  position: relative;
  grid-row: span 2;
  height: 100%;
}
/* .s-img{
  display: flex;
  flex-direction: column;
  gap:20px;
} */
.side-image {
  position: relative;
  height: 227px;
}
.side-image img {
  margin-bottom: -4px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 4px;
}
.gallery-image.img3 {
  position: absolute;
  top: 5px;
}
.navigation {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.gallery-buttons {
  display: flex;
  gap: 10px;
}

.gallery-btn {
  background: rgba(51, 51, 51, 0.8);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.gallery-btn:hover {
  background: rgba(51, 51, 51, 0.9);
}

@media (max-width: 768px) {
  .gallery-container {
    height: auto;

    margin: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 300px auto;
  }

  .main-image {
    grid-row: span 1;
    width: 90%;
  }

  .side-image {
    width: 44%;
    margin-right: 5px;
    display: inline-block;
    height: 150px;
  }

  .total-images {
    position: absolute;
    right: 78px;
    bottom: 0;
    padding: 20px 25px;
  }
  .navigation {
    position: static;
    padding: 10px;
    background: white;
  }

  .gallery-btn,
  .shortlist-btn {
    background: #333;
    font-size: 12px;
    padding: 6px 12px;
  }
}
@media (max-width: 425px) {
  .total-images {
    position: absolute;
    right: 24px;
    bottom: 0;
    padding: 20px 25px;
  }
}
/*main-navbar */

.container1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Similar  properties */
.prop-rent {
  margin: auto;
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.prop-head {
  display: flex;
  justify-content: space-between; /* Space between heading and link */
  align-items: center; /* Vertically center align items */
  margin: 0 auto 20px; /* Add some spacing below the heading */
  max-width: 1200px;
  text-align: left; /* Ensure it spans the full width */
}

/* Base styles for the heading */
.prop-head h2 {
  margin: 0; /* Remove default margin */
  font-size: 24px; /* Adjust font size as needed */
  margin-left: 2rem; /* Left margin for larger screens */
}

/* Base styles for the "See All Properties" link */
.prop-head .see-all-prop {
  text-decoration: none; /* Remove underline */
  color: #007bff; /* Link color */
  font-size: 16px; /* Adjust font size */
  display: flex;
  align-items: center; /* Align icon with text */ /* Right margin for larger screens */
}

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

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

  .prop-head {
    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 {
    margin-right: 2rem; /* Further reduce right margin for mobile */
    font-size: 14px; /* Smaller font size for mobile */
    margin-top: 10px; /* Add spacing between heading and link */
  }
  .prop-head .see-all-prop {
    display: none;
  }
  .view {
    display: inline-block;
    background: #114b54;
    color: white;
    margin-top: 2rem;
    padding: 7px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: 12px;
  }
}

@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 {
    margin-right: 1rem; /* Minimal right margin for very small screens */
    font-size: 12px; /* Even smaller font size */
  }
  .prop-head .see-all-prop {
    display: none;
  }
}

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

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

/* 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: cover;
}

/* 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;
}

/* 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;
  }

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