body, .navbar, .hero-section, .hero-image img {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.nav-button a {
  background-color: #6f2c91;
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none !important;
  transition: background-color 0.3s ease;
}

.nav-button a:hover {
  background-color: #54236f;
}

/* Make marquee container span full width of viewport */
.marquee-container {
  width: 100vw;  /* Full viewport width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-bottom: 30px; 
  margin-left: -50vw;
  margin-right: -50vw;
  background: #e0f7fa;
  border-top: 2px solid #009688;
  border-bottom: 2px solid #009688;
  padding: 10px 0;
  height: 50px;
  box-shadow: inset 0 0 8px rgba(0, 150, 136, 0.2);
  z-index: 999;  /* Stay above other content if needed */
}


/* Content that scrolls */
.marquee-content {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 600;
  color: #004d40;
  padding-left: 100%; /* Start from right edge */
  animation: slide-left 18s linear infinite;
  min-width: 100%;  /* Ensure it doesn't cause overflow */
  box-sizing: border-box;
}

@keyframes slide-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pause on hover */
.marquee-content:hover {
  animation-play-state: paused;
  cursor: pointer;
}

/* Prevent horizontal scroll on the entire page */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-size: 16px;
}

/* Make Quarto page footer fixed */
.q-footer {
    position: fixed !important;  /* Fix it to viewport */
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 20px;
    display: flex !important;          /* Keep left/center/right layout */
    justify-content: space-between !important;
    background-color: #066b23 !important; /* Ensure footer color */
    color: white !important;
    flex-wrap: wrap;
}

/* Ensure links in footer stay white */
.q-footer a {
    color: white !important;
    text-decoration: none !important;
}

/* Add padding at bottom of page so content doesn't overlap footer */
.q-body {
    padding-bottom: 80px; /* Adjust if footer height changes */
}


