.technologies {
    background: var(--bg-color);
    padding: 5rem 12% 3rem;
    overflow: hidden;
}

.technologies h2 {
    margin-bottom: 4rem;
    color: white;
    text-align: center;
}

.technologies-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 150px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}

.tech-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--main-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.tech-item i {
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 1rem;
    transition: 0.3s ease-in-out;
}

.tech-item:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.tech-item span {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
}
