/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

input, 
textarea, 
select {
    outline: none;
    font-family: inherit;
}

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

ul, 
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: inherit;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default form styling */
button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

/* Correct the inability to style clickable types in iOS and Safari */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    appearance: button;
}

/* Remove inner border and padding in Firefox */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/* Restore the focus styles unset by the previous rule */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/* Remove default styling for fieldset */
fieldset {
    padding: 0;
    margin: 0;
    border: 0;
    min-width: 0;
}

/* Remove default styling for legend */
legend {
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
    color: inherit;
}

/* Remove default styling for progress */
progress {
    vertical-align: baseline;
}

/* Remove default styling for textarea */
textarea {
    overflow: auto;
    resize: vertical;
}

/* Correct styling for checkbox and radio inputs */
[type="checkbox"],
[type="radio"] {
    padding: 0;
}

/* Correct styling for number inputs */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/* Correct styling for search inputs */
[type="search"] {
    -webkit-appearance: textfield;
    appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/* Correct styling for file upload button */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Remove default styling for summary */
summary {
    display: list-item;
}

/* Accessibility improvements */
[hidden] {
    display: none !important;
}

/* Focus styles for better accessibility */
:focus-visible {
    outline: 2px solid #6B46C1;
    outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}