/*
 * Tri-Force Footer — Stylesheet v1.0.0
 * Deep-navy footer that pairs with the white Tri-Force mega-menu header.
 * All selectors prefixed .tf- to avoid theme conflicts.
 */

#tf-site-footer, #tf-site-footer *, #tf-site-footer *::before, #tf-site-footer *::after { box-sizing: border-box; }

#tf-site-footer {
  /* ── Brand tokens (mirrors mega-menu.css) ── */
  --tf-blue:        #1226e6;
  --tf-blue-deep:   #0a18c4;
  --tf-blue-bright: #2045ff;
  --tf-violet:      #7c3aed;   /* EXCELLENCE  */
  --tf-orange:      #f1841a;   /* INTEGRITY   */
  --tf-pink:        #ec3fb4;   /* CUSTOMIZATION */
  --tf-ink:         #0b0b14;

  --tf-f-bg:        #0c1230;   /* footer navy */
  --tf-f-bg-2:      #090d24;   /* ask-AI band */
  --tf-f-text:      #aab3cd;   /* muted body  */
  --tf-f-head:      #ffffff;
  --tf-f-border:    rgba(255,255,255,.09);
  --tf-f-card:      rgba(255,255,255,.045);

  --tf-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tf-ease: cubic-bezier(.4,0,.2,1);

  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(32,69,255,.22), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(124,58,237,.14), transparent 60%),
    var(--tf-f-bg);
  color: var(--tf-f-text);
  font-family: var(--tf-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  clear: both;
}

/* ── Signature: brand-values hairline (blue → violet → orange → pink) ── */
#tf-site-footer .tf-footer-topline {
  height: 3px;
  background: linear-gradient(90deg, var(--tf-blue-bright) 0%, var(--tf-violet) 35%, var(--tf-orange) 68%, var(--tf-pink) 100%);
}

#tf-site-footer .tf-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 28px 40px;
}

/* ═══ Brand row ═══ */
#tf-site-footer .tf-footer-brandrow {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  padding-bottom: 34px; margin-bottom: 44px;
  border-bottom: 1px solid var(--tf-f-border);
}
#tf-site-footer .tf-footer-brand { max-width: 560px; }
#tf-site-footer .tf-footer-logo { display: inline-block; margin-bottom: 14px; }
#tf-site-footer .tf-footer-logo img {
  height: 52px; width: auto; display: block;
  background: #fff; padding: 8px 14px; border-radius: 10px;
}
#tf-site-footer .tf-footer-tagline { margin: 0; font-size: 14.5px; color: var(--tf-f-text); }

#tf-site-footer .tf-footer-socials {
  display: flex; gap: 10px; flex-wrap: wrap;
  list-style: none; margin: 6px 0 0; padding: 0;
}
#tf-site-footer .tf-footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; font-size: 15px; text-decoration: none;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05);
  transition: background .25s var(--tf-ease), border-color .25s, transform .25s var(--tf-ease), color .25s;
}
#tf-site-footer .tf-footer-socials a:hover {
  background: var(--tf-blue); border-color: var(--tf-blue);
  transform: translateY(-3px); color: #fff;
}

/* ═══ Main grid ═══ */
#tf-site-footer .tf-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr 1fr 1.15fr;
  gap: 44px 40px;
}

#tf-site-footer .tf-fcol-h {
  margin: 0 0 18px; padding: 0 0 12px; position: relative;
  color: var(--tf-f-head); font-size: 17px; font-weight: 700; letter-spacing: .2px;
  font-family: var(--tf-font);
}
#tf-site-footer .tf-fcol-h::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 3px; border-radius: 3px; background: var(--tf-orange);
}
#tf-site-footer .tf-acc-blue::after   { background: var(--tf-blue-bright); }
#tf-site-footer .tf-acc-violet::after { background: var(--tf-violet); }
#tf-site-footer .tf-acc-orange::after { background: var(--tf-orange); }
#tf-site-footer .tf-acc-pink::after   { background: var(--tf-pink); }

/* Offices */
#tf-site-footer .tf-office { font-style: normal; margin: 0 0 26px; }
#tf-site-footer .tf-office a,
#tf-site-footer .tf-office span {
  display: block; color: var(--tf-f-text); text-decoration: none;
  padding: 2px 0; font-size: 14.5px;
  transition: color .2s, transform .25s var(--tf-ease);
}
#tf-site-footer .tf-office a:hover { color: #fff; transform: translateX(4px); }
#tf-site-footer .tf-fcol-offices .tf-fcol-h + .tf-office { margin-top: -2px; }
#tf-site-footer .tf-fcol-offices .tf-office + .tf-fcol-h { margin-top: 6px; }

/* CEO / Read-more buttons — same spec as header "Request Meeting" */
#tf-site-footer .tf-btn-gradient {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  color: #fff; background: var(--tf-blue);
  border-radius: 6px; border: 0; box-shadow: none;
  text-decoration: none; white-space: nowrap;
  font-size: 14px; font-weight: 700; line-height: 1; font-family: var(--tf-font);
  padding: 13px 22px; cursor: pointer; transform-origin: center center;
  transition: transform .4s, opacity .4s, background .3s, box-shadow .3s;
}
#tf-site-footer .tf-btn-gradient i { font-size: 12px; transition: transform .3s var(--tf-ease); }
#tf-site-footer .tf-btn-gradient:hover {
  background: #000; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
#tf-site-footer .tf-btn-gradient:hover i { transform: translateX(3px); }
#tf-site-footer .tf-footer-ceo { margin-top: 4px; }

