<style>
/* === FOOTER STICKY TO BOTTOM === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  min-height: 100vh;
}

/* Main content wrapper (everything above footer) */
main {
  flex: 1 0 auto; /* this pushes footer to bottom */
}

/* Footer styles */
footer {
  flex-shrink: 0;
  background: #0a1a2f;
  color: #fff;
  text-align: center;
  padding: 25px 0;
  margin-top: auto; /* ensures footer stays at bottom */
}
/* === STANDARD FOOTER AT BOTTOM WITH CLEAN SPACE === */
footer {
  position: relative;      /* no longer fixed or floating */
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0a1a2f;
  color: #fff;
  text-align: center;
  padding: 25px 0;
  margin-top: 60px;        /* space between last content and footer */
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* ensure footer always goes to bottom if content is short */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}
</style>