body {
    background-color: #f8fafc;
    color: #0f172a;
    overflow-x: hidden;
}

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

/* Prevent text size adjustment on orientation change (iOS) */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Mobile tap highlight removal */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Custom scrollbar (desktop only) */
@media (min-width: 768px) {
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: #f1f5f9; }
    ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
}

/* Ensure images don't overflow their containers */
img {
    max-width: 100%;
    height: auto;
}
