/*
 * ─────────────────────────────────────────────────────────────────────────
 *  UPWARD JOBS — footer.css  v1.0
 *  Extracted from footer.blade.php inline styles.
 *  Replaces the embedded <style> block and all inline style="" attributes.
 * ─────────────────────────────────────────────────────────────────────────
 */

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER BASE
   ═══════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #0A2342;
  color: #B8CCDE;
  padding: 64px 0 28px;
  font-family: 'Inter', Arial, sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER GRID
   ═══════════════════════════════════════════════════════════════════════ */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════════════
   BRAND COLUMN
   ═══════════════════════════════════════════════════════════════════════ */
.footer-brand {
  max-width: 320px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.footer-logo-link img {
  width: 110px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-brand-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.60);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   LINK COLUMNS
   ═══════════════════════════════════════════════════════════════════════ */
.footer-col-heading {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 20px;
  font-family: 'Inter', Arial, sans-serif;
}

.footer-col-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col-nav a:hover {
  color: #8ED21F;
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT COLUMN
   ═══════════════════════════════════════════════════════════════════════ */
.footer-contact-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.94rem;
  margin: 0 0 6px;
}

.footer-contact-address {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 16px;
}

.footer-contact-link {
  display: block;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.92rem;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer-contact-link:last-child {
  margin-bottom: 0;
}

.footer-contact-link:hover {
  color: #8ED21F;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER BOTTOM BAR
   ═══════════════════════════════════════════════════════════════════════ */
.footer-bottom {
  max-width: 1200px;
  margin-inline: auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.footer-bottom-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid {
    gap: 32px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET PORTRAIT (≤ 900px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* Brand takes full width on first row */
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 576px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 576px) {
  .site-footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════════════════ */
@media print {
  .site-footer {
    background: #ffffff;
    color: #000000;
    padding: 20px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col-nav a,
  .footer-contact-link {
    color: #000000;
  }
}
