/* ===== TEAM & TESTIMONIALS (welcome.php) =====
   Loaded after welcome.css. Uses the same CSS variables (--brand, --card-bg,
   --border ...) so dark mode works automatically; the fallback values only
   matter if welcome.css ever stops defining them. */

#team { padding: 80px 0 40px; }

.team-card {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: var(--radius-lg, 16px);
    padding: 28px 24px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 20px 60px rgba(15, 23, 42, 0.08));
    border-color: color-mix(in srgb, var(--brand, #0e7c86) 30%, var(--border, #e5e7eb));
}

.team-photo {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--brand-soft, rgba(14, 124, 134, 0.08));
    color: var(--brand, #0e7c86);
    font-size: 2.6rem;
    border: 3px solid var(--card-bg, #ffffff);
    box-shadow: 0 0 0 3px var(--brand-soft, rgba(14, 124, 134, 0.2)), 0 10px 26px rgba(14, 124, 134, 0.18);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 2px;
}
.team-role {
    color: var(--brand, #0e7c86);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

.team-quote {
    margin: 0;
    width: 100%;
    flex: 1;
    padding: 14px 16px;
    border-radius: var(--radius, 12px);
    background: var(--brand-soft, rgba(14, 124, 134, 0.08));
    color: var(--text-muted, #64748b);
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
}
.team-quote .bi-quote {
    display: block;
    color: var(--brand, #0e7c86);
    font-size: 1.6rem;
    line-height: 1;
    font-style: normal;
    margin-bottom: 2px;
}

@media (max-width: 767px) {
    #team { padding: 60px 0 30px; }
}
