/* Team global ---------------------------------- */
.team-card {
    position: relative;
    &:after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 0;
        background: #161921;
        opacity: 0;
        transition: 0.4s all ease;        
        height: 100%;
    }
    .bg-shape {
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
    .as-social {
        position: absolute;
        z-index: 1;
        top: 20px;
        left: 20px;
        a {
            display: block;
            opacity: 0;
            height: 40px;
            width: 40px;
            line-height: 38px;
            border-radius: 50%;
            background: transparent;
            ~ a {
                margin-top: -10px;
                transition: 0.6s all;
            }
            &:hover {
                background: $theme-color;
                color: $white-color;
            }
        }
    }
    .team-img {
        overflow: hidden;
        img {
            transition: 0.6s;
            width: 100%;
        }
    }
    .team-content {
        position: absolute;
        bottom: 15px;
        right: 16px;
        text-align: center;
        z-index: 1;
        .team-title {
            margin-bottom: 6px;
            a {
                color: $white-color;
                &:hover {
                    color: $theme-color2;
                }
            }
        }
        .team-desig {
            color: $white-color;
            font-weight: 500;
        }
    }
    &:hover {
        &:after {
            opacity: 0.75;
        }
        .team-img {
            img {
                transform: scale(1.08);
            }
        }
        .as-social {
            a {
                opacity: 1;
                ~ a {
                    margin-top: 5px;
                }
            }
        }
    }
}
/****team area 2****/
.team-area-2 {
    margin-bottom: -20px;
}
.team-card-2 {
    background: $white-color;
    box-shadow: 0px 10px 15px rgba(1, 19, 60, 0.08);
    margin-bottom: 20px;
    .team-img {
        overflow: hidden;
        img {
            transition: 0.6s;
            width: 100%;
        }
    }
    .team-content {
        padding: 23px 30px 23px;
        text-align: center;
        .team-title {
            margin-bottom: 7px;
            a {
                color: $title-color;
                &:hover {
                    color: $theme-color;
                }
            }
        }
        .team-desig {
            font-weight: 400;
            font-size: 14px;
        }
        .as-social {
            border-top: 1px solid $smoke-color4;
            margin-top: 16px;
            padding-top: 22px;
            display: flex;
            gap: 20px;
            justify-content: center;
            a {
                color: $body-color;
                height: auto;
                width: auto;
                background: transparent;
                margin: 0;
                line-height: inherit;
                &:hover {
                    color: $theme-color;
                }
            }
        }
    }
    &:hover {
        .team-img {
            img {
                transform: scale(1.08);
            }
        }
    }
}
/* Team Details ---------------------------------- */
.team-about {
    &_title {
        font-size: 30px;
        margin-bottom: 5px;
        margin-top: -0.2em;
    }
    &_desig {
        font-family: $title-font;
        color: $theme-color2;
        margin-bottom: 25px;
    }
    &_text {
        margin-bottom: 30px;
    }
}
.about-info {
    &-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        gap: 20px;
        margin-bottom: 40px;
    }
    display: flex;
    align-items: center;
    gap: 20px;
    &_icon {
        i {
            @include equal-size-lineHeight(70px);
            color: $theme-color;
            border: 0;
            border-radius: 50%;
            font-size: 30px;
            text-align: center;
            background: rgba(255, 192, 0, 0.1);
        }
    }
    &_subtitle {
        margin-bottom: 0;
    }
    &_title {
        font-family: $body-font;
        font-size: 18px;
        margin-bottom: 0;
        a {
            color: inherit;
            &:hover {
                color: $theme-color;
            }
        }
    }
}
.skill-feature {
    margin-bottom: 45px;
    &_title {
        font-family: var(--body-font);
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
        margin-top: -0.36em;
    }
    .progress {
        position: relative;
        height: 8px;
        background-color: transparent;
        overflow: visible;
        &:after {
            content: "";
            height: 2px;
            width: 100%;
            position: absolute;
            bottom: -10px;
            left: 0;
            background-color: #F1F1F1;
        }
        .progress-value {
            font-family: var(--body-font);
            font-size: 16px;
            font-weight: 600;
            color: $title-color;
            position: absolute;
            right: 0;
            top: -40px;
        }
    }
    .progress-bar {
        background-color: $theme-color;
    }
}
.border-title {
    border-bottom: 1px solid $border-color;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.experience-box {
    &-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        box-shadow: 0px 13px 21px rgba(0, 0, 0, 0.03);
        gap: 20px;
    }
    padding: 30px 30px 30px 65px;
    border: 1px solid #F1F1F1;
    overflow: hidden;
    position: relative;
    margin-bottom: -1px;
    margin-right: -1px;
    &_num {
        font-size: 12px;
        @include equal-size(60px);
        line-height: 65px;
        background-color: $theme-color;
        color: $title-color;
        border-radius: 50%;
        text-align: center;
        position: absolute;
        top: -13px;
        left: -13px;
        &::first-letter {
            font-size: 18px;
            font-weight: bold;
        }
    }
    &_title {
        font-family: $body-font;
        font-size: 18px;
        margin-bottom: 4px;
        margin-top: -0.2em;
    }
    &_text {
        font-size: 14px;
        margin-bottom: -0.2em;
    }
}

@include lg {
    .team-about {
        &_desig {
            margin-bottom: 20px;
        }
        &_text {
            margin-bottom: 25px;
        }
    }
    .about-info {
        &-wrap {
            margin-bottom: 30px;
        }
    }
    
    .border-title {
        margin-bottom: 24px;
        padding-bottom: 15px;
    }
}

@include sm {
    .experience-box {
        padding: 30px 30px 30px 50px;
    }
}
@include xs {
    .about-info {
        &-wrap {
            grid-template-columns: repeat(1, 1fr);
        }
    }
    .experience-box {
        &-wrap {
            grid-template-columns: repeat(1, 1fr);
        }
        padding: 30px 30px 30px 65px;
    }
}