

/************************************/
/***      23. Team Single css     ***/
/************************************/

.page-team-single{
	padding: 100px 0;
}

.team-member-sidebar{
	position: sticky;
	top: 20px;
	margin-right: 30px;
}

.team-member-box{
	background-color: var(--white-color);
	box-shadow: 0px 4px 30px 0px rgba(15, 23, 42, 0.04);
	border: 1px solid var(--background-accent-color);
	border-radius: 40px;
	padding: 30px;
	margin-bottom: 60px;
}

.team-member-image{
	margin-bottom: 30px;
}

.team-member-image figure{
	display: block;
	border-radius: 30px;
	overflow: hidden;
}

.team-member-image img{
	width: 100%;
	aspect-ratio: 1 / 1.15;
	object-fit: cover;
	border-radius: 30px;
	transition: all 0.4s ease-in-out;
}

.team-member-box:hover .team-member-image img{
    transform: scale(1.1);
}

.team-member-name{
	text-align: center;
	margin-bottom: 20px;
}
	
.team-member-name h3{
	font-size: 20px;
	font-weight: 600;
	color: var(--accent-color);
	text-transform: capitalize;
	margin-bottom: 5px;
}

.team-member-name p{
	text-transform: capitalize;
	margin: 0;
}

.team-member-social-list ul{
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.team-member-social-list ul li{
	display: inline-block;
    margin-right: 20px;
}

.team-member-social-list ul li:last-child{
	margin: 0;
}

.team-member-social-list ul li a{
	color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.team-member-social-list ul li a:hover{
    color: var(--heading-color);
}

.team-member-social-list ul li a i{
    font-size: 20px;
    color: inherit;
}

.team-detail-box{
	border: 1px solid var(--background-accent-color);
	box-shadow: 0px 4px 30px 0px rgba(15, 23, 42, 0.04);
	border-radius: 20px;
	overflow: hidden;
}

.team-detail-title{
	background-color: var(--accent-color);
	padding: 22px 30px;
}

.team-detail-title h3{
	font-size: 20px;
	font-weight: 600;
	text-transform: capitalize;
	color: var(--white-color);
}

.team-detail-list{
	padding: 30px;
}

.team-detail-item{
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--divider-color);
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.team-detail-item:last-child{
	border: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.team-detail-item .icon-box{
	background-color: var(--accent-color);
	border-radius: 10px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	transition: all 0.3s ease-in-out;
}

.team-detail-item:hover .icon-box{
	background-color: var(--secondary-color);
}

.team-detail-item .icon-box img{
	max-width: 20px;
}

.team-detail-content{
	width: calc(100% - 60px);
}

.team-detail-content h3{
	font-size: 16px;
	font-weight: 500;
	text-transform: capitalize;
	margin-bottom: 5px;
}

.team-detail-content p{
	margin-bottom: 0;
}

.team-member-info,
.team-member-skills-feature{
	margin-bottom: 60px;
}

.team-member-content h2{
	font-size: 40px;
    font-weight: 300;
    margin-bottom: 20px;
}

.team-member-content h2 span{
    font-weight: 700;
}

.team-member-content p{
	margin-bottom: 20px;
}

.team-member-content p:last-child{
	margin-bottom: 0;
}

.team-member-skills-feature{
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.team-member-skills,
.team-member-feature{
	width: calc(50% - 15px);
}

.skills-progress-bar{
    margin-bottom: 20px;
}

.skills-progress-bar:last-child{
	margin-bottom: 0;
}

.skills-progress-bar .skill-data{
	display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skills-progress-bar .skill-data .skill-title{
    font-size: 15px;
    font-weight: 400;
    color: var(--text-color);
	text-transform: capitalize;
}

.skills-progress-bar .skill-data .skill-no{
    font-size: 15px;
    font-weight: 400;
	color: var(--heading-color);
}

.skills-progress-bar .skillbar .skill-progress{
	position: relative;
	width: 100%;
	height: 16px;
	background: var(--divider-color);
	border-radius: 100px;
    overflow: hidden;
}

.skills-progress-bar .skillbar .skill-progress .count-bar{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background-color: var(--accent-color);
	border-radius: 100px;
}

.team-member-content ul{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.team-member-content ul li{
    position: relative;
	width: 100%;
    color: var(--heading-color);
    text-transform: capitalize;
    padding-left: 40px;
}

.team-member-content ul li::before{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background: url(../../images/icon-check.svg) no-repeat center left;
    background-size: cover;
}


/************************************/
/***       Responsive css        ***/
/************************************/

@media only screen and (max-width: 991px) {
    .page-team-single {
        padding: 50px 0;
    }

    .team-member-sidebar {
        position: initial;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .team-member-box {
        padding: 20px;
        margin-bottom: 30px;
    }

    .team-member-image {
        margin-bottom: 20px;
    }

    .team-member-image img {
        aspect-ratio: 1 / 0.85;
        object-position: top center;
    }

    .team-detail-title {
        padding: 15px 20px;
    }

    .team-detail-list {
        padding: 20px;
    }

    .team-detail-item {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .team-member-info,
	.team-member-skills-feature {
        margin-bottom: 30px;
    }

    .team-member-content h2 {
        font-size: 34px;
    }

    .skills-progress-bar {
        margin-bottom: 15px;
    }

    .skills-progress-bar .skillbar .skill-progress {
        height: 12px;
    }

    .team-member-content ul li {
        padding-left: 30px;
    }

    .team-member-content ul li::before {
        width: 20px;
        height: 20px;
    }

}

@media only screen and (max-width: 767px) {
    .team-member-image img {
        aspect-ratio: 1 / 0.99;
    }

    .team-member-name {
        margin-bottom: 15px;
    }

    .team-member-name h3 {
        font-size: 18px;
    }

    .team-detail-title h3 {
        font-size: 18px;
    }

    .team-member-info,
	.team-member-skills-feature {
        margin-bottom: 20px;
    }

    .team-member-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .team-member-content p {
        margin-bottom: 15px;
    }

    .team-member-skills-feature {
        gap: 20px;
    }

    .team-member-skills,
	.team-member-feature {
        width: 100%;
    }

}
