.gallery-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: var(--color-white);
  transition: transform 0.3s ease;
  cursor: pointer;
  height: 100%;
  position: relative;

}

.gallery-card:hover {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.view-btn {
  background: var(--color-white);
  border-radius: 45%;
  padding: 6px 16px;
  font-size: 1.6rem;
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-info {
  padding: 15px;
}


#lightboxModal .modal-dialog {
  max-width: 100%;
  width: 100%;
  margin: 0; /* center se hata do */
}

#lightboxModal .modal-content {
  background: #2d688a52 !important;
  border: none;
  height: 90vh; 
  max-width: 90% !important;     
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;  
  position: relative; 
}

/* Image ko fullscreen responsive banao */

#lightboxModal .carousel-item img {
  height: 70vh;       
  width: auto;         
  object-fit: contain;
}
@media(max-width:480px){
  #lightboxModal .carousel-item img {
     height: 40vh;       
  }
  #lightboxModal .modal-content {
  height: 80vh; 
  max-width: 100% !important;     /* full height */

}
}
.custom-arrow {
  background: var(--color-white);        
  color: var(--color-blue);           
  border-radius: 50%;      
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;        
}

#lightboxModal .carousel-control-prev {
  left: 4rem; 
}
#lightboxModal .carousel-control-next {
  right: 4rem;
}
@media(max-width: 768px){
  #lightboxModal .carousel-control-prev {
    left: 1.5rem;
  }
  #lightboxModal .carousel-control-next {
    right: 1.5rem;
  }
}
#lightboxModal .btn-close {
  z-index: 1056; /* modal ke upar rahe */
  padding: 8px;
}

.video-card {
    cursor: pointer;
  }
  .video-card img {
    transition: transform 0.3s ease;
  }
  .video-card:hover img {
    transform: scale(1.05);
  }
.play-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 10px;
  background: rgba(0,0,0,0.3); /* halka transparent bg */
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  top: 32%;
}

.play-overlay i {
  font-size: 1.2rem;
}
.videos .modal-content{
  max-width: 60vw !important;   
}
@media (max-width:480px) {
  .videos .modal-content{
     max-width: 90vw !important;   
   }
}