* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 1rem;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.team-member:nth-child(even) {
    flex-direction: row-reverse;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.team-member-content {
    flex: 1;
}

.team-member h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.team-member h3 {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.team-member p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .team-member {
        flex-direction: column !important;
        padding: 1rem;
        gap: 1rem;
    }
    
    .team-member img {
        width: 100%;
        height: 250px;
    }
} 