.team-section {
    padding: 3rem 0;
    background: #f8f9fa;
}
.team-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}
.team-title-wrapper .sub-title {
    color: #0d6efd;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}
.team-title-wrapper .sec-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
}
.team-title-wrapper .sec-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #0d6efd;
    border-radius: 2px;
}
.team-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}
.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(13, 110, 253, 0.12);
    border-color: rgba(13, 110, 253, 0.1);
}
.team-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e9ecef;
}
.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover .team-img-wrapper img {
    transform: scale(1.08);
}
.team-social {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 2;
}
.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}
.team-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.team-social a:hover {
    background: #0d6efd;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}
.team-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.team-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.team-card:hover .team-img-overlay {
    opacity: 1;
}
.team-info {
    padding: 30px 25px;
    text-align: center;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.team-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #0d6efd;
    transition: width 0.4s ease;
    border-radius: 0 0 4px 4px;
}
.team-card:hover .team-info::before {
    width: 100%;
}
.team-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}
.team-card:hover .team-name {
    color: #0d6efd;
}
.team-role {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 600;
    margin: 0;
}
.team-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Modern Shapes */
.team-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}
.team-shape-1 {
    top: 10%;
    left: 2%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13,110,253,0.06) 0%, transparent 70%);
}
.team-shape-2 {
    bottom: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13,110,253,0.05) 0%, transparent 70%);
}
