* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #222;
  line-height: 1.6;
}

header {
  background-color: #111;
  color: white;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h2 {
  font-size: 24px;
  letter-spacing: 1px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  background-color: #181818;
  color: white;
  padding: 80px 8%;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 25px;
  color: #ddd;
}

.btn {
  display: inline-block;
  background-color: white;
  color: #111;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
  background-color: #e6e6e6;
}

section {
  padding: 50px 8%;
}

.section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
}

.about {
  background-color: white;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 10px;
  padding: 35px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 10px;
  color: #111;
}

.skills-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.skill {
  background-color: #111;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 15px;
}

.project-card {
  background-color: white;
  padding: 25px;
  border-left: 5px solid #111;
  margin-bottom: 20px;
  border-radius: 8px;
}

.contact {
  background-color: #111;
  color: white;
  text-align: center;
}

.contact a {
  color: white;
  font-weight: bold;
}

footer {
  background-color: #000;
  color: #ccc;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

@media (max-width: 700px) {
  header {
    text-align: center;
    justify-content: center;
  }

  nav {
    margin-top: 15px;
  }

  nav a {
    display: inline-block;
    margin: 8px;
  }

  .hero h1 {
    font-size: 32px;
  }
}
