:root {
    --brand-emerald: #2a6fb0; /* Soft blue */
    --brand-emerald-dark: #1c4d80; /* Deeper blue */
    --brand-cream: #fbf7f0;
    --text-slate: #2f3a3f;
}

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

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

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

.bg-green {
    background: linear-gradient(135deg, rgba(28, 77, 128, 0.95), rgba(42, 111, 176, 0.88));
    border-radius: 14px;
    margin-top: -35px;
    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(42, 111, 176, 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(42, 111, 176, 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;
}

.container {
    max-width: 1600px;
}


/* Override Bootstrap success color with your custom blue */
.text-success {
  color: #153c6e !important;
}

.bg-success {
  background-color: #153c6e !important;
}

.btn-success {
  background-color: #153c6e !important;
  border-color: #153c6e !important;
}

.btn-success:hover {
  background-color: #102f56 !important; /* slightly darker for hover */
  border-color: #102f56 !important;
}

.btn-outline-success {
  outline: #102f56 !important; /* slightly darker for hover */
  border-color: #102f56 !important;
  color: #102f56 !important;
  --bs-btn-border-color: #102f56 !important;
}

.btn:hover{
    background-color: #102f56 !important; /* slightly darker for hover */
    color: #fff !important;

}