#bg-contact {
    background-image: url('/storage/cx/images/contact.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    position: relative;
    color: white;
}

/* #bg-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
} */

#bg-contact > * {
    position: relative;
    z-index: 2;
}

@media (max-width: 767.98px) {
    #bg-contact {
        display: none !important;
    }
    .w-50{
        width: 100% !important;
    }
    #map {
        height: 100% !important; /* Back to full height on desktop */
    }
}

#map {
    width: 100%;
    min-height: 400px; /* Essential for mobile */
    z-index: 1;
}

.location-card {
    transition: all 0.3s ease;
    border: 2px solid transparent !important; /* Reserve space for border */
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* The Active State */
.location-card.active-branch {
    border-color: #000 !important; /* Matches your btn-outline-dark theme */
    background-color: #000; /* Light grey highlight */
    color: white;
}

.location-card.active-branch .card-title {
    color: #fff;
}