.carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 2em auto;
    border-radius: 8px;
    overflow: hidden;
}

.project-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.project-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 10;
    border-radius: 4px;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}