/* ============================================
   TEAM SECTION
   ============================================ */

/* Section Base */
.team-section {
    background: #ffffff;
}

/* Section Badge */
.section-badge {
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #0d6efd;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.text-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Team Card */
.team-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(13, 110, 253, 0.08);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.2);
}

/* Team Photo */
.team-photo {
    display: inline-block;
}

.team-avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .team-avatar {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(13, 110, 253, 0.2);
}

/* Team Info */
.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.35rem;
}

.team-role {
    font-size: 0.9rem;
    color: #0d6efd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-bio {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 280px;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.15);
    border-radius: 50%;
    color: #6b7280;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

/* CTA Button */
.btn-modern {
    background: rgba(13, 110, 253, 0.08);
    border: 2px solid rgba(13, 110, 253, 0.2);
    color: #0d6efd;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-modern:hover {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.25);
}

.btn-modern:hover::before {
    left: 100%;
}

/* Fade In Animation */
[data-team-fade] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-team-fade].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
/* Desktop: 3 columns (col-lg-4) */
@media (min-width: 992px) {
    .team-card {
        padding: 2.5rem 2rem;
    }
}

/* Tablet: 2 columns (col-md-6) */
@media (min-width: 768px) and (max-width: 991px) {
    .team-card {
        padding: 2rem 1.5rem;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
    }
}

/* Mobile: 1 column (col-12) */
@media (max-width: 767px) {
    .team-card {
        padding: 2rem 1.5rem;
        margin-bottom: 0;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
    }

    .team-name {
        font-size: 1.15rem;
    }

    .team-role {
        font-size: 0.85rem;
    }

    .team-bio {
        font-size: 0.9rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .team-card {
        padding: 1.75rem 1.25rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
    }
}