/* =====================================
   GLOBAL RESET + RESPONSIVE SAFE BASE
===================================== */

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

/* Prevent horizontal scroll everywhere */
html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Images fully responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Remove link default style */
a {
    text-decoration: none;
    color: inherit;
}

/* Button reset */
button {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* List reset */
ul, ol {
    list-style: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent text overflow breaking layout */
h1, h2, h3, h4, h5, h6, p {
    overflow-wrap: break-word;
}

/* Make media responsive */
video, iframe {
    max-width: 100%;
}

/* Improve touch feel on mobile */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
}