.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.team-item {
    text-align: center; /* Center-align text within each item */
    box-sizing: border-box; /* Ensure padding/margin do not affect width */
    padding: 0px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.team-image img {
    width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
}

.team-title {
    font-family: poppins;
    font-size: 13px;
    line-height: 12px;
    font-weight: bold; /* Make the name bold */
    margin: 10px 0; /* Add some spacing above and below the name */
}

.team-description {
    font-family: poppins;
    line-height: 12px;
    font-size: 12px;
    color: #797979;
    margin: 5px 0; /* Add some spacing between descriptions */
}

/* Responsive adjustments */
@media (max-width: 800px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr); /* Change to 2 columns on smaller screens */
    }
}

@media (max-width: 500px) {
    .team-grid {
        grid-template-columns: 1fr; /* Change to 1 column on very small screens */
    }
}