/* Team profile card styles */
.team-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
}

.team-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensures cards wrap on smaller screens */
}

.team-card {
    background: rgba(255, 255, 255, 0.9); /* Light background for cards */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image {
    position: relative;
    width: 120px; /* Ensure proper sizing */
    height: 120px; /* Ensure proper sizing */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white; /* To create a border around the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-content {
    margin-top: 20px; /* Adjust spacing */
}

.card-content h2 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #333;
}

.card-content p {
    margin-bottom: 10px;
    font-size: 1em;
    color: #666;
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icon {
    color: #333;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #007bff; /* Change color on hover */
}
