body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #20232c;color: #f0f0f0;
    }
    
    a{
        text-decoration: none;
        color: #fff;
    }

    /* Hero Section */
    .hero {
      height: 80vh;
      background: url('/static/images/hero-apartment-green-lawn.jpg') no-repeat center center/cover;
      display: flex;
      justify-content: center;
      text-align: center;
      color: white;
      position: relative;
    }

    .hero::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.2);
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero-content h1 {
      font-size: 3rem;
      color: gold;
      margin-top: 10px;
    }

    .hero-content p {
      font-size: 1.2rem;
    }
    
    /* Search Bar */
    .search-container {
      display: flex;
      position: relative;
      align-items: center;
      z-index: 3;
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      width: 100%;
    }

    .search-container select,
    .search-container input,
    .search-container button {
      padding: 12px 16px; 
      border: none;
      outline: none;
      font-size: 16px;
      width: 100%;
    }

    .search-container select {
      background: #fff;
      border-right: 1px solid #ddd;
      cursor: pointer;
    }

    .search-container button {
      background: #0056ff;
      color: #fff;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .search-container button:hover {
      background: #003bb3;
    }

    /* Search Bar */
    /*.search-container {*/
    /*  display: flex;*/
    /*  position: relative;*/
    /*  align-items: center;*/
    /*  z-index: 3;*/
    /*  background: #fff;*/
    /*  border-radius: 8px;*/
    /*  overflow: hidden;*/
    /*  box-shadow: 0 4px 12px rgba(0,0,0,0.2);*/
    /*  width: 100%;*/
    /*}*/

    /*.search-container select,*/
    /*.search-container input,*/
    /*.search-container button {*/
    /*  padding: 12px 16px; */
    /*  border: none;*/
    /*  outline: none;*/
    /*  font-size: 16px;*/
    /*  width: 100%;*/
    /*}*/

    /*.search-container select {*/
    /*  background: #fff;*/
    /*  border-right: 1px solid #ddd;*/
    /*  cursor: pointer;*/
    /*}*/

    /*.search-container button {*/
    /*  background: #0056ff;*/
    /*  color: #fff;*/
    /*  font-weight: bold;*/
    /*  cursor: pointer;*/
    /*  transition: background 0.3s ease;*/
    /*}*/

    /*.search-container button:hover {*/
    /*  background: #003bb3;*/
    /*}*/

    /* Features Section (Floating) */
    .features {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      padding: 0 40px;
      position: relative;
      top: -110px; /* overlap hero */
      z-index: 3;
    }

    .feature-card {
      position: relative;
      border-radius: 25px;
      overflow: hidden;
      height: 350px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.6);
      background-color: #222;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .feature-card img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
      z-index: 1;
    }

    .feature-card:hover img {
      transform: scale(1.1);
    }

    .feature-overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5rem;
      font-weight: bold;
    }

    .feature-text {
      position: relative;
      z-index: 3;
      text-align: center;
      padding: 15px;
      background: rgba(0, 0, 0, 0.6);
    }

    .feature-text h3 {
      color: gold;
      margin-bottom: 5px;
      font-size: 1.2rem;
    }

    .feature-text p {
      font-size: 0.95rem;
      color: #eee;
      margin: 0 auto;
      max-width: 250px;
    }
    /* Featured Properties */
    .featured {
      padding: 60px 40px;
      text-align: center;
    }

    .featured h2 {
      color: #e2b94b;
      margin-bottom: 30px;
    }

    .property-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .property-card {
      background: #20232c;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 20px;
      transition: transform 0.3s;
      color: #fff;
    }

    .property-card:hover {
      transform: translateY(-5px);
    }

    .property-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .property-info {
      padding: 15px;
    }

    .property-info h3 {
      margin: 0;
      font-size: 1.2rem;
      color: #fff;
    }

    .property-info p {
      margin: 5px 0 15px;
      color: #fff;
    }

    .property-info button {
      background: #e2b94b;
      color: #fff;
      border: none;
      padding: 10px 15px;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .property-info button:hover {
      background: #e2b94b;
    }

    /* Amenities */
    /* .amenities {
      padding: 60px 40px;
      text-align: center;
      background: #fff;
      color: #333;
    }

    .amenities h2 {
      margin-bottom: 30px;
      color: #0056ff;
    }

    .amenities-grid {
      display: flex;
      justify-content: center;
      gap: 40px;
      flex-wrap: wrap;
    }

    .amenity {
      text-align: center;
    }

    .amenity img {
      width: 50px;
      height: 50px;
      margin-bottom: 10px;
    }

    .amenity p {
      margin: 0;
      font-size: 1rem;
    } */
    .amenities-filter {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.amenities-filter button {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.amenities-filter button:hover {
  background: var(--primary-color, #f5c542);
  color: #fff;
  border-color: var(--primary-color, #f5c542);
}

.location-image-filter {
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}

.location-image-filter h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.loc-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

.loc-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.loc-card:hover img {
  transform: scale(1.05);
}

.loc-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 8px;
  font-size: 1.1rem;
  text-align: center;
}

   .why-choose-us {
  padding: 70px 40px;
  background: #20232c;
  text-align: center;
  color: #fff;
}

.why-choose-us h2 {
  color: #e2b94b;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.why-choose-us .intro {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.why-card {
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.why-card i {
  font-size: 36px;
  color: gold; /* highlight color */
  margin-bottom: 15px;
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

    /* Footer */
    .footer {
      background: #0056ff;
      color: #fff;
      text-align: center;
      padding: 20px;
    }

    .footer a {
      color: #fff;
      text-decoration: none;
      margin: 0 5px;
    }

    /* Tabs */
  .tabs {
    margin-bottom: 20px;
  }
  .tab-btn {
    background: #eee;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s;
  }
  .tab-btn.active {
    background: #e2b94b;
    color: #fff;
  }

  .tab-content { display: none; }
  .tab-content.active { display: grid; }

  /* Property cards upgrade */
  .property-card {
    position: relative;
  }
  .badge {
    position: absolute;
    top: 10px; left: 10px;
    background: #e2b94b;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
  }
  .badge.gold { background: #e2b94b; color: #fff; }

  .price { font-weight: bold; color: #e2b94b; }

  .amenities-mini {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .cta {
    margin-top: 30px;
  }
  .view-all {
    background: gold;
    color: #333;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }
  .view-all:hover {
    background: #ffcc00;
  }
  
  /* Floating WhatsApp Container */
#whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-size: 30px;
    transition: transform 0.2s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Popup Text */
.whatsapp-text {
    background: #fff;
    color: #333;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
    white-space: nowrap;
    opacity: 0; /* start hidden */
    transform: translateX(20px); /* slide-in effect */
    animation: slideIn 0.8s forwards;
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

  @media (max-width: 992px) {
    .features {
      grid-template-columns: repeat(2,1fr);
     }
  }
    @media (max-width: 768px) {
      .features {
        grid-template-columns: 1fr;
        top: -60px;
      }
      .search-container {
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        width: 70%;
        padding: 10px;
        margin: 0 auto;      /* ensures it's centered */
      }

      .search-container select,
      .search-container input,
      .search-container button {
        border-right: none;   /* no vertical dividers */
        border-bottom: 1px solid #ddd;

      }

      .search-container button {
        border-bottom: none; /* last item no border */
      }
    }