body {
  background-color: #ffffff !important;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.1);
}

.modal-dialog {
  max-width: 90%;
}

.modal-body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000;
  color: white;
  user-select: none;
}

.slider-nav.prev {
  left: 10px;
}

.slider-nav.next {
  right: 10px;
}

@media (max-width: 768px) {
  .slider-nav {
    font-size: 1.5rem;
  }
}

.modal-body img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 5px;

}

.modal-dialog {
  max-width: 90%;
}

@media (max-width: 768px) {
  .modal-body img {
    max-height: 70vh;
  }
}

#galleryContainer {
  padding-bottom: 30px;
}

/* Scrollbar hiding */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Ensure smooth scrolling */
.category-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.filter-btn {
  transition: all 0.3s ease;
}