.carousel {
    overflow: hidden;
    position: relative;
    z-index: 0;
    cursor: grab;
}

.carousel:active {
    cursor: grabbing;
}

.carousel-cell {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    width: 100%;
    height: 100%;
}

.carousel-cell.active {
    opacity: 1;
}

.carousel-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 13px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.carousel-dot-wrapper {
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-dot {
    width: 60px;
    height: 4px;
    border-radius: 10px;
    border: none;
    background: #ffffff;
    opacity: 0.25;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.carousel-dot-wrapper:hover .carousel-dot:not(.active) {
    opacity: 0.45;
}
.carousel-dot.active {
    opacity: 1;
}

.flex-carousel {
    flex: 0 0 55%;
    width: 55%;
    margin-top: 4rem;
    position: relative;
    aspect-ratio: 3/2; /* Modern browsers */
}

.carousel-caption {
    position: relative;
    left: 50%;
    bottom: 80px;
    color: #ffffff;
    text-align: center;
    transform: translate(-50%);
    font-size: 1.3rem;
}