/* -------------------------------------
   Modern Footer Styles
-------------------------------------- */

.pa-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.pa-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.footer-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.footer-text {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Quick Links */
.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #38bdf8;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Social Buttons */
.footer-socials .btn-social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials .btn-social:hover {
  background: #0d6efd;
  color: #ffffff;
  border-color: #0d6efd;
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(13, 110, 253, 0.4);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 768px) {
  .pa-footer {
    text-align: center;
  }
  
  .d-flex.align-items-center {
    justify-content: center;
  }
  
  .footer-text.pe-lg-5 {
    padding-right: 0 !important;
  }
  
  .footer-socials {
    justify-content: center;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 1.2rem;
  z-index: 9999;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: #0056b3;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  color: #fff;
}
