/* General Reset & Body */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #f7f9fa;
  color: #333;
}

/* Header Styling */
header {
  padding: 2rem 1rem 0.5rem;
  background-color: #1e6f5c;
  color: #fff;
  text-align: center;
  position: relative;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

nav a {
  color: #1e6f5c;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 4px;
  transition: border 0.3s ease, color 0.3s ease;
}

nav a:hover {
  color: #3a7ca5;
  border-bottom: 2px solid #3a7ca5;
}

nav a.active {
  font-weight: bold;
  color: #3a7ca5;
  border-bottom: 2px solid #3a7ca5;
}

/* Container */
.container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.container h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #1e6f5c;
}

.container p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"] {
  background-color: #1e6f5c;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #155e4d;
}

/* Social Links */
.social-links {
  margin-top: 2rem;
}

.social-links h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #3a7ca5;
}

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  color: #1e6f5c;
  text-decoration: none;
  font-weight: 500;
}

.social-links a:hover {
  color: #3a7ca5;
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 1rem;
  background-color: #f1f3f4;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .container {
    margin: 2rem 1rem;
  }
}
