/* GLOBAL RESPONSIVE FIX */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    margin: 0;
    padding: 0;
}

/* Images should never exceed their containers */

img,
video,
iframe {
    max-width: 100%;
}

/* Prevent grid and flex children from expanding */

.container,
.about-container,
.services-container,
.services-grid,
.projects-container,
.project-card,
.service-card,
.about-content {
    min-width: 0;
}

/* Sections should stay within the viewport */

section,
main {
    max-width: 100%;
}

/* Prevent accidental horizontal page scrolling */

html,
body {
    overflow-x: clip;
}

/* Mobile text wrapping */

h1,
h2,
h3,
p,
a {
    overflow-wrap: break-word;
}