/* Full-height layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
  margin: 0;         /* remove default body margin */
  font-family: Arial, sans-serif;
  overflow-x: hidden; /* hide horizontal scroll */
}

/* Main content grows to fill space */
main {
  flex: 1;
  padding-right: 10px;
}

/* Footer base */
footer {
  margin-top: auto;               /* push to bottom */
  background-color: rgb(255,255,255);
  color: rgb(50, 50, 50);
  text-align: center;
  width: 100%;                    /* full width */
  border-top: 1px solid #ddd;
  border-radius: 10px; 
  box-shadow: 2px 2px 4px rgb(0,0,0); 
  box-sizing: border-box;         /* ensures padding doesn’t add width */
}



/* Footer links */
footer a {
  color: rgb(0,0,0);
  margin: 0 8px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

footer a:hover {
  color: rgb(57, 64, 132);
}

.dnfc-footer {
  color: rgb(57, 64, 132) !important;
  font-size: large;
}

.navbar-brand:hover,
.pp:hover,
.tofu:hover {
  color: rgb(57, 64, 132) !important;
  text-decoration: underline;
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 768px) {
  footer {
    padding: 12px 8px;
  }

  footer a {
    font-size: 0.95rem;
    margin: 0 6px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 10px 5px;
  }

  footer a {
    display: block;       /* stack links vertically */
    margin: 6px 0;
    font-size: 1rem;
  }
}
