

/* --- Section Styling --- */
.team-section {
    padding: 60px 20px;
    text-align: center;
    margin: 0 auto;
    max-width: 1200px;;
    font-family: Arial, sans-serif;
    background-color: transparent; /* Light background for the section */
}

.section-title {
    font-size: 2.5em;
    color: #074D0F; /* GNS primary color (example) */
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

/* --- Team Cards Container (Grid/Flex for Responsiveness) --- */
.team-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* --- Individual Team Member Card (The 'Portalet' Style) --- */
.team-member-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* --- Photo Styling (Circular Portalet) --- */
.member-photo-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%; /* Makes the container circular */
    overflow: hidden; /* Clips the image to the circle */
    border: 4px solid #004d99; /* Optional: border around the photo */
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circle without distortion */
}

/* --- Text Details --- */
.member-name {
    font-size: 1.4em;
    color: #222;
    margin: 10px 0 5px;
}

.member-role {
    font-size: 1em;
    color: #004d99;
    font-weight: bold;
    margin-bottom: 15px;
}

/* --- Social Icons (Optional) --- */
.member-social a {
    color: #666;
    font-size: 1.5em;
    margin: 0 5px;
    transition: color 0.3s;
}

.member-social a:hover {
    color: #004d99;
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
    }
    .team-cards-container {
        grid-template-columns: 1fr; /* Stack cards vertically on small screens */
    }
}
    