/* ═══════════════════════════════════════════════════════════════════════════
   VISIONEX MARKET INTELLIGENCE — GLOBAL DESIGN SYSTEM
   Premium corporate UI · Gartner / McKinsey / Deloitte aesthetic
   v2.0 — Covers every page: index, about, services, industries, reports,
           careers, contact, and all inner detail pages.
   ═══════════════════════════════════════════════════════════════════════════
   LOAD ORDER: Place <link> tag AFTER the closing </style> in each <head>
   so this file cascades on top of per-page inline styles.
   ═══════════════════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────────────
   §1  DESIGN TOKEN EXTENSIONS
   Appended to :root — inherits existing variables
────────────────────────────────────────────────────── */
:root {
  /* Extended palette */
  --navy3:      #1a2c5e;
  --blue-mid:   #2563eb;
  --blue-light: rgba(26,86,219,0.08);
  --accent2:    #f5c030;
  --accent-dim: rgba(232,184,75,0.12);
  --gold-glow:  rgba(232,184,75,0.45);
  --blue-glow:  rgba(26,86,219,0.45);
  --surface:    rgba(255,255,255,0.04);
  --glass:      rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.10);

  /* Easing curves */
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);

  /* Transition presets */
  --t-xs:  0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --t-sm:  0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --t-md:  0.38s cubic-bezier(0.16, 1, 0.3, 1);
  --t-lg:  0.60s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layered shadow system */
  --shadow-xs:    0 1px 3px rgba(10,22,40,0.06), 0 1px 2px rgba(10,22,40,0.04);
  --shadow-sm:    0 2px 6px rgba(10,22,40,0.07), 0 4px 12px rgba(10,22,40,0.04);
  --shadow-md:    0 4px 12px rgba(10,22,40,0.06), 0 10px 28px rgba(10,22,40,0.08);
  --shadow-lg:    0 8px 24px rgba(10,22,40,0.08), 0 20px 48px rgba(10,22,40,0.10);
  --shadow-xl:    0 16px 40px rgba(10,22,40,0.12), 0 32px 72px rgba(10,22,40,0.12);
  --shadow-blue:  0 8px 28px rgba(26,86,219,0.18), 0 20px 54px rgba(26,86,219,0.10);
  --shadow-gold:  0 8px 28px rgba(232,184,75,0.28), 0 20px 54px rgba(232,184,75,0.14);

  /* Border radii */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 100px;
}


/* ──────────────────────────────────────────────────────
   §2  KEYFRAME ANIMATION LIBRARY
────────────────────────────────────────────────────── */

/* Hero gradient drift */
@keyframes gds-gradientDrift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* Orb float A */
@keyframes gds-orbA {
  0%,100% { transform: translateY(0px)   scale(1);    }
  35%      { transform: translateY(-28px) scale(1.06); }
  68%      { transform: translateY(14px)  scale(0.97); }
}

/* Orb float B (mirror) */
@keyframes gds-orbB {
  0%,100% { transform: translateY(0px)  scale(1);    }
  40%      { transform: translateY(22px) scale(1.05); }
  72%      { transform: translateY(-16px) scale(0.97); }
}

/* Particle rise */
@keyframes gds-rise {
  0%   { transform: translateY(0) translateX(0) scale(0.4); opacity: 0;   }
  8%   { opacity: 1;                                                       }
  88%  { opacity: 0.6;                                                     }
  100% { transform: translateY(-110vh) translateX(var(--drift, 50px)) scale(1); opacity: 0; }
}

/* Text slide up entrance */
@keyframes gds-slideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Fade + scale in */
@keyframes gds-popIn {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* Slide in from left */
@keyframes gds-slideLeft {
  from { opacity: 0; transform: translateX(-52px); }
  to   { opacity: 1; transform: translateX(0);     }
}

/* Slide in from right */
@keyframes gds-slideRight {
  from { opacity: 0; transform: translateX(52px); }
  to   { opacity: 1; transform: translateX(0);    }
}

/* Accent glow pulse */
@keyframes gds-accentPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(232,184,75,0.38), 0 2px 8px rgba(232,184,75,0.20); }
  50%      { box-shadow: 0 6px 36px rgba(232,184,75,0.65), 0 2px 14px rgba(232,184,75,0.32); }
}

/* Blue glow pulse */
@keyframes gds-bluePulse {
  0%,100% { box-shadow: 0 4px 20px rgba(26,86,219,0.30); }
  50%      { box-shadow: 0 6px 36px rgba(26,86,219,0.55), 0 0 50px rgba(26,86,219,0.20); }
}

/* Shimmer sweep */
@keyframes gds-shimmer {
  0%   { left: -160%; }
  100% { left:  160%; }
}

/* Ripple click */
@keyframes gds-ripple {
  0%   { transform: scale(0); opacity: 0.55; }
  100% { transform: scale(4); opacity: 0;    }
}

