.main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-container {
    width: 90%;
    width: 500px;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-sizing: border-box;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform .6s ease; /* Smooth animation */
    border-radius: 8px;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    height: 90%;
    max-width: 90vw;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    gap: 12px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: var(--themePurple);
    opacity: 0.5;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    opacity: 1;
    transform: scale(1.2);
}