/* Dark Theme + Animations for Muzamil's Portfolio */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #fff;
  scroll-behavior: smooth;
}

.container {
  text-align: center;
  padding: 40px 20px;
  animation: fadeInDown 1.2s ease-out;
}

header {
  background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
  padding: 40px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
  font-size: 2.8rem;
  margin: 0;
  color: #00f7ff;
}

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

nav {
  margin-top: 20px;
}

nav a {
  color: #0ff;
  margin: 0 12px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #0ff;
  left: 0;
  bottom: -5px;
  transition: width 0.4s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #fff;
}

.section {
  padding: 60px 20px;
  max-width: 800px;
  margin: auto;
  animation: fadeIn 1.5s ease;
}

.section h2 {
  color: #00f7ff;
  margin-bottom: 20px;
  font-size: 2rem;
}

.section ul {
  list-style: none;
  padding: 0;
}

.section li {
  margin-bottom: 12px;
  padding: 8px;
  background-color: #1e1e1e;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.section li:hover {
  transform: translateX(10px);
  background-color: #2c2c2c;
}

footer {
  text-align: center;
  padding: 20px;
  background: #000;
  font-size: 0.9rem;
  color: #aaa;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInDown {
  from {opacity: 0; transform: translateY(-30px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media screen and (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  .section h2 {
    font-size: 1.5rem;
  }
}
