/* Reset default spacing */
body {
  margin: 0;
  font-family: sans-serif;
  line-height: 1.6;
}

/* Hero banner background */
 .hero {
  background-image: url('baobab 2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh; /* full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-text {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 10px;
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
}

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

header p {
  font-size: 1rem;
  color: #555;
}

/* Navigation bar */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #333;
  padding: 0.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

nav a:hover {
  background-color: #555;
}

/* Language switcher */
.language-switcher {
  text-align: center;
  margin: 1rem 0;
}

.language-switcher a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #0077cc;
}

/* PDF sections */
.section {
  text-align: center;
  margin: 2rem 1rem;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.section a {
  display: inline-block;
  background-color: #4CAF50; /* green */
  color: white;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.section a:hover {
  background-color: #388E3C; /* darker green on hover */
}
