
:root {
	--poppins: 'Poppins', sans-serif;
	--lato: 'Lato', sans-serif;
	--light: #f7f7f7;
	--light-blue: #CFE8FF;
	--grey: #E8E6DE;
	--dark-grey: #AAAAAA;
	--dark: #342E37;
	--red: #DB504A;
	--yellow: #FFB22C;
	--light-yellow: #FFF2C6;
	--orange: #ffe16a;
	--light-orange: #FFE0D3;
    --font-primary: 'Poppins', sans-serif;
    --color-bg: #F5F7FA;
    --color-card: rgba(255, 255, 255, 0.9);
    --color-primary: #FFB22C;
    --color-secondary: #FFCC4D;
    --color-accent: #FFE0D3;
    --color-text: #2C2C2C;
    --color-muted: #6c757d;
    --color-border: #e0e0e0;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
      /* Container for the property grid */
.property-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;  /* Align items to the left */
    gap: 20px;
    padding: 40px;
    
}

/* Styling for each property card */
.property-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    width: calc(33.333% - 20px);  /* 3 items per row */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 20px;  /* Space between rows */
     cursor: pointer;
    
}

/* Property images container */
.property-images {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* Image styling for the carousel or static images */
.property-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Make the active image visible */
.property-images img.active {
    opacity: 1;
}

/* Styling for property details */
.property-details {
    padding: 15px;
}

/* Property name styling */
.property-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Property location and price styling */
.property-location,
.property-price {
    font-size: 14px;
    margin: 5px 0;
}

/* Property description styling */
.property-description {
    font-size: 12px;
    color: #555;
    margin-top: 10px;
}

/* Responsive behavior for tablets (max-width 768px) */
@media (max-width: 768px) {
    .property-card {
        width: calc(50% - 20px);  /* 2 items per row */
    }
}

/* Responsive behavior for mobile (max-width 480px) */
@media (max-width: 480px) {
    .property-card {
        width: 100%;  /* 1 item per row */
    }
}


        .apply-button {
            padding: 15px;
            text-align: center;
            margin-bottom:20px;
        }

        .apply-button a {
     padding: 12px 28px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration:none;
        }

        .apply-button a:hover {
            font-size: 1.1rem;
            transition: background 0.3s ease, transform 0.2s ease;
        }
        .owner-info {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }
    .profile-pic {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }
    .owner-details {
        display: flex;
        flex-direction: column;
    }
    .owner-name {
        font-weight: bold;
        margin: 0;
    }
    .owner-id {
        font-size: 12px;
        color: #666;
        margin: 0;
    }
    .property-details i {
    color: #2c3e50;  /* Dark gray color */
    font-size: 16px; /* Adjust icon size */
    margin-right: 8px; /* Space between icon and text */
    /* General Styles */
    
form {
    font-family: 'Roboto', sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}






/* Sorting Options Styles */


.sorting-options select, 
.sorting-options input {
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f4f6f9;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    max-width: 300px;
}

.sorting-options select:focus, 
.sorting-options input:focus {
    border-color:rgb(255, 116, 82);
    outline: none;
    background-color: #fff;
}

/* Datalist styles */
datalist {
    display: block;
    font-size: 16px;
}


}


/* Specific colors for different features */
.property-price i {color:green;}
.property-details p:nth-child(5) i { color: red; } /* Purple for bedrooms */
.property-details p:nth-child(6) i { color: purple; } /* Purple for bedrooms */
.property-details p:nth-child(7) i { color: #3498db; } /* Blue for bathrooms */
.property-details p:nth-child(8) i { color: #e67e22; } /* Orange for kitchen */
.property-details p:nth-child(9) i { color:rgb(83, 221, 255); } /* Orange for kitchen */

/* Style datalist options */
datalist {
    display: none;
}



/* Styling for datalist options */
datalist option {
    padding: 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

/* On hover over datalist options */
datalist option:hover {
    background-color: #007BFF;
    color: white;
}

/* Flexbox styling for sorting options */
.sorting-options {
    display: flex;
    gap: 10px;
    align-items: center;

}

/* Adjust for smaller screens */
@media (max-width: 600px) {
    input[type="text"], input[list] {
        font-size: 16px;
        padding: 12px 10px;
    }
}


/* Add general styles for inputs */
input[type="text"]{
    width: 800px;
    padding: 12px 15px;
    margin: 10px 0;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

/* Focus state for inputs */
input[type="text"]:focus, input[list]:focus {
    border-color:var(--color-primary);
    outline: none;
    background-color: #ffffff;
}

/* Style the input fields */
.filter-input {
    width: 90px;
    height: 40px;
    padding-left: 30px;  /* Space for the icon */
    border-radius: 40px; /* Circular shape */
    border: 1px solid #ccc;
    font-size: 16px;
    transition: width 0.3s, padding 0.3s;
    position: relative;
    cursor: pointer;
    

}

/* Add a larger icon inside the input */
.filter-input::placeholder {
    font-size: 20px;
    color: #aaa; /* Light color for the icon */

}

/* When the input is focused or has a value, show full text */
.filter-input:focus {
    width: 250px;
    padding-left: 15px; /* Adjust padding when expanded */
    cursor: text;
    
}

/* When there is a value (input is not empty), show the full text */
.filter-input:not(:placeholder-shown) {
    width: 200px; /* Same size as on focus */
    padding-left: 15px;
}

/* Adjust padding for icon position */
.filter-input:focus {
    padding-left: 20px;  /* Adjust padding to give more room */
}

.search-box{
position:relative;
margin:0;

}

