/* Team Member Card Hover Effects */
.pxl-content-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.pxl-content-item .pxl-link {
    display: block;
    position: relative;
}

/* Hover Overlay */
.pxl-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 35, 89, 0.95) 0%, rgba(5, 151, 211, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    padding: 20px;
}

.pxl-content-item:hover .pxl-hover-overlay {
    opacity: 1;
    visibility: visible;
}

/* Hover Text Content */
.pxl-hover-text {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.pxl-content-item:hover .pxl-hover-text {
    transform: translateY(0);
}

.pxl-hover-text .hover-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(250, 208, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FAD000;
}

.pxl-hover-text .hover-icon svg {
    width: 30px;
    height: 30px;
    fill: #FAD000;
}

.pxl-hover-text .hover-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    font-family: 'Outfit', sans-serif;
}

.pxl-hover-text .hover-subtitle {
    font-size: 14px;
    color: #FAD000;
    margin-top: 8px;
    font-weight: 500;
}

/* Add subtle scale effect on hover */
.pxl-content-item:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Ensure image doesn't overflow */
.pxl-content-item img {
    transition: transform 0.4s ease;
}

.pxl-content-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pxl-hover-text .hover-icon {
        width: 50px;
        height: 50px;
    }
    
    .pxl-hover-text .hover-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .pxl-hover-text .hover-title {
        font-size: 16px;
    }
    
    .pxl-hover-text .hover-subtitle {
        font-size: 13px;
    }
}
