body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to bottom right, #021a31, #04305c);
  color: white;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 0px;
}

h1 {
  text-align: center;
}

header img {
  max-width: 100%;
  max-height: 120px;
  height: auto;
}

nav {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  transition: color 0.2s;
  font-size: 1rem;
}

nav a:hover {
  color: #66ccff;
}

main {
  padding: 20px;
  max-width: 800px;
  margin: auto;
  box-sizing: border-box;
}

form input,
form textarea,
form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
}

form input,
form textarea {
  background: #ffffff10;
  color: white;
}

form button {
  background-color: #66ccff;
  color: black;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  nav a {
    font-size: 0.95rem;
    margin: 5px;
  }

  main {
    padding: 15px;
  }

  h1 {
    font-size: 1.5em;
  }
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-card h2 {
  margin-top: 0;
  color: #66ccff;
  font-size: 1.3em;
}

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

.project-card a:hover {
  text-decoration: underline;
}
