/* StudentJob Footer Styles */

.site-footer {
  background-color: #ffffff;
  padding: 2.25rem 0 0;
  margin-top: 0;
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.footer-top-section {
  display: flex;
  gap: 4rem;
  margin-bottom: 2.5rem;
}

.footer-column {
  flex: 1;
  max-width: 250px;
}

.footer-nav-help-group {
  display: contents;
}

.footer-categories-wrapper {
  flex: 3;
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

.footer-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link-list a {
  color: var(--color-text-muted);
  font-size: 0.825rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--color-primary);
}

/* Dual Brand Logos Pill Container (Matching Reference Screenshot) */
.footer-brands-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin: 1.5rem 0 0;
  width: 100%;
  border-top: 1px solid #e5e7eb;
}

.footer-brands-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 24px;
  background: #ffffff;
  border: 1.5px solid rgba(28, 123, 255, 0.12);
  /* Theme color 5-10% subtle outline */
  box-shadow: 0 2px 10px rgba(28, 123, 255, 0.05);
  /* 5% theme color glow */
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-brands-pill:hover {
  border-color: rgba(28, 123, 255, 0.25);
  box-shadow: 0 4px 16px rgba(28, 123, 255, 0.08);
  transform: translateY(-1px);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-brand-link:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.footer-brand-pill-logo {
  height: 30px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  display: block;
}

.footer-bottom-wrapper {
  width: 100%;
  border-top: 1px solid #e5e7eb;
}

.footer-bottom-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0 1.5rem;
  gap: 1.5rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-decoration: underline;
}

.footer-legal-links a:hover {
  color: var(--color-text-main);
}

.footer-bottom-right-content {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-right-content a {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-bottom-right-content a:hover {
  color: var(--color-text-main);
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1rem;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.footer-brand-logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary, #1c7bff), var(--color-primary-hover, #a855f7));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px var(--color-primary-glow, rgba(28, 123, 255, 0.25));
}

.footer-brand-logo .logo-text {
  font-weight: 800;
  color: #0f172a;
}

.footer-brand-logo .logo-accent {
  color: var(--color-primary, #1c7bff);
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin: 0;
  text-align: center;
}

.footer-copyright a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-copyright a:hover {
  color: var(--color-primary, #1c7bff);
  text-decoration-color: var(--color-primary, #1c7bff);
}

.social-links {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  color: #6b7280;
  margin-top: 0.75rem;
}

.social-links a {
  display: inline-flex;
  color: #6b7280;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .footer-top-section {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-nav-help-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
  }

  .footer-column {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 1.75rem 0 0.5rem;
    margin-top: 0;
  }

  .footer-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-bottom-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 0 0.45rem;
    text-align: center;
    width: 100%;
  }

  .footer-legal-links {
    order: 1;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 1.25rem;
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .footer-copyright {
    order: 2;
    text-align: center !important;
    width: 100%;
    display: block;
    margin: 0 auto;
    line-height: 1.45;
  }

  .footer-legal-links a {
    text-align: center;
    display: inline-block;
  }

  .footer-bottom-right-content {
    width: 100%;
    justify-content: center;
    text-align: center;
    gap: 0.35rem 1.25rem;
  }

  .footer-brands-wrapper {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    margin: 1rem 0 0;
  }

  .footer-brands-pill {
    padding: 6px 18px;
    gap: 12px;
  }

  .footer-brand-pill-logo {
    height: 28px;
    max-width: 125px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 1.5rem 0 0.25rem;
  }

  .footer-bottom-section {
    padding: 0.75rem 0 0.35rem;
    gap: 0.45rem;
  }

  .footer-copyright {
    font-size: 0.775rem;
    text-align: center !important;
  }

  .footer-legal-links {
    gap: 0.25rem 1rem;
  }

  .footer-legal-links a,
  .footer-bottom-right-content,
  .footer-bottom-right-content a {
    font-size: 0.775rem;
  }

  .footer-categories-grid {
    grid-template-columns: 1fr;
  }
}