/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f6f9;
  color: #333;
}

/* Navigation */
nav {
  background: #0f172a;
  padding: 15px 40px;
  position: sticky;
  top: 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: #38bdf8;
}

/* Header */
header {
  text-align: center;
  padding: 80px 20px;
  background: white;
}

header h1 {
  font-size: 2.5rem;
}

header h2 {
  margin-top: 10px;
  color: #555;
}

/* Sections */
section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

section h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  border-bottom: 2px solid #38bdf8;
  display: inline-block;
  padding-bottom: 5px;
}

/* Profile Image */
img {
  width: 180px;
  border-radius: 50%;
  margin: 20px 0;
}

/* Projects */
.project {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.project a {
  display: inline-block;
  margin-top: 10px;
  color: #2563eb;
  text-decoration: none;
}

.project a:hover {
  text-decoration: underline;
}

/* Skills */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.skills li {
  background: #0f172a;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Contact links */
#contact a {
  color: #2563eb;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #0f172a;
  color: white;
  margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
  }

  header h1 {
    font-size: 2rem;
  }
}
