/* Custom Global Styles for MIRU Digital Services */

/* Base HTML/Body Settings for smooth scrolling and proper layout */
html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    /* Prevent horizontal scrollbar from wide elements */
    overflow-y: auto;
    /* Explicitly allow vertical scroll */
    position: relative;
    width: 100%;
}

/* Utility to disable pointer events on hidden overlays */
.pointer-events-none-if-hidden[aria-hidden="true"] {
    pointer-events: none;
    visibility: hidden;
}

/* Fix for mobile 100vh issue */
.min-h-screen-safe {
    min-height: 100vh;
    /* Fallback */
    min-height: 100dvh;
}

/* Animations that are not in Tailwind config */
.will-change-transform {
    will-change: transform, opacity;
}