/* Carousel Container */
.carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Carousel Inner Container */
.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Carousel Card */
.carousel-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    width: 280px; /* Adjusted width to fit three cards */
    height: 350px;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    overflow-y: auto;
}

/* Hover effect for cards */
.carousel-card:hover {
    transform: scale(1.05);
}

/* Image Styling */
.carousel-card img {
    width: 100%;
    height: 200px; /* Adjusted height for proportion */
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Paragraph Styling */
.carousel-card p {
    color: #555;
    font-size: 0.9em;
    line-height: 1.6em;
    margin-top: 0;
}

/* Carousel Control Styling */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 0;
}

/* Left Control Styling */
.carousel-control.left {
    left: 10px;
}

/* Right Control Styling */
.carousel-control.right {
    right: 10px;
}
