.component {
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
}

.component img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.img-container {
    height: 180px;
}

.description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 18px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.component:hover .img-container img {
    transform: translateY(-20%);
}

.component:hover .description {
    transform: translateY(0);
}

.cs-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
    text-align: center;
}

.icon {
    margin-right: 5px; /* Adjust the margin as needed */
    padding-right: 5px;
}

/* Carousel image container */

.carousel-container {
    /*width: 100%;*/
    height: 80%;
    overflow: hidden;
    position: relative;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%; /* Adjust the width of each image container */
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
}

.carousel-item img {
    width: 100%; /* Make images fill their containers */
    height: 400px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
}

.carousel-prev {
    left: 0;
    margin-left: 30px;
}

.carousel-next {
    right: 0;
    margin-right: 30px;
}