*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.navbar-brand img {
  max-height: 100px;
}
.navbar .nav-link {
  color: #fff !important; /* default white */
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar .nav-link:hover {
  /* green hover (change to match UNEP colors) */
  transform: scale(1.05); /* slight zoom */
  text-decoration: underline; /* underline on hover */
}
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  transform: translateY(-30px);
}

.bg-section {
  height: 100dvh;
  min-height: 100vh;
  background: url("background.jfif") no-repeat center center/cover;
  color: #fff;
  display: block;
}

.overlay {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.45);
  padding-top: 1rem;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.overlay .inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title-section {
  padding-top: -10px;
}
.header {
  color: #22e822;
}
.contact {
  color: #00abf1;
}
.site-footer {
  background: #002147;
  color: #ddd;
  flex-shrink: 0;
  margin: 0;
  width: 100%;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  text-align: center;
}

.site-footer a {
  color: #ddd;
  text-decoration: none;
  margin: 0 6px;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 90px;
  }
  .title-section h1 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .title-section h1 {
    font-size: 1.8rem;
  }
  .title-section p {
    font-size: 0.95rem;
  }
}
