/**
 * FOOTER SCOPED CSS
 * Only affects footer elements - does NOT leak into page content
 * Created: December 27, 2025
 */

/* ============================================
   FOOTER CONTAINER
   ============================================ */
footer.footer {
  --footer-primary-blue: #172a74;
  --footer-primary-teal: #21a9af;
  --footer-gradient: linear-gradient(135deg, #172a74, #21a9af);
  --footer-text-light: rgba(255, 255, 255, 0.9);
  --footer-text-muted: rgba(255, 255, 255, 0.7);
  
  background: var(--footer-gradient);
  padding: 50px 0 30px;
  color: var(--footer-text-light);
  margin-top: auto; /* Push to bottom with flexbox */
}

/* ============================================
   FOOTER BRAND/LOGO
   ============================================ */
footer.footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

footer.footer .footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

footer.footer .footer-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

/* ============================================
   FOOTER HEADINGS
   ============================================ */
footer.footer .footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   FOOTER LINKS
   ============================================ */
footer.footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.footer .footer-links li {
  margin-bottom: 12px;
}

footer.footer .footer-links li a {
  color: var(--footer-text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

footer.footer .footer-links li a:hover {
  color: #fff;
  transform: translateX(5px);
  text-decoration: none;
}

/* ============================================
   FOOTER DESCRIPTION TEXT
   ============================================ */
footer.footer .footer-text,
footer.footer .footer-description {
  color: var(--footer-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================
   FOOTER SOCIAL LINKS
   ============================================ */
footer.footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

footer.footer .footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

footer.footer .footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* ============================================
   FOOTER BOTTOM BAR
   ============================================ */
footer.footer .footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

footer.footer .footer-bottom p {
  color: var(--footer-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   FOOTER RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  footer.footer {
    padding: 40px 0 25px;
  }

  footer.footer .footer-heading {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  footer.footer {
    padding: 30px 0 20px;
    text-align: center;
  }

  footer.footer .footer-brand {
    justify-content: center;
  }

  footer.footer .footer-links li a:hover {
    transform: none;
  }

  footer.footer .footer-social {
    justify-content: center;
  }

  footer.footer .row > div {
    margin-bottom: 25px;
  }

  footer.footer .row > div:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  footer.footer {
    padding: 25px 0 15px;
  }

  footer.footer .footer-brand-text {
    font-size: 1.25rem;
  }

  footer.footer .footer-heading {
    font-size: 1rem;
  }

  footer.footer .footer-links li a {
    font-size: 0.9rem;
  }
}
