/* =====================================================================
   RESET.CSS — Modern CSS Reset for Consistency Across Browsers
   ===================================================================== */

/* 1. Set box-sizing globally */
*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. Remove default margin, padding, border */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

/* 3. Set core body defaults */
body {
    line-height: 1.5;
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 4. Remove list styles on ul, ol elements */
ul, ol {
    list-style: none;
}

/* 5. Remove quotes from blockquotes and q */
blockquote, q {
    quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
    content: '';
    content: none;
}

/* 6. Remove default table spacing */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 7. Remove default button, input, textarea styles */
button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
button, input {
    overflow: visible;
}
button, select {
    text-transform: none;
}
button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}

/* 8. Remove default link styles */
a {
    background-color: transparent;
    color: inherit;
    text-decoration: none;
}

/* 9. Remove outline for focused elements (customize as needed) */
:focus {
    outline: none;
}

/* 10. Set images and media to be responsive by default */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 11. Remove all animations and transitions for people that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
