/* ============================================================
   EXCELLOIT DIGITAL — STYLES
   css/styles.css
   ============================================================ */
:root {
  --bg: #f8fafc;
  --heading: #0f172a;
  --slate: #475569;
  --slate-light: #94a3b8;
  --border: #e2e8f0;
  --border-soft: #f1f5f9;
  --indigo: #6366f1;
  --violet: #8b5cf6;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.1);

  --transition: 0.3s ease;
  --nav-h: 80px;
}


/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --navy:        #0F172A;
  --navy-mid:    #1E2D4A;
  --blue:        #1D4ED8;
  --blue-light:  #3B82F6;
  --indigo:      #6366F1;
  --violet:      #8B5CF6;
  --violet-mid:  #7C3AED;
  --teal:        #0891B2;
  --emerald:     #059669;
  --amber:       #D97706;
  --rose:        #E11D48;
  --bg:          #F8FAFC;
  --bg-card:     #FFFFFF;
  --slate:       #475569;
  --slate-light: #64748B;
  --heading:     #0B1220;
  --border:      #E2E8F0;
  --border-soft: #F1F5F9;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 100px;

  --shadow-sm:  0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:  0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg:  0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl:  0 24px 64px rgba(15, 23, 42, 0.15), 0 8px 24px rgba(15, 23, 42, 0.08);

  --font-sans:  'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:      76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--heading);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
}

.section-title {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 560px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 50%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.logo-text span {
  color: #007bff;
}
/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--heading);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--blue);
  padding: 10px 0;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost:hover {
  color: var(--indigo);
  gap: 10px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all var(--transition);
}

#navbar.scrolled {
  padding: 8px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: var(--radius-xl);
  padding: 0 8px 0 20px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.04);
  height: 60px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  flex-shrink: 0;
  margin-right: 8px;
}

.nav-logo span {
  color: var(--indigo);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--heading);
  background: var(--bg);
}

.nav-link.has-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link.has-menu::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
  transition: transform var(--transition);
}

.nav-link.has-menu[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ---- Mega Menu ---- */
.mega-wrap {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 720px;
  padding: 0;
  display: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  overflow: hidden;
}

.mega-menu.open {
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.mega-col {
  padding: 28px 24px;
}

.mega-col:first-child {
  border-right: 1px solid var(--border-soft);
}

.mega-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.mega-item:hover {
  background: var(--bg);
}

.mega-item-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.mega-item-text strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--heading);
  display: block;
  margin-bottom: 2px;
}

.mega-item-text span {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.4;
}

.mega-note {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.5;
  margin: 0 24px 24px;
}

.mega-note strong {
  color: var(--indigo);
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Mobile Hamburger ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-hamburger:hover {
  background: var(--bg);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Mobile Nav Overlay ---- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 90px 32px 40px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color var(--transition);
  display: block;
}

.mobile-nav-link:hover {
  color: #fff;
}

.mobile-nav-sub {
  padding: 4px 0 4px 16px;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-sub.open {
  display: flex;
}

.mobile-nav-sub a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  padding: 6px 0;
  transition: color var(--transition);
  display: block;
}

.mobile-nav-sub a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.mobile-toggle-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-sans);
}

.mobile-toggle-chevron {
  font-size: 14px;
  opacity: 0.4;
  transition: transform var(--transition);
}

.mobile-toggle-btn.expanded .mobile-toggle-chevron {
  transform: rotate(180deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #060D1F 0%, #0F172A 40%, #1a1060 70%, #0d1f4a 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
  top: -150px;
  right: -50px;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  bottom: 50px;
  left: 100px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-ring-1 { width: 700px;  height: 700px;  top: -200px; right: -200px; }
.hero-ring-2 { width: 900px;  height: 900px;  top: -300px; right: -300px; }
.hero-ring-3 { width: 1100px; height: 1100px; top: -400px; right: -400px; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.9);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
}

.hero-title .line-accent {
  background: linear-gradient(135deg, #818CF8, #A78BFA, #C084FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: rgba(203, 213, 225, 0.8);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.55);
}

.btn-hero-secondary {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* ---- Hero Visual Card ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-card-main {
  width: 360px;
  height: 420px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-card-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08), transparent 60%);
}

.hero-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 1;
}

.hero-icon-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-icon-ring::before {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.hero-icon-ring::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.06);
}

.hero-card-label {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.02em;
}

.hero-card-sub {
  font-size: 12px;
  color: rgba(165, 180, 252, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-card-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 40px;
  margin-top: 8px;
}

.hero-bar {
  width: 8px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--indigo), var(--violet));
  opacity: 0.7;
  animation: barFloat 2.5s ease-in-out infinite;
}

