/* Footer */
.ipf-footer {
  background-color: #fff;
  color: #000000;
  padding: 20px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ipf-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ipf-footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

.ipf-footer-nav a {
  color: #000000;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ipf-footer-nav a:hover {
  color: #10b981;
}

.ipf-footer-info p {
  font-size: 0.85rem;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Responsive Footer */
@media (max-width: 600px) {
  .ipf-footer-nav {
    flex-direction: column;
    gap: 15px;
  }
  .ipf-footer {
    padding: 30px 15px;
  }
}

/* Back to Top Button */
#ipf-back-to-top {
  position: fixed;       /* float above page */
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #1e40af;
  color: #fff;
  border: none;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  display: none;         /* hidden initially */
  z-index: 99999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  line-height: 1;
  text-align: center;
  transition: background 0.3s, transform 0.2s;
}

#ipf-back-to-top:hover {
  background-color: #0f9d75;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  #ipf-back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}