/* ============================================================
   ZUMRA SOLUTIONS — SHARED STYLES
   Version: 2.0 | Multi-page architecture
   ============================================================ */

/* --- Variables & Reset --- */
:root {
  --navy: #0a0e1a;
  --navy-mid: #101628;
  --navy-light: #161d33;
  --charcoal: #1a1f2e;
  --steel: #2a3148;
  --slate: #8892a8;
  --silver: #b0b8cc;
  --cloud: #d0d6e6;
  --white: #f0f2f8;
  --pure-white: #ffffff;
  --electric: #3b82f6;
  --electric-bright: #60a5fa;
  --electric-dim: #2563eb;
  --electric-glow: rgba(59, 130, 246, 0.15);
  --glass-bg: rgba(16, 22, 40, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(59, 130, 246, 0.3);
  --accent-cyan: #06b6d4;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--silver);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--electric); color: var(--pure-white); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }


/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--pure-white);
  line-height: 1.15;
  font-weight: 400;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--electric);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--electric);
}

.accent-italic {
  font-style: italic;
  color: var(--electric-bright);
}

.accent-gradient {
  font-style: italic;
  background: linear-gradient(135deg, var(--electric-bright), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* --- Background Canvas --- */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pure-white);
  letter-spacing: 0.04em;
  z-index: 1001;
}
.nav-logo .logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--electric), var(--accent-cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--pure-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--silver);
  transition: color 0.25s;
  border-radius: 6px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--pure-white); }

/* Dropdown */
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(16, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease-out);
}
.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-group-label {
  padding: 8px 12px 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--electric);
}
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--silver);
  border-radius: 8px;
  transition: all 0.2s;
}
.dropdown-menu a:hover {
  background: var(--electric-glow);
  color: var(--pure-white);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--pure-white);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  padding: 100px 40px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--silver);
  border-bottom: 1px solid var(--glass-border);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--electric), var(--electric-dim));
  color: var(--pure-white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  color: var(--silver);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease-out);
}
.btn-secondary:hover {
  border-color: var(--electric);
  color: var(--pure-white);
  background: var(--electric-glow);
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--pure-white) !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}
.btn-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(16, 185, 129, 0.4);
  color: var(--pure-white) !important;
}


/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section { padding: 120px 0; position: relative; }

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--steel), transparent);
}


/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.90) 0%, rgba(10,14,26,0.96) 100%);
}
.page-hero h1 { margin-bottom: 16px; position: relative; z-index: 1; }
.page-hero p {
  font-size: 1.1rem;
  color: var(--silver);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero .section-label { position: relative; z-index: 1; justify-content: center; }


/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-image { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(10,14,26,0.93) 0%,
    rgba(10,14,26,0.75) 50%,
    rgba(10,14,26,0.90) 100%);
}
.hero-content { position: relative; z-index: 3; max-width: 55%; }
.hero .container { max-width: 1400px; padding: 0 60px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.hero h1 { margin-bottom: 24px; word-break: keep-all; overflow-wrap: normal; }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--silver);
  max-width: 780px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-image-accent {
  position: relative;
  right: auto; top: auto;
  transform: none;
  flex-shrink: 0;
  width: 500px; height: 600px;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 80px rgba(59,130,246,0.08);
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-image-accent img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-accent::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,14,26,0.5) 100%);
  pointer-events: none;
}
.hero-image-accent::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 24px;
  z-index: 2;
  pointer-events: none;
}


/* ============================================================
   WHO WE ARE — split layout
   ============================================================ */
.who-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.who-image {
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  position: relative;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
}
.who-image img { width: 100%; height: 100%; object-fit: cover; }
.who-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), transparent);
  pointer-events: none;
}
.who-items { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.who-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-out);
}
.who-item:hover { border-color: var(--glass-border-hover); transform: translateX(4px); }
.who-item-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--electric); margin-top: 7px; flex-shrink: 0; }
.who-item p { font-size: 0.88rem; line-height: 1.6; }