.hero-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.hero-bar:nth-child(2) { height: 32px; animation-delay: 0.2s; }
.hero-bar:nth-child(3) { height: 26px; animation-delay: 0.4s; }
.hero-bar:nth-child(4) { height: 38px; animation-delay: 0.6s; }
.hero-bar:nth-child(5) { height: 28px; animation-delay: 0.8s; }
.hero-bar:nth-child(6) { height: 22px; animation-delay: 1s; }

@keyframes barFloat {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(1.15); }
}

/* ---- Hero Floating Mini Cards ---- */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.float-dot {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.fc-1 { top: 10px;    left: -50px;  animation-delay: 0s; }
.fc-2 { top: 10px;   right: -50px; animation-delay: 0.8s; }
.fc-3 { bottom: 90px; left: -50px; animation-delay: 1.6s; }
.fc-4 { bottom: 90px; right: -50px;  animation-delay: 2.4s; }

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

/* ============================================================
   TRANSFORMATION OVERVIEW
   ============================================================ */
.transform-overview {
  padding: 100px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.transform-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
  opacity: 0.3;
}

.overview-header {
  text-align: center;
  margin-bottom: 70px;
}

.overview-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin-top: 16px;
}

.overview-subtitle .sep {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--indigo);
  opacity: 0.6;
}

.phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.phases-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--indigo), var(--violet), var(--violet-mid));
  z-index: 0;
}

.phase-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

.phase-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border), 0 4px 16px rgba(0, 0, 0, 0.1);
}

.phase-icon.p1 { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); }
.phase-icon.p2 { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.phase-icon.p3 { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.phase-icon.p4 { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }

.phase-num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--heading);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phase-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.phase-desc {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.65;
}

/* ============================================================
   TRANSFORMATION SERVICES
   ============================================================ */
.services-transform {
  padding: 100px 0;
  background: var(--bg);
}

.services-header {
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin-top: 12px;
}

/* ---- Service Card (Accordion) ---- */
.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  margin-bottom: 28px;
  position: relative;
}

.svc-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.15);
}

.svc-card-header {
  padding: 36px 40px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: flex-start;
  cursor: pointer;
}

.svc-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.svc-card-meta {
  flex: 1;
}

.svc-card-sublabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.svc-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.svc-card-desc {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 620px;
}

.svc-card-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.stat-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid;
  letter-spacing: 0.01em;
}

.svc-toggle-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  background: #fff;
  color: var(--slate);
}

.svc-toggle-btn:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.svc-toggle-btn svg {
  transition: transform var(--transition);
}

.svc-toggle-btn.expanded svg {
  transform: rotate(180deg);
}

.svc-card-body {
  padding: 0 40px 36px;
  display: none;
  border-top: 1px solid var(--border-soft);
}

.svc-card-body.open {
  display: block;
}

.svc-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding-top: 28px;
}

.svc-feature-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all var(--transition);
}

.svc-feature-item:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-color: rgba(99, 102, 241, 0.15);
}

.sfi-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.sfi-desc {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.55;
}

.svc-caps-section {
  margin-top: 24px;
}

.svc-caps-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 12px;
}

.caps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap-pill {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--slate);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  transition: all var(--transition);
}

.cap-pill:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.2);
  color: var(--indigo);
}

.svc-value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.svc-value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.svc-value-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.svc-value-desc {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.5;
}

.svc-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---- Service Card Color Themes ---- */
.svc-s1 .svc-card-icon { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); }
.svc-s1 .svc-card-sublabel,
.svc-s1 .stat-chip-1   { color: var(--indigo); }
.svc-s1 .stat-chip-1   { background: rgba(99, 102, 241, 0.07); border-color: rgba(99, 102, 241, 0.18); }
.svc-s1 .svc-toggle-btn:hover { background: rgba(99, 102, 241, 0.05); }

.svc-s2 .svc-card-icon { background: linear-gradient(135deg, #ECFEFF, #CFFAFE); }
.svc-s2 .svc-card-sublabel,
.svc-s2 .stat-chip-1   { color: var(--teal); }
.svc-s2 .stat-chip-1   { background: rgba(8, 145, 178, 0.07); border-color: rgba(8, 145, 178, 0.18); }

.svc-s3 .svc-card-icon { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
.svc-s3 .svc-card-sublabel,
.svc-s3 .stat-chip-1   { color: var(--blue); }
.svc-s3 .stat-chip-1   { background: rgba(29, 78, 216, 0.07); border-color: rgba(29, 78, 216, 0.18); }

.svc-s4 .svc-card-icon { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); }
.svc-s4 .svc-card-sublabel,
.svc-s4 .stat-chip-1   { color: var(--emerald); }
.svc-s4 .stat-chip-1   { background: rgba(5, 150, 105, 0.07); border-color: rgba(5, 150, 105, 0.18); }

.svc-s5 .svc-card-icon { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); }
.svc-s5 .svc-card-sublabel,
.svc-s5 .stat-chip-1   { color: var(--amber); }
.svc-s5 .stat-chip-1   { background: rgba(217, 119, 6, 0.07); border-color: rgba(217, 119, 6, 0.18); }

/* ============================================================
   EXECUTION CAPABILITIES
   ============================================================ */
.execution-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

.exec-header {
  margin-bottom: 48px;
}

.exec-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  margin-bottom: 24px;
}

