
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


header {
  background: #4a90e2;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.5rem;
}

header nav button {
  background: white;
  color: #4a90e2;
  border: none;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

header nav button:hover {
  background: #e1ecf7;
}


main {
  flex: 1;
  padding: 2rem;
}

section {
  display: none;
}

section.active {
  display: block;
}


.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}


.card {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #4a90e2;
}

.card p {
  font-size: 0.9rem;
  color: #555;
}


form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}

form label {
  margin: 0.5rem 0 0.2rem;
}

form input,
form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  margin-top: 1rem;
  background: #4a90e2;
  color: white;
  border: none;
  padding: 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

form button:hover {
  background: #357ac9;
}


footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
  margin-top: auto;
}
