﻿
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    box-sizing: border-box;

}

.carousel-card {
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 1rem auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-card-inner {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    gap: 1rem;
    align-items: flex-start;
}

.carousel-image {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .carousel-image img {
        max-width: 100%;
        max-height: 180px;
        border-radius: 6px;
    }

.carousel-details {
    flex: 1;
}

    .carousel-details h6 {
        margin-bottom: 0.5rem;
    }

    .carousel-details p {
        margin: 0.25rem 0;
    }


.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}


