.healthcare-card-inner {
    position: relative !important;
}

.healthcare-card-inner::before,
.healthcare-card-inner::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 20;
}

.healthcare-card-inner::before {
    top: 0;
    left: 0;
    border-top: 3px solid transparent;
    border-right: 3px solid transparent;
}

.healthcare-card-inner::after {
    right: 0;
    bottom: 0;
    border-bottom: 3px solid transparent;
    border-left: 3px solid transparent;
}

.healthcare-card-inner:hover::before {
    width: 100%;
    height: 100%;
    border-top-color: #fbbd18;
    border-right-color: #fbbd18;
    transition: width .25s ease, height .25s ease .25s;
}

.healthcare-card-inner:hover::after {
    width: 100%;
    height: 100%;
    border-bottom-color: #fbbd18;
    border-left-color: #fbbd18;
    transition: width .25s ease .5s, height .25s ease .75s;
}