/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

body {
    /* Ensure text color is readable on light backgrounds */
    color: #1e293b;
}

/* Hero Animation - only applies if JS is enabled, but default state is visible */
.hero-anim {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-anim, .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar transition states */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.nav-transparent {
    background-color: transparent;
}

/* Form focus states */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.5);
}

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

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
