/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Navbar */
header {
  background: #222;
  color: #fff;
  padding: 15px 30px;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav .logo {
  font-size: 20px;
  font-weight: bold;
}
nav .nav-links {
  list-style: none;
  display: flex;
}
nav .nav-links li {
  margin: 0 15px;
}
nav .nav-links a {
  color: #fff;
  text-decoration: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-content h1 {
  font-size: 2.5rem;
}
.hero-content span {
  color: #ffd700;
}
.hero-content .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #ffd700;
  color: #222;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Section styling */
section {
  padding: 50px 20px;
  max-width: 900px;
  margin: auto;
}
section h2 {
  margin-bottom: 20px;
  color: #2575fc;
}

/* Skills */
.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.skills-list li {
  background: #f4f4f4;
  padding: 10px;
  border-left: 4px solid #2575fc;
}

/* Projects */
.project-card {
  background: #f4f4f4;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}
.project-card h3 {
  margin-bottom: 10px;
}
.project-card a {
  color: #2575fc;
  text-decoration: none;
  margin-right: 10px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
}

/* Dark Mode */
.dark-mode {
  background: #121212;
  color: #eaeaea;
}

.dark-mode header,
.dark-mode footer {
  background: #000;
}

.dark-mode .project-card,
.dark-mode .skills-list li {
  background: #1e1e1e;
  border-left: 4px solid #ffd700;
}
