* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;

}

body {
  background-color: #f5f5f5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #1e1e2f;
  color: #fff;
  padding: 1em 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-title {
  font-size: 1.5em;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1em;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  background-color: #0077ff;
}

main {
  flex: 1;
  width: 90%;
  max-width: 800px;
  margin: 2em auto;
  background-color: #fff;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.form-control {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 500;
  margin-bottom: 0.3em;
}

input, select, button, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

input:focus, select:focus, textarea:focus {
  border-color: #0077ff;
  outline: none;
}

button {
  background-color: #0077ff;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #005fcc;
}

.error-message {
  color: #ff3333;
  background: #ffe5e5;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #ff3333;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.home-section {
  text-align: center;
}

.home-section h2 {
  font-size: 2em;
  color: #0077ff;
  margin-bottom: 0.5em;
}

.home-section p {
  margin: 1em 0;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background-color: #0077ff;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #005fcc;
}

.about-section {
  line-height: 1.6;
}

.about-section h2, .about-section h3 {
  color: #0077ff;
  margin-top: 1em;
}

.about-image {
  text-align: center;
  margin-top: 2em;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.image-caption {
  font-style: italic;
  color: #555;
  margin-top: 0.5em;
}

footer {
  background-color: #1e1e2f;
  color: white;
  text-align: center;
  padding: 1em 0;
  font-size: 0.9em;
  margin-top: auto;
  border-top: 3px solid #0077ff;
}

@media (max-width: 700px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
  }

  .navbar {
    flex-direction: column;
  }

  main {
    width: 95%;
    padding: 1.5em;
  }
}
