/* ================================================
   FOOTER.CSS
   ------------------------------------------------
   Styles for the site footer.
   Includes: brand column, link columns, social
             icons, bottom bar.

   TO EDIT:
   - Footer background: update `footer` background
   - Column count: update grid-template-columns
   - Social icons: see .social-btn
================================================ */


/* ── FOOTER WRAPPER ───────────────────────────── */
footer {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  padding: 0 0 32px; /* top padding handled by powered strip */
}

/* ── POWERED BY BILLITON TOP STRIP ───────────── */
.footer-powered {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
  padding: 10px var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-powered strong { color: var(--teal-light); font-weight: 700; }

/* ── BILLITON INFO BADGE ──────────────────────── */
.footer-billiton-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 16px 0;
  max-width: 280px;
}
.billiton-logo { font-size: 22px; flex-shrink: 0; }
.footer-billiton-badge strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.footer-billiton-badge span { font-size: 11px; color: var(--gray); }

/* ── FOOTER GRID with padding ─────────────────── */
.footer-logo { margin-bottom: 14px; }

/* ── COPYRIGHT BLOCK ─────────────────────────── */
.footer-copyright p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.footer-copyright strong { color: var(--navy2); }
.footer-cin { font-size: 11px !important; color: #94a3b8 !important; margin-top: 3px; }


/* ── FOOTER GRID ──────────────────────────────── */
/* Layout: [Brand 1.5fr] [Product] [Solutions] [Resources] [Company] */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  padding: 56px var(--space-2xl) 0; /* top padding here since footer has no padding-top */
}


/* ── BRAND COLUMN (left) ──────────────────────── */
.footer-brand .logo {
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 240px;
}

/* Contact info list */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--teal); }

/* Social icon row */
.social-links {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-decoration: none;
  color: var(--navy2);
}
.social-btn:hover {
  border-color: var(--teal);
  background: #e6fdf5;
}


/* ── LINK COLUMNS ─────────────────────────────── */
.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--teal); }


/* ── FOOTER BOTTOM BAR ────────────────────────── */
/* Copyright left | Policy links right */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px var(--space-2xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 0 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--teal); }
