/* Team Page Styles */
.team-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 30px;
}

.team-header h1 {
    font-size: 2em;
    color: #111;
    font-weight: 800;
    margin-bottom: 10px;
}

.team-header p {
    color: #666;
    font-size: 1.1em;
}

.founder-section {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.team-member-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid #eee;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.member-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px 15px 10px;
}

.member-name {
    font-size: 1.3em;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}

.member-role {
    font-size: 0.9em;
    color: #0d47a1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-overlay {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    opacity: 0.8;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #0d47a1;
    color: #fff;
    transform: translateY(-3px);
}

.founder-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FFC107;
    color: #000;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75em;
    font-weight: 800;
    z-index: 2;
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .member-img-wrapper {
        height: 350px;
    }
}
