.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;
}
	
}
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
}

.image-modal .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.image-modal .close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
}

.image-modal .close:hover {
  color: #ccc;
}

.image-modal .nav-arrow {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: white;
  padding: 12px;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  transition: 0.3s;
  z-index: 10000;
}

.image-modal .nav-arrow.left {
  left: 30px;
}

.image-modal .nav-arrow.right {
  right: 30px;
}

.image-modal .nav-arrow:hover {
  color: #ccc;
}


.image-modal .modal-content {
    background: #fff;
    padding: 10px;
}