.hero-search {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(30, 64, 175, 0.7)),
        url('../img/properties/lading%20page-main.png') center/cover no-repeat;
    color: #ffffff;
    padding: 4.5rem 0;
    border-radius: 0 0 2.5rem 2.5rem;
    overflow: hidden;
}

.hero-search::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(148, 163, 184, 0.35), transparent 55%);
    pointer-events: none;
}

.hero-search .container {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    background: rgba(15, 23, 42, 0.35);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.hero-heading {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtext {
    color: rgba(226, 232, 240, 0.8);
    max-width: 560px;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-metric {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 1.25rem;
    padding: 1.25rem;
    min-width: 150px;
    flex: 1 1 150px;
}

.hero-metric strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.search-form {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
}

.search-form label {
    font-weight: 600;
    color: #0f172a;
}

.btn-filter {
    background: linear-gradient(135deg, #dc2626, #f97316);
    color: #ffffff;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(220, 38, 38, 0.28);
}

.filter-card {
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    position: sticky;
    top: 100px;
    padding: 2rem;
}

.filter-section {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-section h6 {
    font-weight: 700;
    color: #0f172a;
}

.filter-section .form-control,
.filter-section .form-select {
    border-radius: 0.85rem;
    border: 1px solid #cbd5f5;
    padding: 0.65rem 0.85rem;
}

.filter-actions .btn {
    border-radius: 0.85rem;
    font-weight: 600;
}

.stats-card {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.2rem;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(12px);
    color: rgba(226, 232, 240, 0.88);
}

.stats-card strong {
    display: block;
    font-size: 1.75rem;
    color: #ffffff;
}

.listing-card {
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    height: 100%;
}

.listing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
}

.listing-card img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.listing-card:hover img {
    transform: scale(1.06);
}

.price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #dc2626;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.property-type-pill {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
}

.listing-meta {
    font-size: 0.9rem;
    color: #64748b;
}

.listing-features .feature-box {
    background: #f8fafc;
    border-radius: 0.9rem;
    padding: 0.85rem;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.listing-features i {
    display: block;
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 0.35rem;
}

.alert-warning {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #b45309;
    border-radius: 1rem;
}

#map {
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 1rem;
}

.gm-style {
    border-radius: 1rem !important;
}

@media (max-width: 991.98px) {
    .hero-search {
        border-radius: 0;
    }

    .filter-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 575.98px) {
    .search-form {
        padding: 1.5rem;
    }

    .listing-card img {
        height: 200px;
    }
}
