/* Global Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
  color: #333;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Text Rendering & Selection */
body,
button,
input,
textarea {
  -webkit-font-smoothing: antialiased;
  font-smooth: always;
}

::selection {
  background: #8E2DE2;
  color: white;
}

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

/* Anchor Base Style */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Remove default list style */
ul,
ol {
  list-style: none;
}

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

/* Input Reset */
input,
textarea,
select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* Smooth Scrollbar (Optional, Customizeable) */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(#8E2DE2, #4A00E0);
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #e0e0e0;
}

/* Mobile Friendly Viewport Fix */
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
}
