html,
body,
.bottom-footer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: white;
}

main {
  flex-grow: 1;
  margin-top: 80px;
  margin-bottom: 30px;
}

.body_images img {
  border-radius: 20px;
  transition: all 0.2s;
}

.body_images img:hover {
  border-radius: 20px;
  transform: translateY(-4px);
}

.carousel img {
  border-radius: 20px;
}

.carousel-wrapper {
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.carousel-inner .carousel-item img {
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1400px) {
  .carousel-wrapper {
    max-width: 900px;
  }
}

.ratio.ratio-21x9 {
  width: 100%;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.navbar-custom {
  background-color: #a1a2a4;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.navbar .nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-collapse .nav-link.active {
  color: #000000;
}

.navbar-collapse .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: #000000;
  border-radius: 3px;
}

.offcanvas .nav-link.active {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.navbar-custom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 90%;
  height: 10px;
  background: linear-gradient(90deg,
      #ff0000,
      #ff7f00,
      #ffff00,
      #00ff00,
      #0000ff,
      #4b0082,
      #9400d3,
      #ff0000);
  background-size: 400% 100%;
  animation: rainbowFlow 14s linear infinite;
  filter: blur(6px);
  opacity: 1;
  pointer-events: none;
  z-index: -1;

  clip-path: inset(5.3px -20px -20px -20px);
}

@keyframes rainbowFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: -400% 50%;
  }
}

.navbar-brand {
  padding: 0;
}

@media (min-width: 992px) {
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
}

.navbar-brand img {
  display: block;
  max-height: 40px;
}

.navbar-toggler {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23555' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22 M4 15h22 M4 23h22'/%3e%3c/svg%3e");
  background-size: 120% 120%;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 992px) {
  .navbar-nav {
    margin-right: 1rem;
  }
}

.offcanvas {
  background-color: #a1a2a4;
}

.offcanvas-header {
  background-color: #a1a2a4;
  max-height: 54px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.offcanvas.offcanvas-start {
  --bs-offcanvas-width: 80%;
}

.offcanvas-body .nav-link {
  color: #000000;
}

.footer-bottom {
  padding: 32px 0;
  text-align: center;
  font-size: .9rem;
  color: rgba(255, 255, 255, .5);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: black
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #000000;
  border-radius: 10px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
      #00ffff,
      #00ff77,
      #ff00ff,
      #ff7700,
      #ffff00);
  border-radius: 10px;
  border: 2px solid #000000;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,
      #00ccff,
      #00ff55,
      #dd00dd,
      #ff5500,
      #ffdd00);
}

.bg-tech {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -999;
  pointer-events: none;
  overflow: hidden;
  background: #000000;
}

.bg-tech::before,
.bg-tech::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.bg-tech::before {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #00ffff 0%, #0088ff 50%, transparent 70%);
  top: -30%;
  left: -25%;
  animation: move1 30s infinite linear;
}

.bg-tech::after {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #ff00aa 0%, #aa00ff 50%, transparent 70%);
  bottom: -35%;
  right: -20%;
  animation: move2 35s infinite linear;
}

@keyframes move1 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(220px, 150px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes move2 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-160px, -130px);
  }

  100% {
    transform: translate(0, 0);
  }
}

.event-card-bs {
  background: #000000 !important;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #ffffff !important;
}

.event-card-bs:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
  border-color: #ffffff !important;
}

.event-card-bs .ratio img {
  transition: transform 0.5s ease;
}

/* Footer & Separator Styling */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  margin-top: 3rem;
  background-color: rgba(0, 0, 0, 0.8);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffff, #ff00aa, transparent);
  opacity: 0.8;
}

.site-footer .hover-white:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}