

.title {
    text-align: center;
    margin: 2rem 0 1rem;
    font-size: 2.75rem;
    font-weight: bold;
    color: #222;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
}

.card.alumni {
    transform: scale(0.75);      /* Slightly smaller */
    width: 270px;               /* Or 90% of 300px */
    opacity: 1;              /* Optional: slightly faded */
}

@media (max-width: 600px) {
    .card.alumni {
        width: 75%;
        transform: scale(1);      /* Reset for mobile to avoid double shrink */
    }
}

/* Add below existing styles */
.section-title {
    text-align: left;
    margin-top: 2rem;
    font-size: 4rem;
    color: #333;
    margin: 1em;
}


.card h3 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
}

.card-icons {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.card-icons a {
    color: #555;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.card-icons a:hover {
    color: #0077cc;
}
