.fade-out-hero {
  animation: fade-out ease;
  animation-timeline: view();
  animation-range: exit;
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

@keyframes image-ghost {
  to {
    scale: 1.3;
  }
}

.image-ghost-hero {
  animation: image-ghost ease;
  animation-timeline: view();
  animation-range: exit;
}

/* Badge Glow Styles */

/* Base styles for the animated badge */

.badge.badge-animate, .badge.badge-animate-blue, .badge.badge-animate-red, .badge.badge-animate-white {
  position: relative;
  display: inline-block;
  padding: 0.75em 1.25em;
  overflow: visible;
  z-index: 1;
}

/* Glow effect for yellow (default) */

.badge.badge-animate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  z-index: -1;
  animation: glow-yellow 3s infinite;
}

/* Glow effect for blue */

.badge.badge-animate-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  z-index: -1;
  animation: glow-blue 2.5s infinite;
}

/* Glow effect for red */

.badge.badge-animate-red::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  z-index: -1;
  animation: glow-red 2.5s infinite;
}

/* Glow effect for white */

.badge.badge-animate-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  z-index: -1;
  animation: glow-white 2.5s infinite;
}

/* Keyframes for yellow glow */

@keyframes glow-yellow {
  0% {
    box-shadow: 0 0 0px 0px rgba(255, 231, 144, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 40px 30px rgba(255, 231, 144, 0);
    opacity: 0;
  }
}

/* Keyframes for blue glow */

@keyframes glow-blue {
  0% {
    box-shadow: 0 0 0px 0px rgba(144, 222, 255, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 40px 30px rgba(144, 222, 255, 0);
    opacity: 0;
  }
}

/* Keyframes for red glow */

@keyframes glow-red {
  0% {
    box-shadow: 0 0 0px 0px rgba(255, 0, 0, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 40px 30px rgba(255, 0, 0, 0);
    opacity: 0;
  }
}

/* Keyframes for white glow */

@keyframes glow-white {
  0% {
    box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 40px 30px rgba(255, 255, 255, 0);
    opacity: 0;
  }
}

body {
  background: black;
}

/* image opacity */

/* Apply transition to the image for smooth opacity change */

.fade-on-hover {
  transition: opacity 0.3s ease;
}

/* Change image opacity when hovering over the image */

.fade-on-hover:hover {
  opacity: 0.5;
}

/* Button Glow Styles */

/* Base styles for glowing buttons */

.button-glow-red, .button-glow-blue, .button-glow-green, .button-glow-yellow {
  position: relative;
  display: inline-block;
  overflow: visible;
  z-index: 1;
}

/* Red Glow */

.button-glow-red::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: inherit;
  z-index: -1;
  animation: button-glow-red 5s infinite;
}

/* Blue Glow */

.button-glow-blue::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: inherit;
  z-index: -1;
  animation: button-glow-blue 3s infinite;
}

/* Green Glow */

.button-glow-green::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: inherit;
  z-index: -1;
  animation: button-glow-green 3s infinite;
}

/* Yellow Glow */

.button-glow-yellow::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: inherit;
  z-index: -1;
  animation: button-glow-yellow 3s infinite;
}

/* Keyframes for Red Glow */

@keyframes button-glow-red {
  0% {
    box-shadow: 0 0 0px 0px rgba(255, 0, 0, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 40px 20px rgba(255, 0, 0, 0);
    opacity: 0;
  }
}

/* Keyframes for Blue Glow */

@keyframes button-glow-blue {
  0% {
    box-shadow: 0 0 0px 0px rgba(0, 0, 255, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 40px 20px rgba(0, 0, 255, 0);
    opacity: 0;
  }
}

/* Keyframes for Green Glow */

@keyframes button-glow-green {
  0% {
    box-shadow: 0 0 0px 0px rgba(0, 255, 0, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 40px 20px rgba(0, 255, 0, 0);
    opacity: 0;
  }
}

/* Keyframes for Yellow Glow */

@keyframes button-glow-yellow {
  0% {
    box-shadow: 0 0 0px 0px rgba(255, 255, 0, 0.7);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 40px 20px rgba(255, 255, 0, 0);
    opacity: 0;
  }
}

#header-hr {
  margin: 1rem 0;
  color: inherit;
  border: 1rem;
  border-top: var(--bs-light-text-emphasis) solid;
  opacity: .25;
}

/* swiper */

