/* Reset defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #222;
}

/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #222;
  color: white;
}

header .logo a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

header nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

/* Main content */
main {
  text-align: center;
  padding: 50px 20px;
}

main h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

main h2 {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}

/* Social icons */
.social-icons {
  margin-bottom: 40px;
}

.social-icons a {
  color: #333;
  margin: 0 15px;
  font-size: 1.8rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #888;
}

/* Section headers */
section h3 {
  font-size: 1.5rem;
  margin: 30px 0 10px;
  color: #333;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/*Form and Responsiveness*/
form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  padding: 20px;
  background: #eee;
  border-radius: 8px;
}

form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 1rem;
}

form button {
  background: #444;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background: #666;
}

/*Responsive media query*/
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  header nav {
    margin-top: 10px;
  }

  .social-icons {
    flex-direction: column;
    gap: 10px;
  }

  main {
    padding: 20px;
  }

  form {
    padding: 15px;
  }

  footer {
    position: static;
  }
}
