.branch-card {
    background-color: #fff;
    border-top-left-radius: 18px;
    border-bottom-right-radius: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.branch-card:hover {
    transform: translateY(-10px);
}

.branch-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #fff;
}

.branch-info {
    margin-left: 15px;
}

.branch-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
}

.branch-location {
    font-size: 0.9rem;
    color: #6c757d;
}

.card-footer {
    text-align: center;
    margin-bottom: 15px;
    transition: opacity 0.3s ease;
    background: transparent;
    border: none;
    padding: 10px;
}

.branch-card:hover .btn-get-directions i {
    animation: moveUp 0.5s linear infinite;
}

.btn-get-directions i {
    margin-left: 10px;
}

.btn-get-directions:hover i {
    animation: moveUp 0.5s linear infinite;
}

@keyframes moveUp {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.card-body i {
    margin-right: 10px;
    color:   #626d43;
}

.card-body p a {
    margin-left: 10px;
}

.card-body p span {
    margin-left: 10px;
    text-align: justify;
}

.card-body p {
    display: flex;
    justify-content: start;
    align-items: center;
}

/* Make sure all branch cards are the same height */
.branch-card {
    min-height: 250px; /* Adjust as needed */
    border-left: 3px solid   #e6af18;
}

.branch-header {
    background:   #e6af18;
}
