:root {
    --brand-emerald: #0b7a5d;
    --brand-emerald-dark: #04513a;
    --brand-cream: #fbf7f0;
    --text-slate: #2f3a3f;
}

body {
    color: var(--text-slate);
    background-color: var(--brand-cream);
}

.navbar-brand img {
    max-height: 50px;
    height: auto;
}

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

.bg-green {
    background: linear-gradient(135deg, rgba(4, 81, 58, 0.95), rgba(11, 122, 93, 0.88));
    border-radius: 24px;
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.bg-green form {
    backdrop-filter: blur(4px);
}

.bg-green .filter_item,
.bg-green select.form-select,
.bg-green input.filter_item {
    border-radius: 12px;
}

.top_properties .card,
#property-results .card {
    border-radius: 24px;
}

.top_properties .card-img-top,
#property-results .card-img-top {
    height: 220px;
    object-fit: cover;
}

#new-launches .card-img-top {
    height: 200px;
    object-fit: cover;
}

footer {
    background: #fff;
}

.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-emerald-dark);
}

.footer-links li + li {
    margin-top: 0.35rem;
}

.footer-links a {
    color: #506065;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--brand-emerald);
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(11, 122, 93, 0.12);
    color: var(--brand-emerald);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    background: var(--brand-emerald);
    color: #fff;
}

@media (max-width: 1199px) {
    .bg-green {
        margin-top: -40px;
        border-radius: 20px;
        padding-inline: 1.5rem;
    }

    .top_properties .card-img-top,
    #property-results .card-img-top {
        height: 200px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(15, 32, 28, 0.12);
    }

    .bg-green .d-flex {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .bg-green .btn-search {
        width: 100%;
    }

    .top_properties .row,
    #property-results .row {
        row-gap: 1.25rem;
    }
}

@media (max-width: 767px) {
    .bg-green {
        margin-top: -20px;
        border-radius: 16px;
        padding: 1.25rem;
    }

    .inner_page_mt img {
        min-height: 240px;
    }

    .top_properties .card-img-top,
    #property-results .card-img-top,
    #new-launches .card-img-top {
        height: 180px;
    }

    .section_title h2,
    .section_title h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 575px) {
    .top_properties .card,
    #new-launches .card,
    #property-results .card {
        border-radius: 20px;
    }

    .bg-green .filter_item {
        min-height: 46px;
    }
}

.share-links .share-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 122, 93, 0.12);
    color: var(--brand-emerald);
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 0.9rem;
}

.share-links .share-link:hover {
    background: var(--brand-emerald);
    color: #fff;
}
