/* --- Team Section Styling --- */
.team-section {
    padding: 100px 10%;
    background: #090a0f; 
    color: white;
    min-height: 100vh;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover {
    transform: scale(1.02);
    border-color: #007bff;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.member-img img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
    padding: 3px;
    background: #090a0f;
}

.member-info h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 4px;
}

.member-info .role {
    display: block;
    color: #00ff88;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.member-info p {
    font-size: 0.9rem;
    color: #bbb;
    margin: 6px 0;
    display: flex;
    align-items: center;
}

.member-info i {
    color: #007bff;
    margin-right: 10px;
    font-size: 1rem;
}

.social-icons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ccc;
    font-size: 1.1rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #007bff;
    transform: translateY(-3px);
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    .team-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .member-info p {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}