/* SciEncephalon Design System */
:root {
  /* Color Palette */
  --color-primary: #0076a3;
  /* SciEncephalon Teal/Blue */
  --color-primary-dark: #005a7d;
  --color-secondary: #2c3e50;
  /* Dark Slate */
  --color-accent: #0076a3;
  /* Use primary for accent to match minimal palette */
  --color-success: #10b981;

  --color-bg-light: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-bg-dark: #2c3e50;

  --color-text-main: #333333;
  --color-text-muted: #777777;
  --color-text-light: #ffffff;

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing */
  --container-width: 1280px;
  --header-height: 90px;

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  background: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--color-bg-subtle);
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

/* Premium CTA Button — used for Contact Us across all pages */
.btn-cta {
  background: linear-gradient(135deg, #005a7d 0%, #0076a3 50%, #0099cc 100%);
  color: white;
  -webkit-text-fill-color: white;
  border: none;
  padding: 0.8rem 1.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(0, 118, 163, 0.38);
  position: relative;
  overflow: hidden;
  gap: 0.45rem;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.55s ease;
}

.btn-cta:hover::before {
  left: 160%;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 118, 163, 0.5);
  background: linear-gradient(135deg, #004f6e 0%, #0076a3 50%, #0091c2 100%);
}

/* Default Buttons (restored for Contact Us, etc) */
.btn-primary {
  background: var(--color-primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* HERO BUTTONS (Standard Style) */
.hero-btns .btn {
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
  box-shadow: none;
  padding: 0.75rem 1.75rem;
}

/* Ensure Primary in Hero is solid */
.hero-btns .btn-primary {
  background: var(--color-primary);
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
}

.hero-btns .btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  filter: none;
}

/* Outline button adapted for dark Vanta hero background */
.hero-btns .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: white;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: white;
}

.hero-btns .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: white;
  transform: translateY(-2px);
  filter: none;
}




/* Header */
.header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo Brand (HTML/CSS, replaces image logos) ── */
.logo-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  line-height: 1;
}

.logo-name {
  display: flex;
  align-items: center;
  font-family: 'Audiowide', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.01em;
}

.logo-sci {
  background: linear-gradient(135deg, #0076a3 0%, #00c2e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.logo-encephalon {
  color: #1a2744;
  -webkit-text-fill-color: #1a2744;
}

.logo-ai-badge {
  margin-left: 10px;
  font-family: 'Audiowide', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: white;
  -webkit-text-fill-color: white;
  background: linear-gradient(135deg, #0076a3, #00c2e8);
  padding: 5px 13px;
  border-radius: 999px;
  align-self: center;
}

.logo-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 118, 163, 0.5) 0%, transparent 100%);
  width: 100%;
}

.logo-tagline {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #94a3b8;
  -webkit-text-fill-color: #94a3b8;
}

/* Footer variant — smaller size + light text on dark background */
.logo-brand-footer .logo-name {
  font-size: 1.25rem;
}

.logo-brand-footer .logo-ai-badge {
  font-size: 0.6rem;
  padding: 3px 8px;
}

.logo-brand-footer .logo-tagline {
  font-size: 0.65rem;
}

.logo-brand-footer .logo-encephalon {
  color: rgba(255, 255, 255, 0.92);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92);
}

.logo-brand-footer .logo-divider {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
}

.logo-brand-footer .logo-tagline {
  color: rgba(255, 255, 255, 0.4);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.4);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-main);
}

.nav-link:hover {
  color: var(--color-primary);
}

.mobile-toggle {
  display: none;
}

