* {
  -webkit-transition: all 0.4s ease-out !important;
  -moz-transition: all 0.4s ease-out !important;
  -ms-transition: all 0.4s ease-out !important;
  -o-transition: all 0.4s ease-out !important;
  transition: all 0.4s ease-out !important;
}

.nav-pills .nav-link {
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  text-transform: uppercase;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.nav-pills .nav-link.active:hover {
  background: #4cb8c4;
  background: linear-gradient(135deg, gold, #6c757d);
  border-radius: 100px;
  text-decoration: none;
  color: white;
}
.nav-pills .nav-link:hover {
  background: #4cb8c4;
  background: linear-gradient(135deg, rgba(249, 70, 67, 0.123), gold);
  border-radius: 100px;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.image-modal-content {
  max-width: 70vw;
  max-height: 80vh;
  position: relative;
  text-align: center;
}

.image-modal-content img#mainImage {
  width: 70vw;
  height: 70vh;
  object-fit: contain;
  border-radius: 10px;
}

.related-images {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.related-images img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 5px;
  transition: transform 0.2s ease-in-out;
}

.related-images img:hover {
  transform: scale(1.05);
}

.close-btn {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .image-modal-content img#mainImage {
    width: 90vw;
    height: 60vh;
  }

  .related-images img {
    width: 80px;
    height: 60px;
  }
}

.overlay-container {
  position: relative;
  cursor: pointer;
}

.overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.overlay-container:hover .overlay-icon {
  opacity: 1;
}