/* Link lists */
#tf-site-footer .tf-flinks { list-style: none; margin: 0; padding: 0; }
#tf-site-footer .tf-flinks li { margin: 0 0 11px; }
#tf-site-footer .tf-flinks a {
  position: relative; display: inline-block; padding-left: 0;
  color: var(--tf-f-text); text-decoration: none; font-size: 14.5px;
  transition: color .2s, padding-left .25s var(--tf-ease);
}
#tf-site-footer .tf-flinks a::before {
  content: "\f105"; /* fa-angle-right */
  font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px;
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  color: var(--tf-blue-bright); opacity: 0; transition: opacity .2s;
}
#tf-site-footer .tf-flinks a:hover { color: #fff; padding-left: 15px; }
#tf-site-footer .tf-flinks a:hover::before { opacity: 1; }

/* Contact */
#tf-site-footer .tf-fcontact { list-style: none; margin: 0 0 24px; padding: 0; }
#tf-site-footer .tf-fcontact li { display: flex; align-items: center; gap: 12px; margin: 0 0 13px; }
#tf-site-footer .tf-fcontact-ic {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(32,69,255,.16); color: #7f96ff; font-size: 14px;
}
#tf-site-footer .tf-fcontact a, #tf-site-footer .tf-fcontact span { color: var(--tf-f-text); text-decoration: none; font-size: 14.5px; transition: color .2s; }
#tf-site-footer .tf-fcontact a:hover { color: #fff; }

/* Latest-blog card (auto-updates with newest post) */
#tf-site-footer .tf-blog-card {
  background: var(--tf-f-card);
  border: 1px solid var(--tf-f-border);
  border-radius: 14px;
  padding: 20px 20px 22px;
  backdrop-filter: blur(4px);
  transition: border-color .25s, transform .25s var(--tf-ease);
}
#tf-site-footer .tf-blog-card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
#tf-site-footer .tf-blog-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--tf-orange); margin-bottom: 10px;
}
#tf-site-footer .tf-blog-title {
  display: block; color: #fff; text-decoration: none;
  font-size: 15.5px; font-weight: 700; line-height: 1.45; margin-bottom: 16px;
  transition: color .2s;
}
#tf-site-footer .tf-blog-title:hover { color: #9db0ff; }
#tf-site-footer .tf-blog-btn { padding: 11px 18px; font-size: 12.5px; letter-spacing: .6px; }

/* ═══ Certificates ═══ */
#tf-site-footer .tf-footer-certs {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 30px;
  border-top: 1px solid var(--tf-f-border);
}
#tf-site-footer .tf-certs-label {
  font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
#tf-site-footer .tf-certs-list { display: flex; gap: 14px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
#tf-site-footer .tf-certs-list li {
  background: #fff; border-radius: 12px; padding: 8px 12px;
  display: flex; align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .25s var(--tf-ease), box-shadow .25s;
}
#tf-site-footer .tf-certs-list li:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.35); }
#tf-site-footer .tf-certs-list img { height: 54px; width: auto; display: block; }
#tf-site-footer .tf-certs-list a { display: flex; }

/* ═══ Copyright bar ═══ */
#tf-site-footer .tf-footer-bottom {
  border-top: 1px solid var(--tf-f-border);
  text-align: center; padding: 20px 28px;
}
#tf-site-footer .tf-footer-copy {
  color: rgba(255,255,255,.72); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase;
  transition: color .2s;
}
#tf-site-footer .tf-footer-copy:hover { color: #fff; }

/* ═══ Ask-AI band ═══ */
#tf-site-footer .tf-footer-ai {
  background: var(--tf-f-bg-2);
  border-top: 1px solid var(--tf-f-border);
  text-align: center; padding: 30px 28px 36px;
}
#tf-site-footer .tf-ai-heading { margin: 0 0 18px; color: var(--tf-f-text); font-size: 15px; }
#tf-site-footer .tf-ai-heading strong { color: #fff; font-weight: 700; }
#tf-site-footer .tf-ai-list {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0;
}
#tf-site-footer .tf-ai-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: #14151f; text-decoration: none;
  font-size: 14px; font-weight: 600; font-family: var(--tf-font);
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid #fff;
  transition: transform .25s var(--tf-ease), box-shadow .25s, background .25s, color .25s;
}
#tf-site-footer .tf-ai-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(32,69,255,.35);
  background: var(--tf-blue); border-color: var(--tf-blue); color: #fff;
}
#tf-site-footer .tf-ai-ic { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; }
#tf-site-footer .tf-ai-ic svg { width: 17px; height: 17px; }
#tf-site-footer .tf-ai-ic img { width: 18px; height: 18px; object-fit: contain; display: block; }
#tf-site-footer .tf-ai-ic .fa-x-twitter { font-size: 15px; }

/* ═══ Focus visibility ═══ */
#tf-site-footer a:focus-visible {
  outline: 2px solid var(--tf-blue-bright);
  outline-offset: 3px; border-radius: 4px;
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  #tf-site-footer * { transition: none !important; }
}

/* ═══ Responsive ═══ */
@media (max-width: 1080px) {
  #tf-site-footer .tf-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 36px; }
}
@media (max-width: 640px) {
  #tf-site-footer .tf-footer-inner { padding: 48px 20px 32px; }
  #tf-site-footer .tf-footer-grid { grid-template-columns: 1fr; gap: 36px; }
  #tf-site-footer .tf-footer-brandrow { flex-direction: column; }
  #tf-site-footer .tf-footer-certs { justify-content: center; text-align: center; }
  #tf-site-footer .tf-certs-list { justify-content: center; }
  #tf-site-footer .tf-ai-list { gap: 9px; }
  #tf-site-footer .tf-ai-pill { padding: 10px 16px; font-size: 13px; }
}
