/* Team Hero Section */
.team-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.team-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Members Section */
.team-members-section {
    padding: 4rem 0;
    background: white;
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.team-header p {
    font-size: 1.125rem;
    color: #374151;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    transition: box-shadow 0.3s;
    overflow: hidden;
}

.team-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.team-image {
    width: 100%;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    transition: transform 0.3s;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-designation {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
}

.team-email {
    display: flex;
    align-items: center;
    color: #374151;
    transition: color 0.2s;
}

.team-email:hover {
    color: #1f2937;
}

.team-email i {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.team-email svg {
    width: 1.25rem;
    height: 1.25rem;
}

.team-email a {
    font-size: 0.875rem;
    color: inherit;
    text-decoration: none;
    word-break: break-all;
}

.team-email a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (min-width: 640px) {
    .team-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .team-hero {
        height: 60vh;
    }

    .team-header h2 {
        font-size: 2.25rem;
    }

    .team-header p {
        font-size: 1.25rem;
    }

    .team-info h3 {
        font-size: 1.5rem;
    }

    .team-grid {
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .team-hero {
        height: 100vh;
    }

    .team-members-section {
        padding: 6rem 0;
    }

    .team-header h2 {
        font-size: 3rem;
    }
}