
  /* Position the GIF in the bottom-right corner */
  .scroll-gif {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px; /* Adjust the size as needed */
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
  }

  /* Forward and backward hover animation */
  .scroll-gif:hover {
    animation: moveForwardBackward 1s ease-in-out infinite;
  }

  @keyframes moveForwardBackward {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }

  /* Scroll-based movement */
  .scroll-up {
    animation: moveUp 1.5s ease-in-out forwards;
  }

  .scroll-down {
    animation: moveDown 1.5s ease-in-out forwards;
  }

  @keyframes moveUp {
    from { transform: translateY(10px); }
    to { transform: translateY(-10px); }
  }

  @keyframes moveDown {
    from { transform: translateY(-10px); }
    to { transform: translateY(10px); }
  }
  .video-container {
    position: relative;
    width: 100%;
    height: 50vh; /* Full height of the viewport */
    overflow: hidden;
  }
  
  .video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
  }
  
  .video-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1;
  }
  
  .title-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
  }
  
  .video-title {
    color: white;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Optional: Text shadow for better readability */
    margin-bottom: 20px; /* Space between title and button */
  }
  
  .button-container {
    text-align: center;
  }
  
  .btn {
    font-size: 18px;
    padding: 10px 20px;
  }
  
  @media (max-width: 768px) {
    .video-title {
      font-size: 24px;
    }
  
    .btn {
      font-size: 16px;
      padding: 8px 16px;
    }
  }
  
  .carousel-item img {
    filter: brightness(100%);
  }
  
  .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 40px;
    
    
  }
  
  .carousel-caption h3 {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Make sure carousel is responsive */
  .carousel-inner img {
    width: 100%;
    height: auto;
  }
  .carousel-item {
    transition: opacity 1.5s ease-in-out;
  }
  
  .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .carousel-fade .carousel-item.active {
    opacity: 1;
  }
  
  .carousel-fade .carousel-item-next.carousel-item-left,
  .carousel-fade .carousel-item-prev.carousel-item-right,
  .carousel-fade .carousel-item.active {
    transform: translateX(0);
  }
  
  .carousel-fade .carousel-item-next,
  .carousel-fade .carousel-item-prev,
  .carousel-fade .carousel-item.active,
  .carousel-fade .carousel-item-next.carousel-item-left,
  .carousel-fade .carousel-item-prev.carousel-item-right {
    transition: opacity 0.5s ease;
  }
  
  