html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background-color: #f0f8ff;
  color: #1a1a1a;
}

header {
  background: #ff4500;
  color: #fff;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #ffe135;
}

main {
  flex: 1;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

section {
  margin-bottom: 40px;
  text-align: center;
}

#about p {
  font-size: 1.2rem;
  color: #0d0760;
}

#projects .project {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 15px;
  margin: 20px auto;
  text-align: center;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

#projects .project:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#projects .project img {
  max-width: 40%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#projects .project h3 {
  font-size: 1.5rem;
  margin: 10px 0;
  color: #1e90ff;
}

#projects .project p {
  color: #333;
  font-size: 1rem;
}

#projects .project a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  color: #fff;
  background-color: #008000;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

#projects .project a:hover {
  background-color: #ff4500;
}

#contact form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

#contact form label {
  font-size: 1rem;
  margin-bottom: 5px;
  display: block;
  color: #333;
}

#contact form input,
#contact form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

#contact form input:focus,
#contact form textarea:focus {
  border-color: #1e90ff;
  outline: none;
}

#contact form button {
  background-color: #ff4500;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s;
}

#contact form button:hover {
  background-color: #008000;
}

footer {
  background: #1e90ff;
  padding: 15px;
  text-align: center;
  margin-top: auto;
}

footer p {
  margin: 10px 0;
  font-size: 0.9rem;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 10px 0;
  gap: 15px;
}

footer ul li a {
  color: #ffe135;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

footer ul li a:hover {
  color: #ff4500;
}