/* ============================================================
   SERVICE CARDS (homepage grid)
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.sc-img { height: 170px; overflow: hidden; position: relative; }
.sc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  filter: brightness(0.75) saturate(0.9);
}
.service-card:hover .sc-img img { transform: scale(1.08); filter: brightness(0.85) saturate(1); }
.sc-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0) 30%, rgba(10,14,26,0.8) 100%);
  pointer-events: none;
}
.sc-body { padding: 24px 26px 26px; }
.sc-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--electric-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.sc-icon svg { width: 20px; height: 20px; stroke: var(--electric-bright); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { font-size: 0.84rem; color: var(--slate); line-height: 1.6; }
.service-card .learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.8rem; font-weight: 600; color: var(--electric); transition: gap 0.3s; }
.service-card:hover .learn-more { gap: 10px; }
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--electric), var(--accent-cyan));
  opacity: 0; transition: opacity 0.4s; z-index: 1;
}
.service-card:hover { border-color: var(--glass-border-hover); transform: translateY(-6px); box-shadow: 0 20px 60px -15px rgba(59,130,246,0.15); }
.service-card:hover::before { opacity: 1; }


/* ============================================================
   STATS
   ============================================================ */
.stats-section { position: relative; padding: 100px 0; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.3); }
.stats-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,14,26,0.88), rgba(10,14,26,0.82)); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; position: relative; z-index: 2; }
.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(16,22,40,0.65);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  transition: all 0.4s var(--ease-out);
}
.stat-card:hover { border-color: var(--glass-border-hover); transform: translateY(-4px); }
.stat-number { font-family: var(--font-display); font-size: 3.2rem; color: var(--electric-bright); line-height: 1; margin-bottom: 8px; }
.stat-suffix { font-size: 1.8rem; }
.stat-label { font-size: 0.85rem; color: var(--silver); font-weight: 500; }


/* ============================================================
   FRAMEWORK
   ============================================================ */
.framework-steps { display: flex; gap: 0; margin-top: 48px; }
.framework-step {
  flex: 1; text-align: center; padding: 32px 20px; position: relative;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px); transition: all 0.4s var(--ease-out);
}
.framework-step:first-child { border-radius: 16px 0 0 16px; }
.framework-step:last-child { border-radius: 0 16px 16px 0; }
.framework-step:hover { background: rgba(59,130,246,0.06); border-color: var(--glass-border-hover); z-index: 2; }
.step-number {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--electric), var(--electric-dim));
  color: var(--pure-white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; margin-bottom: 16px;
}
.framework-step h4 { font-size: 0.95rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.framework-step p { font-size: 0.78rem; color: var(--slate); line-height: 1.5; }
.step-connector { position: absolute; right: -12px; top: 50%; transform: translateY(-50%); z-index: 3; color: var(--electric); font-size: 1.2rem; }


/* ============================================================
   SERVICES PAGE DETAIL
   ============================================================ */
.service-detail { padding: 56px 0; border-bottom: 1px solid var(--glass-border); }
.service-detail:last-child { border-bottom: none; }
.sd-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.sd-inner.reverse { direction: rtl; }
.sd-inner.reverse > * { direction: ltr; }
.sd-image {
  border-radius: 16px; overflow: hidden; height: 300px; position: relative;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.3);
}
.sd-image img { width: 100%; height: 100%; object-fit: cover; }
.sd-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(59,130,246,0.06), transparent); pointer-events: none; }
.service-detail h3 { font-size: 1.45rem; margin-bottom: 14px; }
.sd-inner p { font-size: 0.92rem; line-height: 1.8; margin-bottom: 20px; }
.cap-list { display: flex; flex-direction: column; gap: 8px; }
.cap-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 10px;
  font-size: 0.85rem; color: var(--silver); transition: all 0.3s;
}
.cap-item:hover { border-color: var(--glass-border-hover); background: var(--electric-glow); }
.cap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--electric); flex-shrink: 0; }


/* ============================================================
   INDUSTRIES
   ============================================================ */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 20px; margin-top: 48px; }
.ind-tile {
  position: relative; border-radius: 16px; overflow: hidden; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
  transition: all 0.4s var(--ease-out); cursor: pointer; border: 1px solid var(--glass-border);
}
.ind-tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,26,0.1) 0%, rgba(10,14,26,0.88) 100%); z-index: 1; pointer-events: none; }
.ind-tile:hover { transform: translateY(-6px); border-color: var(--glass-border-hover); box-shadow: 0 20px 60px -15px rgba(59,130,246,0.12); }
.ind-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.ind-tile:hover img { transform: scale(1.06); }
.ind-tile h3 { position: relative; z-index: 2; font-size: 1.3rem; margin-bottom: 8px; }
.ind-tile p { position: relative; z-index: 2; font-size: 0.85rem; color: var(--cloud); line-height: 1.5; }
.ind-grid .ind-tile:nth-child(4) { grid-column: 1 / 2; }
.ind-grid .ind-tile:nth-child(5) { grid-column: 2 / 4; }


