
.carousel-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
 
    overflow: hidden;
    background-color: white;
}

.content-container {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
   
}

.content {
    display: none;
   /* padding-left: 60px;*/
   padding-left: 100px;
}

.content.active {
    display: block;
}

.swiper-container {
    width: 60%;
    height: 100%;
   
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: 260px;
    height: 350px;
    cursor: pointer;
    border-radius: 10px;
   opacity: 0.5;
}

.image-overlay {
    position: relative;
    width: 260px;
    height: 350px;
}

.overlay-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
  
    background: #F97B03;
    color: white;
    padding: 10px;
    text-align: center;
   
    opacity: 1;
    transition: opacity 0.3s ease;
 
}

.overlay-content h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.overlay-content p {
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.image-overlay:hover .overlay-content {
    opacity: 1;
}
.swiper-slide img:hover {
    opacity: 1 !important; /* Full opacity on hover */
}
.image-overlay:hover .overlay-content {
    opacity: 1;
}
/* Mobile responsiveness */
/* Mobile responsiveness */
@media (max-width: 768px) {
    .swiper-container {
        width: 100%;
        height: 300px;
    }

    .swiper-slide {
        display: flex;
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
    }

    .swiper-slide img {
        width: 200px;
        height: 280px;
    }

    .image-overlay {
        width: 200px;
        height: 280px;
    }
    .content {
        display: none;
        padding-left: 15px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        display: block;
        
    }

    .swiper-slide {
        width: 100%;
        display: flex !important;
        justify-content: center !important; /* Center horizontally */
        align-items: center !important; /* Center vertically */
    }

    .swiper-container {
        height: 450px;
    }

    .swiper-slide img {
        display: block;
        margin-right: auto;
      margin-left: auto;
       
      width: 350px;
      height: 450px;
    }

    .image-overlay {
        width: 350px;
        height: 450px;
    }
    .overlay-content {
     
        width: 350px;
        height: 80px;
    }
    .overlay-content h3 {
        font-size: 14px;
    }

    .overlay-content p {
        font-size: 12px;
    }
    .content {
        display: none;
        padding-left: 15px;
    }
}
