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

body {
    /* Prevent layout shift on load */
    opacity: 1;
}

/* Smooth reveal animations for scroll sections */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Ensure images don't cause CLS */
img {
    max-width: 100%;
    height: auto;
}

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

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

::-webkit-scrollbar-thumb {
    background: #9bb99e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f7552;
}
