.team-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.team-item .overlay {
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
}

.team-item:hover .overlay {
    visibility: visible;
    opacity: 1;
}

.team-item img {
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.team-item:hover img {
    transform: scale(1.08);
    cursor: pointer;
}

.team-item .team-content {
    display: block;
}

.team-item.style-1 .team-content .name {
    background-color: #fff;
    color: #222;
    font-size: 17px;
    line-height: 1;
    position: absolute;
    left: 10px;
    bottom: -17px;
    box-shadow: 0px 14px 70px -10px rgba(0, 0, 0, .15);
    transform-origin: 0 0;
    transform: rotate(270deg);
    padding: 10px;
    z-index: 2;
    margin: 0;
}

.team-item.style-1 .team-content span {
    position: absolute;
    width: auto;
    height: auto;
    right: 20px;
    bottom: 20px;
    color: #fff;
    font-size: 12px;
    font-family: "Work Sans", sans-serif;
    padding: 5px 10px;
    background-color: #FE5A0E;
    box-shadow: 0px 14px 70px -10px rgba(0, 0, 0, .15);
    text-transform: uppercase;
    font-weight: 600;
    z-index: 2;
}

.team-item.style-2 .team-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 25px;
    z-index: 3;
}

.team-item.style-2 .team-content .name {
    font-size: 17px;
    color: #fff;
    letter-spacing: -0.04em;
    margin: 0;
    transition: all 0.3s linear;
}

.team-item.style-2 .team-content span {
    display: block;
    color: #fff;
    font-size: 12px;
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s linear;
}

.team-item.style-2:hover .team-content .name, .team-item.style-2:hover .team-content span {
    transform: translateY(-5px);
}

.team-item .team-social {
    position: absolute;
    width: auto;
    height: auto;
    right: 20px;
    top: 20px;
    visibility: hidden;
    opacity: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 2;
    transition: all 0.3s linear;
}

.team-item:hover .team-social {
    visibility: visible;
    opacity: 1;
}

.team-item .team-social li {
    transform: translateX(100px);
    transition: all 0.3s linear;
}

.team-item .team-social li:nth-child(1) {
    transition-delay: 0ms;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: 100ms;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: 150ms;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: 200ms;
}

.team-item:hover .team-social li {
    transform: translateX(0);
}

.team-item .team-social li a {
    color: #fff;
    margin-bottom: 10px;
    display: block;
}