* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    /* padding: 40px 20px; */
}

.experts-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 100px;
    margin-bottom: 100px;
}

.section-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    z-index: 10;
    text-align: center;
    pointer-events: none;
}

.experts-grid {
    position: relative;
    height: 600px;
}

.expert-card {
    position: absolute;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    animation: disperse 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

@keyframes disperse {
    0% {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0;
    }

    100% {
        left: var(--final-left);
        top: var(--final-top);
        right: var(--final-right);
        bottom: var(--final-bottom);
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.expert-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    background: #ffe5e5;
    color: #ff6b6b;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.stat-label {
    position: absolute;
    background: white;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.8rem;
    color: #666;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* Positioning for each card */
.card-1 {
    width: 160px;
    height: 160px;
    --final-left: 5%;
    --final-top: 10%;
    --final-right: auto;
    --final-bottom: auto;
    animation-delay: 0.1s;
}

.card-2 {
    width: 200px;
    height: 200px;
    --final-left: 20%;
    --final-top: 5%;
    --final-right: auto;
    --final-bottom: auto;
    animation-delay: 0.2s;
}

.card-3 {
    width: 180px;
    height: 180px;
    --final-left: auto;
    --final-top: 8%;
    --final-right: 25%;
    --final-bottom: auto;
    animation-delay: 0.15s;
}

.card-4 {
    width: 160px;
    height: 160px;
    --final-left: auto;
    --final-top: 12%;
    --final-right: 5%;
    --final-bottom: auto;
    animation-delay: 0.25s;
}

.card-5 {
    width: 180px;
    height: 180px;
    --final-left: auto;
    --final-top: auto;
    --final-right: 8%;
    --final-bottom: 25%;
    animation-delay: 0.3s;
}

.card-6 {
    width: 140px;
    height: 140px;
    --final-left: 2%;
    --final-top: auto;
    --final-right: auto;
    --final-bottom: 15%;
    animation-delay: 0.35s;
}

.card-7 {
    width: 190px;
    height: 190px;
    --final-left: 18%;
    --final-top: auto;
    --final-right: auto;
    --final-bottom: 8%;
    animation-delay: 0.4s;
}

.card-8 {
    width: 100px;
    height: 100px;
    --final-left: 8%;
    --final-top: 35%;
    --final-right: auto;
    --final-bottom: auto;
    animation-delay: 0.05s;
}

.card-9 {
    width: 120px;
    height: 120px;
    --final-left: auto;
    --final-top: auto;
    --final-right: 2%;
    --final-bottom: 8%;
    animation-delay: 0.45s;
}

.card-10 {
    width: 200px;
    height: 200px;
    --final-left: auto;
    --final-top: auto;
    --final-right: 20%;
    --final-bottom: 10%;
    animation-delay: 0.5s;
}

/* Badge positioning */
.badge-1,
.badge-2,
.badge-3,
.stat-1,
.stat-2 {
    display: none;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }

    .experts-grid {
        height: 500px;
    }

    .card-1,
    .card-2,
    .card-3,
    .card-4,
    .card-5,
    .card-6,
    .card-7,
    .card-10 {
        width: 120px !important;
        height: 120px !important;
    }

    .card-8,
    .card-9 {
        width: 60px !important;
        height: 60px !important;
    }
}