/* Stat number brightness */
@keyframes gds-numGlow {
  0%,100% { filter: brightness(1);   }
  50%      { filter: brightness(1.25) drop-shadow(0 0 10px rgba(232,184,75,0.55)); }
}

/* Underline expand */
@keyframes gds-underlineIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Tag blink dot */
@keyframes gds-blink {
  0%,100% { opacity: 1;   }
  50%      { opacity: 0.3; }
}

/* Loader / skeleton shimmer */
@keyframes gds-skel {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}


/* ──────────────────────────────────────────────────────
   §3  PERFORMANCE — GPU PROMOTION
────────────────────────────────────────────────────── */
.hero-orb, .hero-orb2,
.service-card, .report-card, .industry-card, .industry-tile,
.perk-card, .role-card, .job-card, .featured-card,
.btn-primary, .btn-outline, .btn-small, .btn-read, .btn-login,
.stat-item, .social-btn, .about-card-main, .about-badge,
.contact-card, .team-card, .value-card, .why-card {
  will-change: transform;
}


/* ──────────────────────────────────────────────────────
   §4  GLOBAL POLISH
────────────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

/* Premium scrollbar */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: #0a1628; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1a56db 0%, #e8b84b 100%);
  border-radius: 3px;
}

/* Text selection */
::selection { background: rgba(26,86,219,0.25); color: #fff; }

/* Focus ring */
*:focus-visible {
  outline: 2px solid #e8b84b;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Smooth link transitions */
a { transition: color var(--t-sm); }


/* ──────────────────────────────────────────────────────
   §5  TYPOGRAPHY — PREMIUM POLISH
────────────────────────────────────────────────────── */

/* Section label — pulsing border on hover */
.section-label {
  transition: transform var(--t-sm), box-shadow var(--t-sm), background var(--t-sm);
  cursor: default;
  user-select: none;
}
.section-label:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,86,219,0.22);
}

/* Gold variant */
.section-label.gold:hover { box-shadow: 0 4px 16px rgba(232,184,75,0.28); }

