﻿/* NOTE: section backgrounds are set inline as --bg:url('../images/...'); the ../ is intentional,
   because url() inside a custom property resolves relative to this stylesheet.
   TechBridge Digital Workforce — static site styles.
   Layout follows the original Digital Workforce pages. All brand colors live in :root:
   swap these hex values to re-theme the whole site. */
:root {
  --blue: #0095ab;
  --blue-dark: #004b55;
  --blue-light: #48dfce;
  --blue-teal: #14b8a6;
  --yellow: #fcc902;
  --text: #41444a;
  --black: #000;
  --tint: #f0fdfa;
  --line: #d6dde8;
  --white: #fff;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 15px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; margin: 0 0 .6em; color: var(--black); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.ic.sm { width: 1em; height: 1em; }

/* ---------- header ---------- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(1320px, 100% - 48px); margin-inline: auto; min-height: 84px; }
.brand { background: var(--blue); border-radius: 10px; padding: 10px 18px; display: inline-flex; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: flex-end; }
.nav ul { display: flex; gap: 2rem; flex: 1; justify-content: center; }
.nav ul a { color: var(--black); text-decoration: none; font-size: 14px; padding: 4px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }
.menu-btn { display: none; background: none; border: 1px solid var(--blue); color: var(--blue); padding: .45rem .9rem; border-radius: 8px; font: inherit; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; background: var(--blue); color: var(--white); text-decoration: none; font-family: inherit; font-weight: 500; font-size: 14px; padding: .8rem 1.4rem; border-radius: 10px; border: 1px solid var(--blue); cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-sm { padding: .6rem 1.1rem; font-size: 13px; white-space: nowrap; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-black { background: var(--black); border-color: var(--black); }
.btn-black:hover { background: #222; border-color: #222; }
.btn-sm-full { justify-content: center; width: 100%; margin-top: 1rem; font-size: 13px; }
.pill-yellow { display: inline-flex; align-items: center; gap: .5rem; background: var(--yellow); color: var(--black); text-decoration: none; font-weight: 600; font-size: 13px; padding: .8rem 2rem; border-radius: 999px; transition: filter .15s; }
.pill-yellow:hover { filter: brightness(.93); }
.pill-outline { display: inline-block; border: 1px solid var(--black); color: var(--black); text-decoration: none; font-size: 12px; font-weight: 500; padding: .7rem 1.6rem; border-radius: 999px; background: var(--white); }
.pill-outline:hover { background: var(--black); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* ---------- hero carousel ---------- */
.hero { position: relative; min-height: 600px; background: #eaf2fb; overflow: hidden; }
.slide { position: absolute; inset: 0; min-height: 600px; display: flex; align-items: center; background-image: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.85) 38%, rgba(255,255,255,0) 72%), var(--bg); background-size: cover; background-position: center right; padding: 3rem 0; opacity: 0; transition: opacity .8s ease-in-out; pointer-events: none; z-index: 0; }
.slide[hidden] { display: flex; opacity: 0; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.slide-inner { width: min(1180px, 100% - 160px); margin-inline: auto; max-width: 560px; margin-left: max(80px, calc((100% - 1180px) / 2)); }
.hero-title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; color: var(--black); margin: 0; line-height: 1.25; }
.hero-sub { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; color: var(--blue); line-height: 1.25; margin: 0 0 1rem; }
.slide-inner p { font-size: 14px; max-width: 520px; color: var(--text); }
.slide-inner .hero-title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; color: var(--black); max-width: none; margin: 0; }
.slide-inner .hero-sub { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; color: var(--blue); max-width: none; margin: 0 0 1rem; }
.chips { color: var(--blue) !important; font-weight: 600; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--black); cursor: pointer; display: grid; place-items: center; }
.car-btn:hover { background: rgba(0,149,171,.1); }
.car-btn .ic { width: 24px; height: 24px; }
.car-btn.prev { left: 16px; } .car-btn.next { right: 16px; }
.car-pause { position: absolute; right: 22px; bottom: 22px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--text); background: rgba(255,255,255,.7); color: var(--black); cursor: pointer; display: grid; place-items: center; }
.yellow-row { width: min(1180px, 100% - 48px); margin: 1.4rem auto 0; text-align: right; }

