﻿/* =============================================
   wwwroot/css/team-section.css
   Premium Team Section
   ============================================= */

/* ---------- Section Base ---------- */
.team-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
    position: relative;
    overflow: hidden;
}

    .team-section::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(102, 126, 234, 0.06), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .team-section::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(240, 147, 251, 0.06), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

/* ---------- Section Header ---------- */
.section-header {
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(240, 147, 251, 0.12));
    color: #764ba2;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    color: #1a1a3e;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

.golden-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    margin-top: 1.5rem;
}

/* ---------- Team Card ---------- */
.team-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(102, 126, 234, 0.18);
        border-color: rgba(102, 126, 234, 0.2);
    }

/* ---------- Team Image ---------- */
.team-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fc, #eef1f8);
}

    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

.team-card:hover .team-image img {
    transform: scale(1.08);
}

/* Gradient overlay at bottom */
.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0) 0%, rgba(10, 14, 39, 0.05) 50%, rgba(10, 14, 39, 0.75) 100%);
    pointer-events: none;
}

/* Department Badge */
.team-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 2;
}

/* Social Icons — slide up on hover */
.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(10, 14, 39, 0.6));
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.team-card:hover .team-social {
    transform: translateY(0);
    opacity: 1;
}

.team-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    .team-social a:hover {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #ffffff;
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
    }

/* ---------- Team Info ---------- */
.team-info {
    padding: 1.5rem 1.5rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-name {
    color: #1a1a3e;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.team-card:hover .team-name {
    color: #667eea;
}

.team-role {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    min-height: 2.4em;
}

.team-divider {
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, #667eea, #f093fb);
    border-radius: 2px;
    margin: 1rem auto;
    transition: width 0.3s ease;
}

.team-card:hover .team-divider {
    width: 80px;
}

.team-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
}

    .team-contact-link:hover {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    }

    .team-contact-link i {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .team-contact-link:hover i {
        transform: translateX(3px);
    }

/* ---------- Join Team CTA ---------- */
.team-cta {
    position: relative;
    z-index: 1;
}

.team-cta-inner {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
    border-radius: 24px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    max-width: 720px;
    margin: 0 auto;
}

.team-cta-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    animation: ctaIconPulse 3s ease-in-out infinite;
}

@keyframes ctaIconPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.team-cta-inner h4 {
    color: #1a1a3e;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.team-cta-inner p {
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.team-cta-inner .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
}

    .team-cta-inner .btn-primary:hover {
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
    }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .team-image {
        height: 300px;
    }
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }

    .team-image {
        height: 280px;
    }

    /* Keep social visible on touch devices */
    .team-social {
        transform: translateY(0);
        opacity: 0.9;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .team-image {
        height: 260px;
    }

    .team-name {
        font-size: 1.05rem;
    }

    .team-role {
        font-size: 0.8rem;
    }

    .team-cta-inner {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.5rem;
    }

    .team-image {
        height: 300px;
    }

    .team-cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
/* =============================================
   TEAM PAGE — Page Header
   ============================================= */

.team-page-header {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 50%, #2d2a5c 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

    .team-page-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(240, 147, 251, 0.2), transparent 70%);
        border-radius: 50%;
        animation: floatOrb 10s ease-in-out infinite;
    }

    .team-page-header::after {
        content: '';
        position: absolute;
        bottom: -50%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(102, 126, 234, 0.2), transparent 70%);
        border-radius: 50%;
        animation: floatOrb 12s ease-in-out infinite reverse;
    }

.team-page-header-content {
    position: relative;
    z-index: 2;
}

.page-badge {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-title {
    color: #ffffff;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.team-page-header .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.team-page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .team-page-header .breadcrumb-item a:hover {
        color: #ffd93d;
    }

.team-page-header .breadcrumb-item.active {
    color: #ffd93d;
    font-weight: 600;
}

.team-page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
    content: "›";
    font-size: 1rem;
}

/* =============================================
   EXPERTISE SECTION
   ============================================= */

