footer {
    background: #333;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.socials {
    margin-top: 1rem;
}

.socials i {
    font-size: 1.5rem;
    margin: 0 0.5rem;
}

.footer-with-video {
  position: relative;
  overflow: hidden;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  z-index: 0;
}

.footer-with-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

.footer-content {
  position: relative;
  z-index: 1;
  background-color: black;
  border-radius: 20px;
  padding: 2rem;
}

.footer-with-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6); /* optional dark overlay */
  z-index: -1;
}


/* Mobile override: hide video, show image */
@media (max-width: 768px) {
  .footer-with-video video {
    display: none;
  }

  .footer-with-video {
    background-image: url("../images/grinder.png"); /* your fallback image */
    background-size: cover;
    background-position: center;
  }
}