body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}
a {
  color: hsl(210, 90%, 40%);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
a:hover {
  color: gold;
}
header {
  background: linear-gradient(135deg, #222, #444);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: 2.2rem;
}
header p {
  margin: 5px 0 15px;
  font-size: 1.1rem;
  color: #ddd;
}
nav {
  margin-top: 10px;
}
nav a {
  color: #fff;
  margin: 0 12px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
}
nav a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: gold;
  transition: width 0.3s;
  margin: auto;
}
nav a:hover::after {
  width: 100%;
}
section {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}
section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #222;
}
.project {
  background: #fff;
  padding: 25px;
  margin: 20px 0;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.project h3, .project h4 {
  text-align: center;
  margin-top: 0;
}
.project img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
  margin: 15px auto;
}
.flex-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}
#skills p {
  text-align: center;
}
#skills i {
  font-size: 28px;
  margin: 10px;
  color: #444;
  transition: transform 0.2s, color 0.2s;
}
#skills i:hover {
  color: hsl(210, 90%, 40%);
  transform: scale(1.2);
}
#contact p {
  text-align: center;
  margin: 8px 0;
}
#contact a {
  color: hsl(210, 90%, 40%);
  font-weight: bold;
}
#contact a:hover {
  color: gold;
}
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #ccc;
  font-size: 0.9rem;
  margin-top: 20px;
}
@media (max-width: 768px) {
  nav a {
    display: inline-block;
    margin: 8px;
  }

  header h1 {
    font-size: 1.6rem;
  }

  .flex-row {
    flex-direction: column;
    align-items: center;
  }

  .project {
    padding: 15px;
  }
}
