/* Custom Keyframe Animations */

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bubblePulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.08);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Animation Utility Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-bubble-pulse {
    animation: bubblePulse 4s infinite ease-in-out;
}

.animate-marquee {
    animation: marquee 18s linear infinite;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* Scroll & Stacking Context Fixes */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Prevent layout shifts during marquee scroll */
.animate-marquee {
    animation: marquee 18s linear infinite;
    will-change: transform;
}


.footer-copyright {
    display: flex;
    justify-content: space-between; /* Pushes first item to left, second to right */
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    box-sizing: border-box;
  }

  /* Responsive layout for mobile screens */
  @media (max-width: 600px) {
    .footer-copyright {
      flex-direction: column; /* Stacks items vertically on small screens */
      gap: 8px;
      text-align: center;
    }
  }