/* ==========================================================================
   CABLE MACHINERY GLOBAL / JASMINDER ENGINEERING WORKS
   Official Logo-Harmonized Design System (Navy Blue & Solar Orange)
   Light 3D Industrial Theme - 2026
   ========================================================================== */

:root {
  /* Logo-Derived Brand Colors */
  --brand-navy: #002b66;
  --brand-navy-dark: #001a40;
  --brand-navy-light: #004494;
  --brand-navy-muted: rgba(0, 43, 102, 0.08);
  
  --brand-orange: #ea580c;
  --brand-orange-light: #f97316;
  --brand-orange-hover: #c2410c;
  --brand-orange-glow: rgba(234, 88, 12, 0.25);
  
  --brand-cyan: #0284c7;
  --brand-emerald: #059669;

  /* Surfaces & Backgrounds */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: #ffffff;

  /* Typography */
  --text-primary: #001a40;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;
  --border-card: #cbd5e1;
  --border-accent: rgba(234, 88, 12, 0.4);
  --border-navy: rgba(0, 43, 102, 0.2);

  /* 3D Depth & Elevation Shadows */
  --shadow-3d-card: 0 16px 32px -8px rgba(0, 43, 102, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(0, 43, 102, 0.04);
  --shadow-3d-hover: 0 24px 48px -12px rgba(0, 43, 102, 0.16), 0 8px 20px rgba(234, 88, 12, 0.1), 0 0 0 1px rgba(234, 88, 12, 0.35);
  --shadow-3d-btn: 0 4px 0 #9a3412, 0 8px 18px rgba(234, 88, 12, 0.32);
  --shadow-3d-navy-btn: 0 4px 0 #001a40, 0 8px 18px rgba(0, 43, 102, 0.3);

  /* Fonts */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Animation Easings */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-orange);
}

/* 3D Blueprint Engineering Grids */
.bg-grid-blueprint {
  background-image: 
    linear-gradient(to right, rgba(0, 43, 102, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 43, 102, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bg-dot-matrix {
  background-image: radial-gradient(rgba(0, 43, 102, 0.15) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
}

/* Ambient 3D Depth Glows */
.ambient-glow-navy {
  position: absolute;
  top: 5%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 43, 102, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-orange {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.08) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Clean Product Card Styles (Crisp, zero-blur, smooth clean hover) */
.card-3d {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.card-3d:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px -4px rgba(0, 43, 102, 0.12), 0 6px 10px -4px rgba(234, 88, 12, 0.08);
  border-color: rgba(234, 88, 12, 0.45);
}

/* 3D Extruded Slab (Physical Pedestal Look) */
.slab-3d {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-bottom: 4px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 43, 102, 0.06);
  transition: all var(--transition-fast);
}

.slab-3d:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--brand-orange);
  box-shadow: 0 18px 32px -8px rgba(234, 88, 12, 0.16);
}

/* Clean Product Card Hover Styles */
.tilt-card-3d {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tilt-card-3d .tilt-inner {
  transition: none;
}

/* Glass Light Navigation */
.glass-nav-light {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -4px rgba(0, 43, 102, 0.06);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-gradient-logo {
  background: linear-gradient(135deg, #002b66 20%, #ea580c 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-brand-navy {
  color: var(--brand-navy);
}

.text-brand-orange {
  color: var(--brand-orange);
}

/* 3D Tactile Buttons (Orange & Navy) */
.btn-3d-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 12px 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-3d-btn);
  position: relative;
  transition: all var(--transition-fast);
}

.btn-3d-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #9a3412, 0 14px 24px rgba(234, 88, 12, 0.42);
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.btn-3d-primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #9a3412, 0 4px 10px rgba(234, 88, 12, 0.25);
}

.btn-3d-navy {
  background: linear-gradient(135deg, #003879, #002244);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 12px 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-3d-navy-btn);
  position: relative;
  transition: all var(--transition-fast);
}

.btn-3d-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #00122b, 0 14px 24px rgba(0, 43, 102, 0.4);
  background: linear-gradient(135deg, #004b9e, #002b66);
}

.btn-3d-navy:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #00122b, 0 4px 10px rgba(0, 43, 102, 0.25);
}

.btn-3d-secondary {
  background: #ffffff;
  color: var(--brand-navy);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border-subtle);
  border-bottom: 3px solid #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 43, 102, 0.05);
  transition: all var(--transition-fast);
}

.btn-3d-secondary:hover {
  transform: translateY(-2px);
  border-bottom-color: var(--brand-orange);
  color: var(--brand-orange);
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.12);
}

.btn-3d-secondary:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

/* 3D High-Tech Badges */
.badge-3d-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-bottom: 2px solid #fdba74;
  color: #c2410c;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(234, 88, 12, 0.08);
}

.badge-3d-navy {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-bottom: 2px solid #93c5fd;
  color: #002b66;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0, 43, 102, 0.08);
}

/* Pulsing Status Dot */
.status-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulse-light 2s infinite;
}

