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

body {
    /* Ensure font rendering is smooth */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

::-webkit-scrollbar-thumb {
    background: #99f6e4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5eead4;
}

/* Subtle pattern for the cream background */
.bg-cream {
    background-color: #fafaf9;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Animation for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hide elements initially for JS reveal if needed, 
   but standard visibility is preferred for accessibility */
