/* ── Footer ── */
#site-footer {
  background: linear-gradient(155deg, var(--color-navy-dark) 0%, #0e2550 100%);
  padding: 72px 0 0;
  position: relative; overflow: hidden;
}
#site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-crimson), var(--color-gold), var(--color-crimson));
  background-size: 200% 100%;
  animation: shimmerFooter 4s linear infinite;
}
@keyframes shimmerFooter { from{background-position:0 0} to{background-position:200% 0} }

.footer-brand { margin-bottom: var(--space-3); }
.footer-logo { height: 48px; width: auto; margin-bottom: var(--space-2); }
.footer-brand-name {
  font-family: var(--font-heading); font-size: 1.4rem;
  font-weight: 800; color: #fff; margin-bottom: 4px;
}
.footer-brand-tag {
  font-size: .78rem; color: rgba(255,255,255,.5);
  font-style: italic; margin-bottom: var(--space-2);
}
.footer-about {
  font-size: .88rem; color: rgba(255,255,255,.55);
  line-height: 1.75; margin-bottom: var(--space-3);
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: .85rem;
  transition: var(--transition-fast);
}
.footer-socials a:hover { background: var(--color-crimson); color: #fff; border-color: transparent; }

.footer-heading {
  font-family: var(--font-heading); font-size: .82rem;
  font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: var(--space-3);
  position: relative; padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--color-crimson); border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.55); font-size: .87rem;
  transition: var(--transition-fast);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--color-gold); padding-left: 6px; }
.footer-links a i { color: var(--color-crimson); font-size: .7rem; }

.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px; font-size: .87rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-list li i {
  color: var(--color-gold); margin-top: 3px; font-size: .85rem; flex-shrink: 0;
}
.footer-contact-list a { color: rgba(255,255,255,.6); }
.footer-contact-list a:hover { color: var(--color-gold); }

.footer-newsletter p { font-size: .88rem; color: rgba(255,255,255,.55); margin-bottom: var(--space-2); }

.newsletter-form { 
    display: flex; 
    gap: 8px; 
    background: rgba(255, 255, 255, .07); 
    border: 1px solid rgba(255, 255, 255, .1); 
    border-radius: 50px; 
    padding: 6px 6px 6px 16px; 
    overflow: hidden; 
    align-items: center; 
    width: 100%; 
    max-width: 400px; 
    box-sizing: border-box; /* Crucial for preventing overflow */
} 

.newsletter-input { 
    flex: 1; 
    background: transparent; 
    border: none; 
    outline: none; 
    font-family: var(--font-body); 
    font-size: .87rem; 
    color: rgba(255, 255, 255, .8); 
    min-width: 0; /* Ensures the input shrinks properly to make room for the button */
} 

.newsletter-input::placeholder { 
    color: rgba(255, 255, 255, .35); 
} 

.newsletter-btn { 
    flex-shrink: 0; /* Prevents the button from being squished */
    background: var(--color-crimson); 
    color: #fff; 
    border: none; 
    padding: 10px 22px; /* Slightly adjusted padding for visual alignment */
    border-radius: 40px; 
    font-family: var(--font-heading); 
    font-size: .8rem; 
    font-weight: 700; 
    cursor: pointer; 
    transition: var(--transition-fast); 
    white-space: nowrap; 
    display: inline-flex; /* Ensures perfect internal text centering */
    align-items: center; 
    justify-content: center; 
} 

.newsletter-btn:hover { 
    background: var(--color-crimson-dark); 
}


/* .footer-divider {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-copy strong { color: rgba(255,255,255,.55); }
.footer-legal { display: flex; gap: var(--space-3); }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.35); transition: var(--transition-fast); }
.footer-legal a:hover { color: var(--color-gold); }

@media (max-width: 991px) {
  #site-footer { padding: 48px 0 0; }
} */

.footer-divider {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  flex-wrap: nowrap;              /* Fix: Prevents layout from wrapping into an ugly block */
  gap: 20px;
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  flex-shrink: 0;                 /* Fix: Protects copyright line from squishing */
}

.footer-copy strong {
  color: rgba(255,255,255,.55);
}

/* Center developer section styles */
.footer-center {
  font-size: .85rem;               
  text-align: center;
  flex-grow: 1;                   /* Takes up available middle space */
}

/* Base style for the container link */
.footer-center .dev-cta-link {
  color: rgba(255,255,255,.5);   
  text-decoration: none;           
  font-weight: 500;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;                        
}

/* Underline style for your name */
.footer-center .dev-name {
  /* text-decoration: underline;       */
  color: rgba(255,255,255,.85);    
  font-weight: 600;
  transition: var(--transition-fast);
}

/* Eye-catching style with pulsing glow animation */
.footer-center .dev-connect {
  color: var(--color-gold);
  text-decoration: none;        
  font-weight: 555;
  display: inline-block;
  animation: pulse-glow 3s infinite ease-in-out; /* Triggers the live pulsing loop */
}

/* Keyframes for the elegant pulse effect */
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    text-shadow: 0 0 4px rgba(212, 175, 55, 0.2);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.04);       /* Subtle increase in scale so it pops */
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.6); /* Intensified bright glow */
    opacity: 1;
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 4px rgba(212, 175, 55, 0.2);
    opacity: 0.9;
  }
}

.footer-legal {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;                 /* Fix: Stalls links from compressing or breaking lines */
}

.footer-legal a {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  transition: var(--transition-fast);
  white-space: nowrap;            /* Fix: Keeps legal titles firmly on one line */
}

.footer-legal a:hover {
  color: var(--color-gold);
}

/* Consolidated Responsive Design Breakpoint */
@media (max-width: 991px) {
  #site-footer {
    padding: 48px 0 0;
  }
  
  .footer-divider {
    flex-direction: column;       /* Clean vertical stacking layout for smaller screens */
    text-align: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .footer-copy, 
  .footer-center, 
  .footer-legal {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
}
