/* Gallery Carousel Styles */
.nt-gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.nt-gallery .item {
  display: block;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}

.nt-gallery .item img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  transition: all 0.3s ease;
}

.nt-gallery.l-border .item img {
  border: 1px solid #e0e0e0;
}

.nt-gallery.shadow .item img {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Center item scaling effect */
.nt-gallery .owl-item.center .item {
  transform: scale(1.2);
  z-index: 5;
}

.nt-gallery .owl-item.center .item img {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Owl Carousel Navigation */
.nt-gallery .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.nt-gallery .owl-nav button {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  outline: none;
}

.nt-gallery .owl-nav button:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nt-gallery .owl-nav .owl-prev {
  left: 10px;
}

.nt-gallery .owl-nav .owl-next {
  right: 10px;
}

/* Owl Carousel Dots */
.nt-gallery .owl-dots {
  text-align: center;
  margin-top: 15px;
}

.nt-gallery .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.nt-gallery .owl-dots .owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nt-gallery .owl-dots .owl-dot.active span,
.nt-gallery .owl-dots .owl-dot:hover span {
  background: #333;
}

/* Ensure proper display */
.nt-gallery.owl-carousel {
  display: block;
}

.nt-gallery .owl-stage-outer {
  overflow: hidden;
  padding: 20px 0;
}

.nt-gallery .owl-stage {
  display: flex;
  align-items: center;
}

.nt-gallery .owl-item {
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-touch-callout: none;
  position: relative;
}