/* ==========================================================================
   Back To Top Arrow & Footer Bottom Styles
   Digital Spice Up
   ========================================================================== */

/* Footer Bottom Bar */
.footer-bottom-bar {
 
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  background-color: #000;
}

.footer-copy {
  color: #b0b0b0;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  margin: auto;
  text-align: center;
  letter-spacing: 0.2px;
  
}

/* Footer Back To Top Button */
.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--sky, #42CEFF);
  color: #000 !important;
  border-radius: 50%;
  text-decoration: none !important;
  font-size: 18px;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(66, 206, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.footer-back-to-top:hover {
  background-color: #ffffff;
  color: #000 !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(66, 206, 255, 0.6);
  border-color: var(--sky, #42CEFF);
}

.footer-back-to-top:active {
  transform: translateY(-1px);
}

.footer-back-to-top i {
  transition: transform 0.25s ease;
}

.footer-back-to-top:hover i {
  transform: translateY(-3px);
}

/* Floating Back To Top Button */
.floating-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--sky, #42CEFF);
  color: #000 !important;
  border: none;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(66, 206, 255, 0.4);
  -webkit-tap-highlight-color: transparent;
}

.floating-back-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.floating-back-to-top:hover {
  background-color: #ffffff;
  color: #000 !important;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(66, 206, 255, 0.7);
}

.floating-back-to-top:active {
  transform: translateY(-1px) scale(0.98);
}

.floating-back-to-top i {
  transition: transform 0.25s ease;
}

.floating-back-to-top:hover i {
  transform: translateY(-3px);
}

/* Tablet & Mobile responsive adjustments (all mobile frame sizes) */
@media (max-width: 991px) {
  .footer-copy {
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  .footer-bottom-bar {
    flex-direction: column-reverse;
    text-align: center;
    justify-content: center;
    gap: 16px;
    padding-top: 20px;
    /* margin-top: 30px; */
  }

  .footer-copy {
    margin: 0 !important;
    font-size: 13px;
    text-align: center;
    width: 100%;
  }

  .footer-back-to-top {
    margin: 0 auto;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .floating-back-to-top {
    bottom: 24px;
    right: 20px;
    width: 46px;
    height: 46px;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 12px rgba(66, 206, 255, 0.5);
  }
}

@media (max-width: 480px) {
  .floating-back-to-top {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
}
