/* ==========================================================================
   Electro-Resource Enterprises (Private) Limited (ERPL)
   Senior UI/UX Enterprise Stylesheet — Executive Industrial Grade
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Default: Executive Architectural Light Theme */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-elevated: #FFFFFF;
  --bg-header: rgba(255, 255, 255, 0.94);
  --bg-topbar: #0B1727;

  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-active: #2563EB;

  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --text-on-dark: #F8FAFC;

  --brand-navy: #0B192C;
  --brand-navy-light: #1E3A8A;
  --brand-navy-surface: #1E293B;

  /* Executive Precision Amber / Bronze */
  --accent-primary: #C25E00;
  --accent-primary-hover: #A04A00;
  --accent-primary-soft: rgba(194, 94, 0, 0.08);
  --accent-primary-border: rgba(194, 94, 0, 0.25);

  /* Industrial Blue */
  --accent-blue: #1D4ED8;
  --accent-blue-soft: rgba(29, 78, 216, 0.08);

  /* Geometry & Shadows */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.12);

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --transition-fast: all 0.15s ease-in-out;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tactical Dark Mode Overrides */
[data-theme="dark"] {
  --bg-page: #0B1120;
  --bg-surface: #0F172A;
  --bg-subtle: #1E293B;
  --bg-elevated: #162032;
  --bg-header: rgba(15, 23, 42, 0.94);
  --bg-topbar: #070B14;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-active: #3B82F6;

  --text-heading: #F8FAFC;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --brand-navy: #0F172A;
  --brand-navy-light: #2563EB;
  --brand-navy-surface: #1E293B;

  --accent-primary: #F59E0B;
  --accent-primary-hover: #D97706;
  --accent-primary-soft: rgba(245, 158, 11, 0.12);
  --accent-primary-border: rgba(245, 158, 11, 0.3);

  --accent-blue: #3B82F6;
  --accent-blue-soft: rgba(59, 130, 246, 0.15);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 30px -4px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul { list-style: none; }

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section-padding {
  padding: 5.5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

/* Editorial Kicker / Tag */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-primary-soft);
  border: 1px solid var(--accent-primary-border);
  border-radius: var(--radius-xs);
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.85rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   3. Buttons & Controls (Refined Industrial Precision)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn-primary {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #0F172A;
}

.btn-primary:hover {
  background: var(--brand-navy-light);
  border-color: var(--brand-navy-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .btn-primary:hover {
  background: var(--accent-primary-hover);
  border-color: var(--accent-primary-hover);
  color: #0F172A;
}

.btn-accent {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--text-heading);
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 0.98rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn-icon {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  border-color: var(--border-medium);
  color: var(--text-heading);
  background: var(--bg-subtle);
}

/* --------------------------------------------------------------------------
   4. Executive Corporate Dual-Tier Header
   -------------------------------------------------------------------------- */
.header-wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* Top Utility Compliance Bar */
.header-topbar {
  background: var(--bg-topbar);
  color: #94A3B8;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
  text-decoration: none;
}

.topbar-item:hover {
  color: #FFFFFF;
}

.topbar-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  color: #F8FAFC;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.topbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
}

/* Main Corporate Nav Bar */
.header-main {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition-fast);
}

[data-theme="dark"] .brand-logo-img {
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-item:hover {
  color: var(--text-heading);
  background: var(--bg-subtle);
}

.nav-item.active {
  color: var(--text-heading);
  background: var(--bg-subtle);
  font-weight: 700;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.95rem;
  right: 0.95rem;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Theme toggle icons */
.moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--bg-subtle);
}

/* --------------------------------------------------------------------------
   5. Hero Section: Executive Industrial Authority
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 5.5rem 0 4.5rem 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Subtle Technical Blueprint Grid (CSS-only, high performance) */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-blue-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero-box-centered {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--accent-primary);
  text-transform: uppercase;
  background: var(--accent-primary-soft);
  border: 1px solid var(--accent-primary-border);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-xs);
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1.35rem;
  color: var(--text-heading);
}

.hero-h1 .highlight-text {
  color: var(--brand-navy-light);
}

[data-theme="dark"] .hero-h1 .highlight-text {
  color: #60A5FA;
}

.hero-p {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.25rem;
  flex-wrap: wrap;
}

/* Institutional Social Proof Wall */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 760px;
  flex-wrap: wrap;
}

.sp-avatars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sp-av {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xs);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.sp-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: left;
}

