/* Global Styles */
body {
  background-color: #000;
  color: #fff;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  scroll-behavior: smooth;
}

/* Header */
header {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(90deg, #111, #222, #111);
  border-bottom: 1px solid #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

p {
  color: #ccc;
  font-size: 1.1rem;
}

/* Main Layout */
main {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* Four-column layout */
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(350px, 1fr));
  gap: 2rem;
}


/* Section Titles */
h2 {
  border-left: 4px solid #00bfff;
  padding-left: 10px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}

h2:hover {
  color: #00bfff;
  border-color: #1e90ff;
}

/* Link Lists */
ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 0.6rem 0;
  background: #111;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
}

li:hover {
  background: #1a1a1a;
  transform: translateX(6px);
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
}

a {
  color: #00bfff;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #44ff1e;
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid #333;
  color: #777;
  font-size: 0.9rem;
  background: #0a0a0a;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 850px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }
}
