.team-page {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.main-nav{
    background-color: rgb(0, 0, 0);
    height: 20px;
}

.team-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.team-header p {
    color: var(--text-light);
    font-size: 1.2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.social-overlay {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem;
    transition: bottom 0.3s ease;
    text-align: center;
}

.team-card:hover .social-overlay {
    bottom: 0;
}

.linkedin-link {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.linkedin-link:hover {
    transform: scale(1.2);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-color);
}

.role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
}

.contributions h4 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.contributions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contributions li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.3rem 0;
}

.contributions li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .team-page {
        padding: 2rem 1rem;
    }

    .team-header h1 {
        font-size: 2rem;
    }

    .member-image {
        height: 250px;
    }
}