/* Branch Locator CSS */

/* ==========================================================================
   Header Section (Matching Blog/Careers)
   ========================================================================== */
.vc-branch-header {
    background: linear-gradient(135deg, #ffffff 0%, #d4e6f1 50%, #0b6dcb 100%);
    padding: 6rem 0 4rem;
    position: relative;
    border-bottom: 1px solid #eee;
}

.bredcrum p {
    color: #000;
}

.vc-branch-header__title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    color: #0b6dcb;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin: 1.5rem 0;
}

.vc-branch-hero {
    padding: 60px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.vc-branch-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 48, 101, 0.7);
    /* Theme blue with opacity */
}

.vc-filter-group .district {
    display: flex;
    gap: 1rem;
}
.vc-filter-group{
        display: flex;
    justify-content: space-between;
}
.vc-branch-hero .vc-container {
    position: relative;
    z-index: 2;
}

.vc-branch-hero__title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.vc-branch-hero__subtitle {
    font-size: 1.2rem;
}

.vc-branch-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.vc-branch-filters {
    background: #f8f9fa;

    border-radius: 8px;
    margin-bottom: 20px;
}

.vc-search-group {
    display: flex;
    margin-bottom: 15px;
}

.vc-search-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

.vc-search-group button {
    padding: 10px 15px;
    background: #004b87;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.vc-filter-group select {
    width: 20vw;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.vc-branch-list-container {
    height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.vc-branch-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vc-branch-card {
    background: #fff;
    border: 1px solid #d3cbcb;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vc-branch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.vc-branch-card.active {
    border-color: #0b6dcb;
    background-color: #f4f8fc;
    box-shadow: 0 8px 24px rgba(11, 109, 203, 0.12);
    transform: translateY(-2px);
}

.vc-branch-card.active h4 {
    color: #0b6dcb;
    border-bottom-color: #0b6dcb;
}

.vc-branch-card h4 {
    margin: 0 0 10px 0;
    color: #004b87;
    border-bottom: 1px solid;
    padding: 2px 1px 10px 1px;
}

.vc-branch-card p {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #555;
}

.vc-branch-map-container {
    height: 100%;
    min-height: 700px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#vc-srilanka-map {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .vc-branch-layout {
        grid-template-columns: 1fr;
    }

    .vc-branch-map-container {
        height: 500px;
        min-height: 500px;
        order: -1;
        /* Move map above list on tablet */
    }

    .vc-branch-list-container {
        height: 400px;
    }

    .vc-branch-header__title {
        color: #ffffff;
    }
}