/* v2.1.0: Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

/* v2.5.0: Removed brightness(0) invert(1) — it turned the logo into a flat white
   silhouette, hiding the school name. The green logo with white text reads well
   on the dark footer background naturally. */
.footer-logo-img {
  height: 60px;
  width: auto;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: var(--radius);
  color: var(--gray-400);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--green-600);
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--green-400);
}

.footer-col address {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--green-400);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Staff Portal link */
.staff-portal-link {
  margin-left: auto;
}

.staff-portal-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gray-800);
  border-radius: var(--radius);
  color: var(--gray-400);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.staff-portal-link a:hover {
  background: var(--green-600);
  color: white;
  text-decoration: none;
}

.staff-portal-link a::before {
  content: '';
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
}
