#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -999; /* pushes behind everything */
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

.michroma-regular {
  font-family: "Michroma", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: #18181b;
  color: #e5e7eb;
  line-height: 1.6;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* Section styling */
section {
  position: relative;
  margin: 100px auto;
  max-width: 900px;
  background: #23232a;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

/* First section (main) special styling */
section#intro {
  margin-top: 120px;
  text-align: center;
  background: transparent;
  box-shadow: none;
  max-width: 900px;
}

/* Typography */
h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #e5e7eb;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #e5e7eb;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #38bdf8;
  border-radius: 2px;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

/* Skills list styling */
ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

li {
  background: #18181b;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #38bdf8;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #e5e7eb;
}

li:hover {
  transform: translateX(5px);
  background: #23232a;
  color: #38bdf8;
  box-shadow: 0 5px 20px rgba(56, 189, 248, 0.2);
}

li:hover::before {
  color: #23232a;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

input,
textarea {
  padding: 1rem 1.5rem;
  border: 2px solid #23232a;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #18181b;
  color: #e5e7eb;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
  background: #23232a;
  color: #e5e7eb;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  padding: 1rem 2rem;
  background: #38bdf8;
  color: #18181b;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.2);
  background: #23232a;
  color: #38bdf8;
}

button:active {
  transform: translateY(0);
}

/* Responsive design */
@media (max-width: 1000px) {
  section {
    max-width: 95vw;
    margin: 100px 1rem 40px 1rem;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  section {
    padding: 1.5rem;
  }
}