/* ---------- generic sections ---------- */
.sec { padding: 4.5rem 0; }
.sec.solutions { background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)), var(--bg) center / cover; }
.label { display: flex; align-items: center; gap: .5rem; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--text); margin: 0 0 .3rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--blue-light), var(--blue)); box-shadow: 4px 3px 0 -1px rgba(0,149,171,.25); flex: none; }
.h-light { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; letter-spacing: 0; color: var(--black); margin: 0; }
.h-bold { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; color: var(--black); margin: 0; }
.blue-h { color: var(--blue); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; }
.blue-h.small { font-size: 1.25rem; font-weight: 500; }
.blue-h.center, .center { text-align: center; }
.blue-h.upper { letter-spacing: .01em; margin: 3.5rem 0 2rem; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.center-head { text-align: center; margin-bottom: 2.2rem; }
.center-head .label { justify-content: center; }
.note { font-size: 13px; margin-top: 1.5rem; max-width: none; }
.note.center-text { text-align: center; font-size: 11px; font-style: italic; margin: 1.2rem 0 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two img { width: 100%; }
.strong { font-weight: 600; color: var(--black); }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card { border-radius: 10px; padding: 1.6rem; position: relative; display: flex; flex-direction: column; }
.card.white { background: var(--white); border: 1px solid var(--line); min-height: 250px; }
.card.tint { background: var(--tint); }
.card h2, .card h3 { font-size: 14px; font-weight: 600; margin: 1.3rem 0 .6rem; color: var(--black); }
.card i { font-style: normal; margin: 0 .3rem; font-weight: 400; }
.card p { font-size: 13px; }
.card .more { margin-top: auto; align-self: flex-end; display: inline-flex; align-items: center; gap: .4rem; font-size: 12px; text-decoration: none; color: var(--text); flex-direction: row-reverse; }
.card .more .ic { width: 16px; height: 16px; border: 1px solid var(--text); border-radius: 50%; padding: 2px; }
.card.white .icon-sq { position: absolute; top: 1.2rem; right: 1.2rem; }
.icon-sq { width: 44px; height: 44px; border-radius: 6px; background: var(--blue); color: var(--white); display: grid; place-items: center; }
.icon-sq .ic { width: 24px; height: 24px; }
.ai-mark { width: min(447px, 100%); margin: 3rem auto 0; opacity: .95; }

/* industries */
.photo-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.photo-tile { margin: 0; position: relative; border-radius: 10px; overflow: hidden; }
.photo-tile img { width: 100%; aspect-ratio: 313 / 446; object-fit: cover; }
.photo-tile figcaption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; background: var(--white); border-radius: 8px; text-align: center; font-size: 13px; font-weight: 500; color: var(--black); padding: .75rem; }
.clients-title { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; margin: 3.2rem 0 1.6rem; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3.5rem; align-items: center; }
.logos img { height: 64px; width: auto; max-width: 150px; object-fit: contain; }

/* challenge */
.challenge .line-1 { font-size: 1.35rem; font-weight: 500; color: var(--black); margin: 0; }
.challenge .line-2 { font-size: 1.35rem; font-weight: 500; color: var(--blue); }
.challenge p { font-size: 13px; margin-bottom: .2em; }

/* workflow band */
.workflow { background: linear-gradient(rgba(0,149,171,.94), rgba(0,75,85,.96)), var(--bg) center / cover; color: var(--white); padding: 4.2rem 0 3rem; }
.workflow .label, .workflow .h-light { color: var(--white); }
.workflow .h-light { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.tablist { display: flex; flex-wrap: wrap; margin-bottom: 2rem; }
.tablist [role="tab"] { flex: 1 1 0; min-width: 120px; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; font: inherit; font-size: 12px; padding: .9rem .4rem; cursor: pointer; }
.workflow .tablist [role="tab"] { border-bottom-color: rgba(255,255,255,.55); }
.tablist [role="tab"][aria-selected="true"] { border-bottom: 3px solid var(--blue); font-weight: 600; color: var(--blue); }
.workflow .tablist [role="tab"][aria-selected="true"] { border-bottom-color: var(--white); color: var(--white); }
[role="tabpanel"][hidden] { display: none; }
.wf { align-items: center; }
.wf h3 { color: var(--white); font-size: 1.5rem; font-weight: 500; }
.wf p { font-size: 13px; color: #e8f2fb; margin-bottom: 1.2rem; }
.wf img { border-radius: 6px; }
.sources { font-size: 12px; margin-top: 2.5rem; color: #cfe3f5; }
.sources a { color: #cfe3f5; display: block; }

/* city CTA */
.cta-city .two { align-items: start; }
.cta-city .blue-h { font-size: 1.4rem; font-weight: 600; }
.cta-city p { font-size: 13px; max-width: 360px; }
.cta-city .pill-yellow { margin-top: .6rem; }

/* FAQ */
.faq-sec { padding-bottom: 2rem; }
.faq-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.faq-head h2 { font-size: 2rem; font-weight: 500; margin: 0; }
.search { display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--text); padding: .3rem .1rem; font-size: 13px; }
.search input { border: 0; outline: 0; font: inherit; width: 150px; background: transparent; }
.search:focus-within { border-bottom-color: var(--blue); }
.faq details { border: 1px solid var(--text); margin-bottom: 1rem; background: var(--white); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-size: 14px; color: var(--black); padding: 1.15rem 1.4rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { transition: transform .2s; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { font-size: 13px; padding: 0 1.4rem 1.3rem; margin: 0; max-width: none; }
.faq details a { color: var(--blue); }
.faq-empty { text-align: center; color: var(--text); }
.faq-end { background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.9)), var(--bg) center / cover; text-align: center; padding: 3.5rem 0 4.5rem; }
.faq-end h3 { color: var(--blue); font-size: 1.3rem; font-weight: 600; }
.faq-end p { font-size: 13px; }

/* ---------- banners & bands ---------- */
.banner { background: linear-gradient(rgba(0,149,171,.93), rgba(0,149,171,.93)), var(--bg) center / cover; text-align: center; padding: 3.6rem 1rem; }
.banner h1 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; margin: 0; }
.intro { text-align: center; color: var(--blue); font-size: 13px; max-width: 760px; margin: 0 auto 2.5rem; }
.intro.left { text-align: left; margin: 0 0 1rem; max-width: none; grid-column: 1 / -1; }
.sol-grid { align-items: stretch; }
.sol-grid .card img { border-radius: 8px; width: 100%; margin-top: auto; aspect-ratio: 418 / 247; object-fit: cover; }
.sol-grid .card p { flex: 0 0 auto; margin-bottom: 1rem; }
.sol-grid .icon-sq { margin-bottom: 0; }
.band { background: linear-gradient(rgba(0,75,85,.9), rgba(0,149,171,.88)), var(--bg) center / cover; text-align: center; color: var(--white); padding: 4rem 0; }
.band h2 { color: var(--white); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 500; max-width: 720px; margin: 0 auto 1.5rem; }
.band p { max-width: 640px; margin: 0 auto 1.5rem; }
.small-cap { font-size: 12px; font-weight: 500; letter-spacing: .04em; margin-bottom: .6rem; text-transform: none; }

.page-hero { background: linear-gradient(rgba(6,22,46,.82), rgba(6,22,46,.72)), var(--bg) center / cover; color: var(--white); padding: 4.5rem 0 4rem; }
.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; max-width: 640px; }
.page-hero p { max-width: 540px; font-size: 14px; }
.page-hero .btn { margin-top: .8rem; }
.page-hero .small-cap { font-size: 11px; font-weight: 600; letter-spacing: .05em; }

/* segments */
.segments { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 45%, rgba(255,255,255,.05) 100%), var(--bg) right center / cover; padding: 3.5rem 0 4rem; }
.sub { font-size: 13px; color: var(--text); margin-bottom: 2rem; }
.seg-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }
.seg-tile { position: relative; display: block; width: 157px; height: 218px; border-radius: 6px; overflow: hidden; background: #0b2d52; text-decoration: none; }
.seg-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; }
.seg-tile:hover img { opacity: 1; }
.seg-tile span { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .03em; padding: 0 .4rem; }
.seg-text { max-width: 560px; }
.seg-item { margin-bottom: 1.4rem; scroll-margin-top: 110px; }
.seg-item h3 { color: var(--blue); font-size: 12px; font-weight: 600; margin-bottom: .6rem; }
.seg-item p { font-size: 12.5px; margin-bottom: .2rem; color: var(--text); }
.areas .blue-h { margin-bottom: 1.4rem; }
.areas .spaced { margin-top: 3.5rem; }
.area h3 { font-size: 13px; font-weight: 600; margin-bottom: .8rem; }
.area p { font-size: 13px; max-width: 760px; }
.strip { background: linear-gradient(rgba(240,247,255,.9), rgba(240,247,255,.82)), var(--bg) center / cover; padding: 2.8rem 0; }
.strip .row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.strip p { font-size: 13px; max-width: 560px; margin: 0; }

