/* ========== OUR TEAM SECTION PREMIUM ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.team-image-box {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square for premium profiles */
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.team-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-image-box img {
    transform: scale(1.08);
}

.team-content {
    padding: 24px;
    text-align: center;
}

.team-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.team-role {
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
    display: block;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 15px;
}

.skill-pill {
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.team-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px dashed #e2e8f0;
}

.team-meta span {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-meta i {
    color: var(--orange);
    opacity: 0.8;
}