* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

header {
  background-color: #2c3e50;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #3498db;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin-bottom: 4rem;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  border-bottom: 3px solid #3498db;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

#intro {
  text-align: center;
  padding: 3rem 2rem;
}

#intro img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid #3498db;
  object-fit: cover;
}

.title {
  font-size: 1.5rem;
  color: #3498db;
  font-weight: 600;
  margin-bottom: 1rem;
}

#intro p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

.experience-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ecf0f1;
}

.experience-item:last-child {
  border-bottom: none;
}

.date {
  color: #7f8c8d;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.experience-item p {
  color: #555;
  line-height: 1.8;
}

.project-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f0f4f8;
  border-left: 4px solid #3498db;
  border-radius: 4px;
}

.project-item h3 {
  margin-bottom: 0.5rem;
}

.project-item p {
  color: #555;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-item label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

progress {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background-color: #ecf0f1;
  border: none;
}

progress::-webkit-progress-bar {
  background-color: #ecf0f1;
  border-radius: 4px;
}

progress::-webkit-progress-value {
  background-color: #3498db;
  border-radius: 4px;
}

progress::-moz-progress-bar {
  background-color: #3498db;
  border-radius: 4px;
}

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

footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

footer p {
  margin: 0;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  main {
    padding: 1rem;
  }

  section {
    padding: 1.5rem;
  }
}