.team-grid {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out;
}

.team-member:hover {
    box-shadow: 0 12px 24px rgba(0, 82, 204, 0.1);
    transform: translateY(-5px);
}

.member-image {
    background: linear-gradient(135deg, #0052cc, #ff6b35);
    height: 200px;
    position: relative;
    overflow: hidden;
}

.member-image::after {
    content: "👤";
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.team-member h3 {
    padding: 1.5rem 1rem 0;
    color: #0052cc;
    margin-bottom: 0.25rem;
}

.member-role {
    color: #ff6b35;
    font-weight: bold;
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.team-member p:last-child {
    padding: 0 1rem 1.5rem;
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