/* ============================================================
   ABOUT
   ============================================================ */
.about-statement { max-width: 800px; margin: 0 auto; padding: 60px 0; }
.about-statement p { font-size: 1.15rem; line-height: 2; color: var(--silver); text-align: center; }
.about-statement p + p { margin-top: 16px; }
.about-img-band {
  border-radius: 20px; overflow: hidden; height: 360px; margin-top: 32px;
  border: 1px solid var(--glass-border); position: relative;
}
.about-img-band img { width: 100%; height: 100%; object-fit: cover; }
.about-img-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,14,26,0.35), rgba(59,130,246,0.08)); pointer-events: none; }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.value-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 32px; text-align: center; transition: all 0.4s var(--ease-out);
}
.value-card:hover { border-color: var(--glass-border-hover); transform: translateY(-4px); }
.value-card h4 { margin-top: 16px; margin-bottom: 12px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.value-card p { font-size: 0.85rem; color: var(--slate); }


/* ============================================================
   INSIGHTS
   ============================================================ */
.ins-featured {
  margin-top: 48px; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  transition: all 0.4s var(--ease-out);
}
.ins-featured:hover { border-color: var(--glass-border-hover); }
.ins-featured-img { position: relative; min-height: 340px; overflow: hidden; }
.ins-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.ins-featured-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(10,14,26,0.2)); pointer-events: none; }
.ins-featured-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.featured-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--electric); margin-bottom: 12px; }
.ins-featured h3 { font-size: 1.6rem; margin-bottom: 16px; }
.ins-featured p { font-size: 0.92rem; line-height: 1.7; }

.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.ins-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; overflow: hidden; transition: all 0.4s var(--ease-out); cursor: pointer; }
.ins-card:hover { border-color: var(--glass-border-hover); transform: translateY(-4px); }
.ins-thumb { height: 180px; overflow: hidden; position: relative; }
.ins-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); filter: brightness(0.8); }
.ins-card:hover .ins-thumb img { transform: scale(1.06); filter: brightness(0.9); }
.ins-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,14,26,0.5) 100%); pointer-events: none; }
.ins-card-body { padding: 24px; }
.ins-card-body .tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--electric); margin-bottom: 8px; }
.ins-card-body h4 { font-size: 1rem; margin-bottom: 8px; }
.ins-card-body p { font-size: 0.82rem; color: var(--slate); }


/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--silver); letter-spacing: 0.04em; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 10px;
  padding: 14px 18px; color: var(--pure-white); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.3s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--electric); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--navy); }

.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 14px; padding: 28px; transition: all 0.3s; }
.contact-info-card:hover { border-color: var(--glass-border-hover); }
.contact-info-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }
.contact-info-card p { font-size: 0.88rem; color: var(--slate); }
.contact-info-card a { color: var(--electric); transition: color 0.2s; }
.contact-img { border-radius: 16px; overflow: hidden; height: 200px; border: 1px solid var(--glass-border); position: relative; }
.contact-img img { width: 100%; height: 100%; object-fit: cover; }
.contact-highlight { background: var(--electric-glow); border-color: rgba(59,130,246,0.2); }
.contact-highlight h4 { color: var(--electric-bright); }


/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(6,182,212,0.03));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.cta-band h2 { margin-bottom: 16px; position: relative; z-index: 1; }
.cta-band p { margin-bottom: 32px; position: relative; z-index: 1; color: var(--silver); }
.cta-band .btn-cta { position: relative; z-index: 1; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--glass-border); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: 0.85rem; color: var(--slate); margin-top: 12px; max-width: 300px; line-height: 1.6; }
.footer h5 { font-family: var(--font-body); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; color: var(--slate); transition: color 0.2s; }
.footer-links a:hover { color: var(--electric); }
.footer-address { font-size: 0.82rem; color: var(--slate); margin-top: 16px; line-height: 1.6; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--slate);
}