.team-expertise-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
    position: relative;
    overflow: hidden;
}

    .team-expertise-section::before {
        content: '';
        position: absolute;
        top: 10%;
        left: -200px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(102, 126, 234, 0.06), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

.expertise-content {
    padding: 1rem 2rem 1rem 0;
}

/* Section Badge & Title (shared) */
.team-expertise-section .section-badge {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(240, 147, 251, 0.12));
    color: #764ba2;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.team-expertise-section .section-title {
    color: #1a1a3e;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

    .team-expertise-section .section-title .highlight {
        background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.team-expertise-section .section-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.expertise-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f0f5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .expertise-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
        border-color: rgba(102, 126, 234, 0.2);
    }

.expertise-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.icon-award {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.icon-training {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.icon-tools {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.icon-customer {
    background: linear-gradient(135deg, #ffd93d, #ff6b6b);
}

.expertise-item:hover .expertise-icon {
    transform: rotate(8deg) scale(1.08);
}

.expertise-text h5 {
    color: #1a1a3e;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.expertise-text p {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 0;
}

/* Expertise Stats */
.expertise-stats {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.team-expertise-section .stat-item {
    flex: 1;
    text-align: left;
}

.team-expertise-section .stat-number {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 0.15rem 0;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.team-expertise-section .stat-label {
    display: block;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Expertise Actions */
.expertise-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    .expertise-actions .btn {
        display: inline-flex;
        align-items: center;
        padding: 0.85rem 2rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        text-decoration: none;
    }

    .expertise-actions .btn-primary {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #ffffff;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
    }

        .expertise-actions .btn-primary:hover {
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(102, 126, 234, 0.55);
        }

    .expertise-actions .btn-outline-primary {
        background: transparent;
        color: #667eea;
        border-color: #667eea;
    }

        .expertise-actions .btn-outline-primary:hover {
            background: #667eea;
            color: #ffffff;
            transform: translateY(-3px);
        }

/* Expertise Visual */
.expertise-visual {
    position: relative;
    padding: 2rem;
}

.expertise-image {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
}

    .expertise-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

    .expertise-image:hover img {
        transform: scale(1.05);
    }

.expertise-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, transparent 50%, rgba(240, 147, 251, 0.1) 100%);
    pointer-events: none;
}

/* Floating Badges */
.expertise-float-badge {
    position: absolute;
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 4;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-certified {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.badge-experience {
    bottom: 0;
    right: 0;
    animation-delay: 2s;
}

.float-badge-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.35);
}

.badge-certified .float-badge-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.badge-experience .float-badge-icon {
    background: linear-gradient(135deg, #ffd93d, #ff6b6b);
}

.float-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .float-badge-text strong {
        color: #1a1a3e;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .float-badge-text span {
        color: #6c757d;
        font-size: 0.75rem;
        font-weight: 500;
    }

/* =============================================
   JOIN OUR TEAM CTA
   ============================================= */

.team-join-cta {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.join-cta-card {
    position: relative;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 50%, #2d2a5c 100%);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(10, 14, 39, 0.3);
}

.join-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.join-cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
    animation: ctaIconPulse 3s ease-in-out infinite;
}

@keyframes ctaIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 45px rgba(102, 126, 234, 0.7);
    }
}

.join-cta-title {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.join-cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.join-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

    .join-cta-actions .btn {
        display: inline-flex;
        align-items: center;
        padding: 0.9rem 2rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        text-decoration: none;
        border: 2px solid transparent;
    }

    .join-cta-actions .btn-primary {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #ffffff;
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }

        .join-cta-actions .btn-primary:hover {
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
        }

    .join-cta-actions .btn-outline-primary {
        background: transparent;
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.4);
    }

        .join-cta-actions .btn-outline-primary:hover {
            background: #ffffff;
            color: #1a1a3e;
            border-color: #ffffff;
            transform: translateY(-3px);
        }

/* Decorative elements */
.join-cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.deco-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -80px;
    background: radial-gradient(circle, #667eea, transparent 70%);
}

.deco-2 {
    width: 350px;
    height: 350px;
    bottom: -120px;
    right: -100px;
    background: radial-gradient(circle, #f093fb, transparent 70%);
}

/* Responsive */
@media (max-width: 991.98px) {
    .expertise-content {
        padding: 1rem 0;
    }

    .expertise-visual {
        padding: 2rem 0;
    }

    .expertise-image {
        height: 400px;
    }

    .badge-certified {
        top: 1rem;
        left: 1rem;
    }

    .badge-experience {
        bottom: 1rem;
        right: 1rem;
    }

    .join-cta-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .team-page-header {
        padding: 4rem 0 3rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .expertise-image {
        height: 350px;
    }

    .expertise-actions,
    .join-cta-actions {
        flex-direction: column;
    }

        .expertise-actions .btn,
        .join-cta-actions .btn {
            width: 100%;
            justify-content: center;
        }

    .join-cta-card {
        padding: 2rem 1.5rem;
    }

    .join-cta-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
}

@media (max-width: 575.98px) {
    .expertise-image {
        height: 300px;
    }

    .expertise-float-badge {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        border-radius: 12px;
    }

    .float-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .float-badge-text strong {
        font-size: 0.9rem;
    }

    .float-badge-text span {
        font-size: 0.65rem;
    }

    .expertise-stats {
        gap: 1rem;
    }

    .team-expertise-section .stat-number {
        font-size: 1.35rem;
    }

    .team-expertise-section .stat-label {
        font-size: 0.65rem;
    }
}

/* =============================================
   SHARED KEYFRAMES (if not already in team-section.css)
   ============================================= */

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}