/* Section title — subtle gradient fill on em tags */
.section-title em {
  background: linear-gradient(135deg, #1a56db 0%, #2d6ef0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section headings on dark backgrounds */
.industries-section .section-title,
.cta-band .section-title,
[class*="-dark"] .section-title {
  color: #ffffff;
}

/* Breadcrumb */
.breadcrumb a {
  transition: color var(--t-sm);
}
.breadcrumb a:hover { color: #e8b84b; }

/* Page tag dot pulse */
.page-tag::before {
  content: '●';
  font-size: 0.45rem;
  margin-right: 2px;
  animation: gds-blink 2s ease-in-out infinite;
}


/* ──────────────────────────────────────────────────────
   §6  HEADER — GLASS ENHANCEMENT
────────────────────────────────────────────────────── */

header {
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    box-shadow 0.4s ease;
}

header.scrolled {
  background: rgba(7, 14, 30, 0.97) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  box-shadow:
    0 4px 40px rgba(0,0,0,0.50),
    0 1px 0 rgba(255,255,255,0.04) !important;
}

/* Logo hover */
.logo {
  transition: opacity var(--t-sm), letter-spacing var(--t-md);
}
.logo:hover {
  opacity: 0.85;
  letter-spacing: -0.3px;
}


/* ──────────────────────────────────────────────────────
   §7  NAVIGATION LINKS
────────────────────────────────────────────────────── */

nav a {
  position: relative;
  transition:
    color      var(--t-sm),
    background var(--t-sm),
    transform  0.22s var(--ease-bounce) !important;
}

/* Animated underline bar */
nav a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #e8b84b;
  border-radius: 2px;
  transition: width 0.32s var(--ease-expo), left 0.32s var(--ease-expo);
  pointer-events: none;
}
nav a:not(.btn-nav):hover::after,
nav a:not(.btn-nav).active::after {
  width: 56%;
  left: 22%;
}

nav a:not(.btn-nav):hover { transform: translateY(-1px); }

/* Admin link — deliberately understated: a staff-only utility link,
   not a customer-facing CTA, so it must not compete with Contact/Reports. */
nav a.btn-nav {
  background: none !important;
  border-left: 1px solid rgba(255,255,255,0.16) !important;
  margin-left: 6px !important;
  padding-left: 16px !important;
  opacity: 0.6 !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  transition: opacity var(--t-sm) !important;
}
nav a.btn-nav:hover {
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Mobile menu toggle (if present) */
.menu-toggle, .hamburger {
  transition: transform var(--t-sm);
}
.menu-toggle:hover, .hamburger:hover { transform: scale(1.08); }


/* ──────────────────────────────────────────────────────
   §8  PAGE HERO — INNER PAGES
────────────────────────────────────────────────────── */

.page-hero {
  background:
    linear-gradient(
      135deg,
      #060e1e 0%,
      #0a1628 18%,
      #0d1d3a 36%,
      #0f2044 56%,
      #142e62 76%,
      #0a1628 100%
    ) !important;
  background-size: 350% 350% !important;
  animation: gds-gradientDrift 16s ease infinite;
}

.page-hero .hero-orb  { animation: gds-orbA 9s ease-in-out infinite; }
.page-hero .hero-orb2 { animation: gds-orbB 13s ease-in-out infinite 2s; }

/* Entrance animations for page hero content */
.page-hero .page-tag   { animation: gds-popIn   0.7s var(--ease-expo) 0.1s  both; }
.page-hero .breadcrumb { animation: gds-slideUp 0.6s var(--ease-expo) 0.05s both; }
.page-hero h1          { animation: gds-slideUp 0.9s var(--ease-expo) 0.25s both; }
.page-hero p           { animation: gds-slideUp 0.9s var(--ease-expo) 0.42s both; }
.page-hero .hero-cta   { animation: gds-slideUp 0.9s var(--ease-expo) 0.56s both; }
.page-hero .hero-pills { animation: gds-slideUp 0.9s var(--ease-expo) 0.52s both; }

/* Floating stats card on careers hero */
.hero-stat-card {
  animation: gds-slideRight 0.9s var(--ease-expo) 0.50s both;
  transition: transform var(--t-md), box-shadow var(--t-md);
}
.hero-stat-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
}

/* ──────────────────────────────────────────────────────
   §9  HERO (INDEX) — SPECIFIC ENHANCEMENTS
────────────────────────────────────────────────────── */

/* Animated gradient for main hero too */
.hero:not(.page-hero) {
  animation: gds-gradientDrift 15s ease infinite;
  background-size: 350% 350% !important;
}
.hero:not(.page-hero) .hero-orb  { animation: gds-orbA  9s ease-in-out infinite; }
.hero:not(.page-hero) .hero-orb2 { animation: gds-orbB 13s ease-in-out infinite 2s; }

/* Hero text entrances */
.hero-tag  { animation: gds-popIn   0.72s var(--ease-expo) 0.12s both; }
.hero h1   { animation: gds-slideUp 0.90s var(--ease-expo) 0.28s both; }
.hero p    { animation: gds-slideUp 0.90s var(--ease-expo) 0.45s both; }
.hero-cta  { animation: gds-slideUp 0.90s var(--ease-expo) 0.60s both; }
.stats-bar { animation: gds-slideUp 0.90s var(--ease-expo) 0.72s both; }

/* Stat numbers — gradient fill */
.stat-num {
  background: linear-gradient(135deg, #f5c030 20%, #e8b84b 60%, #ffd966 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gds-numGlow 3.5s ease-in-out infinite;
}

.stat-item {
  transition: background var(--t-sm), transform 0.28s var(--ease-bounce);
}
.stat-item:hover {
  background: rgba(255,255,255,0.10) !important;
  transform: translateY(-4px);
}

.pill {
  transition: background var(--t-sm), border-color var(--t-sm), transform 0.22s var(--ease-bounce);
}
.pill:hover  { transform: translateY(-2px); }
.pill.active { transform: translateY(-2px); }


/* ──────────────────────────────────────────────────────
   §10  BUTTON SYSTEM — PREMIUM
────────────────────────────────────────────────────── */

/* ── Primary ── */
.btn-primary {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #e8b84b 0%, #f5c030 50%, #e8b84b 100%) !important;
  background-size: 200% auto !important;
  transition:
    background-position 0.5s var(--ease-expo),
    transform           0.28s var(--ease-bounce),
    box-shadow          0.3s ease !important;
  animation: gds-accentPulse 3.5s ease-in-out infinite;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -160%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.26), transparent);
  animation: gds-shimmer 4s ease-in-out 1.5s infinite;
  pointer-events: none;
}
.btn-primary:hover {
  background-position: right center !important;
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 12px 36px rgba(232,184,75,0.56), 0 0 0 1px rgba(232,184,75,0.22) !important;
  animation: none;
}
.btn-primary:active {
  transform: translateY(-1px) scale(0.99) !important;
  transition-duration: 0.08s !important;
}

/* ── Outline ── */
.btn-outline {
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    border-color var(--t-md),
    background   var(--t-md),
    transform    0.28s var(--ease-bounce),
    box-shadow   var(--t-md) !important;
}
.btn-outline::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity var(--t-sm);
}
.btn-outline:hover::before { opacity: 1; }
.btn-outline:hover {
  border-color: rgba(255,255,255,0.75) !important;
  background: rgba(255,255,255,0.09) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 32px rgba(255,255,255,0.08), inset 0 0 0 1px rgba(255,255,255,0.12) !important;
}
.btn-outline:active {
  transform: translateY(-1px) !important;
  transition-duration: 0.08s !important;
}

