footer {
  position: relative;
  background-color: #f8f9fa;
  padding: 60px 0 20px;
  font-size: 14px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 150px;
  text-align: left;
}

.footer-column h4 {
  font-size: 16px;
  color: #002b5c;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 6px;
}

.footer-column ul li a {
  color: #002b5c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #007bff;
  text-decoration: none;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #4b545f;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: #007bff;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-top: 1px solid #dee2e6;
  padding: 20px 0;
  margin-top: 40px;
}

.scroll-to-top {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.scroll-to-top:hover {
  background-color: #c82333;
}

.scroll-to-top i {
  color: white;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }
}
