@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --industrial-blue: #1684C4;
  --dark-navy: #102A43;
  --deep-slate: #0b1a29;
  --graphite: #343A40;
  --light-steel: #EEF2F5;
  --pure-white: #FFFFFF;
  --manufacturing-orange: #F47B20;
  --laser-cyan: #00e5ff;
  --font-heading: 'Barlow Semi Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-body);
  color: var(--graphite);
  background-color: var(--pure-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .heading-font {
  font-family: var(--font-heading);
  color: var(--dark-navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Top utility bar */
.top-bar {
  background-color: var(--deep-slate);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}
.top-bar a:hover {
  color: var(--manufacturing-orange);
}

/* Navigation */
.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark-navy) !important;
  line-height: 1.1;
}
.navbar-brand span {
  display: block;
  font-size: 0.72rem;
  color: var(--industrial-blue);
  font-weight: 700;
  letter-spacing: 1.2px;
}
.nav-link {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--dark-navy) !important;
  padding: 0.5rem 0.85rem !important;
  letter-spacing: 0.5px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--industrial-blue);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 70%;
}

/* Buttons */
.btn-industrial {
  background-color: var(--industrial-blue);
  color: var(--pure-white);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid var(--industrial-blue);
  padding: 0.75rem 1.6rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-industrial:hover {
  background-color: #0f6aa0;
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(22, 132, 196, 0.4);
  transform: translateY(-2px);
}

.btn-quote {
  background: linear-gradient(135deg, #F47B20 0%, #e0660e 100%);
  color: var(--pure-white);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  padding: 0.75rem 1.8rem;
  font-size: 0.92rem;
  letter-spacing: 0.75px;
  box-shadow: 0 4px 15px rgba(244, 123, 32, 0.35);
  transition: all 0.25s ease;
}
.btn-quote:hover {
  background: linear-gradient(135deg, #ff8933 0%, #e0660e 100%);
  color: var(--pure-white);
  box-shadow: 0 6px 20px rgba(244, 123, 32, 0.55);
  transform: translateY(-2px);
}

/* Hero Section with High-Tech Engineering Aesthetics */
.hero-engineering {
  position: relative;
  background-color: var(--deep-slate);
  color: var(--pure-white);
  padding: 6rem 0 5rem;
  overflow: hidden;
  border-bottom: 4px solid var(--industrial-blue);
}

/* Technical CAD Grid & Circuit Graphic Layer */
.hero-engineering::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Radial Laser Glow behind hero graphics */
.hero-engineering::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -100px;
  top: -100px;
  background: radial-gradient(circle, rgba(22, 132, 196, 0.25) 0%, rgba(16, 42, 67, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-engineering h1 {
  color: var(--pure-white);
  font-size: 3.4rem;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtext {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 640px;
}

/* Dynamic Hero Visual Frame */
.hero-visual-container {
  position: relative;
  border-radius: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 4px;
  filter: contrast(1.05) brightness(0.95);
  transition: transform 0.6s ease;
}

.hero-visual-container:hover .hero-main-img {
  transform: scale(1.02);
}

/* Machine Telemetry Floating Overlay Card */
.telemetry-badge {
  position: absolute;
  bottom: 25px;
  left: -20px;
  background: rgba(16, 42, 67, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--laser-cyan);
  border-radius: 4px;
  padding: 14px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  animation: floatTelemetry 4s ease-in-out infinite alternate;
}

@keyframes floatTelemetry {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.telemetry-badge .telemetry-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--laser-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.telemetry-badge .telemetry-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0;
}

/* Stat Box Component */
.stat-box {
  background-color: var(--light-steel);
  border-left: 4px solid var(--industrial-blue);
  padding: 1.35rem 1.5rem;
  height: 100%;
  transition: all 0.25s ease;
}
.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-left-color: var(--manufacturing-orange);
}
.stat-box h4 {
  font-size: 1.85rem;
  color: var(--dark-navy);
  margin-bottom: 0.25rem;
}
.stat-box p {
  font-size: 0.85rem;
  margin-bottom: 0;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card Engineering System with Live Image Overlays */
.card-engineering {
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background-color: var(--pure-white);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-engineering:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  border-color: var(--industrial-blue);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
  background-color: var(--dark-navy);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-engineering:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-img-overlay-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(16, 42, 67, 0.85);
  color: var(--pure-white);
  padding: 4px 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 2px;
}

.card-content-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Section Title Accents */
.section-title {
  position: relative;
  margin-bottom: 2.5rem;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 55px;
  height: 3px;
  background-color: var(--manufacturing-orange);
}

/* Horizontal Interactive Step Process */
.step-node {
  border: 1px solid #e2e8f0;
  padding: 1.75rem 1.25rem;
  background: var(--pure-white);
  border-radius: 4px;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}
.step-node:hover {
  border-color: var(--industrial-blue);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}
.step-node:hover .step-number {
  color: var(--manufacturing-orange);
}
.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--industrial-blue);
  line-height: 1;
  transition: color 0.25s ease;
}

/* Tech Graphic Lines & Animations */
.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Animation on Scroll Helper Classes */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Styling */
.footer-industrial {
  background-color: var(--deep-slate);
  color: #94a3b8;
  padding: 4.5rem 0 1.5rem;
  border-top: 4px solid var(--industrial-blue);
  font-size: 0.9rem;
}
.footer-industrial h5 {
  color: var(--pure-white);
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}
.footer-industrial a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-industrial a:hover {
  color: var(--manufacturing-orange);
}
/* ==========================================================
   FIXED FLOATING ACTION BUTTONS (CALL / WHATSAPP / EMAIL)
   ========================================================== */
.fixed-floating-actions {
  position: fixed;
  right: 24px;
  bottom: 30px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fab-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  color: #ffffff !important;
}

/* Call Button (Blue) */
.fab-call {
  background-color: #2563eb;
}
.fab-call:hover {
  background-color: #1d4ed8;
}

/* WhatsApp Button (Bright Green) */
.fab-whatsapp {
  background-color: #25d366;
}
.fab-whatsapp:hover {
  background-color: #20ba5a;
}

/* Quote / Email Button (Emerald Green) */
.fab-email {
  background-color: #10b981;
}
.fab-email:hover {
  background-color: #059669;
}

/* Tooltip on hover */
.fab-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 64px;
  background: rgba(16, 42, 67, 0.95);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.fab-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 576px) {
  .fixed-floating-actions {
    right: 16px;
    bottom: 20px;
    gap: 10px;
  }
  .fab-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .fab-btn::before {
    display: none; /* Hide tooltips on mobile devices */
  }
}