/* ── Small ── */
.btn-small {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #1a56db 0%, #2563eb 50%, #1a56db 100%) !important;
  background-size: 200% auto !important;
  transition:
    background-position 0.44s var(--ease-expo),
    transform           0.26s var(--ease-bounce),
    box-shadow          0.3s ease !important;
}
.btn-small:hover {
  background-position: right center !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 8px 24px rgba(26,86,219,0.48) !important;
}
.btn-small:active {
  transform: translateY(0) scale(0.97) !important;
  transition-duration: 0.08s !important;
}

/* ── Read More Button ── */
.btn-read {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%) !important;
  transition:
    background 0.3s ease,
    transform  0.26s var(--ease-bounce),
    box-shadow 0.3s ease !important;
}
.btn-read:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 10px 28px rgba(26,86,219,0.50) !important;
}

/* ── Login / Form Submit ── */
.btn-login, button[type="submit"], .submit-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a56db 0%, #2563eb 100%);
  transition:
    transform  0.26s var(--ease-bounce),
    box-shadow 0.28s ease !important;
}
.btn-login:hover,
button[type="submit"]:hover,
.submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(26,86,219,0.48) !important;
}

/* ── CTA section button ── */
.cta-btn {
  position: relative;
  overflow: hidden;
  transition:
    transform  0.26s var(--ease-bounce),
    box-shadow 0.28s ease,
    background 0.3s ease !important;
}
.cta-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 8px 24px rgba(26,86,219,0.40) !important;
}

/* ── Ripple element (created by JS) ── */
.gds-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.36);
  transform: scale(0);
  animation: gds-ripple 0.65s linear forwards;
  pointer-events: none;
}

/* ── Filter / Tab buttons ── */
.tab-btn {
  transition:
    background   var(--t-sm),
    border-color var(--t-sm),
    color        var(--t-sm),
    transform    0.22s var(--ease-bounce),
    box-shadow   var(--t-sm) !important;
}
.tab-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(26,86,219,0.18) !important;
}
.tab-btn.active {
  box-shadow: 0 4px 16px rgba(26,86,219,0.35) !important;
}


/* ──────────────────────────────────────────────────────
   §11  SERVICE CARDS
────────────────────────────────────────────────────── */

.service-card {
  position: relative !important;
  overflow: hidden !important;
  transition:
    transform    0.40s var(--ease-expo),
    box-shadow   0.40s ease,
    border-color 0.30s ease,
    background   0.35s ease !important;
}

/* Gradient tint overlay */
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(26,86,219,0.04) 0%, rgba(26,86,219,0.08) 100%);
  opacity: 0;
  transition: opacity var(--t-md);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

/* Shimmer sweep on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: -200%;
  width: 70%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.07) 50%, transparent 70%);
  transition: left 0.55s var(--ease-expo);
  pointer-events: none;
  z-index: 1;
}

.service-card > * { position: relative; z-index: 2; }

.service-card:hover {
  transform: translateY(-10px) scale(1.018) !important;
  /* Gradient border */
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(26,86,219,0.55) 0%, rgba(232,184,75,0.38) 100%) border-box !important;
  border: 1.5px solid transparent !important;
  box-shadow:
    0 22px 64px rgba(26,86,219,0.14),
    0 4px 16px rgba(10,22,40,0.06) !important;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { left: 140%; }

/* Icon animation */
.service-icon {
  transition:
    transform  0.40s var(--ease-bounce),
    background 0.32s ease,
    box-shadow 0.32s ease !important;
}
.service-card:hover .service-icon {
  transform: scale(1.20) rotate(-7deg) !important;
  background: rgba(26,86,219,0.18) !important;
  box-shadow: 0 6px 22px rgba(26,86,219,0.28) !important;
}

/* Arrow link */
.service-link {
  position: relative;
  transition: gap 0.28s var(--ease-expo), color var(--t-sm) !important;
}
.service-link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: #1a56db;
  transition: width 0.32s var(--ease-expo);
  border-radius: 1px;
}
.service-card:hover .service-link { gap: 10px !important; }
.service-card:hover .service-link::after { width: 100%; }


/* ──────────────────────────────────────────────────────
   §12  REPORT CARDS
────────────────────────────────────────────────────── */

.report-card {
  position: relative !important;
  transition:
    transform  0.40s var(--ease-expo),
    box-shadow 0.40s ease !important;
}

/* Gradient glow border behind card */
.report-card::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  background: linear-gradient(135deg, rgba(26,86,219,0.55) 0%, rgba(232,184,75,0.35) 50%, rgba(26,86,219,0.55) 100%);
  border-radius: calc(var(--r-md) + 1.5px);
  opacity: 0;
  transition: opacity var(--t-md);
  z-index: -1;
  pointer-events: none;
}
.report-card:hover {
  transform: translateY(-10px) scale(1.018) !important;
  box-shadow:
    0 28px 70px rgba(10,22,40,0.18),
    0 8px 26px rgba(26,86,219,0.12) !important;
}
.report-card:hover::before { opacity: 1; }

