.gallery-wrapper {
position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
    width: 100%;
    flex-direction: column;
}

.gallery-nav {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  border-radius: 4px;
  padding: 0 12px;
  height: 40px;
  margin: 0 10px;
  user-select: none;
  z-index: 10;
}

.gallery-nav:focus {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

/* Gallery uses grid with vertical flow and horizontal scroll */
.gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 250px;
    grid-template-rows: repeat(1, 220px);
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 99%;
    user-select: none;
    scrollbar-width: none;
    align-content: center;
    align-items: center;
}

.gallery::-webkit-scrollbar {
  display: none; /* Chrome/Safari hide scrollbar */
}

.gallery img {
  width: 250px;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.3s;
}

.gallery img:hover,
.gallery img:focus {
  outline: 2px solid #005fcc;
  transform: scale(1.05);
  outline-offset: 2px;
}

/* Lightbox overlay */
.lightbox, .lightbox2 {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem;
  text-align: center;
}

.lightbox.open, .lightbox2.open {
  display: flex;
}

.lightbox img, .lightbox2 img  {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  user-select: none;
  margin-bottom: 0.5rem;
}

/* Caption */
.lightbox-caption, .lightbox2-caption {
  color: #eee;
  font-size: 3rem;
  max-width: 90%;
  margin-bottom: 1rem;
  user-select: none;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  z-index: 10002;
}

/* Navigation buttons inside lightbox */
.nav-btn, .nav-btn2 {
  position: fixed;
  top: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  padding: 0.1em 0.5em;
  border-radius: 4px;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10001;
}

.prev-btn, .prev-btn2 {
  left: 10px;
}

.next-btn, .next-btn2 {
  right: 10px;
}

.nav-btn:focus, .nav-btn2:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}


.gdSliderSect{
  margin: 0 0 5% 0;
}

.btnWrap{

}