/* Custom styles beyond Tailwind */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

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

.animate-float-delay {
    animation: float-delay 4.5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ef;
}
::-webkit-scrollbar-thumb {
    background: #9ec39e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6fa36f;
}

/* Focus visible styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #4d804d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #c7dfc9;
    color: #1c2e1c;
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 8px rgba(45, 74, 45, 0.08);
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ button active state */
.faq-btn.active {
    background: #f2f7f4;
}

.faq-btn.active .faq-icon {
    transform: rotate(45deg);
}

/* Card hover lift */
.reveal {
    will-change: transform, opacity;
}
