/* Custom styles that extend Tailwind */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for a polished look */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #9bc1a3;
    border-radius: 4px;
}

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

/* Animation utility classes */
.scroll-trigger {
    /* Default state is visible for accessibility, JS adds the animation class */
}

.scroll-trigger.animated {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(77, 128, 88, 0.2);
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
