.search-section {
    text-align: center;
    padding: 50px 0;
    background-color: #f5f5f5;
}

.search-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #000;
}

.dropdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #1b3c6c;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 80%;
    margin: 0 auto;
}

.dropdown {
    flex: 1;
    min-width: 180px;
}

.dropdown label {
    display: none;
}

.dropdown select {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
}

.dropdown select:focus {
    outline: none;
    border-color: #000;
}

.property-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Adjust based on your need */
    overflow: hidden;
}

.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: rgba(0, 0, 0, 0.7); /* Add slight transparency for better text readability */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Add slight transparency for better text readability */
}

.content {
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 2;
}

.content h1 {
    color: white;
    font-size: 4rem;
    font-weight: bold;
}
.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    padding: 100px 20px;
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Default Card styling */
.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 350px;
}

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

.card-content {
    padding: 15px;
}

.card-content h2 {
    font-size: 1.5em;
    margin: 0;
    color: #333;
}

.card-content h3 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
}

.card-content p {
    color: #777;
    margin-bottom: 15px;
}

.card-info {
    display: flex;
    justify-content: space-between;
}

.icon-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.icon-info span {
    font-size: 1em;
    color: #555;
    display: flex;
    align-items: center;
}

.card-content p:first-child {
    font-weight: 500;
}

/* Responsive Design for smaller screens */
@media (max-width: 1024px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row for tablets */
    }

    .card {
        width: 300px; /* Adjust card width */
    }

    .dropdown-container {
        width: 90%;
    }
}

@media screen and (max-width:992px) {
    .dropdown-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(1, 1fr); /* 1 card per row for mobile */
    }

    .card {
        width: 100%; /* Full-width card on mobile */
        max-width: 400px; /* Max width to prevent cards from being too wide */
    }

    .card-img {
        height: 180px; /* Reduce image height on mobile */
    }
}

@media screen and (max-width: 576px){
    .content h1{
        font-size: 2rem;
    }

    .property-section{
        height: 50vh;
    }
}

@media (max-width: 480px) {
    .card-container {
        padding: 50px 10px; /* Reduced padding for smaller devices */
        gap: 20px; /* Smaller gap for mobile */
    }

    .card-content {
        padding: 10px; /* Reduced padding for card content on mobile */
    }

    .dropdown-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .search-section h1{
        font-size: 1.5rem;
    }
}

.slidecontainer {
    width: 100%;
  }
  
  .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #1B3C6C;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider:hover {
    opacity: 1;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #B8742B;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #1B3C6C;
    cursor: pointer;
  }

  .slider-bg{
    background-color: white;
    width: 100%;
    border-radius: 7px;
    text-align: left;
    color: #1B3C6C;
    padding: 5px;
  }

  .slider-bg .slider-header{
    display: flex;
    justify-content: space-between;
  }

  .dropdown-container button{
    all: unset;
    cursor: pointer;
    background-color: white;
    border-radius: 7px;
    color: #1B3C6C;
    padding: 10px;
    width: 40%;
  }