/** team-section **/

.team-section {
    position: relative;
}

.team-block-one .inner-box {
    position: relative;
    display: block;
}

.team-block-one .inner-box .image-box {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 23px;
}

.team-block-one .inner-box .image-box img {
    width: 100%;
    border-radius: 23px;
    transition: all 500ms ease;
}

.team-block-one .inner-box:hover .image-box img {
    transform: scale(1.05);
}

.team-block-one .inner-box .content-box {
    position: absolute;
    /*left: 40px;*/
    bottom: 0px;
    /*width: calc(100% - 80px);*/
    width: 100%;
    background: #fff;
    box-shadow: 0px 4px 30px rgba(205, 192, 192, 0.25);
    border-radius: 20px 20px 0px 0px;
    padding: 15px;
    z-index: 1;
    transition: all 500ms ease;
}

.team-block-one .inner-box:hover .content-box {
    padding-bottom: 25px;
}

.team-block-one .inner-box .content-box:before {
    position: absolute;
    content: '';
    background: var(--theme-color);
    width: 100%;
    height: 0%;
    left: 0px;
    bottom: 0px;
    z-index: -1;
    border-radius: 20px 20px 0px 0px;
    transition: all 500ms ease;
}

.team-block-one .inner-box:hover .content-box:before {
    height: 100%;
    top: 0px;
}

.team-block-one .inner-box .content-box h3 {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 38px;
    font-weight: 600;
    margin-bottom: 2px;
}

.team-block-one .inner-box .content-box h3 a {
    display: inline-block;
    color: var(--title-color);
    text-transform: uppercase;
}

.team-block-one .inner-box .content-box h3 a:hover {
    text-decoration: underline;
}

.team-block-one .inner-box:hover .content-box h3 a,
.team-block-one .inner-box:hover .content-box .designation {
    color: #fff;
}

.team-block-one .inner-box .content-box .designation {
    position: relative;
    display: block;
    font-size: 14px;
    line-height: 30px;
    transition: all 500ms ease;
    text-transform: uppercase;
}

.team-block-one .inner-box .content-box .social-links {
    position: absolute;
    left: 0px;
    bottom: 15px;
    width: 100%;
    transform: scale(0, 0);
    transition: all 500ms ease;
}

.team-block-one .inner-box:hover .content-box .social-links {
    transform: scale(1, 1);
}

.team-block-one .inner-box .content-box .social-links li {
    position: relative;
    display: inline-block;
    font-size: 16px;
    margin: 0px 8px;
}

.team-block-one .inner-box .content-box .social-links li a {
    position: relative;
    display: inline-block;
    color: #fff;
}

.team-block-one .inner-box .content-box .social-links li a:hover {
    color: var(--secondary-color);
}

.team-section .bg-layer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 520px;
    background-repeat: no-repeat;
}



/** RTL-CSS **/





/** RESPONSIVE-CSS **/

@media only screen and (max-width: 1599px) {}


@media only screen and (max-width: 1200px) {}

@media only screen and (max-width: 991px) {

    .team-block-one .inner-box {
        margin-bottom: 30px;
    }

}

@media only screen and (max-width: 767px) {}

@media only screen and (max-width: 599px) {}

@media only screen and (max-width: 499px) {}