﻿/* ============================ */
/* GENERAL STYLES */
/* ============================ */
.team-section {
    padding: 60px 30px;
    background: #f6faff;
    color: #003366;
    text-align: center;
}

.team-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.team-intro p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
}

/* ============================ */
/* TEAM CARD GRID */
/* ============================ */
.team-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* ============================ */
/* TEAM CARD STYLING */
/* ============================ */
.team-card {
    width: 220px;
    height: auto; /* Allow height to adjust with content */
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

    .team-card:hover {
        transform: scale(1.05); /* Enlarge the card slightly on hover */
    }

    /* ============================ */
    /* CARD TEXT */
    /* ============================ */
    .team-card h3 {
        font-size: 1.5rem; /* Larger font size for the name */
        color: #003366;
        margin-bottom: 10px;
    }

.job-title {
    font-size: 1.2rem; /* Larger and bolder font size for the job title */
    color: #0073cf;
    font-weight: bold;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

/* ============================ */
/* RESPONSIVE STYLES */
/* ============================ */
@media (max-width: 768px) {
    .team-card {
        width: 180px;
        height: auto;
    }

    .team-intro h1 {
        font-size: 2rem;
    }

    .team-intro p {
        font-size: 1rem;
    }
}