.exec-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
}

.exec-banner-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--indigo);
  letter-spacing: 0.03em;
}

.exec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.exec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.exec-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.15);
}

.exec-card-header {
  padding: 32px 36px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  cursor: pointer;
}

.exec-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.exec-s6 .exec-icon    { background: linear-gradient(135deg, #FFF1F2, #FFE4E6); }
.exec-s6 .exec-sublabel { color: var(--rose); }
.exec-s7 .exec-icon    { background: linear-gradient(135deg, #FAF5FF, #F3E8FF); }
.exec-s7 .exec-sublabel { color: var(--violet); }

.exec-meta {
  flex: 1;
}

.exec-sublabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.exec-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.exec-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}

.exec-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.exec-card-body {
  padding: 0 36px 32px;
  display: none;
  border-top: 1px solid var(--border-soft);
}

.exec-card-body.open {
  display: block;
}

.exec-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 24px;
}

.exec-body-grid .svc-feature-item {
  background: var(--bg);
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
  padding: 100px 0;
  background: #fff;
}

.industries-header {
  margin-bottom: 52px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--indigo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.industry-card:hover::after {
  transform: scaleX(1);
}

.industry-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.industry-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.industry-challenge {
  font-size: 11.5px;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 6px;
}

.industry-outcome {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
}

/* ============================================================
   WHY EXCELLOIT
   ============================================================ */
.why {
  padding: 100px 0;
  background: var(--bg);
}

.why-header {
  text-align: center;
  margin-bottom: 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.15);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 20px;
}

.why-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.why-card-desc {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.65;
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.approach-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.approach-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.approach-header .section-label {
  color: rgba(165, 180, 252, 0.9);
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.25);
}

.approach-header .section-label::before {
  background: rgba(165, 180, 252, 0.9);
}

.approach-header .section-title {
  color: #fff;
}

.approach-header .section-subtitle {
  color: rgba(203, 213, 225, 0.7);
  margin: 0 auto;
}

.approach-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.approach-phase {
  background: rgba(255, 255, 255, 0.02);
  padding: 36px 28px;
  transition: background var(--transition);
}

.approach-phase:hover {
  background: rgba(255, 255, 255, 0.04);
}

.ap-phase-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.7);
  margin-bottom: 16px;
}

.ap-num {
  width: 20px;
  height: 20px;
  background: rgba(99, 102, 241, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(165, 180, 252, 0.9);
  font-weight: 700;
}

.ap-title {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.ap-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ap-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(203, 213, 225, 0.65);
  line-height: 1.5;
}

.ap-item::before {
  content: '';
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--indigo);
  margin-top: 6px;
  opacity: 0.6;
}

/* ============================================================
   METRICS
   ============================================================ */
.metrics {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.metric-card {
  background: var(--bg-card);
  padding: 36px 28px;
  text-align: center;
  transition: background var(--transition);
}

.metric-card:hover {
  background: var(--bg);
}

.metric-value {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 12.5px;
  color: var(--slate-light);
  line-height: 1.4;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 0;
  background: var(--bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrap .section-title {
  font-size: 28px;
  margin-bottom: 6px;
}

.contact-intro {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--heading);
  background: var(--bg);
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--indigo);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ci-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 4px;
}

.ci-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 2px;
}

.ci-sub {
  font-size: 13px;
  color: var(--slate);
}

.cta-assessment {
  background: linear-gradient(135deg, var(--navy), #1a1060);
  border: none;
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.cta-assessment::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
  top: -50px;
  right: -50px;
}

.cta-assessment .ci-label  { color: rgba(165, 180, 252, 0.8); }
.cta-assessment .ci-value  { color: rgba(255, 255, 255, 0.9); font-size: 18px; }
.cta-assessment .ci-sub    { color: rgba(203, 213, 225, 0.6); font-size: 13px; margin-bottom: 16px; }
.cta-assessment .btn-primary { font-size: 13px; padding: 10px 20px; }
 /* footer logo */
 .footer-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1px;
}

.footer-brand .logo-img {
  width: 180px;   /* slightly smaller for footer */
  height: 180px;
}

