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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--background);
  color: var(--text);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", "Poppins", serif;
  color: var(--heading);
}

.container {
  width: min(1200px, 90%);
  margin: auto;
  position: relative;
  z-index: 1;
}

/* Consistent keyboard focus visibility across all interactive elements */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(79, 133, 119, 0.5);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: var(--primary-light);
  color: var(--heading);
}