/* ============================================================
   GEN-Z ANIMATIONS — scroll reveals, 3D tilt, glows, shimmer
   ============================================================ */

/* --- Keyframes --- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(60px) scale(0.95); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(80px) rotate(2deg); filter: blur(4px); }
  to { opacity: 1; transform: translateX(0) rotate(0); filter: blur(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-80px) rotate(-2deg); filter: blur(4px); }
  to { opacity: 1; transform: translateX(0) rotate(0); filter: blur(0); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.6) rotate(-3deg); filter: blur(8px); }
  60% { opacity: 1; transform: scale(1.05) rotate(0.5deg); filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--glass-border); box-shadow: 0 0 0 rgba(59,130,246,0); }
  50% { border-color: var(--glass-border-hover); box-shadow: 0 0 25px rgba(59,130,246,0.12); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.15); }
  50% { box-shadow: 0 0 30px 5px rgba(59,130,246,0.15); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes numberPop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.8); opacity: 1; }
}

@keyframes iconSpin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes tiltReveal {
  from { opacity: 0; transform: perspective(800px) rotateX(8deg) translateY(40px); }
  to { opacity: 1; transform: perspective(800px) rotateX(0) translateY(0); }
}

/* --- Base fade-up (enhanced with blur) --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* --- Stagger with increasing delays --- */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.12s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.19s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.26s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.33s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.40s; }
.stagger-children .fade-up:nth-child(7) { transition-delay: 0.47s; }
.stagger-children .fade-up:nth-child(8) { transition-delay: 0.54s; }
.stagger-children .fade-up:nth-child(9) { transition-delay: 0.61s; }

/* --- Service cards: 3D tilt + cursor-tracking glow + shimmer --- */
.service-card {
  transform-style: preserve-3d;
  perspective: 800px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  --mouse-x: 50%;
  --mouse-y: 50%;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle 300px at var(--mouse-x) var(--mouse-y), rgba(59,130,246,0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) scale(1.02);
  border-color: var(--electric);
  box-shadow: 0 30px 60px -15px rgba(59,130,246,0.25), 0 0 40px rgba(59,130,246,0.08);
}
.service-card:hover::after { opacity: 1; }
.service-card:hover .sc-icon {
  animation: iconSpin 0.8s var(--ease-out);
}
.service-card:hover .sc-img img {
  transform: scale(1.12) rotate(1deg);
  filter: brightness(0.9) saturate(1.1);
}

/* --- Stat cards: pop-in + pulse glow + float --- */
.stat-card {
  transition: all 0.5s var(--ease-out);
}
.stat-card.visible {
  animation: popIn 0.7s var(--ease-out) both;
}
.stat-card:hover {
  transform: translateY(-8px) scale(1.04);
  border-color: var(--electric);
  animation: pulseGlow 2s ease-in-out infinite;
}
.stat-card:hover .stat-number {
  animation: numberPop 0.5s var(--ease-out);
}

/* --- Who items: slide from left with stagger --- */
.who-item {
  transition: all 0.4s var(--ease-out);
}
.who-item.visible {
  animation: slideRight 0.7s var(--ease-out) both;
}
.who-item:hover {
  transform: translateX(12px) scale(1.02);
  border-color: var(--electric);
  box-shadow: 0 8px 30px rgba(59,130,246,0.12);
  background: rgba(59,130,246,0.06);
}
.who-item:hover .who-item-dot {
  animation: dotPulse 1s ease-in-out infinite;
  background: var(--electric-bright);
}

/* --- Framework steps: tilt reveal + glow on hover --- */
.framework-step {
  transition: all 0.5s var(--ease-out);
}
.framework-step.visible {
  animation: tiltReveal 0.8s var(--ease-out) both;
}
.framework-step:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(59,130,246,0.08);
  border-color: var(--electric);
  box-shadow: 0 20px 50px -15px rgba(59,130,246,0.2);
}
.framework-step:hover .step-number {
  transform: scale(1.2) rotate(360deg);
  transition: transform 0.6s var(--ease-out);
  box-shadow: 0 0 20px rgba(59,130,246,0.5);
}

