/* Custom Animations & Utilities */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F8FAFC;
}

::-webkit-scrollbar-thumb {
    background: #0D9488;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0F766E;
}

/* Mobile Menu Transitions */
#mobile-menu-btn.active #line1 {
    transform: rotate-45deg;
    position: absolute;
    top: 12px;
}

#mobile-menu-btn.active #line2 {
    opacity: 0;
}

#mobile-menu-btn.active #line3 {
    transform: rotate(-45deg);
    position: absolute;
    bottom: 12px;
}

/* Navigation Scroll State */
.nav-scrolled #nav-bg {
    opacity: 1;
}

.nav-scrolled nav {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Focus Styles for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0D9488;
    outline-offset: 2px;
}
