/* Force black background on mobile view */
@media (max-width: 991px) {
  .custom-nav {
    background-color: #000 !important; /* solid black */
  }
}

.feature-icon {
  width: 20px;      /* adjust as needed */
  height: 20px;
  margin-right: 6px;
  filter: invert(29%) sepia(85%) saturate(728%) hue-rotate(115deg) brightness(95%) contrast(93%);
  /* Approximates #007e5d when applied to black SVG */
  vertical-align: middle;
}



/********* HERO SECTION Inde.html********/
.hero-section {
  position: relative;
  height: 100vh; /* full screen height */
  overflow: hidden;
}

/* Background image */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes sure image covers nicely */
  z-index: -1; /* push image behind text */
}

/* Overlay for readability */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: -1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
}



.estate-img {
    width: 100%;
    height: 300px;         /* force same height */
    object-fit: cover;     /* crop to fit nicely */
    border-radius: 0;      /* square corners */
    transition: transform 0.4s ease;
  }

  .estate-img:hover {
    transform: scale(1.05); /* zoom on hover */
  }

/* Buttons */
.card .btn-success {
  background-color: #007e5d; /* Minadi green */
  border: none;
  font-size: 0.9rem;           /* smaller text */
  padding: 0.3rem 0.7rem;      /* reduced padding */
  border-radius: 1.5rem;       /* more rounded corners */
  transition: background 0.3s ease, transform 0.3s ease;
}

.card .btn-success:hover {
  background-color: #007e5cba;
  transform: scale(1.05);
}


/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .card img {
    max-height: 150px;
  }
  .card-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .card {
    margin-bottom: 1.5rem;
  }
  .card img {
    max-height: 120px;
  }
}

/* ===== Entrance Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/********* HERO SECTION Index.html********/



/* General Reset */
.property-section p,
section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Hero Image */
.hero-img {
  width: 100%;
  height: calc(100vh - 70px); /* full screen height minus navbar height */
  object-fit: cover;          /* keep proportions but fill */
  border-radius: 0;           /* square corners */
  display: block;
  margin: 0;
}

/* Hero container (black background) */
.hero-container {
  background-color: #000;
  padding: 0;   /* no padding, image touches edges */
}

/* Content container (white background) */
.content-container {
  background-color: #fff;
  color: #000; /* reset text back to dark */
  padding: 60px 20px;
}

/* Property features */
.property-features span {
  color: #333;
  font-size: 0.95rem;
}

/* Button styling */
.btn-inspect {
  background-color: #e63946; /* red accent */
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.btn-inspect:hover {
  background-color: #b71c1c;
}





/* ===== Property Features Row ===== */
.property-features span {
  color: #555;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.property-features i {
  color: #e63946;
  font-size: 1.1rem;
}

/* ===== Button ===== */
.btn-inspect {
  background-color: #e63946;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-inspect:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 992px) {
  .content-container {
    padding: 40px 25px;  /* reduce padding on tablets */
  }
}

@media (max-width: 576px) {
  .content-container {
    padding: 30px 15px;  /* tighter margins on phones */
  }
  .hero-img {
    height: 50vh;  /* smaller hero image on mobile */
  }
}

/* Feature Section */

/* Force all feature images to the same size */
.feature-img {
  width: 100%;
  height: 250px;           /* adjust height as you prefer */
  object-fit: cover;       /* crops image but keeps aspect ratio */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.feature-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .feature-img {
    height: 220px;         /* smaller height for mobile */
  }
}


.feature-img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.feature-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Button styling */
.btn-more {
  background-color: #007e5d; /* green accent */
  color: #fff;
  border: none;
  transition: background 0.3s ease;
}

.btn-more:hover {
  background-color: #128038;
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .row.mb-4 {
    flex-direction: column;
    text-align: center;
  }

  .row.mb-4 img {
    margin-bottom: 15px;
  }
}
