* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;
}

nav {
  background: #1c1c1c;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.nav-logo {
  height: 40px; /* adjust size */
  width: auto;
}

nav h1 {
  color: #fff;
  font-size: 1.5em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: #00bcd4;
}

.hero {
  text-align: center;
  padding: 4em 2em;
  background: #ffffff;
}

.hero-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.btn {
  display: inline-block;
  margin-top: 1em;
  padding: 0.7em 1.5em;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn:hover {
  background: #0056b3;
}

.content {
  padding: 3em 2em;
  background: #fff;
  margin: 1em auto;
  max-width: 1000px;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}

.project-card {
  background: #f9f9f9;
  padding: 1em;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
}

.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

input, textarea {
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

button {
  padding: 0.8em;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #218838;
}

#formResponse {
  margin-top: 1em;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 2em 1em;
  background: #1c1c1c;
  color: white;
  margin-top: 2em;
}

@media (max-width: 768px) {
  .projects-grid {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    gap: 1em;
  }
}
