.featured-image {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.featured-image img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.thumbnail-strip {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.thumbnail-strip::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.thumbnail-item {
    transform: translateZ(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.thumbnail-item img {
    height: 100%;
    width: auto;
    min-width: 100%;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.4);
    object-position: center;
}

.thumbnail-item:hover {
    transform: translateZ(20px) scale(1.1);
    z-index: 10;
}

.thumbnail-item.active {
    transform: translateZ(40px) scale(1.15);
    z-index: 20;
    margin: 0 1rem;
}

.software-icons-circle {
    transform-style: preserve-3d;
}

.software-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.software-icon.active {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
    background: rgb(27 53 127);
    border-radius: 8px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Add these new styles */
.tooltip-wrapper {
    position: relative;
}

.custom-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.875rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

.tooltip-wrapper:hover .custom-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Modal styles */
.software-modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.software-modal-content {
    background: linear-gradient(to bottom right, #1a1a1a, #2d3748);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
}

.software-modal.active .software-modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Update tooltip styles */
.tooltip-wrapper {
    position: relative;
}

.custom-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(0, 0, 0, 0.9);
}

.tooltip-wrapper:hover .custom-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}