.branches-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.branches-container {
    display: flex;
    gap: 30px;
    position: relative;
}

.branches-info {
    flex: 0 0 400px;
    padding: 20px;
}

.branches-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.branches-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.branch-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.branch-item {
    padding: 15px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.branch-item:hover, .branch-item.active {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.branch-item.active {
    border-left: 3px solid #00A3FF;
}

.branch-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.branch-address {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.branch-phone {
    color: #999;
    font-size: 0.85rem;
}

.branch-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.arrow-icon {
    color: #00A3FF;
}

.map-container {
    flex: 1;
    position: relative;
    min-height: 600px;
    border-radius: 16px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.view-branches-button {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    z-index: 10;
}

.view-branches-button svg {
    margin-right: 8px;
    vertical-align: middle;
}

.mobile-branch-list {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-branch-list.active {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

@media (max-width: 968px) {
    /* .branches-container {
        flex-direction: column;
    }

    .branches-info {
        flex: none;
        width: 100%;
        padding: 15px;
        display: none;
    }

    .map-container {
        min-height: 500px;
    }

    .view-branches-button {
        display: inline-flex;
        align-items: center;
    } */
}