/* =========================
   FOOTER (DROP-IN REPLACE)
   Desktop: LinkedIn left, "MUCH LOVE ✌🏻" right
   Mobile: stack + center
   ========================= */

/* Reset padding conflicts (Bootstrap-friendly) */
.container-fluid{
  padding: 0 !important;
}

/* Footer row spacing */
.footer-row{
  padding: 32px 0px;  /* real content padding */

  margin: 0 !important;
  background: transparent;
}

/* Outer shell: layout only, no fill */
.footer-section{
  position: relative;
  margin: 0px 32px;
  background: transparent;
  overflow: visible;
  border-radius: 0;
}

/* =========================
   FOOTER GRADIENT RULE
   ========================= */

.footer-gradient-rule{
  width: 100%;
  height: 3px;
  background: linear-gradient(
    120deg,
    #ece5c4,
    #4999d4,
    #f9a336,
    #efebdb
  );
  background-size: 600% 600%;
  animation: footerRuleMorph 5s ease-in-out infinite;
  filter: saturate(1.05) brightness(1.05);
}

@keyframes footerRuleMorph{
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* =========================
   CORE LAYOUT (IMPORTANT)
   Works whether your HTML uses .footer-core OR .footer-col
   ========================= */

/* Desktop layout target (new markup) */
.footer-core{
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Desktop layout target (old markup still has bootstrap d-flex + footer-col) */
.footer-col{
  position: relative;
  z-index: 2;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important; /* override align-items-end */
  width: 100%;
  padding: 0 !important;
}

/* Signoff text */
.footer-signoff{
  font-family: 'headline';
  font-weight: normal;
  font-style: italic;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1.1;
}

/* LinkedIn icon */
.linkedin-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.linkedin-icon img{
  filter: brightness(0) invert(1);
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.linkedin-icon:hover img{
  transform: scale(1.1);
}

/* =========================
   RESPONSIVE: STACK + CENTER
   ========================= */

@media (max-width: 768px){

  /* Force the container to stack (covers BOTH markup variants) */
  .footer-core,
  .footer-col{
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }

  /* Make sure children center reliably */
  .footer-signoff{
    width: 100%;
    text-align: center;
    font-size: 1.25rem;
  }

  .linkedin-icon{
    margin: 0 !important;
  }
}

/* =========================
   ACCESSIBILITY: REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce){
  .footer-animated-border{
    animation: none;
    background-position: 50% 50%;
  }
}



@media (max-width: 767.99px) {
  .footer-section{
    margin: 0px 24px;
  }

  .footer-row{
  padding: 24px 0px;  /* real content padding */

}


}