/* Modern CSS Reset 
    Ensures consistent behavior across all browsers
*/

/* 1. Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margins and padding */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
  padding: 0;
}

/* 3. Remove list styles (bullets/numbers) */
ul,
ol {
  list-style: none;
}

/* 4. Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased; /* Makes fonts look sharper on Mac */
}

/* 5. Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* 6. Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Remove animations for people who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 8. Fix anchor tags */
a {
    text-decoration: none;
    color: inherit;
}

/* 9. Ensure buttons have a pointer cursor */
button, 
.btn-red, 
.btn-outline, 
.btn-contact {
    cursor: pointer;
}