*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile menu transitions */
#mobileMenu {
    pointer-events: none;
}

#mobileMenu.open {
    pointer-events: auto;
}

/* Subtle line decorations */
.section-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10, 92, 58, 0.3), transparent);
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(10, 92, 58, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 92, 58, 0.4);
}

/* Selection color */
::selection {
    background: rgba(10, 92, 58, 0.15);
    color: #0A5C3A;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