/* Thumb gradient overlay */
.report-thumb::before,
.report-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,86,219,0.52), rgba(232,184,75,0.26));
  opacity: 0;
  transition: opacity 0.42s ease;
  z-index: 3;
  pointer-events: none;
}
.report-card:hover .report-thumb::before,
.report-card:hover .report-img::before { opacity: 0.70; }

/* Thumb icon pop */
.report-thumb-icon {
  transition: transform 0.40s var(--ease-bounce);
  position: relative; z-index: 4;
}
.report-card:hover .report-thumb-icon {
  transform: scale(1.22) translateY(-6px) !important;
}

/* Image zoom */
.report-img img {
  transition: transform 0.55s var(--ease-expo) !important;
}
.report-card:hover .report-img img {
  transform: scale(1.08) !important;
}


/* ──────────────────────────────────────────────────────
   §13  INDUSTRY CARDS & TILES
────────────────────────────────────────────────────── */

/* ── Dark background tiles (index / industries page) ── */
.industry-tile {
  position: relative;
  overflow: hidden;
  transition:
    background    0.32s ease,
    border-color  0.32s ease,
    transform     0.40s var(--ease-expo),
    box-shadow    0.32s ease !important;
}
.industry-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(26,86,219,0.38) 0%, transparent 72%);
  opacity: 0;
  transition: opacity var(--t-md);
  pointer-events: none;
}
.industry-tile::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 65%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transition: left 0.52s var(--ease-expo);
  pointer-events: none;
}
.industry-tile:hover {
  background: rgba(26,86,219,0.22) !important;
  border-color: rgba(26,86,219,0.55) !important;
  transform: translateY(-8px) scale(1.05) !important;
  box-shadow:
    0 18px 44px rgba(26,86,219,0.32),
    0 0 0 1px rgba(26,86,219,0.42),
    inset 0 0 24px rgba(26,86,219,0.12) !important;
}
.industry-tile:hover::before { opacity: 1; }
.industry-tile:hover::after  { left: 150%; }

.i-icon {
  display: block !important;
  transition: transform 0.40s var(--ease-bounce) !important;
}
.industry-tile:hover .i-icon {
  transform: scale(1.25) translateY(-6px) !important;
}

/* ── Light background cards (industries listing page) ── */
.industry-card {
  position: relative;
  overflow: hidden;
  transition:
    transform    0.38s var(--ease-expo),
    box-shadow   0.38s ease,
    border-color 0.28s ease !important;
}
.industry-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(26,86,219,0.04) 0%, rgba(26,86,219,0.08) 100%);
  opacity: 0;
  transition: opacity var(--t-md);
  pointer-events: none;
  border-radius: inherit;
}
.industry-card:hover {
  transform: translateY(-9px) scale(1.02) !important;
  border-color: rgba(26,86,219,0.28) !important;
  box-shadow:
    0 20px 56px rgba(26,86,219,0.12),
    0 4px 14px rgba(10,22,40,0.06) !important;
}
.industry-card:hover::before { opacity: 1; }

.industry-icon img {
  transition: transform 0.40s var(--ease-bounce) !important;
}
.industry-card:hover .industry-icon img {
  transform: scale(1.2) translateY(-4px) !important;
}


/* ──────────────────────────────────────────────────────
   §14  FEATURED CARDS
────────────────────────────────────────────────────── */

/* Featured card */
.featured-card {
  transition:
    transform  0.40s var(--ease-expo),
    box-shadow 0.40s ease !important;
}
.featured-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 28px 72px rgba(10,22,40,0.16) !important;
}
.feat-thumb-icon {
  transition: transform 0.40s var(--ease-bounce);
}
.featured-card:hover .feat-thumb-icon {
  transform: scale(1.15) translateY(-4px) !important;
}

/* Category badge (report tags) */
.feat-cat, .report-tag {
  transition: background var(--t-sm), transform 0.22s var(--ease-bounce);
}
.feat-cat:hover {
  transform: scale(1.05);
  background: rgba(26,86,219,0.14) !important;
}


/* ──────────────────────────────────────────────────────
   §15  PERK / FEATURE / ROLE CARDS (CAREERS)
────────────────────────────────────────────────────── */

.perk-card, .why-card, .value-card {
  position: relative;
  overflow: hidden;
  transition:
    transform    0.38s var(--ease-expo),
    box-shadow   0.38s ease,
    border-color 0.28s ease !important;
}
.perk-card::after, .why-card::after {
  content: '';
  position: absolute;
  top: 0; left: -200%;
  width: 70%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  transition: left 0.55s var(--ease-expo);
  pointer-events: none;
}
.perk-card:hover, .why-card:hover, .value-card:hover {
  transform: translateY(-9px) scale(1.018) !important;
  border-color: rgba(26,86,219,0.25) !important;
  box-shadow: 0 20px 56px rgba(26,86,219,0.12), 0 4px 14px rgba(10,22,40,0.06) !important;
}
.perk-card:hover::after, .why-card:hover::after { left: 140%; }

