﻿.carousel-section {
    padding: 60px 0;
}

.carousel-block {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.carousel-wrapper {
    position: relative;
    width: 1000px; /* adjust size */
    height: 650px; /* adjust size */
    overflow: visible;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 80%;
    height: 80%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    opacity: 0;
}

    /* Visible slide */
    .slide.active {
        opacity: 1;
        z-index: 3;
        transform: scale(1);
    }

    /* Previous slide visible behind */
    .slide.prev {
        opacity: 0.4;
        z-index: 2;
        transform: translateX(-20px) scale(0.9);
    }

    /* Next slide visible behind */
    .slide.next {
        opacity: 0.4;
        z-index: 2;
        transform: translateX(20px) scale(0.9);
    }

/* Arrow Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 5;
}

.prev-btn {
    left: -50px;
}

.next-btn {
    right: -50px;
}

.nav-btn:hover {
    background: rgba(0,0,0,0.7);
}
.slide-text {
    font-family: 'Public Sans', sans-serif;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    color: #333;
}

/* Item container */
.carousel-item {
    position: absolute;
    width: 100%;
    height: 80%;
}

/* Pagination dots container */
.carousel-dots {
    margin-top: 12px;
    text-align: center;
}

    /* Individual dots */
    .carousel-dots .dot {
        display: inline-block;
        width: 11px;
        height: 11px;
        margin: 0 5px;
        border-radius: 50%;
        background-color: #bbb;
        cursor: pointer;
        transition: background 0.25s;
    }

        .carousel-dots .dot.active {
            background-color: #000;
        }
.card-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 20px;
    margin-bottom: 350px; /* space between the two carousels */
}

    .card-carousel .slides {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .card-carousel .slide {
        position: absolute;
        top: 0;
        left: 50%;
        transform-origin: center center;
        transition: transform 0.6s ease, opacity 0.6s ease;
        opacity: 0;
        transform: translateX(-50%) scale(0.85);
        filter: brightness(70%);
        z-index: 1;
    }

        .card-carousel .slide.active {
            opacity: 1;
            transform: translateX(-50%) scale(1);
            filter: brightness(100%);
            z-index: 3;
        }

        .card-carousel .slide.prev {
            opacity: 0.3;
            transform: translateX(-80%) scale(0.7);
            z-index: 2;
        }

        .card-carousel .slide.next {
            opacity: 0.3;
            transform: translateX(-20%) scale(0.7);
            z-index: 2;
        }

    .card-carousel img {
        width: 100%;
        border-radius: 12px;
        border: 1px solid #000;
    }

.slide-caption {
    font-family: "Public Sans", sans-serif;
    text-align: center;
    padding-top: 10px;
}

/* arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffffcc;
    border: 1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

    .arrow.left {
        left: 10px;
    }

    .arrow.right {
        right: 10px;
    }

/* Dots */
.dots {
    text-align: center;
    margin-top: -530px;
}

    .dots button {
        width: 12px;
        height: 12px;
        margin: 3px;
        border-radius: 50%;
        border: none;
        background: #bbb;
        cursor: pointer;
    }

        .dots button.active {
            background: #333;
        }
#video-section {
    width: 100%;
    padding: 40px 0;
    background: white;
}

.video-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    gap: 20px;
    padding: 20px;
}

.video-box {
    flex: 1;
    min-width: 300px;
}

video {
    height: 100%;
    border: 1px solid black;
    max-width: 350px;
    border-radius: 6px;
    display: block;
}