/* ===== General Styles ===== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  background-color: #f3f0e7;
  color: #2d2d2d;
  line-height: 1.6;
}

/* ===== Header ===== */
header {
  background-color: #2f4f4f;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: #ffebcd;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: #ffd700;
}

/* ===== Hero Section ===== */
.hero {
  background: url('https://upload.wikimedia.org/wikipedia/commons/4/4c/Sun_bear_%28Helarctos_malayanus%29.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  background-attachment: fixed;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 1.5rem;
  border-radius: 12px;
}

/* ===== Sections ===== */
section {
  padding: 2rem 10%;
}

.facts ul {
  list-style-type: circle;
  margin-left: 1.5rem;
}

/* ===== Images ===== */
img {
  display: block;
  max-width: 100%;
  border-radius: 10px;
  margin: 1rem auto;
}

/* ===== Footer ===== */
footer {
  background-color: #2f4f4f;
  color: #f5f5dc;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* ===== CTA ===== */
.cta {
  background-color: #e6b800;
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  margin-top: 1.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .hero {
    background-attachment: scroll;
  }
}
