.team-section {
    padding: 2rem 2rem;
    background: #ffffff;
}

.team-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-header .section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #6366f1;
}

.team-header .section-heading {
    color: var(--Accents-Purple-Purple, #612CE7);
text-align: center;
font-family: Audiowide;
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.team-description {
    color: #666;
    line-height: 1.6;
    margin-left: auto;
    text-align: right;
    align-self: flex-end;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: #E8EFEB;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid white;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.team-member-title {
    color: #00cc66;
    font-size: 0.85rem;
    margin: 0.5rem 0 1rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.skill-tag {
    padding: 3px 8px;
    background: white;
    color: #666;
    border-radius: 20px;
    font-size: 0.7rem;
    border: 1px solid #e0e0e0;
}

.team-bio {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    font-family: bahnschrift, sans-serif;
}



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

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

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-section {
        padding: 4rem 1rem;
    }
    
    .team-header .section-heading {
        font-size: 2rem;
    }
}
