/* Custom styles that complement Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Poppins', sans-serif;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Animation for fade-in elements */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure mobile menu transitions nicely */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}
#mobile-menu:not(.hidden) {
    max-height: 300px;
    opacity: 1;
}
