*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

::selection {
    background: var(--color-primary);
    color: #fff;
}

/* Custom Scrollbar Premium */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-green);
    background-image: linear-gradient(to bottom, var(--color-green), var(--color-blue));
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-green-dark);
    background-image: linear-gradient(to bottom, var(--color-green-dark), var(--color-blue-dark));
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-green) var(--color-bg);
}