/* success stories */
.blue-line { color: var(--blue); font-size: 13px; margin-top: 1.6rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; margin-top: 1.6rem; }
.stats strong { display: block; font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1.05; color: var(--blue); }
.stats span { display: block; font-size: 13px; margin-top: .4rem; }
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.case img { width: 100%; aspect-ratio: 288 / 341; object-fit: cover; border-radius: 4px; }
.case-no { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; margin: .9rem 0 .3rem; color: var(--black); }
.case-no a { color: var(--text); }
.case h3 { color: var(--blue); font-size: 15px; font-weight: 600; margin-bottom: .3rem; }
.case p { font-size: 12px; }
.case .meta { font-size: 11.5px; margin-bottom: .6rem; }
.ss-cta { background: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)), var(--bg) center / cover; padding: 3.5rem 0; }
.ss-grid { display: grid; grid-template-columns: minmax(0, 424px) 1fr auto; gap: 2.5rem; align-items: center; }
.ss-cta h2 { color: var(--blue); font-size: 1.6rem; font-weight: 600; }
.ss-cta p { font-size: 13px; }

/* contact */
.contact { align-items: start; row-gap: 1.5rem; grid-template-columns: 1fr 1.6fr; }
.contact .intro.left { grid-column: 1 / -1; }
.contact-card { grid-column: 1; }
.contact .form { grid-column: 2; }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .3rem; font-size: 13px; font-weight: 500; color: var(--black); }
.form input, .form textarea { font: inherit; padding: .75rem 1rem; border: 1px solid #aeb8c7; border-radius: 8px; width: 100%; box-sizing: border-box; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form .btn { justify-self: start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-msg { padding: .9rem 1.1rem; border-radius: 8px; font-size: 14px; line-height: 1.5; display: none; }
.form-msg.success { display: block; background: #e6f7ef; color: #0b6941; border: 1px solid #95deb8; }
.form-msg.error { display: block; background: #fdf2f2; color: #b82c2c; border: 1px solid #f8b4b4; }
.form-btn-loading { opacity: 0.75; pointer-events: none; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.4); border-radius: 50%; border-top-color: #fff; animation: spin 0.8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-card h2 { font-size: 1.2rem; margin-top: 0; }
/* ---------- footer ---------- */
.site-footer { background: linear-gradient(rgba(0,149,171,.93), rgba(0,75,85,.97)), url("../images/bg-wave.jpg") center / cover; color: var(--white); padding: 3.5rem 0 1.5rem; font-size: 13px; }
.foot-inner { width: min(1180px, 100% - 48px); margin-inline: auto; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.3fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.site-footer h2 { color: var(--white); font-size: 13px; font-weight: 600; margin-bottom: 1.1rem; }
.site-footer ul { display: grid; gap: .6rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.foot-brand p { max-width: 30ch; }
.social { display: flex !important; gap: 1rem !important; margin-top: 1rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .ic { margin-top: 2px; }
.card .contact-list a { color: var(--blue); }
.legal { border-top: 1px solid rgba(255,255,255,.35); text-align: center; padding-top: 1.2rem; font-size: 12px; }
.legal p { margin: 0 0 .3rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav ul { gap: 1.1rem; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .photo-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .two, .ss-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact { grid-template-columns: 1fr; }
  .contact-card, .contact .form { grid-column: 1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .slide-inner { margin-left: auto; width: min(1180px, 100% - 100px); }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 1.2rem 24px 1.6rem; gap: 1.2rem; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: .9rem; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .grid-3, .cases, .photo-tiles, .foot-grid, .stats { grid-template-columns: 1fr; }
  .sec { padding: 3rem 0; }
  .slide { background-image: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.8)), var(--bg); }
  .car-btn { display: none; }
  .seg-tile { width: 46%; height: 190px; }
  .bar { min-height: 72px; }
  .nav { top: 72px; }
}