@keyframes pulse-light {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 3D WebGL Studio Canvas Container */
.webgl-studio-container {
  width: 100%;
  height: 480px;
  position: relative;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #edf2f7 65%, #e2e8f0 100%);
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  border-bottom: 4px solid #002b66;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(0, 43, 102, 0.12), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.webgl-canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
  cursor: grab;
}

.webgl-canvas:active {
  cursor: grabbing;
}

/* 3D HUD Light Glass Overlays */
.hud-overlay-light {
  position: absolute;
  top: 16px;
  left: 16px;
  pointer-events: none;
  z-index: 10;
}

.hud-controls-light {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 3px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 8px 24px -4px rgba(0, 43, 102, 0.12);
}

/* 3D Stepped Production Flow Blocks */
.flow-step-3d {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-bottom: 4px solid #cbd5e1;
  border-radius: 14px;
  padding: 16px;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 43, 102, 0.04);
}

.flow-step-3d:hover {
  transform: translateY(-3px);
  border-bottom-color: var(--brand-orange);
}

.flow-step-3d.active-step {
  background: #fff7ed;
  border-color: #fdba74;
  border-bottom: 4px solid var(--brand-orange);
  box-shadow: 0 8px 20px -4px rgba(234, 88, 12, 0.22);
  transform: translateY(-4px);
}

/* Inset 3D Input Wells */
.input-3d-well {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-top: 2px solid #94a3b8;
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--brand-navy-dark);
  font-size: 0.85rem;
  box-shadow: inset 0 2px 4px rgba(0, 43, 102, 0.05);
  transition: all var(--transition-fast);
}

.input-3d-well:focus {
  background: #ffffff;
  border-color: var(--brand-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 3D Spec Table Styling */
.spec-table-light {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-3d-card);
}

.spec-table-light th {
  background: #002b66;
  color: #ffffff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 14px 18px;
  border-bottom: 2px solid var(--brand-orange);
}

.spec-table-light td {
  padding: 13px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.85rem;
  color: #334155;
}

.spec-table-light tr:hover td {
  background: #f8fafc;
}

/* Top Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #002b66, #ea580c);
  width: 0%;
  z-index: 9999;
  box-shadow: 0 1px 4px rgba(234, 88, 12, 0.4);
}

/* Floating Actions */
.floating-action-btn-3d {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -4px rgba(0, 43, 102, 0.25), 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
  z-index: 90;
}

.floating-action-btn-3d:hover {
  transform: translateY(-4px) scale(1.06);
}

.floating-whatsapp-3d {
  background: #25d366;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5);
}

/* Marquee / Infinite Slider */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  gap: 2rem;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 2rem;
  animation: scroll-marquee 30s linear infinite;
}

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .webgl-studio-container {
    height: 380px;
  }
  
  .hud-controls-light {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   ATTRACTIVE 3D FOOTER DESIGN
   ========================================================================== */
.footer-attractive {
  background: linear-gradient(160deg, #001333 0%, #002359 45%, #00102b 100%);
  position: relative;
  overflow: hidden;
  color: #cbd5e1;
}

.footer-attractive::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.footer-glow-orange {
  position: absolute;
  top: -100px;
  left: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.footer-glow-cyan {
  position: absolute;
  bottom: -100px;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.14) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.footer-ribbon {
  height: 4px;
  background: linear-gradient(90deg, #ea580c 0%, #f97316 35%, #0284c7 70%, #38bdf8 100%);
  box-shadow: 0 0 15px rgba(234, 88, 12, 0.4);
}

.footer-consultation-banner {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   PRODUCT 3D CAROUSEL STYLES
   ========================================================================== */
.product-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-carousel-track::-webkit-scrollbar {
  display: none;
}

.product-carousel-card {
  flex: 0 0 360px;
  width: 360px;
  max-width: 86vw;
  scroll-snap-align: start;
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: auto;
  transform: translateZ(0);
  -webkit-font-smoothing: subpixel-antialiased;
  backface-visibility: hidden;
}

.product-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px -4px rgba(0, 43, 102, 0.12), 0 6px 10px -4px rgba(234, 88, 12, 0.08);
  border-color: rgba(234, 88, 12, 0.45);
}

@media (max-width: 640px) {
  .product-carousel-card {
    flex: 0 0 300px;
    width: 300px;
  }
}

.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-bottom: 3px solid #94a3b8;
  color: var(--brand-navy);
  box-shadow: 0 4px 10px rgba(0, 43, 102, 0.08);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.carousel-arrow-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  box-shadow: 0 8px 16px -2px rgba(234, 88, 12, 0.2);
}

.carousel-arrow-btn:active {
  transform: translateY(1px);
  border-bottom-width: 1px;
}

.carousel-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Simple Top Image Slider - Full Image Display (sl1.jpg & sl2.jpg)
   ========================================================================== */
#hero-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 600;
  overflow: hidden;
  background-color: #0f172a;
}

@supports not (aspect-ratio: 1600 / 600) {
  #hero-slides-wrapper {
    height: 0;
    padding-bottom: 37.5%; /* 600 / 1600 = 37.5% */
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bg-brand-navy {
  background-color: #002b66 !important;
}

.text-brand-navy {
  color: #002b66 !important;
}

.border-brand-navy {
  border-color: #002b66 !important;
}


