/* Team Section Styles */
.team-section {
    padding: 40px 0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.team-section h2 {
    color: #09afa5;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 60px;
    color: #e0e0e0;
    font-size: 1.2em;
    line-height: 1.6;
    padding: 0 20px;
}

.intro-text p {
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #09afa5;
    box-shadow: 0 5px 15px rgba(9, 175, 165, 0.3);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.team-member h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.team-member .role {
    color: #09afa5;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.team-member .bio {
    color: #e0e0e0;
    font-size: 0.95em;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .team-section h2 {
        font-size: 2em;
    }

    .intro-text {
        font-size: 1.1em;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .member-photo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .team-section h2 {
        font-size: 1.8em;
    }

    .intro-text {
        font-size: 1em;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .member-photo {
        width: 140px;
        height: 140px;
    }
}
