/* ✅ Gray hover for all links, site-wide */
a:hover {
  color: #333330 !important;
}

/* General nav link style */
nav a {
  color: black !important;
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 6px;
  display: inline-block;
}

/* Hover effect */
nav a:hover {
  background-color: #49d373 !important;
  color: white !important;
}

/* Selected/Active menu item */
nav a.active,
nav .current_page_item a,
nav .selected a {
  background-color: #49d373 !important;
  color: white !important;
}


/* 1 */
.back-to-top-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}

.back-to-top-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top-btn {
  background-color: #49d373;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

.back-to-top-btn:hover {
  background-color: #3bb466;
}

.back-to-top-text {
  margin-top: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #49d373;
  font-family: sans-serif;
}
