    /* Video background styling */
    .bgvideo {
      position: relative;
      overflow: hidden;
    }
    .bgvideo video {
      position: absolute;
      top: 50%;
      left: 50%;
      width: auto;
      height: 100%;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      z-index: -1;
    }

    /* Fade-in-up animation */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .fade-in-up {
      animation: fadeInUp 0.8s ease-out forwards;
    }

.gallery-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out,
              transform 0.6s ease-out;
}

/* Visible state */
.gallery-item.in-view {
  opacity: 1;
  transform: translateY(0);
}
#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure loader is above other content */
}