body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  background-color: #eef2e0;
}

header {
  background-color: #7da85d;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

header h1 {
  margin: 0;
  font-size: 28px;
}

header p {
  font-style: italic;
  margin-top: 5px;
  font-size: 15px;
}

nav {
  display: flex;
  justify-content: center;
  background-color: #cde3b3;
  border-bottom: 2px solid #90b97a;
}

nav a {
  color: black;
  text-decoration: none;
  padding: 15px 25px;
  font-weight: bold;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0%;
  height: 3px;
  background-color: #4b7527;
  transition: 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: #2d511f;
}

main {
  padding: 30px;
  text-align: justify;
}

section {
  display: none;
  background-color: #dfe8cf;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

section.active {
  display: block;
}

img.map {
  display: block;
  margin: 20px auto;
  width: 250px;
}

footer {
  text-align: center;
  padding: 10px;
  font-size: 13px;
  color: #555;
}
.cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background-color: #c7e386;
  border-radius: 4px;
  flex: 1 1 30%;
  max-width: 30%;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.card img {
  width: 100%;
  display: block;
  border-radius: 4px 4px 0 0;
  height: auto;
}

.card-content {
  padding: 10px 15px 15px 15px;
  color: #000;
  font-size: 0.85rem;
}

.card-content h3 {
  margin: 0 0 5px 0;
  font-family: 'Playfair Display', cursive;
  font-size: 1.4rem;
}

.card-content h4 {
  margin: 0 0 5px 0;
  font-weight: 600;
  font-style: normal;
}

section#conservation {
  background: linear-gradient(to bottom right, #4b6f3a, #638c4b);
  padding: 40px;
}

.effort {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  gap: 20px;
}

.effort img.animal {
  width: 250px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.arrow {
  font-size: 60px;
  color: #cfe88a;
  font-weight: bold;
}

.text-box {
  background-color: #377b0d;
  color: white;
  padding: 20px;
  border-radius: 20px;
  width: 550px;
  text-align: justify;
  line-height: 1.6;
}

.text-box a {
  color: #65baff;
  text-decoration: none;
  font-weight: bold;
}

.text-box a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .effort {
    flex-direction: column;
  }

  .text-box {
    width: 90%;
  }

  .arrow {
    display: none;
  }
}