.slider-wrapper { width: 100%; margin: 0px auto; text-align: center; }
    
.main-slider { 
  width: 100%; height: 400px; 
  position: relative; 
  overflow: hidden; 
  background:#000; 
}
.main-slider img, 
.main-slider video, 
.main-slider iframe { 
  width: 100%; height: 100%; 
  object-fit: cover; 
  display: none; 
}
.main-slider .active { display: block; }

/* Arrows */
.arrow {
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  font-size: 0px; 
  color: white; 
  padding: 5px 15px; 
  cursor: pointer; 
  border-radius: 5px;
  user-select: none;
}
.arrow.left { left: 15px; }
.arrow.right { right: 30px; }

/* Thumbnails */
.thumbnail-carousel { 
  margin-top: 15px; 
  display: flex; 
  justify-content: center; 
  gap: 10px; 
  flex-wrap: wrap;
}
.thumbnail-carousel img { 
  width: 100px; height: 60px; 
  object-fit: cover; 
  cursor: pointer; 
  opacity: 0.6; 
  border:2px solid transparent; 
  border-radius:4px; 
}
.thumbnail-carousel img.active { 
  opacity: 1; 
  border-color:#007bff; 
}

/* Play icon for video thumbs */
.thumb {
  position: relative;
  display: inline-block;
}

.thumb.video-thumb::after {
  content: "";
  background: url('https://www.mkbcompany.com/wp-content/uploads/2025/08/play-button.png') no-repeat center center;
  background-size: 40px 40px;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* click passes through */
}

.arrow.left:after {
    border: 0;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    content: "";
    height: 45px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    transform: rotate(45deg);
    width: 45px;
}

.arrow.right:after {
    border: 0;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    content: "";
    height: 45px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    transform: rotate(225deg);
    width: 45px;
}

@media screen and (max-width:600px) {
.thumbnail-carousel img {
    width: 60px;
}
	
}