/* Floating levitating logo styles */
.floating-logo {
  position: fixed;
  right: 100px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.floating-logo a {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15,23,42,0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
.floating-logo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  animation: levitate 3.6s ease-in-out infinite;
}
.floating-logo a:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 40px rgba(15,23,42,0.22);
}

@keyframes levitate {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* Responsive: show a smaller floating logo on small screens */
@media (max-width: 768px) {
  .floating-logo {
    display: flex;
    right: 80px;
    top: auto;
    bottom: 20px;
    transform: none; /* keep it centered vertically disabled */
  }
  .floating-logo a {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }
  .floating-logo img {
    animation-duration: 3s;
  }
}
