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

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f0f8ff;
  color: #222;
}

header {
  background: #0a4d8c;
  color: white;
  padding: 1rem 0;
}

nav {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-size: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

section {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 20px;
}

#home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #b3e5fc, #e1f5fe);
  padding: 3rem 20px;
  text-align: center;
}

#home img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0a4d8c;
}

#home h2 {
  font-size: 2rem;
  color: #0a4d8c;
}

#about ul {
  margin-top: 1rem;
  list-style: disc;
  padding-left: 1.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  background: white;
  border: 2px solid #0a4d8c;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: #0a4d8c;
}

.project-card a {
  color: #0a4d8c;
  text-decoration: none;
  font-weight: bold;
}

#contact p, #contact a {
  margin: 0.5rem 0;
  font-size: 1rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #0a4d8c;
  color: white;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  #home {
    flex-direction: column;
    text-align: center;
  }

  #home img {
    width: 150px;
    height: 150px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}