.footer-brand .nav-logo span {
  font-size: 18px;
  font-weight: 600;
  color: #fff; /* change based on footer background */
}

.footer-brand .nav-logo span span {
  color: #007bff;
}
/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(203, 213, 225, 0.7);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .nav-logo {
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(203, 213, 225, 0.7);
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.social-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(203, 213, 225, 0.6);
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(203, 213, 225, 0.4);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(203, 213, 225, 0.4);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 960px) {
  .nav-links,
  .nav-actions .btn-secondary { display: none; }

  .nav-hamburger { display: flex; }
  .nav-inner     { justify-content: space-between; padding-right: 12px; }

  .hero-inner          { grid-template-columns: 1fr; gap: 48px; padding: 60px 0; }
  .hero-visual         { justify-content: center; }
  .hero-card-main      { width: 300px; height: 340px; }
  .fc-1, .fc-2, .fc-3, .fc-4 { display: none; }

  .phases-grid          { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .phases-grid::before  { display: none; }

  .svc-body-grid   { grid-template-columns: 1fr 1fr; }
  .svc-value-row   { grid-template-columns: repeat(2, 1fr); }
  .exec-grid       { grid-template-columns: 1fr; }
  .exec-body-grid  { grid-template-columns: 1fr; }

  .approach-strip  { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner   { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .phases-grid         { grid-template-columns: 1fr; }
  .metrics-grid        { grid-template-columns: 1fr 1fr; }
  .approach-strip      { grid-template-columns: 1fr; }
  .why-grid            { grid-template-columns: 1fr; }
  .industries-grid     { grid-template-columns: 1fr; }

  .svc-card-header     { grid-template-columns: auto 1fr; gap: 14px; }
  .svc-toggle-btn      { display: none; }
  .svc-card-body       { display: block !important; }
  .svc-body-grid       { grid-template-columns: 1fr; }
  .svc-value-row       { grid-template-columns: 1fr 1fr; }
  .exec-body-grid      { grid-template-columns: 1fr; }

  .hero-title          { font-size: 36px; }
  .hero-desc           { font-size: 15px; }

  .contact-form-wrap   { padding: 28px 20px; }
  .form-row            { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; }
  .metrics-grid        { grid-template-columns: 1fr; }
}

/* ============================================================
   LEGAL PAGES — SHARED STYLES
   ============================================================ */
.legal-page-wrapper {
  padding-top: 0;
  min-height: 100vh;
  background: var(--bg);
}

.legal-hero {
  background: linear-gradient(135deg, #060D1F 0%, #0F172A 50%, #1a1060 100%);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.legal-hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.15) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(165,180,252,.8);
  margin-bottom: 20px;
  transition: color var(--transition), gap var(--transition);
  text-decoration: none;
}

.legal-back-link:hover {
  color: rgba(165,180,252,1);
  gap: 12px;
}

.legal-page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(165,180,252,.9);
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 20px;
}

.legal-page-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
}

.legal-page-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.legal-page-meta {
  font-size: 14px;
  color: rgba(203,213,225,.6);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-page-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Content layout */
.legal-content-section {
  padding: 72px 0 100px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sticky sidebar TOC */
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.legal-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.legal-toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc-link {
  font-size: 13px;
  color: var(--slate);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
  line-height: 1.4;
}

.legal-toc-link:hover {
  background: var(--bg);
  color: var(--indigo);
}

.legal-toc-link.active {
  background: rgba(99,102,241,.08);
  color: var(--indigo);
  font-weight: 600;
}

/* Article content */
.legal-article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 52px 56px;
  box-shadow: var(--shadow-sm);
}

.legal-article h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -.02em;
  margin: 48px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
}

.legal-article h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-article h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin: 28px 0 10px;
  letter-spacing: -.01em;
}

.legal-article p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-article ul,
.legal-article ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-article ul { list-style: disc; }
.legal-article ol { list-style: decimal; }

.legal-article li {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-article a {
  color: var(--indigo);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.legal-article a:hover {
  color: var(--violet);
}

.legal-article strong {
  color: var(--heading);
  font-weight: 600;
}

.legal-highlight-box {
  background: linear-gradient(135deg, rgba(99,102,241,.05), rgba(139,92,246,.05));
  border: 1px solid rgba(99,102,241,.18);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.75;
}

.legal-highlight-box strong {
  color: var(--indigo);
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.legal-contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.legal-contact-card .lcc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 8px;
}

.legal-contact-card p {
  font-size: 13.5px;
  margin-bottom: 4px;
  line-height: 1.6;
}

/* Responsive legal pages */
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
    display: none;
  }
}

@media (max-width: 600px) {
  .legal-article {
    padding: 28px 22px;
  }
  .legal-hero {
    padding: 60px 0 44px;
  }
}
