/* ==========================================================================
   ITC InfoTech — Corporate Design System
   Style: Trust & Authority | Type: Poppins / Open Sans | Palette: Navy + Blue + Teal
   ========================================================================== */

/* Fonts are loaded via <link> in each page's <head> (avoids a render-blocking @import chain). */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #04101f;
  --navy-800: #071c33;
  --navy-700: #0a2540;
  --navy-600: #0e3a63;
  --brand-600: #0f5fd6;
  --brand-500: #1a72f0;
  --brand-400: #4b93f7;
  --accent-500: #12c2b6;
  --accent-400: #2fe0d3;

  /* Neutrals */
  --white: #ffffff;
  --ink-900: #0b1524;
  --ink-700: #26374d;
  --ink-500: #5a6b81;
  --ink-400: #7c8aa0;
  --line: #e6ecf3;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --surface-tint: #eef4fb;

  /* Semantic */
  --bg: var(--white);
  --fg: var(--ink-900);
  --muted: var(--ink-500);
  --primary: var(--brand-600);
  --primary-ink: #ffffff;
  --accent: var(--accent-500);

  /* Type scale */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --font-logo: 'Space Grotesk', 'Poppins', system-ui, sans-serif;
  --fs-hero: clamp(2.4rem, 5vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.65rem, 3vw, 2.35rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.25rem);

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .05);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, .10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);
  --ring: 0 0 0 3px rgba(26, 114, 240, .35);

  /* Spacing rhythm (8pt) */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 220ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink-900); font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--s-7); }
.section--tight { padding-block: var(--s-6); }
.section--alt { background: var(--surface-alt); }
.section--navy { background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); color: #dde7f2; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--navy .eyebrow { color: var(--accent-400); }

