 .image-box {
      position: relative;
      width: 350px; /* fixed width for each box */
	  padding:1px;
    }

    .image-box img {
      height: 450px;
      object-fit: cover;
      width: 100%;
      border-radius: 3px;
    }

    .overlay-title {
  position: absolute;
  bottom: 0;
  left: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  background: rgba(0,0,0,0.8);
  padding: 10px 5px;
  font-weight: 500;
  font-size: 1rem;
  border-top-right-radius: 6px;
}
.image-box {
  position: relative;
  width: 350px;
  height: 450px;
  overflow: hidden;
  border-radius: 3px;
  transition: all 0.4s ease-in-out;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}

/* On hover, expand box and image */
.image-box:hover {
  width: 100%;              /* take full width */
             /* half of viewport height */
  z-index: 10;              /* keep it above others */
}

.image-box:hover img {
  width: 100%;
  
  object-fit: cover;
}



    /* Optional: smooth horizontal scroll */
    .scroll-container {
      overflow-x: auto;
      white-space: nowrap;
      padding-bottom: 10px;
    }

    .scroll-container::-webkit-scrollbar {
      height: 8px;
    }

    .scroll-container::-webkit-scrollbar-thumb {
      background: #ccc;
      border-radius: 4px;
    }

    .scroll-container::-webkit-scrollbar-track {
      background: #f5f5f5;
    }
	
	/* Hide desktop scroll on mobile */
@media (max-width: 767px) {
  .scroll-container {
    display: none !important;
  }
  .mobile-carousel {
    display: block;
  }
}

/* Hide carousel on desktop */
@media (min-width: 768px) {
  .mobile-carousel {
    display: none;
  }
}

/* Ensure carousel images are full width */
.mobile-carousel .image-box {
  width: 100%;
  height: 250px; /* adjust for mobile height */
}

.mobile-carousel .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}