/* Team Section */
.team-page{
    padding: 100px 20px;
    background: url('/assets/images/team-background-img1.png') no-repeat center center/cover;
    font-family: 'Raleway', sans-serif;
    position: relative;
}

.team-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.team-row, 
.team-row-bottom {
    display: flex;
    gap: 15rem;
    justify-content: center;
}

.team-row-bottom {
    gap: 30rem;
}

.team-member {
    text-align: center;
    max-width: 350px;
}

.team-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.team-image img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.social-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
}

.social-overlay a {
    color: white;
    font-size: 20px;
    transform: translateY(20px);
    opacity: 0;
}

.team-member h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--primary);
}

.team-member .position {
    font-size: 0.9rem;
    color: var(--secondary);
}


/* Responsive Styles */
@media (max-width: 992px) {    
    .team-member {
        flex-direction: column;
    }
    
    .team-member-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .team-row, .team-row-bottom {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}