/* Typed.js cursor */
.typed-cursor {
  color: var(--color-primary);
  font-weight: 300;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  background: #0a1628;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  min-height: 4.4rem; /* prevent layout shift while Typed.js initialises */
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

/* Stats Bar */
.stats-bar {
  background: var(--color-bg-subtle);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 1.25rem 2rem;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.values-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}


/* Services/Solutions */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.service-list {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.service-list li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.service-list li::before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
}

/* Industries Tab/Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.industry-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.industry-header {
  background: var(--color-secondary);
  color: white;
  padding: 1.5rem;
}

.industry-body {
  padding: 1.5rem;
  flex: 1;
}

.industry-h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--color-secondary);
  color: var(--color-text-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
}

/* ─── How We Engage ─── */
.engage-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.engage-phase {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 4px solid transparent;
  display: flex;
  flex-direction: column;
}

.engage-phase:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.engage-phases .engage-phase:nth-child(1) { border-top-color: #0076a3; }
.engage-phases .engage-phase:nth-child(1):hover { border-color: #0076a3; border-top-width: 4px; }
.engage-phases .engage-phase:nth-child(2) { border-top-color: #7c3aed; }
.engage-phases .engage-phase:nth-child(2):hover { border-color: #7c3aed; border-top-width: 4px; }
.engage-phases .engage-phase:nth-child(3) { border-top-color: #059669; }
.engage-phases .engage-phase:nth-child(3):hover { border-color: #059669; border-top-width: 4px; }

.engage-phase-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 0.85rem;
}

.engage-deliverable {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.73rem;
  color: var(--color-primary);
  font-weight: 600;
  border-top: 1px dashed #d1dae3;
}

.engage-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.1rem 1.5rem;
}

.pipeline-step {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  text-align: center;
}

.pipeline-step-final {
  color: var(--color-primary);
}

.pipeline-chevron {
  font-size: 1.3rem;
  color: var(--color-primary);
  opacity: 0.4;
  line-height: 1;
  padding: 0 0.1rem;
}

.engage-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: #aab;
  margin-top: 1.25rem;
  letter-spacing: 0.03em;
  font-style: italic;
}

/* ─── Accessibility ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── Trusted-By Strip ─── */
.trusted-by {
  background: var(--color-bg-subtle);
  border-top: 1px solid #e8edf2;
  border-bottom: 1px solid #e8edf2;
  padding: 2rem 0;
}

.trusted-by-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.trusted-by-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trusted-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 2.5rem;
}

.trusted-logo-divider {
  width: 1px;
  height: 2.5rem;
  background: #d1dae3;
}

.tl-icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.tl-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
}

.tl-sub {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

/* ─── Scroll-to-Top Button ─── */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 118, 163, 0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.2s;
  pointer-events: none;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-to-top:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(0, 118, 163, 0.55);
}

/* Responsive */
@media (max-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trusted-logo {
    padding: 0.75rem 1.25rem;
  }
  .trusted-logo-divider {
    display: none;
  }
  /* Fix #3 — bump scroll-to-top above mobile CTA bar (~56px tall) */
  .scroll-to-top {
    bottom: 4.5rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .hero h1 {
    min-height: 6.5rem;
    font-size: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
    cursor: pointer;
  }

  /* Fix #2 — shrink logo in header on mobile */
  .logo-name {
    font-size: 1.4rem;
  }
  .logo-ai-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    margin-left: 6px;
  }
  .logo-tagline {
    font-size: 0.68rem;
  }

  /* Fix #6 — reduce section padding on mobile */
  .section {
    padding: 3rem 0;
  }

  /* Fix #4 — insight cards full width on mobile */
  .insight-card {
    width: 100%;
  }
}

/* New Cleanup Utilities */
.hero-badges {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Badges */
.badge {
  /* Layout & Position */
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;

  /* Typography */
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.025em;
  text-shadow: none;
  text-transform: none;
  /* Reset caps */

  /* Background: Solid Brand Color */
  background: var(--color-primary);
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);

  /* Styling */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  filter: brightness(1.1);
}

/* Removed ::before background card */
.badge::before {
  content: none;
}




.badge-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  /* prevent shrinking */
}

.badge-dot.success {
  background: var(--color-success);
}

.badge-dot.primary {
  background: var(--color-primary);
}

.text-center-max-800 {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

/* Our Expertise — coloured top-border accents */
#solutions .services-grid .service-card:nth-child(1) { border-top: 4px solid #0076a3; }
#solutions .services-grid .service-card:nth-child(2) { border-top: 4px solid #7c3aed; }
#solutions .services-grid .service-card:nth-child(3) { border-top: 4px solid #0891b2; }
#solutions .services-grid .service-card:nth-child(4) { border-top: 4px solid #059669; }
#solutions .services-grid .service-card:nth-child(5) { border-top: 4px solid #2563eb; }
#solutions .services-grid .service-card:nth-child(6) { border-top: 4px solid #ea580c; }

.service-card-clickable {
  cursor: pointer;
  border-top: 4px solid transparent;
  /* default */
}

.service-card-primary {
  border-top-color: var(--color-primary);
}

.service-card-accent {
  border-top-color: var(--color-accent);
}

.service-card-success {
  border-top-color: var(--color-success);
}

.industry-header-healthcare {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.industry-header-lifesci {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
}

.insights-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.insight-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  width: 350px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-card-glass {
  background: rgba(255, 255, 255, 0.1);
}

.insight-card-blue {
  background: rgba(0, 118, 163, 0.2);
  /* Using calculated RGB for --color-primary #0076a3 */
  border: 1px solid rgba(0, 118, 163, 0.3);
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  width: 100%;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 118, 163, 0.1);
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.section-title-lg {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Service Card Typography */
.service-title-lg {
  font-size: 1.5rem;
}

.service-desc {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

/* Industry Section */
.industry-intro {
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Logo image utilities (kept for legacy/other pages) */
.logo-header { height: 80px; }
.logo-footer  { height: 50px; margin-bottom: 1rem; }

/* Social Media Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}


/* ============================================================
   HERO ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: heroFadeUp 0.7s ease both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.28s; }
.hero-content > *:nth-child(3) { animation-delay: 0.45s; }
.hero-content > *:nth-child(4) { animation-delay: 0.62s; }

/* ============================================================
   SCROLL REVEAL — driven by GSAP ScrollTrigger (see script.js)
   ============================================================ */

/* ============================================================
   HEADER SCROLLED STATE
   ============================================================ */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   ACTIVE NAV LINK
   ============================================================ */
.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================================
   SECTION EYEBROW LABELS
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #eef7fb;
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* ============================================================
   INDUSTRY CARD GRADIENT COLOURS
   ============================================================ */
.industry-header-bfsi {
  background: linear-gradient(135deg, #1a3a5c 0%, #2563eb 100%);
}

.industry-header-manufacturing {
  background: linear-gradient(135deg, #374151 0%, #6b7280 100%);
}

.industry-header-retail {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 100%);
}

.industry-header-energy {
  background: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
}

.industry-header-public {
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%);
}

/* ============================================================
   CONTACT TWO-COLUMN LAYOUT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.contact-info {
  padding-top: 0.5rem;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: #eef7fb;
  color: var(--color-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.9rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

.contact-detail-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.contact-layout .contact-card {
  max-width: none;
  margin: 0;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .engage-phases {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pipeline-chevron {
    display: none;
  }
  .engage-pipeline {
    gap: 0.4rem;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Fix #1 — stack hero CTA buttons on narrow screens */
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  /* Fix #5 — reduce hero h1 on very small phones */
  .hero h1 {
    font-size: 2rem;
    min-height: 5rem;
  }
}

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

/* ─── Pronunciation ─── */
.pronunciation {
  font-size: 0.8rem;
  color: #bbbccc;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: 0.1rem;
  margin-bottom: 0.5rem;
}

/* ─── What Sets Us Apart ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid #e8edf2;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 0.65rem;
  background: #eef7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Mobile Drawer ─── */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: white;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -6px 0 32px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8edf2;
}

.mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0.25rem;
  border-radius: 0.4rem;
  transition: color 0.15s, background 0.15s;
}

.mobile-drawer-close:hover {
  color: var(--color-secondary);
  background: #f1f5f9;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-drawer-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-main);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.15s;
}

.mobile-drawer-link:hover {
  color: var(--color-primary);
}

.mobile-drawer-cta {
  margin-top: 1.75rem;
  justify-content: center;
  text-align: center;
}

/* ─── Mobile CTA Bar ─── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-primary);
  color: white;
  z-index: 997;
  padding: 0.9rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.18);
}

.mobile-cta-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.mobile-cta-dismiss {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }
  .mobile-cta-bar.dismissed {
    display: none;
  }
}