/* Tech Carousel Styles - Updated for Perfect Loop */

.tech-carousel-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    position: relative !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
}

.tech-carousel {
    display: flex !important;
    gap: 30px !important;
    /* Gap between items */
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 20px 0 !important;
    /* Removed side padding to align accurately */
    width: 100% !important;
    max-width: 900px !important;
    /* Limit width to fit items nicely */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-snap-type: x mandatory !important;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent) !important;
}

.tech-carousel::-webkit-scrollbar {
    display: none !important;
}

.tech-logo-item {
    flex: 0 0 120px !important;
    /* Fixed width */
    scroll-snap-align: center !important;
    /* Center focus */
    min-width: 120px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

.carousel-btn {
    background: #FFFFFF !important;
    border: 1px solid #DDD3C7 !important;
    color: #4B5563 !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    flex-shrink: 0 !important;
    z-index: 10 !important;
}

.carousel-btn:hover {
    background: #F6F1EB !important;
    border-color: #C17C5B !important;
    color: #C17C5B !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 16px rgba(193, 124, 91, 0.2) !important;
}

.carousel-btn svg {
    width: 32px !important;
    height: 32px !important;
    stroke-width: 3px !important;
    stroke: #000000 !important;
    color: #000000 !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .tech-logo-item {
        flex: 0 0 100px !important;
        min-width: 100px !important;
    }
}