/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and general text styles */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Header styling */
header {
  background-color: #1e88e5;
  color: white;
  padding: 20px 0;
  text-align: center;
}

/* Navigation menu */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  background-color: #1565c0;
  margin-top: 10px;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

nav ul li a:hover,
nav ul li a:focus {
  background-color: #0d47a1;
}

/* Main content area */
main {
  max-width: 900px;
  margin: 30px auto;
  background: white;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Section headings */
h2 {
  color: #1e88e5;
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
}

/* Footer styling */
footer {
  background-color: #1e88e5;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* Links inside footer */
footer a {
  color: #bbdefb;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li a {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  main {
    padding: 20px;
  }
}
