/* Team Page Styles */
.team-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.team-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.team-hero p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
}

.team-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 5rem 0 3rem;
}

.team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03), 0 2px 4px -2px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

.team-avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
}

.team-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-avatar-wrapper img {
    transform: scale(1.05);
    box-shadow: 0 15px 25px -5px rgba(0,0,0,0.15);
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.team-title {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.team-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.team-social .btn {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.team-social .btn:hover {
    transform: translateY(-2px);
}

/* Join Section */
.team-join {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    margin-top: 5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.team-join h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.team-join p {
    color: #475569;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.team-join .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
}
