.footer {
  margin-top: 50px;
  background-color: #198754;
  width: 100%;
  display: flex;
  justify-content: center;
  color: white;
}

.footer-content {
  width: 100%;
  max-width: 986px;
  display: flex;
  flex-direction: column;
}

.footer-content-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 40px;
  overflow: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  
}

.footer-links div strong {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 500;
  width: 400px;
}

.footer-links a {
  color: white;
  font-size: 14px;
  text-decoration: none;
}

.box-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.box {
  width: 140px;
  height: 100px;
  background-color: gray;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 5px solid white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.box:hover {
  transform: scale(1.1) !important;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
  color: #fff;
}

.copyright a {
  color: #fff;
  text-decoration: none;
}

.copyright a:hover {
  color: #ceecfc;
}

.advertise-button {
  display: inline-block;
  padding: 12px 40px;
  background-color: #ffc107;
  color: #000;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 5px #f8e329;
  animation: shine 1.5s infinite alternate;
  transition: transform 0.3s;
}

.advertise-button:hover {
  transform: scale(1.05);
}

/* Glowing Animation */
@keyframes shine {
  0% {
    box-shadow: 0 0 5px #ffeb3b;
  }
  100% {
    box-shadow: 0 0 15px #ffd600;
  }
}



@media (min-width: 768px) {
  .footer-content-top {
    grid-template-columns: repeat(4, 1fr);
  }

  .box {
    width: 80px;
    height: 80px;
  }
}