.section-head { max-width: 760px; margin-bottom: var(--s-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin-top: 14px; }
.section--navy .section-head p { color: #b9c7d9; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; min-height: 48px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 22px rgba(15, 95, 214, .28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 95, 214, .38); }
.btn--accent { background: var(--accent); color: #04211f; box-shadow: 0 8px 22px rgba(18, 194, 182, .3); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18, 194, 182, .4); }
.btn--ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink-900); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy-700); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--primary); font-size: .95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-logo); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.02em; color: var(--navy-700); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand > span { line-height: 1.05; }
.brand small { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-700);
  font-family: var(--font-head); transition: color var(--dur), background var(--dur);
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active { color: var(--primary); background: var(--surface-tint); }
.nav-link .chev { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.nav-item:hover .chev { transform: rotate(180deg); }

/* Dropdown / mega */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 12px; opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); z-index: 120;
}
.dropdown.mega { min-width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; transition: background var(--dur); }
.dropdown a:hover { background: var(--surface-tint); }
.dropdown a .di { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--surface-tint); color: var(--primary); }
.dropdown a .di svg { width: 18px; height: 18px; }
.dropdown a strong { font-family: var(--font-head); font-size: .92rem; color: var(--ink-900); font-weight: 600; display: block; }
.dropdown a span { font-size: .8rem; color: var(--muted); line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; color: var(--navy-700); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: 150px; padding-bottom: var(--s-7);
  background: radial-gradient(120% 120% at 80% 0%, #0e3a63 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #e7eefb; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(18,194,182,.18), transparent 70%),
    radial-gradient(500px 300px at 10% 80%, rgba(26,114,240,.22), transparent 70%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: var(--fs-hero); color: #fff; font-weight: 800; }
.hero h1 .grad { background: linear-gradient(100deg, var(--accent-400), var(--brand-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: var(--fs-lead); color: #b9c7d9; margin-top: 22px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge b { font-family: var(--font-head); font-size: 1.7rem; color: #fff; font-weight: 700; }
.hero-badge span { font-size: .82rem; color: #93a6bd; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-card + .hero-card { margin-top: 18px; }
.hero-card .hc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hero-card .hc-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand-500), var(--accent-500)); color: #fff; }
.hero-card .hc-ic svg { width: 24px; height: 24px; }
.hero-card h3, .hero-card .hc-title { color: #fff; font-size: 1.05rem; font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.hero-card p { color: #a9bace; font-size: .9rem; margin-top: 6px; }
.hero-card .hc-metric { font-family: var(--font-head); font-weight: 700; color: var(--accent-400); }

/* ---------- Marquee / logos ---------- */
.logos { padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.logos p { text-align: center; color: var(--ink-500); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 26px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfe0f5; }
.card-ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--surface-tint), #dcebff); color: var(--primary); }
.card-ic svg { width: 28px; height: 28px; }
.card h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .link-arrow { margin-top: 18px; }
.card--link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur) var(--ease);
}
.card--link:hover::after { transform: scaleX(1); }
.card ul.ticks { margin-top: 16px; display: grid; gap: 8px; }
.card ul.ticks li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-700); }
.card ul.ticks li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }

/* Industry / image card */
.icard {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff;
  background: var(--navy-700); isolation: isolate;
}
.icard::before { content: ""; position: absolute; inset: 0; z-index: -2; background-color: var(--navy-700); background-image: var(--img); background-size: cover; background-position: center; transition: transform 500ms var(--ease); }
.icard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,16,31,.15), rgba(4,16,31,.85)); }
.icard:hover::before { transform: scale(1.07); }
.icard h3 { color: #fff; font-size: 1.3rem; }
.icard p { color: #cdd9e7; font-size: .9rem; margin-top: 6px; opacity: 0; max-height: 0; transition: opacity var(--dur), max-height var(--dur); }
.icard:hover p, .icard:focus-visible p { opacity: 1; max-height: 100px; }
.icard .tag { font-family: var(--font-head); font-weight: 700; color: var(--accent-400); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 26px 18px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.stat b .u { color: var(--accent-400); }
.stat span { display: block; margin-top: 10px; color: #a9bace; font-size: .9rem; }

/* On light bg */
.stats--light .stat { background: var(--surface-alt); border-color: var(--line); }
.stats--light .stat b { color: var(--navy-700); }
.stats--light .stat b .u { color: var(--primary); }
.stats--light .stat span { color: var(--muted); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background-color: var(--navy-700); background-image: var(--img, linear-gradient(140deg, var(--navy-700), var(--brand-600))); background-size: cover; background-position: center; position: relative; }
.split-media[class*="img-"]::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(4,16,31,.28), rgba(4,16,31,.58)); }
.split-media .badge-float { position: absolute; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; gap: 12px; align-items: center; }
.split ul.checklist { display: grid; gap: 14px; margin-top: 24px; }
.split ul.checklist li { display: flex; gap: 12px; }
.split ul.checklist li svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.split ul.checklist li strong { font-family: var(--font-head); display: block; color: var(--ink-900); }
.split ul.checklist li span { color: var(--muted); font-size: .92rem; }

/* ---------- Insight / blog ---------- */
.post { display: flex; flex-direction: column; height: 100%; }
.post .thumb { border-radius: var(--radius); aspect-ratio: 16/10; background-color: var(--surface-tint); background-image: var(--img, linear-gradient(140deg, var(--surface-tint), #d4e6ff)); background-size: cover; background-position: center; overflow: hidden; position: relative; margin-bottom: 18px; }
.post .thumb .cat { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--primary); font-family: var(--font-head); font-weight: 600; font-size: .72rem; padding: 5px 12px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.post .meta { font-size: .8rem; color: var(--ink-500); font-weight: 600; }
.post h3 { font-size: 1.15rem; margin: 8px 0 10px; }
.post h3 a:hover { color: var(--primary); }
.post p { color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, var(--brand-600), var(--navy-800)); color: #fff; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 80% 100%, rgba(18,194,182,.3), transparent 70%); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); position: relative; }
.cta-band p { color: #dde7f2; max-width: 620px; margin: 16px auto 0; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; top: 10px; left: 10px; z-index: 400;
  background: var(--navy-700); color: #fff; font-family: var(--font-head); font-weight: 600;
  padding: 12px 22px; border-radius: 10px;
  transform: translateY(-200%); transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: none; box-shadow: 0 0 0 3px rgba(47,224,211,.7); }

/* ---------- Breadcrumb hero (interior) ---------- */
.page-hero { padding-top: 140px; padding-bottom: var(--s-6); background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); color: #dde7f2; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 88% 10%, rgba(18,194,182,.18), transparent 70%); }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: #93a6bd; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--accent-400); }
.page-hero h1 { font-size: var(--fs-h1); color: #fff; max-width: 800px; }
.page-hero p { color: #b9c7d9; font-size: var(--fs-lead); margin-top: 16px; max-width: 680px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink-700); }
.field label .req { color: #dc2626; }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-900);
  min-height: 48px; transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.field .hint { font-size: .78rem; color: var(--ink-500); }

/* ---------- Contact info ---------- */
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: none; }
.info-item .ii-ic { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--surface-tint); color: var(--primary); display: grid; place-items: center; }
.info-item .ii-ic svg { width: 22px; height: 22px; }
.info-item h4, .info-item h3 { font-family: var(--font-head); font-size: .95rem; margin-bottom: 4px; }
.info-item p, .info-item a { color: var(--muted); font-size: .95rem; }
.info-item a:hover { color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb0c4; padding-top: var(--s-7); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: var(--s-6); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand small { color: #7c8aa0; }
.footer-brand p { font-size: .92rem; max-width: 320px; }
.footer-contact { margin-top: 22px; display: grid; gap: 12px; }
.footer-contact a, .footer-contact p { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #b7c4d4; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent-400); flex: none; margin-top: 2px; }
.footer-contact a:hover { color: #fff; }
.footer-col h4, .footer-col h3 { color: #fff; font-family: var(--font-head); font-size: .95rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { display: inline-block; font-size: .9rem; color: #9fb0c4; transition: color var(--dur), transform var(--dur); }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; }
.footer-bottom p { font-size: .85rem; color: #7c8aa0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { font-size: .85rem; color: #9fb0c4; }
.footer-legal a:hover { color: #fff; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cdd9e7; transition: background var(--dur), transform var(--dur); }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
/* Content is visible by default; only hidden-then-revealed when JS is active. */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(5px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal[data-d="1"] { transition-delay: .09s; }
.js .reveal[data-d="2"] { transition-delay: .18s; }
.js .reveal[data-d="3"] { transition-delay: .27s; }
.js .reveal[data-d="4"] { transition-delay: .36s; }
/* Eyebrow underline draws in as its section reveals */
.js .reveal .eyebrow::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease) .25s; }
.js .reveal.in .eyebrow::before { transform: scaleX(1); }

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--navy-900); color: #fff; padding: 24px; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-nav.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.mobile-nav .mn-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-nav .mn-head .brand { color: #fff; }
.mobile-nav .mn-close { color: #fff; width: 44px; height: 44px; display: grid; place-items: center; }
.mobile-nav .mn-close svg { width: 26px; height: 26px; }
.mobile-nav details { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav details > summary { list-style: none; padding: 16px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.mobile-nav details > summary::-webkit-details-marker { display: none; }
.mobile-nav details > summary .pm { transition: transform var(--dur); }
.mobile-nav details[open] > summary .pm { transform: rotate(45deg); }
.mobile-nav .mn-sub { padding: 0 0 16px; display: grid; gap: 4px; }
.mobile-nav .mn-sub a { padding: 10px 12px; border-radius: 10px; color: #b7c4d4; font-size: .95rem; }
.mobile-nav .mn-sub a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-nav > a.mn-link { padding: 16px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav .mn-cta { margin-top: 26px; display: grid; gap: 12px; }
.body-lock { overflow: hidden; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mb-0 { margin-bottom: 0; }
.lead { font-size: var(--fs-lead); color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; background: var(--surface-tint); color: var(--primary); font-family: var(--font-head); font-weight: 600; font-size: .82rem; }
.form-note { font-family: var(--font-head); font-weight: 600; color: #0e7a5f; margin-top: 14px; }

/* Contact page two-column layout (collapses at 1024px) */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }

/* Two mini stats side by side inside industry cards (collapses at 640px) */
.stats--duo { grid-template-columns: 1fr 1fr; margin-top: 22px; gap: 16px; }

/* Focus ring that stays visible on dark sections */
.hero :focus-visible, .section--navy :focus-visible, .cta-band :focus-visible,
.site-footer :focus-visible, .page-hero :focus-visible, .mobile-nav :focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 224, 211, .75);
}

/* Background image assignments (defined here so url() resolution is
   unambiguous across browsers — always relative to this stylesheet). */
.img-bfsi { --img: url('../assets/img/bfsi.jpg'); }
.img-retail { --img: url('../assets/img/retail.jpg'); }
.img-manufacturing { --img: url('../assets/img/manufacturing.jpg'); }
.img-healthcare { --img: url('../assets/img/healthcare.jpg'); }
.img-automotive { --img: url('../assets/img/automotive.jpg'); }
.img-hospitality { --img: url('../assets/img/hospitality.jpg'); }
.img-about-team { --img: url('../assets/img/about-team.jpg'); }
.img-careers { --img: url('../assets/img/careers.jpg'); }
.img-why-us { --img: url('../assets/img/why-us.jpg'); }
.img-ai { --img: url('../assets/img/ai.jpg'); }
.img-cloud { --img: url('../assets/img/cloud.jpg'); }
.img-security { --img: url('../assets/img/security.jpg'); }
.img-data { --img: url('../assets/img/data.jpg'); }
.img-experience { --img: url('../assets/img/experience.jpg'); }

/* ==========================================================================
   Motion enhancements (all transform/opacity, reduced-motion safe)
   ========================================================================== */

/* Scroll progress bar (injected by JS) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 300;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  will-change: transform; pointer-events: none;
}

/* Ambient hero: slow drifting aurora + gently floating cards */
.hero::after { animation: auroraDrift 20s ease-in-out infinite alternate; }
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 2.5%, 0) scale(1.09); }
}
.hero-card { animation: floaty 7s ease-in-out infinite; will-change: transform; }
.hero-card:nth-child(2) { animation-delay: -3.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Button sheen sweep on hover */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .65s var(--ease); pointer-events: none;
}
.btn--ghost::before, .btn--light::before { background: linear-gradient(120deg, transparent, rgba(15,95,214,.14), transparent); }
.btn:hover::before { left: 130%; }

/* Cursor-tracking spotlight on cards (JS updates --mx/--my) */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(26,114,240,.10), transparent 45%);
  opacity: 0; transition: opacity var(--dur) var(--ease); z-index: 0;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* Icon pop on card hover */
.card:hover .card-ic { transform: translateY(-3px) scale(1.05); }
.card-ic { transition: transform var(--dur) var(--ease); }

/* Auto-scrolling client logo marquee */
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-track span { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink-500); opacity: .85; white-space: nowrap; transition: color var(--dur), opacity var(--dur); }
.logo-track span:hover { color: var(--navy-700); opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* Collapse to mobile nav before the mega dropdown can overflow the viewport,
     and so touch-tablet users aren't stuck with hover-only menus. */
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .contact-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding-block: var(--s-6); }
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-badges { gap: 18px; }
  .container { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .js .reveal { opacity: 1; transform: none; filter: none; }
  .hero::after, .hero-card, .logo-track, .scroll-progress { animation: none !important; transform: none !important; }
  .btn::before, .card::before { display: none; }
}
