/* Team Page Specific Styles */

/* Team Hero Section */
.team-hero {
    height: 60vh;
    min-height: 400px;
    background:
        linear-gradient(rgba(15, 23, 42, 0.6), rgba(29, 78, 216, 0.5)),
        url('../images/Team.png') center/cover no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-white);
    position: relative;
    overflow: hidden;
}

.team-hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.team-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.team-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--secondary-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-white);
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.team-card .role {
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.team-card .bio {
    color: var(--text-medium-gray);
    line-height: 1.7;
    text-align: left;
}

/* Mobile Responsive for Team Page */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-hero {
        height: 50vh;
        min-height: 350px;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    .team-hero h1 {
        font-size: 2.2rem;
    }

    .team-hero p {
        font-size: 1.1rem;
    }

    .team-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .team-hero {
        background-size: 120%;
        background-position: center 30%;
    }

    .team-hero h1 {
        font-size: 1.8rem;
    }

    .team-hero p {
        font-size: 1rem;
    }

    .team-card {
        padding: 1.5rem;
    }
}