/* ============================================
   DIFFERENCE SECTION — Auto-Sliding Image Carousel
   Each image has its own rounded white border
   that slides with it during transitions.
   ============================================ */

/* Outer wrapper — just clips overflow, no visible border */
.difference__carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    align-self: start;
    overflow: hidden;
    border-radius: 24px;
}

/* Track — slides left via percentage */
.difference__track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Each slide — bordered rounded square that moves with the image */
.difference__slide {
    flex: 0 0 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.difference__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) sepia(30%) contrast(1.1) brightness(0.95);
}

/* Carousel Dots */
.difference__dots {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 2;
}

.difference__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background var(--duration-fast) var(--ease-out);
    cursor: pointer;
}

.difference__dot--active {
    background: var(--color-pure-white);
}

