/* ===== Team ===== */

.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);
}

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

.team-item.style-1 .team-content h3 {
    background-color: #fff;
    color: #263a4f;
    font-size: 17px;
    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: #2158eb;
    box-shadow: 0px 14px 70px -10px rgba(0, 0, 0, .15);
    text-transform: uppercase;
    font-weight: 600;
    z-index: 2;
}

/* ===== Team 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 h3 {
    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 h3, .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: 200ms;
}

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

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

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

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

/* ===== Team 3 ===== */

.team-3.style-3 {
    text-align: center;
    overflow: hidden;
}

.team-3.style-3 .team-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.team-3.style-3 .team-thumb img {
    transition: all 0.3s linear;
    width: 100%;
}

.team-3.style-3 .team-thumb:hover img {
    -webkit-transform: scale(1.1) rotate(2deg);
    transform: scale(1.1) rotate(2deg);
    filter: blur(2px);
    -webkit-animation: teamhover 0.2s linear;
    animation: teamhover 0.2s linear;
}

.team-3.style-3 .team-details {
    text-align: center;
    margin-top: 15px;
}

.team-3.style-3 .team-details h3 {
    margin: 0;
}

.team-3.style-3 .team-details h3 .m-title {
    font-size: 18px;
    color: #263a4f;
    font-weight: 600;
    letter-spacing: -1px;
    display: block;
    margin: 0;
}

.team-3.style-3 .team-details h3 .pos {
    display: block;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6a8695;
    letter-spacing: 0;
    margin-top: 10px;
}

.team-3.style-3 .team-social {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 30px;
    text-align: center;
    margin: 0;
    padding: 0;
}

.team-3.style-3 .team-social li {
    display: inline-block;
    visibility: hidden;
    margin: 2px;
    opacity: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: all .4s cubic-bezier(.37, .31, .2, .85);
    transition: all .4s cubic-bezier(.37, .31, .2, .85);
}

.team-3.style-3:hover .team-social li {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

.team-3.style-3 .team-social li a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
}

.team-3.style-3 .team-social li a.fb {
    background-color: #3b5999;
}

.team-3.style-3 .team-social li a.twitter {
    background-color: #55acee;
}

.team-3.style-3 .team-social li a.insta {
    background-color: #e4405f;
}

.team-3.style-3 .team-social li a.yt {
    background-color: #cd201f;
}

.team-3.style-3 .team-social li a.linkedin {
    background-color: #0e76a8;
}

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

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

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

.team-3.style-3 .team-social li:nth-child(4) {
    transition-delay: 300ms;
}

.team-3.style-3 .team-social li:nth-child(5) {
    transition-delay: 350ms;
}

@-webkit-keyframes teamhover {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        filter: blur(0);
    }
    60% {
        -webkit-transform: scale(1.05) rotate(1deg);
        transform: scale(1.05) rotate(1deg);
        filter: blur(1px);
    }
    to {
        -webkit-transform: scale(1.1) rotate(2deg);
        transform: scale(1.1) rotate(2deg);
        filter: blur(2px);
    }
}

@keyframes teamhover {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        filter: blur(0);
    }
    60% {
        -webkit-transform: scale(1.05) rotate(1deg);
        transform: scale(1.05) rotate(1deg);
        filter: blur(1px);
    }
    to {
        -webkit-transform: scale(1.1) rotate(2deg);
        transform: scale(1.1) rotate(2deg);
        filter: blur(2px);
    }
}

/* ===== Team 4 ===== */
.team-4{
    position: relative;
    -webkit-box-shadow: 0 0.2rem 2.8rem rgba(36,36,36,.1);
    -moz-box-shadow: 0 .2rem 2.8rem rgba(36,36,36,.1);
    box-shadow: 0 0.2rem 2.8rem rgba(36,36,36,.1);
    overflow: hidden;
}
.team-4 .team-thumb{
    position: relative;
    overflow: hidden;
}
.team-4 .team-thumb img{
    transition: all .3s ease-in-out;
    width: 100%;
}
.team-4:hover .team-thumb img{
    transform: scale(1.05);
}
.team-4 .team-thumb .shape-1 {
    background-color: rgba(11, 38, 83,0.9);
    position: absolute;
    width: 245px;
    height: 300px;
    left: 0px;
    bottom: -150px;
    transform: rotate(-45deg);
    transition: all .3s ease-in-out;
}
.team-4:hover .shape-1{
    bottom: -135px;
}
.team-4 .team-thumb .shape-2{
    background-color: #ec9117;
    position: absolute;
    width: 60px;
    height: 280px;
    left: 235px;
    bottom: -110px;
    transform: rotate(-45deg) skewY(55deg);
    clip-path: polygon(0% 10%, 100% 0, 100% 100%, 0% 100%);
    transition: all .3s ease-in-out;
}
.team-4:hover .shape-2{
    bottom: -100px;
    transition-delay: .03s;
}
.team-4 .team-content{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 20px 25px;
}
.team-4 .team-content h3{
    font-size: 18px;
    color: #fff;
    display: block;
    margin: 0;
}
.team-4 .team-content h3 span{
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Work Sans",sans-serif;
    letter-spacing: 0;
    
}
.team-4 .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-4:hover .team-social {
    visibility: visible;
    opacity: 1;
}
.team-4 .team-social li {
    transform: translateX(100px);
    transition: all 0.3s linear;
}
.team-4 .team-social li:nth-child(1) {
    transition-delay: 0ms;
}
.team-4 .team-social li:nth-child(2) {
    transition-delay: 100ms;
}
.team-4 .team-social li:nth-child(3) {
    transition-delay: 150ms;
}
.team-4 .team-social li:nth-child(4) {
    transition-delay: 200ms;
}
.team-4:hover .team-social li {
    transform: translateX(0);
}
.team-4 .team-social li a {
    color: #fff;
    margin-bottom: 10px;
    display: block;
}