/* Reset */
body, h1, h2, p, ul {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding: 0 10px;
}

header {
  background-color: #0d47a1;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 10px;
}

nav {
  margin-top: 15px;
}

nav ul {
  list-style-type: none;  /* ✅ Removes black dots */
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

nav li {
  display: inline-block;
}

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

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

section {
  padding: 30px 20px;
  background-color: white;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

h2 {
  margin-bottom: 10px;
  color: #0d47a1;
}

footer {
  text-align: center;
  padding: 15px;
  background-color: #ddd;
  color: #555;
  font-size: 0.9rem;
  margin-top: 30px;
}

.project {
  margin-bottom: 30px;
}

.project-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

#contact {
  max-width: 800px;
  margin: 20px auto;
  padding: 30px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  nav ul {
    justify-content: center;
    flex-direction: row; /* ✅ Keep navs in a line */
    gap: 20px;
    overflow-x: auto;
  }

  .project {
    text-align: center;
  }
}

