/* Student site footer — shared across all student-facing pages */

.home-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.home-page main {
  flex: 1 0 auto;
}

.home-page .student-site-footer {
  flex-shrink: 0;
  margin-top: 0;
}

.auth-page .student-site-footer {
  flex-shrink: 0;
  margin-top: 0;
}

/* Compact footer on auth pages — balanced with 72px header */
body.auth-page .student-site-footer .student-footer__main {
  padding: 2rem 0 1.5rem;
}

body.auth-page .student-footer__logo-link {
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.75rem;
}

body.auth-page .student-footer__logo-link .brand-logo-img,
body.auth-page .student-footer__logo-link img {
  height: 56px !important;
  width: auto !important;
}

body.auth-page .student-footer__tagline {
  font-size: 0.9rem;
}

body.auth-page .student-footer__heading {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

body.auth-page .student-footer__contact-list li {
  margin-bottom: 0.7rem;
  font-size: 0.88rem;
}

body.auth-page .student-footer__social-lead {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

body.auth-page .student-footer__social a {
  width: 40px;
  height: 40px;
  font-size: 0.95rem;
}

body.auth-page .student-footer__bottom {
  padding: 0.7rem 0;
}

.student-site-footer {
  --sf-blue: #005696;
  --sf-blue-dark: #004578;
  --sf-orange: #f8941e;
  --sf-text: rgba(255, 255, 255, 0.92);
  --sf-muted: rgba(255, 255, 255, 0.72);
  font-family: "Mulish", sans-serif;
  margin-top: auto;
}

.student-footer__main {
  background: linear-gradient(160deg, var(--sf-blue-dark) 0%, var(--sf-blue) 55%, #0068a8 100%);
  padding: 3.5rem 0 2.75rem;
  border-top: 3px solid var(--sf-orange);
}

.student-footer__brand {
  max-width: 22rem;
}

.student-footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  padding: 0.65rem 1rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-footer__logo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.student-footer__tagline {
  color: var(--sf-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

.student-footer__heading {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 0.55rem;
}

.student-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: var(--sf-orange);
}

.student-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.student-footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: var(--sf-text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.student-footer__contact-list li:last-child {
  margin-bottom: 0;
}

.student-footer__contact-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(248, 148, 30, 0.18);
  color: var(--sf-orange);
  font-size: 0.85rem;
}

.student-footer__contact-list a {
  color: var(--sf-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.student-footer__contact-list a:hover {
  color: var(--sf-orange);
}

.student-footer__social-lead {
  color: var(--sf-muted);
  font-size: 0.9rem;
  margin: -0.35rem 0 1rem;
  line-height: 1.5;
}

.student-footer__social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.student-footer__social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(248, 148, 30, 0.45);
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.student-footer__social a:hover {
  background: var(--sf-orange);
  border-color: var(--sf-orange);
  color: #fff;
  transform: translateY(-2px);
}

.student-footer__bottom {
  background: #003a5c;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.student-footer__copyright {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .student-footer__main {
    padding: 2.5rem 0 2rem;
  }

  .student-footer__brand {
    margin-bottom: 0.5rem;
  }

  .student-footer__heading {
    margin-top: 0.25rem;
  }
}
