.our-team {
    background: var(--main-color);
    text-align: center;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.our-team img {
    width: 100%;
    height: auto;
    transition: all 0.55s ease 0s;
}

.our-team:hover img {
    background-color: var(--main-color) !important;

    opacity: 0.2;
}

.our-team .team-content {
    padding: 5px 10px 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    /* rotate(45deg) translate(-50%, -50%); */
    transform-origin: 0 0;
    transition: all 0.55s ease 0s;
}

.our-team:hover .team-content {
    opacity: 1;
}

.our-team .team-content:before,
.our-team .team-content:after {
    content: "";
    width: 400px;
    height: 2px;
    background: var(--secondary-color);
    position: absolute;
    top: 0;
    left: 10px;
    transform: translateX(100%);
    transition: all 0.55s ease 0s;
}

.our-team .team-content:after {
    top: auto;
    left: auto;
    bottom: 0;
    right: 10px;
    transform: translateX(-100%);
}

.our-team:hover .team-content:before,
.our-team:hover .team-content:after {
    transform: translate(0, 0);
    transition-delay: 0.15s;
}

.our-team .title {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin: 0;
}

.our-team .title:before,
.our-team .title:after {
    content: "";
    width: 2px;
    height: 300px;
    background: var(--secondary-color);
    position: absolute;
    top: 10px;
    right: 0;
    transform: translateY(100%);
    transition: all 0.55s ease 0s;
}

.our-team .title:after {
    top: auto;
    right: auto;
    bottom: 10px;
    left: 0;
    transform: translateY(-100%);
}

.our-team:hover .title:before,
.our-team:hover .title:after {
    transform: translate(0, 0);
}

.our-team .post {
    display: block;
    padding: 5px 10px;
    background: var(--secondary-color);
    font-size: 17px;
    font-weight: 700;
    color: var(--main-color);
    text-transform: capitalize;
}

@media only screen and (max-width: 990px) {
    .our-team {
        margin-bottom: 30px;
    }
}

/* Swiper team */
.our-team {
    text-align: center;
    overflow: hidden;
    position: relative;
}

.our-team img {
    width: 100%;
    height: auto;
}

.team-content {
    padding: 10px 20px;
    background: #fff;
}

.team-content .title {
    font-size: 18px;
    font-weight: 700;
    color: var(--main-color);
}

.team-content .post {
    display: block;
    font-size: 14px;
    color: var(--main-color);
    margin-top: 5px;
}