/* Basic Reset CSS */
/* Removes margin, padding, and border for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensures a consistent border-box model */
html {
    box-sizing: border-box;
    font-size: 100%; /* Ensures font size consistency */
    scroll-behavior: smooth; /* Adds smooth scrolling */
}

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

/* Resets body defaults */
body {
    line-height: 1.5;
    font-family: sans-serif; /* Set a default font-family */
    background: #fff;
    color: #000;
    text-rendering: optimizeSpeed; /* Improves rendering performance */
}

/* Remove list styles */
ol, ul {
    list-style: none;
}

/* Reset links */
a {
    text-decoration: none;
    color: inherit; /* Ensures links inherit text color */
}

/* Reset headings */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* Reset images */
img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Reset tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Reset form elements */
button, input, select, textarea {
    font: inherit;
    background: none;
    border: none;
    outline: none;
    appearance: none;
}

button {
    cursor: pointer;
}

/* Reset figures */
figure {
    margin: 0;
}

/* Ensure consistent media element display */
audio, canvas, video {
    display: block;
}