.perk-icon, .why-icon {
  transition:
    transform  0.38s var(--ease-bounce),
    background 0.28s ease,
    box-shadow 0.28s ease !important;
}
.perk-card:hover .perk-icon,
.why-card:hover .why-icon {
  transform: scale(1.18) rotate(-6deg) !important;
  background: rgba(26,86,219,0.18) !important;
  box-shadow: 0 6px 20px rgba(26,86,219,0.24) !important;
}

/* Job / role cards */
.role-card, .job-card {
  transition:
    transform    0.35s var(--ease-expo),
    box-shadow   0.35s ease,
    border-color 0.25s ease !important;
}
.role-card:hover, .job-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 40px rgba(26,86,219,0.12) !important;
  border-color: rgba(26,86,219,0.25) !important;
}


/* ──────────────────────────────────────────────────────
   §16  CONTACT PAGE — CARDS & FORM
────────────────────────────────────────────────────── */

.contact-card, .info-card {
  transition:
    transform    0.38s var(--ease-expo),
    box-shadow   0.38s ease,
    border-color 0.28s ease !important;
}
.contact-card:hover, .info-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 16px 44px rgba(26,86,219,0.12) !important;
  border-color: rgba(26,86,219,0.24) !important;
}

/* Form fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
  transition:
    border-color 0.22s ease,
    box-shadow   0.22s ease,
    background   0.22s ease !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: #1a56db !important;
  background: rgba(26,86,219,0.02) !important;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12) !important;
  outline: none !important;
}

/* Newsletter input */
.newsletter-form input:focus {
  border-color: #1a56db !important;
  background: rgba(255,255,255,0.10) !important;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.18) !important;
}

.newsletter-form button {
  transition:
    background 0.22s ease,
    transform  0.26s var(--ease-bounce),
    box-shadow 0.22s ease !important;
}
.newsletter-form button:hover {
  transform: scale(1.10) !important;
  box-shadow: 0 6px 20px rgba(232,184,75,0.50) !important;
}


/* ──────────────────────────────────────────────────────
   §17  ABOUT SECTION
────────────────────────────────────────────────────── */

.about-card-main {
  transition: transform 0.40s var(--ease-expo), box-shadow 0.40s ease !important;
}
.about-visual:hover .about-card-main {
  transform: translateY(-6px) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,0.38) !important;
}

.about-badge {
  transition: transform 0.44s var(--ease-bounce), box-shadow 0.40s ease !important;
}
.about-visual:hover .about-badge {
  transform: translateY(-10px) scale(1.04) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22) !important;
}

.badge-icon {
  transition: transform 0.38s var(--ease-bounce) !important;
}
.about-badge:hover .badge-icon {
  transform: scale(1.18) rotate(-6deg) !important;
}

/* Check list hover shift */
.check-list li {
  transition: transform 0.22s var(--ease-expo);
}
.check-list li:hover { transform: translateX(7px); }

/* Mission points */
.mp-dot {
  transition: transform 0.28s var(--ease-bounce), box-shadow 0.28s ease;
}
.mp:hover .mp-dot {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(26,86,219,0.2);
}

/* Team cards */
.team-card {
  transition:
    transform    0.38s var(--ease-expo),
    box-shadow   0.38s ease !important;
}
.team-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 56px rgba(10,22,40,0.14) !important;
}


/* ──────────────────────────────────────────────────────
   §18  CTA BAND
────────────────────────────────────────────────────── */

.cta-band, .cta-section {
  background:
    linear-gradient(
      135deg,
      #060e1e 0%,
      #0e1f40 25%,
      #132a5e 52%,
      #1a2265 75%,
      #060e1e 100%
    ) !important;
  background-size: 300% 300% !important;
  animation: gds-gradientDrift 12s ease infinite;
}


/* ──────────────────────────────────────────────────────
   §19  FOOTER
────────────────────────────────────────────────────── */

footer, .site-footer {
  position: relative;
}

/* Footer link hover animation */
.footer-col ul li,
.site-footer ul li {
  overflow: hidden;
}

.footer-col ul a,
.site-footer ul a,
.footer-col ul li a {
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color 0.22s ease, transform 0.28s var(--ease-expo) !important;
  padding-left: 0;
}
.footer-col ul a::before,
.site-footer ul a::before {
  content: '→';
  position: absolute;
  left: -22px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s ease, transform 0.28s var(--ease-expo);
  color: #e8b84b;
  font-size: 0.82rem;
  font-weight: 700;
}
.footer-col ul a:hover,
.site-footer ul a:hover {
  color: #e8b84b !important;
  transform: translateX(22px);
}
.footer-col ul a:hover::before,
.site-footer ul a:hover::before {
  opacity: 1;
  transform: translateX(-4px);
}

