/* ===========================================================
   TechSpot - Interactive Meet the Team Styles
   Add these classes to your main style.css
   =========================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.team-card {
    background: white;
    border: 1px solid var(--gray-light, #E5E1F2);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: teamFadeUp 0.6s ease forwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes teamFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(109, 40, 217, 0.15);
    border-color: var(--purple, #6D28D9);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto 18px;
    border: 4px solid #EDE9FE;
    transition: transform 0.4s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.08);
}

.team-role {
    color: var(--purple-dark, #4C1D95);
    font-weight: 600;
    margin: 4px 0 12px;
    font-size: 0.95rem;
}

.team-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
    padding: 16px;
    display: flex;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gray, #6B7280);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--gray-light, #E5E1F2);
}

.social-icon:hover {
    transform: scale(1.15);
    color: white;
}

.social-icon.linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.social-icon.x:hover        { background: #000000; border-color: #000000; }
.social-icon.instagram:hover { background: #E4405F; border-color: #E4405F; }
