/*
 * Team Section CSS
 */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px; /* Adjust padding as needed to fit your page container */
    max-width: 1200px; /* Adjust max-width as needed */
    margin: auto;
}

.team-member {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    margin: 10px 0 5px;
}

.team-member p {
    font-size: 0.9rem;
    color: #555;
}

/* Custom styles for the team page banner */
.team-banner {
    background-image: url('images/team/team.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px; /* Adjust this value as needed for your desired banner height */
}

/* You might need to adjust text color for better visibility on the new background */
.team-banner h2 {
    color: #fff; /* Changes the text color to white for better contrast */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Optional: Adds a subtle shadow to make text pop */
}