.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('images/banner.jpg') no-repeat center center/cover;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.5rem;
    margin-top: 10px;
}


.investment-benefits {
    background: #f8f9fa;
    padding: 40px 0;
}

.listing-card {
    height: 380px;
    /* Adjust as needed */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    /* Prevents content from spilling over */
}

.listing-image {
    max-height: 180px;
    object-fit: cover;
}

.card-title {
    min-height: 2.4rem;
}


.contact-section {
    background: #f8f9fa;
    padding: 50px 0px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.auth-section {
    background: #f0f0f0;
    padding: 50px 0;
}

.auth-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2em;
    /* Adjust as needed */
    text-decoration: none;
    z-index: 2;
}

/* For a favorited listing: red heart with a white border */
.favorite-btn.favorited i {
    color: red;
    border: 4px solid white;
    border-radius: 50%;
    padding: 2px;
}

/* For not favorited or not logged in: outlined heart in white */
.favorite-btn:not(.favorited) i {
    color: white;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2em;
    text-decoration: none;
    z-index: 2;
}

.favorite-btn.favorited i {
    color: red;
    border: 4px solid white;
    border-radius: 50%;
    padding: 2px;
}

.favorite-btn:not(.favorited) i {
    color: white;
}

.col-md-4 {
    margin-bottom: 1.5rem;
}

.img-container {
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-inner {
    border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 15px;
}

.property-details {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
}

.container {
    margin-bottom: 20px;
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8f9fa;
    padding: 15px 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-radius: 5px;
}

.cookie-message {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent .btn {
    padding: 5px 15px;
}