/* Social buttons */
.social-btn {
  transition:
    background    0.26s var(--ease-expo),
    color         0.26s ease,
    transform     0.30s var(--ease-bounce),
    box-shadow    0.26s ease,
    border-color  0.26s ease !important;
}
.social-btn:hover {
  background: #1a56db !important;
  color: #fff !important;
  border-color: #1a56db !important;
  transform: translateY(-5px) scale(1.12) !important;
  box-shadow: 0 8px 26px rgba(26,86,219,0.52) !important;
}

/* Footer brand logo */
.footer-brand .logo {
  transition: opacity var(--t-sm), transform var(--t-sm);
}
.footer-brand .logo:hover {
  opacity: 0.82;
  transform: scale(1.03);
}


/* ──────────────────────────────────────────────────────
   §20  MODAL (ADMIN LOGIN)
────────────────────────────────────────────────────── */

.modal-overlay.open .modal-box {
  animation: gds-popIn 0.42s var(--ease-expo) both;
}

.modal-close {
  transition: background 0.2s ease, transform 0.26s var(--ease-bounce) !important;
}
.modal-close:hover {
  background: #e2e8f0 !important;
  transform: rotate(90deg) scale(1.12) !important;
}

.btn-login:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(26,86,219,0.48) !important;
}


/* ──────────────────────────────────────────────────────
   §21  SCROLL REVEAL — ENHANCED
────────────────────────────────────────────────────── */

/* Base reveal */
.reveal {
  opacity: 0 !important;
  transform: translateY(44px) !important;
  transition:
    opacity   0.78s var(--ease-expo),
    transform 0.78s var(--ease-expo) !important;
}
.reveal.from-left  { transform: translateX(-60px) !important; }
.reveal.from-right { transform: translateX(60px)  !important; }
.reveal.from-scale { transform: scale(0.90) translateY(28px) !important; }
.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* fade-in variant (style.css pages) */
.fade-in {
  opacity: 0 !important;
  transform: translateY(48px) !important;
  transition:
    opacity   0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.fade-in.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger grid — refined timing */
.stagger > * {
  opacity: 0 !important;
  transform: translateY(32px) !important;
  transition:
    opacity   0.68s var(--ease-expo),
    transform 0.68s var(--ease-expo) !important;
}
.stagger.visible > *:nth-child(1)  { opacity:1 !important; transform:none !important; transition-delay:0s;     }
.stagger.visible > *:nth-child(2)  { opacity:1 !important; transform:none !important; transition-delay:0.07s;  }
.stagger.visible > *:nth-child(3)  { opacity:1 !important; transform:none !important; transition-delay:0.14s;  }
.stagger.visible > *:nth-child(4)  { opacity:1 !important; transform:none !important; transition-delay:0.21s;  }
.stagger.visible > *:nth-child(5)  { opacity:1 !important; transform:none !important; transition-delay:0.28s;  }
.stagger.visible > *:nth-child(6)  { opacity:1 !important; transform:none !important; transition-delay:0.35s;  }
.stagger.visible > *:nth-child(7)  { opacity:1 !important; transform:none !important; transition-delay:0.42s;  }
.stagger.visible > *:nth-child(8)  { opacity:1 !important; transform:none !important; transition-delay:0.49s;  }
.stagger.visible > *:nth-child(9)  { opacity:1 !important; transform:none !important; transition-delay:0.56s;  }
.stagger.visible > *:nth-child(10) { opacity:1 !important; transform:none !important; transition-delay:0.63s;  }


/* ──────────────────────────────────────────────────────
   §22  PARTICLES (INDEX HERO — created by JS)
────────────────────────────────────────────────────── */
.gds-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: gds-rise linear infinite;
}


/* ──────────────────────────────────────────────────────
   §23  SECTION DIVIDERS
────────────────────────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(26,86,219,0.4), transparent);
  margin: 60px 0;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.section-divider.visible {
  opacity: 1;
  transform: scaleX(1);
}


/* ──────────────────────────────────────────────────────
   §24  LEGACY style.css — GREEN THEME ENHANCEMENT
   (pages that still reference .card, .grid, .site-footer)
────────────────────────────────────────────────────── */

/* Enhanced card (green theme) */
body .card {
  transition:
    transform    0.38s var(--ease-expo),
    box-shadow   0.38s ease,
    border-left-color 0.28s ease !important;
  box-shadow: var(--shadow-xs);
}
body .card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: var(--shadow-blue) !important;
}

/* Enhanced btn (green theme) */
body .btn {
  position: relative;
  overflow: hidden;
  transition:
    background 0.28s ease,
    transform  0.26s var(--ease-bounce),
    box-shadow 0.26s ease !important;
}
body .btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 8px 24px rgba(15,118,110,0.40) !important;
}

/* Enhanced report card (green theme) */
body .report-card {
  transition:
    transform  0.38s var(--ease-expo),
    box-shadow 0.38s ease !important;
}
body .report-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-lg) !important;
}


