/* ===== InsightEdge Consulting — Design Refresh ===== */
:root {
  --navy:        #0a1628;
  --navy2:       #112240;
  --navy3:       #1a3055;
  --emerald:     #10b981;
  --emerald-d:   #059669;
  --amber:       #f59e0b;
  --white:       #ffffff;
  --offwhite:    #f8fafc;
  --border:      rgba(255,255,255,0.1);
  --border-lt:   #e2e8f0;
  --text:        #0f172a;
  --muted:       #64748b;
  --shadow:      0 24px 64px rgba(10,22,40,0.18);
  --radius:      16px;
  --transition:  250ms ease;
  font-family: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--offwhite); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === NAVBAR === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,22,40,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  max-width: 1200px; margin: auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { font-size: 1.25rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.logo span { color: var(--emerald); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-cta {
  background: var(--emerald); color: var(--navy); font-weight: 700; font-size: 0.85rem;
  padding: 9px 20px; border-radius: 999px; transition: opacity var(--transition);
}
.nav-cta:hover { opacity: 0.85; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* === HERO === */
.hero {
  min-height: 100vh; background: var(--navy);
  display: flex; align-items: center;
  padding: 100px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(16,185,129,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 40% 50% at 20% 80%, rgba(245,158,11,0.06) 0%, transparent 50%);
}
.hero-inner {
  max-width: 1200px; margin: auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3);
  color: var(--emerald); font-size: 0.78rem; font-weight: 600; padding: 6px 14px;
  border-radius: 999px; margin-bottom: 20px; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; color: var(--white);
  line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--emerald); }
.hero-sub { color: rgba(255,255,255,0.62); font-size: 1.05rem; max-width: 480px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--emerald); color: var(--navy); font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 999px; transition: opacity var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.85; }
.btn-outline {
  background: transparent; color: var(--white); font-weight: 600; font-size: 0.95rem;
  padding: 13px 28px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.25);
  transition: border-color var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); }
.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.hero-trust p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.trust-logos { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-logos span { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; text-transform: uppercase; }

/* Hero visual — floating stat cards */
.hero-visual { position: relative; height: 420px; }
.stat-card {
  position: absolute; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(16px);
  border-radius: 20px; padding: 20px 24px;
  animation: float 6s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: -2s; }
.stat-card:nth-child(3) { animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.sc-1 { top: 20px; left: 0; }
.sc-2 { top: 160px; right: 20px; }
.sc-3 { bottom: 40px; left: 40px; }
.stat-card__icon { font-size: 1.5rem; margin-bottom: 10px; }
.stat-card__val { font-size: 1.8rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; line-height: 1; }
.stat-card__val span { color: var(--emerald); }
.stat-card__label { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 4px; }
.stat-card__bars { display: flex; gap: 5px; align-items: flex-end; height: 36px; margin-top: 10px; }
.stat-card__bars span { width: 10px; background: var(--emerald); border-radius: 3px; opacity: 0.7; }

/* === SECTION WRAPPER === */
.section { padding: clamp(64px, 8vw, 100px) 24px; }
.section-inner { max-width: 1200px; margin: auto; }
.section-hdr { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--emerald); margin-bottom: 10px; }
.section-hdr h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.section-hdr p { color: var(--muted); font-size: 1rem; }

/* === STATS BAND === */
.stats-band { background: var(--navy); padding: 60px 24px; }
.stats-row { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 2.8rem; font-weight: 800; color: var(--white); letter-spacing: -0.04em; line-height: 1; }
.stat-item strong em { font-style: normal; color: var(--emerald); }
.stat-item span { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 6px; display: block; }

/* === SERVICES === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.svc-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid var(--border-lt);
  transition: transform var(--transition), box-shadow var(--transition);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 32px 80px rgba(10,22,40,0.14); }
.svc-icon { width: 52px; height: 52px; background: rgba(16,185,129,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; }
.svc-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.svc-card p { color: var(--muted); font-size: 0.9rem; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--emerald); margin-top: 14px; }

/* === WHY US === */
.why-section { background: var(--navy2); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-grid h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 16px; }
.why-grid p { color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.why-items { display: flex; flex-direction: column; gap: 16px; }
.why-item { display: flex; gap: 14px; }
.why-item-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(16,185,129,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.why-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.why-item p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin: 0; }
.why-chart { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.chart-bars { display: flex; gap: 12px; align-items: flex-end; height: 180px; margin-bottom: 12px; }
.chart-bars .bar { flex: 1; border-radius: 8px 8px 0 0; position: relative; }
.bar span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 0.72rem; font-weight: 700; color: var(--white); }
.chart-labels { display: flex; gap: 12px; }
.chart-labels span { flex: 1; text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.chart-title { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 8px; }

/* === PROCESS === */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border-lt); position: relative; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; margin-bottom: 14px; }
.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.88rem; }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tcard { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border-lt); }
.tcard-stars { color: var(--amber); font-size: 0.9rem; margin-bottom: 14px; }
.tcard p { font-style: italic; color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.tcard-author h5 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.tcard-author span { font-size: 0.78rem; color: var(--muted); }

/* === INDUSTRIES === */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.ind-pill { background: var(--white); border: 1.5px solid var(--border-lt); border-radius: 999px; padding: 12px 20px; text-align: center; font-size: 0.85rem; font-weight: 600; box-shadow: 0 4px 12px rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: center; gap: 8px; }

/* === CTA BANNER === */
.cta-banner { background: linear-gradient(135deg, var(--navy), var(--navy2)); padding: 80px 24px; text-align: center; }
.cta-banner h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.6); max-width: 460px; margin: 0 auto 36px; }

/* === CONTACT === */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.cinfo h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.cinfo p { color: var(--muted); margin-bottom: 28px; }
.cinfo-item { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.ci-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(16,185,129,0.1); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ci-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); display: block; }
.ci-val { font-size: 0.9rem; font-weight: 600; }
.form-card { background: var(--white); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border-lt); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-lt);
  border-radius: 10px; font-size: 0.9rem; font-family: inherit; outline: none;
  background: var(--offwhite); transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--emerald); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 14px; background: var(--navy); color: var(--white);
  border: none; border-radius: 999px; font-size: 1rem; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: opacity var(--transition);
}
.form-submit:hover { opacity: 0.82; }

/* === FOOTER === */
footer { background: var(--navy); padding: 48px 24px 28px; }
.footer-inner { max-width: 1200px; margin: auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-top: 10px; max-width: 260px; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* === SCROLL-TOP === */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px;
  background: var(--emerald); color: var(--navy); border: none; border-radius: 50%;
  cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow);
}
.scroll-top.visible { display: flex; }

/* === REVEAL === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* === PAGE HERO (subpages) === */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy2)); padding: 110px 24px 60px; color: var(--white); text-align: center; }
.page-hero .breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.page-hero .breadcrumb a { color: var(--emerald); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 520px; margin: auto; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner, .why-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
