/* Make page take full height */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Flex layout to push footer to bottom */
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Make main content take remaining space */
.main-content {
  flex: 1;
}

/* Main footer wrapper */
footer {
  width: 100%;
  background-color: #222;
  color: #fff;
  padding: 15px 0;
  position: relative;
  margin-top: auto;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

/* Footer container for layout */
.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Link group styled like buttons */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Link button styles */
.footer-links a {
  display: inline-block;
  background: #333;
  color: #f0f0f0;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.footer-links a:hover {
  background-color: #e36e13;
  color: #fff;
  box-shadow: 0 0 10px rgba(227, 110, 19, 0.7);
}

.footer-links a.active {
  background-color: #fff;
  color: #003366 !important;
  border: 1px solid rgba(255, 193, 7, 0.5);
}

/* Text under the links */
footer p {
  margin: 0;
  font-size: 0.85rem;
  color: #bbb;
}

/* Responsive design */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  footer p {
    font-size: 0.75rem;
  }
}