/* ══════════════════════════════════════════════════════
   CRITICAL VISIBILITY FIX: Navigation & Footer Text
   Ensure text contrast across all header and footer areas
══════════════════════════════════════════════════════ */

/* Header Navigation - Absolute white for all states */
header { background-color: rgba(10,22,40,0.95) !important; }

header nav a,
header > nav a,
nav a {
  color: #ffffff !important;
}

header nav a:hover,
header > nav a:hover,
nav a:hover {
  color: #ffffff !important;
}

header nav a:focus,
header nav a:active,
header nav a.active,
nav a.active {
  color: #ffffff !important;
}

/* Override conflicting generic selectors */
header a:not(.btn-primary):not(.btn-outline):not(.btn-nav):not(.social-btn) {
  color: #ffffff !important;
}

/* Footer — dark navy background with a deliberate text hierarchy
   (headings dim, body text mid, links brighter, links-on-hover gold)
   rather than flattening everything to solid white. */
footer {
  background: #0a1628 !important;
  color: rgba(255,255,255,0.78) !important;
}

footer h1, footer h2, footer h3, footer h4,
footer .logo-name, footer .fn-text h4 {
  color: #ffffff !important;
}

footer p, footer li, footer span, footer div {
  color: rgba(255,255,255,0.78) !important;
}

footer a { color: rgba(255,255,255,0.85) !important; }
footer a:hover { color: #e8b84b !important; }

.footer-col h5 { color: rgba(255,255,255,0.62) !important; }
.footer-col ul a { color: rgba(255,255,255,0.85) !important; }
.footer-col ul a:hover { color: #e8b84b !important; }
.footer-brand p { color: rgba(255,255,255,0.78) !important; }
.footer-bottom p { color: rgba(255,255,255,0.5) !important; }
.contact-info, .contact-info a { color: rgba(255,255,255,0.8) !important; }
.contact-info a:hover { color: #e8b84b !important; }
.social-btn { color: rgba(255,255,255,0.75) !important; }


/* ──────────────────────────────────────────────────────
   §25  RESPONSIVE — MOBILE & TABLET
────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .about-grid,
  .overview-grid { gap: 48px !important; }

}

@media (max-width: 768px) {
  /* Hero text stagger — faster on mobile */
  .page-hero h1  { animation-delay: 0.18s; }
  .page-hero p   { animation-delay: 0.30s; }
  .hero-cta      { animation-delay: 0.42s; }

  /* No tilt on touch */
  .service-card,
  .report-card,
  .industry-card,
  .perk-card {
    transform: none !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
  }

  /* Stack hero layout */
  .page-hero .inner,
  .hero-inner {
    padding: 0 20px !important;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Featured card */
  .featured-card {
    grid-template-columns: 1fr !important;
  }
  .feat-thumb { min-height: 240px !important; }
}

@media (max-width: 480px) {
  .section-title { font-size: clamp(1.5rem, 7vw, 2.2rem) !important; }

  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.8rem) !important; }

  .btn-primary,
  .btn-outline {
    padding: 12px 20px !important;
    font-size: 0.88rem !important;
  }

  .perks-grid,
  .services-grid,
  .industries-grid { grid-template-columns: 1fr !important; }

  nav a:not(.btn-nav):not(.active) { display: none; }
}


/* ──────────────────────────────────────────────────────
   §26  REDUCED MOTION SAFETY
────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.05ms !important;
  }
}


/* ──────────────────────────────────────────────────────
   §27  VISIONEX LOGO — image + brand name side-by-side
────────────────────────────────────────────────────── */

/* Wrapper link */
a.logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  flex-shrink: 0 !important;
}

/* Logo image — larger for clear visibility */
.logo img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity 0.22s ease, filter 0.22s ease;
}

.logo:hover img {
  opacity: 0.88;
  filter: brightness(1.08);
}

/* Brand name block beside the image */
.logo-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.logo-name {
  font-family: 'Poppins', 'DM Sans', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.logo-tagline {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.62rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.20em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.48) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* Footer: slightly smaller image, subdued text */
footer .logo img,
.site-footer .logo img,
.footer-brand .logo img {
  height: 42px;
}
footer .logo-name,
.site-footer .logo-name,
.footer-brand .logo-name {
  font-size: 1.1rem !important;
  color: rgba(255, 255, 255, 0.90) !important;
}
footer .logo-tagline,
.site-footer .logo-tagline,
.footer-brand .logo-tagline {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Tablet */
@media (max-width: 900px) {
  .logo img { height: 46px; }
  .logo-name { font-size: 1.1rem !important; }
}

/* Mobile */
@media (max-width: 600px) {
  a.logo { gap: 9px !important; }
  .logo img { height: 38px; }
  .logo-name { font-size: 1rem !important; }
  .logo-tagline { display: none !important; }
}