/* --- Industry tiles: zoom + glow reveal --- */
.ind-tile {
  transition: all 0.5s var(--ease-out);
}
.ind-tile:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--electric);
  box-shadow: 0 30px 60px -15px rgba(59,130,246,0.2), inset 0 0 60px rgba(59,130,246,0.05);
}
.ind-tile:hover img {
  transform: scale(1.12) rotate(1deg);
}
.ind-tile:hover h3 {
  text-shadow: 0 0 30px rgba(59,130,246,0.4);
}

/* --- Value cards: float animation after reveal --- */
.value-card {
  transition: all 0.5s var(--ease-out);
}
.value-card:hover {
  transform: translateY(-10px) scale(1.04) rotate(-1deg);
  border-color: var(--electric);
  box-shadow: 0 25px 50px -15px rgba(59,130,246,0.2);
}
.value-card:hover svg {
  transform: scale(1.25);
  filter: drop-shadow(0 0 12px rgba(59,130,246,0.5));
  transition: all 0.4s var(--ease-out);
}

/* --- Insight cards: slide + shimmer overlay --- */
.ins-card {
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.ins-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  z-index: 3;
  pointer-events: none;
  transition: left 0s;
}
.ins-card:hover::before {
  left: 150%;
  transition: left 0.8s ease;
}
.ins-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--electric);
  box-shadow: 0 25px 50px -15px rgba(59,130,246,0.18);
}
.ins-card:hover .ins-thumb img {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(0.95) saturate(1.1);
}

/* --- Capability items: slide in from left --- */
.cap-item {
  transition: all 0.35s var(--ease-out);
}
.cap-item:hover {
  transform: translateX(10px) scale(1.02);
  border-color: var(--electric);
  background: var(--electric-glow);
  box-shadow: 0 5px 20px rgba(59,130,246,0.1);
}
.cap-item:hover .cap-dot {
  animation: dotPulse 0.8s ease-in-out infinite;
  background: var(--electric-bright);
}

/* --- Contact info cards: lift + border glow --- */
.contact-info-card {
  transition: all 0.4s var(--ease-out);
}
.contact-info-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--electric);
  box-shadow: 0 15px 40px rgba(59,130,246,0.12);
}

/* --- CTA band: breathing glow --- */
.cta-band {
  animation: borderGlow 4s ease-in-out infinite;
}

/* --- Insights featured card: shimmer sweep --- */
.ins-featured {
  position: relative;
  overflow: hidden;
}
.ins-featured::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
  animation: shimmer 6s ease-in-out infinite;
}

/* --- SD images on services page: parallax tilt --- */
.sd-image {
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
}
.sd-image:hover {
  transform: perspective(600px) rotateY(-3deg) scale(1.03);
  box-shadow: 0 30px 60px -15px rgba(59,130,246,0.2);
}
.sd-image:hover img {
  transform: scale(1.08);
}

/* --- Hero content entrance --- */
.hero-content .fade-up:nth-child(1) { transition-delay: 0.1s; }
.hero-content .fade-up:nth-child(2) { transition-delay: 0.3s; }
.hero-content .fade-up:nth-child(3) { transition-delay: 0.5s; }
.hero-content .fade-up:nth-child(4) { transition-delay: 0.7s; }

/* --- Section labels: line grows on reveal --- */
.section-label::before {
  width: 0;
  transition: width 0.8s var(--ease-out) 0.3s;
}
.section-label.visible::before,
.fade-up.visible .section-label::before,
.visible .section-label::before {
  width: 32px;
}

/* --- About image band: ken burns --- */
.about-img-band img {
  animation: kenBurns 20s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* --- Who image: slow drift --- */
.who-image img {
  animation: kenBurns 25s ease-in-out infinite alternate;
}

/* --- Reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid, .values-grid, .ins-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .framework-steps { flex-wrap: wrap; }
  .framework-step { flex: 1 1 45%; border-radius: 12px !important; }
  .step-connector { display: none; }
  .sd-inner, .sd-inner.reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid .ind-tile:nth-child(5) { grid-column: auto; }
  .ins-featured { grid-template-columns: 1fr; }
  .who-layout { grid-template-columns: 1fr; }
  .hero-image-accent { display: none; }
  .hero-content { max-width: 100%; }
  .hero .container { flex-direction: column; padding: 0 40px; }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .services-grid, .values-grid, .ins-grid, .ind-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .framework-steps { flex-direction: column; }
  .framework-step { flex: 1 1 100%; border-radius: 12px !important; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }
}
