.work-inner-container {
  width: 100%;
  padding: 0 28px;
  color: white;
}

.work-inner-content-wrapper {
  background-color: black;
}

.gradient-bg-mobile {
  display: none;
  pointer-events: none;
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100vh + 400px);
  min-height: 1000px;
}

.gradient-bg {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100vh + 500px);
  min-height: 1200px;
}

@media (min-width: 769px) {
  .work-inner-container {
    max-width: 1218px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .gradient-bg-mobile {
    display: block;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 5%,
        rgba(0, 0, 0, 0.5) 15%,
        rgba(0, 0, 0, 0.7) 25%,
        rgba(0, 0, 0, 0.85) 35%,
        rgba(0, 0, 0, 0.95) 50%,
        rgba(0, 0, 0, 1) 65%,
        rgba(0, 0, 0, 1) 100%);
  }
}

@media (width >=64rem) {
  .gradient-bg {
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 5%,
        rgba(0, 0, 0, 0.5) 15%,
        rgba(0, 0, 0, 0.7) 25%,
        rgba(0, 0, 0, 0.85) 35%,
        rgba(0, 0, 0, 0.95) 50%,
        rgba(0, 0, 0, 1) 65%,
        rgba(0, 0, 0, 1) 100%);
  }
}

.heading-top {
  margin-top: 57px !important;
}

.inner-margin-top {
  margin-top: 5px !important;
}

/* LIGHTBOX */
.work-gallery-item {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.image-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.image-lightbox-overlay.open {
  display: flex;
}

.image-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.image-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 32px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
}

.image-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 32px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
}

.image-lightbox-prev {
  left: 16px;
}

.image-lightbox-next {
  right: 16px;
}

@media (max-width: 640px) {
  .image-lightbox-arrow {
    font-size: 24px;
    padding: 6px 10px;
  }
}
/* Scale Image */
.work-gallery-item img {
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: center;
}

.work-gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}