/* Reset some basic elements for consistency */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  background-color: #006747;
  color: #fff;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

header .logo {
  line-height: 0;
}

header .logo a {
  letter-spacing: 0.5px;
  display: inline-block;
  line-height: 0;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

header nav a {
  color: #fff;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

header nav a:hover {
  opacity: 0.8;
}

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('hero.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4rem 0;
}

.hero .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background-color: #00A676;
  color: #fff;
}

.btn.primary:hover {
  background-color: #008F62;
}

.btn.secondary {
  background-color: #ffffff;
  color: #006747;
  border: 2px solid #006747;
}

.btn.secondary:hover {
  background-color: #e6e6e6;
  color: #006747;
}

section.features {
  padding: 3rem 0;
  background-color: #fff;
  color: #333;
}

section.features h2 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background-color: #f4f4f4;
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #006747;
  font-size: 1.3rem;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.5;
}

footer {
  background-color: #006747;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* Directory table styles */
table.directory-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

table.directory-table th,
table.directory-table td {
  border: 1px solid #e5e5e5;
  padding: 0.75rem;
  text-align: left;
  font-size: 0.9rem;
}

table.directory-table th {
  background-color: #006747;
  color: #fff;
}

table.directory-table tr:nth-child(even) {
  background-color: #f8f8f8;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}

.contact-form h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #006747;
  font-size: 1.8rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.contact-form button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #00A676;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form button:hover {
  background-color: #008F62;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status.success {
  color: #007f5f;
}

.form-status.error {
  color: #b00020;
}

.tab-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tab-button {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #00A676;
  border-radius: 4px;
  background-color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  color: #006747;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tab-button:not(.active) {
  border: 1px solid #00A676;
  color: #006747;
  background-color: #fff;
}


.tab-button:not(.active):hover,
.tab-button:not(.active):focus {
  background-color: rgba(0, 166, 118, 0.08);
}

.tab-button.active {
  background-color: #00A676;
  border-color: #009065;
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel form {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  header nav ul {
    gap: 1rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

main {
  max-width: 1100px;
  margin: 0 auto;
}

.dataTables_filter{
  margin-bottom: 1rem;
}