/* CSS Reset - Modern Reset Styles */
/* TechOPC - 2024 */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Remove default margins and paddings */
h1, h2, h3, h4, h5, h6,
p, blockquote, figure,
ol, ul, li, dl, dt, dd {
    margin: 0;
    padding: 0;
}

/* Remove list styles */
ol, ul {
    list-style: none;
}

/* Remove default table spacing */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default form element styling */
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

/* Remove default button styling */
button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Remove default link styling */
a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Image defaults */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Form element defaults */
input, button, textarea, select {
    font: inherit;
}

/* Remove default textarea resize */
textarea {
    resize: vertical;
}

/* Remove default fieldset styling */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

/* Remove default legend styling */
legend {
    padding: 0;
}

/* Accessibility improvements */
[hidden] {
    display: none !important;
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
}