.sp-text strong {
  color: var(--text-heading);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Executive Statistics Board
   -------------------------------------------------------------------------- */
.stats-section {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 2rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-n {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-n span {
  color: var(--accent-primary);
  font-size: 0.85em;
}

.stat-l {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.stat-div {
  display: none; /* using grid layout instead of absolute divs */
}

/* --------------------------------------------------------------------------
   7. Core Pillars & Capabilities Cards (Industrial Precision Grid)
   -------------------------------------------------------------------------- */
.why-section {
  position: relative;
  padding: 5.5rem 0;
  background-color: var(--bg-page);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-card--accent {
  border-top: 3px solid var(--accent-primary);
}

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.wc-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--brand-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

[data-theme="dark"] .wc-icon {
  color: #60A5FA;
}

.wc-icon svg {
  width: 22px;
  height: 22px;
}

.why-card:hover .wc-icon {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
}

[data-theme="dark"] .why-card:hover .wc-icon {
  background: var(--accent-primary);
  color: #0F172A;
  border-color: var(--accent-primary);
}

.wc-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dim);
  letter-spacing: -0.02em;
}

.wc-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  color: var(--text-heading);
}

.wc-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.wc-bottom {
  display: flex;
  align-items: center;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
}

.wc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-body);
  background: var(--bg-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

.wc-tag svg {
  width: 14px;
  height: 14px;
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   8. Industrial Activities & Services Showcase
   -------------------------------------------------------------------------- */
.activities-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.act-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.act-item:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.act-icon-wrap {
  color: var(--brand-navy-light);
  width: 32px;
  height: 32px;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

[data-theme="dark"] .act-icon-wrap {
  color: #60A5FA;
}

.act-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  color: var(--text-heading);
}

.act-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.act-link {
  color: var(--brand-navy-light);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

[data-theme="dark"] .act-link {
  color: #60A5FA;
}

.act-link:hover {
  color: var(--accent-primary);
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   9. Institutional Customers Showcase (Executive Client Wall)
   -------------------------------------------------------------------------- */
.customer-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.client-logo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.client-logo-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.client-badge-frame {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 10px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.client-real-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.client-logo-fallback {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.client-name {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-heading);
  line-height: 1.3;
}

.client-type-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   10. Inner Pages: Unified Corporate Banner & Breadcrumbs
   -------------------------------------------------------------------------- */
.page-banner {
  padding: 5rem 0 4rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

.page-banner h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.page-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   11. About / Overview Page Layouts
   -------------------------------------------------------------------------- */
.about-split-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.about-profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.about-profile-card h2 {
  font-size: 1.85rem;
  margin: 0.75rem 0 1.5rem;
  color: var(--text-heading);
}

.overview-txt {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.overview-txt:last-child {
  margin-bottom: 0;
}

.about-highlights-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.about-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-stat-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.about-stat-n {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--brand-navy-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .about-stat-n {
  color: #60A5FA;
}

.about-stat-l {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Strategic Pillars Row */
.pillars-row-upgraded {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pillar-card-upgraded {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.pillar-card-upgraded:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--brand-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

[data-theme="dark"] .pillar-icon-box {
  color: #60A5FA;
}

.pillar-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-heading);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Executive Leadership Grid */
.team-clean-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.exec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.exec-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.exec-avatar-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy-light);
  margin: 0 auto 1.35rem;
  border: 2px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .exec-avatar-badge {
  color: #60A5FA;
}

.exec-avatar-badge.exec-avatar-img-wrap {
  border: 2px solid var(--border-medium);
  padding: 2px;
}

.exec-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.exec-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-heading);
}

.exec-role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--accent-primary-soft);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

.exec-bio {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.85rem;
}

/* --------------------------------------------------------------------------
   12. Capabilities Catalog Search & Filters
   -------------------------------------------------------------------------- */
.capabilities-search-bar {
  margin-bottom: 3rem;
  text-align: center;
}

.cap-search-input {
  width: 100%;
  max-width: 640px;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.cap-search-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-blue-soft);
}

/* Sub-service Pills / Tabs */
.service-tabs-bar {
  padding: 1.25rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.service-tabs-flex {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. Surface Transportation Page
   -------------------------------------------------------------------------- */
.grid-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.transport-list-clean {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.transport-list-clean li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.5;
}

.transport-list-clean li svg {
  color: var(--brand-navy-light);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

[data-theme="dark"] .transport-list-clean li svg {
  color: #60A5FA;
}

.transport-card-graphic {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.transport-card-graphic .graphic-icon {
  width: 68px;
  height: 68px;
  color: var(--brand-navy-light);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .transport-card-graphic .graphic-icon {
  color: #60A5FA;
}

.transport-card-graphic h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   14. Contact Headquarters & Official Tender Desk
   -------------------------------------------------------------------------- */
.contact-clean-box {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-left {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-left h2 {
  font-size: 1.6rem;
  margin: 0.75rem 0 0.6rem;
  color: var(--text-heading);
}

.contact-left > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

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

.c-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.c-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.c-item strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
}

.c-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-right {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-right h3 {
  font-size: 1.4rem;
  margin-bottom: 1.75rem;
  color: var(--text-heading);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-field {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--brand-navy-light);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--accent-blue-soft);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   15. Executive Corporate Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-topbar);
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem 0;
}

.footer-row {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

.footer-p {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: #94A3B8;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

.footer-contact-item {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-bottom: 0.65rem;
  line-height: 1.6;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-bar p {
  color: #64748B;
}

.footer-bottom-bar a,
.corpela-link {
  color: #CBD5E1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-fast);
}

.footer-bottom-bar a:hover,
.corpela-link:hover {
  color: #FFFFFF;
  text-decoration-color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   16. Interactive Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-heading);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  max-width: 90vw;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   17. Mobile Drawer Backdrop & Scroll Lock
   -------------------------------------------------------------------------- */
body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 23, 39, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 998;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-footer {
  display: none;
}

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints
   -------------------------------------------------------------------------- */
/* Tablet & Medium Screens: ≤ 1024px */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  .header-nav { gap: 0.15rem; }
  .nav-item { font-size: 0.85rem; padding: 0.45rem 0.75rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .activities-clean-grid { grid-template-columns: repeat(2, 1fr); }
  .customer-logos-grid { grid-template-columns: repeat(3, 1fr); }
  .about-split-grid { grid-template-columns: 1fr; }
  .grid-split { grid-template-columns: 1fr; }
  .pillars-row-upgraded { grid-template-columns: repeat(2, 1fr); }
  .team-clean-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-row { grid-template-columns: repeat(2, 1fr); }
  .contact-clean-box { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* Standard Mobile: ≤ 768px */
@media (max-width: 768px) {
  .header-topbar { display: none; }

  .header-main {
    height: 62px;
  }

  .brand-logo-img {
    height: 38px;
  }

  /* Slide-in Mobile Drawer */
  .header-nav {
    position: fixed;
    top: 62px;
    left: -100%;
    width: 300px;
    max-width: 84vw;
    height: calc(100vh - 62px);
    background: var(--bg-surface);
    border-right: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 2.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav.active {
    left: 0;
  }

  .nav-item {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
  }

  .nav-item.active::after {
    display: none;
  }

  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-nav-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
  }

  .header-actions .btn-primary {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  /* Prevent auto-zoom on iOS inputs */
  .form-field input,
  .form-field textarea,
  .form-field select,
  .cap-search-input {
    font-size: 16px !important;
  }

  /* Hero Section */
  .hero-section {
    padding: 3.5rem 0 2.75rem 0;
  }

  .hero-h1 {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-badge-pill {
    font-size: 0.68rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
    max-width: 100%;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }

  .hero-p {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
  }

  .hero-social-proof {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding-top: 1.25rem;
  }

  .sp-avatars {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
  }

  .sp-av {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
  }

  .sp-text {
    font-size: 0.82rem;
    text-align: center;
  }

  /* Statistics */
  .stats-section {
    padding: 2.25rem 0;
  }

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

  .stat-n {
    font-size: 2rem;
  }

  .stat-l {
    font-size: 0.75rem;
    margin-top: 0.35rem;
  }

  /* Section Spacing & Titles */
  .section-padding {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Cards & Grids */
  .why-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .why-card { padding: 1.6rem 1.25rem; }
  .wc-title { font-size: 1.12rem; }
  .wc-text { font-size: 0.9rem; margin-bottom: 1.25rem; }

  .activities-clean-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .act-item { padding: 1.75rem 1.25rem; }

  .customer-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .client-logo-card {
    padding: 1.35rem 0.75rem;
  }

  .client-badge-frame {
    width: 60px;
    height: 60px;
    margin-bottom: 0.85rem;
    padding: 8px;
  }

  .client-name {
    font-size: 0.88rem;
  }

  .client-type-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.5rem;
  }

  /* Sub-Navigation Tabs */
  .service-tabs-bar {
    padding: 0.85rem 0;
  }

  .service-tabs-flex {
    gap: 0.5rem;
  }

  .service-tabs-flex .btn {
    flex: 1 1 auto;
    font-size: 0.82rem;
    padding: 0.55rem 0.85rem;
    text-align: center;
  }

  /* Inner Pages */
  .page-banner {
    padding: 3.5rem 0 2.5rem 0;
  }

  .page-banner h1 {
    font-size: clamp(1.8rem, 6vw, 2.3rem);
  }

  .about-profile-card,
  .contact-left,
  .contact-right {
    padding: 1.75rem 1.25rem;
  }

  .about-highlights-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .pillars-row-upgraded { grid-template-columns: 1fr; gap: 1.25rem; }
  .team-clean-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .exec-card { padding: 1.75rem 1rem; }
  .grid-split { grid-template-columns: 1fr; gap: 2rem; }
  .transport-card-graphic { padding: 2.25rem 1.5rem; }

  /* Footer */
  .site-footer {
    padding: 3.5rem 0 2rem 0;
  }

  .footer-row {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2.5rem;
  }

  .footer-col h4 {
    margin-bottom: 0.85rem;
  }

  .footer-col ul {
    gap: 0.75rem;
  }

  .footer-col ul li a {
    display: inline-block;
    padding: 0.15rem 0;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
  }

  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: 100%;
  }
}

/* Compact Mobile: ≤ 480px */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-pill {
    height: 58px;
  }

  .hero-h1 {
    font-size: 1.85rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .customer-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .client-logo-card {
    padding: 1.1rem 0.5rem;
  }

  .team-clean-grid {
    grid-template-columns: 1fr;
  }

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

  .service-tabs-flex {
    flex-direction: column;
  }

  .service-tabs-flex .btn {
    width: 100%;
  }

  .btn-lg {
    padding: 0.85rem 1.4rem;
    font-size: 0.92rem;
  }
}
