*, *:before, *:after {
  box-sizing: border-box;
}

/* Container for the row of cards */
.estate-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto !important;
  max-width: 100%;
  width: 100%;
}

/* Style for each card */
.estate-card {
  width: calc(25% - 10px);
  margin: 0 5px;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: calc(25% - 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
}

.estate-card img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
}

.estate-card-body {
  padding: 10px;
  text-align: center;
  width: 100%;
}

.estate-card-title, .estate-card-text {
  margin: 5px 0;
}

@media (max-width: 1200px) {
  .estate-card {
    flex-basis: calc(33.333% - 10px); /* 3 cards per row */
  }
}

@media (max-width: 992px) {
  .estate-card {
    flex-basis: calc(50% - 10px); /* 2 cards per row */
  }
}

@media (max-width: 768px) {
  .estate-card {
    flex-basis: 100%; /* 1 card per row */
  }
}



/* details part */
  .whise-estate-details {
    background: #fff;
    padding: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
	margin: 0 auto !important;
  	max-width: 100%;
  	width: 100%;
  }

  .whise-estate-details h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .whise-estate-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
  }

  @media (max-width: 768px) {
    .whise-estate-details img {
      width: 100%;
    }
  }

  @media only screen and (max-width: 600px) {
    .whise-estate-details {
      padding: 10px;
    }
    .whise-estate-details h2 {
      font-size: 1.5rem;
    }
  }

  @media only screen and (min-width: 768px) {
    .whise-estate-details {
      padding: 15px;
    }
    .whise-estate-details h2 {
      font-size: 1.75rem;
    }
  }

  @media only screen and (min-width: 992px) {
    .whise-estate-details {
      padding: 20px;
    }
    .whise-estate-details h2 {
      font-size: 2rem;
    }
  }

  @media only screen and (min-width: 1200px) {
    .whise-estate-details {
      padding: 40px;
    }
  }


.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: auto !important;
  height: 500px !important;
  object-fit: contain !important;
  max-width: 100% !important;
  margin: auto !important;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

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

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2 !important;
  font-size: 12px !important;
  padding: 8px 12px !important;
  position: absolute !important;
  top: 0 !important;
}

.dot {
  cursor: pointer !important;
  height: 15px !important;
  width: 15px !important;
  margin: 0 2px !important;
  background-color: #bbb !important;
  border-radius: 50% !important;
  display: inline-block !important;
  transition: background-color 0.6s ease !important;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
