/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
  padding: 20px;
}

/* Header */
header {
  text-align: center;
  padding: 20px 0;
  background-color: #3498db;
  color: #fff;
}

header h1 {
  font-size: 2rem;
}

.logo {
  max-width: 150px;
  display: block;
  margin: 0 auto 10px;
  filter: brightness(1.2) contrast(1.2);
}

nav {
  margin-top: 10px;
}

nav ul {
  list-style: none;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin: 0 10px;
}

nav a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #3498db;
  text-decoration: underline;
}

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

/* Main Content */
main {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

section {
  margin-bottom: 40px;
}

h2 {
  margin-bottom: 10px;
  color: #2c3e50;  /* a deep navy-blue color */
}

.project {
  margin-bottom: 20px;
  padding: 15px;
  border-left: 5px solid #3498db;
  background: #f9f9f9;
  border-radius: 5px;
}

.project h3 {
  margin-bottom: 5px;
  color: #333;
}

.project p {
  margin-bottom: 10px;
}

.project a {
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
}

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

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


/* Contact section */
form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 10px;
  font-weight: bold;
}

form input,
form textarea {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  margin-top: 15px;
  padding: 10px;
  border: none;
  background-color: #3498db;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

form button:hover {
  background-color: #2980b9;
}

#contact a {
  color: #2c3e50;
}

/* Scroll to top button */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  background-color: #2980b9;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn:hover {
  background-color: #1c5980;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px 0;
  color: #777;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav ul li {
    display: block;
    margin: 10px 0;
  }

  main {
    padding: 10px;
  }

  .logo {
    max-width: 100px;
  }

  form input,
  form textarea {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  nav {
    padding: 15px 0;
  }
  h2 {
    color: #111 !important;
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
}