/*-------------Team---------------------------------------*/

.team-box1 {
    float: left;
    position: relative;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 👈 center children horizontally */
}

.section-team .team-box1 {
    padding: 10px 8px;
}

.team-boxm .team-box1 {
    padding: 0 20px;
}

.team-photos {
    width: 220px;
    height: 220px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08);
}

.team-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-boxm .team-box1 .team-infos {
    width: 220px;             /* match image width */
    border: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    overflow: hidden;
}

.team-infos h3,
.team-infos h4 {
    display: block;
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.team-infos h4 {
    font-size: 11px;
    color: #4DB7FE;
}

.team-infos h3 a {
    color: #666;
    text-decoration: none;
}

.team-socials {
    float: right;
    box-shadow: none;
}

.team-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #0077B5;
    font-size: 10px;
    margin-right: 8px;
    text-decoration: none;
}

.team-socials a i {
    color: #fff;
}

.team-socials li {
    float: right;
    margin-right: 15px;
}

.team-socials li:last-child {
    margin: 0;
}

.team-socials li a:hover {
    color: #999;
    transform: scale(1.1);
    opacity: 0.8;
}

.team-dec {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 26px;
    color: #ADC7DD;
}
