/* Custom styles for Nephrology Kids Kidney Center */

html {
    scroll-behavior: smooth;
}

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

/* Subtle line decorations */
section::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #d4714a;
    margin-bottom: 1.5rem;
}

/* Smooth transitions for interactive elements */
a, button {
    transition: all 0.2s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8ef;
}
::-webkit-scrollbar-thumb {
    background: #e9b49a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4714a;
}

/* Reduced 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;
    }
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #d4714a;
    outline-offset: 2px;
    border-radius: 4px;
}
