:root {
  --primary: #2563eb;
  --primary-light: #60a5fa;
  --primary-dark: #1e40af;
  --secondary: #0f172a;
  --text-main: #334155;
  --text-muted: #64748b;
  --bg-main: #f8fafc;
  --bg-offwhite: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-md: 12px;
  --radius-lg: 32px;
}

/* ═══════════════════ PRELOADER STYLES ═══════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: #05070a;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
}

.preloader-glow {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.preloader-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

#preloader-logo {
  font-size: clamp(2.5rem, 12vw, 8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  gap: 0.05em;
  text-transform: uppercase;
}

#preloader-logo .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px);
  will-change: transform, opacity;
}

#preloader-logo .char.space {
  width: 0.3em;
}

#preloader-subtext {
  text-align: center;
  color: rgba(255, 255, 255, 0.573);
  font-size: 1.3rem;
  letter-spacing: 0.6em;
  margin-top: 20px;
  opacity: 0;
  text-transform: uppercase;
}

/* Base Resets */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3.5rem;
}

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

.mb-5 {
  margin-bottom: 3rem;
}

/* Base Resets */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at top right, rgba(0, 212, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--secondary);
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 4vw, 2rem);
}

h4 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* Touch Targets & Spacing Helpers */
.touch-target {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-padding {
  padding: 16px;
}

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

html {
  scrollbar-gutter: stable;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Navbar */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  transform: none !important;
  z-index: 1000 !important;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar:not(.scrolled) {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

@media (min-width: 992px) {
  .navbar {
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  }
  .nav-logo {
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .navbar.scrolled {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none;
  }
  .navbar.scrolled .nav-container {
    pointer-events: none;
  }
  .navbar.scrolled .nav-logo {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
  }
  .navbar.scrolled .nav-links {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid rgba(15, 23, 42, 0.09) !important;
    box-shadow: 
      0 12px 30px rgba(15, 23, 42, 0.12),
      0 2px 4px rgba(15, 23, 42, 0.03) !important;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px !important;
  padding: 0 8px;
}


.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
  padding: 2px 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(37, 99, 235, 0.25));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  border-left: 1.5px solid rgba(15, 23, 42, 0.12);
  padding-left: 14px;
}

.logo-text-shagun {
  font-size: 1.45rem;
  font-weight: 900;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 2.2px;
  line-height: 0.95;
  background: linear-gradient(135deg, #091527 0%, #1e3a8a 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.logo-text-enterprise {
  font-size: 0.68rem;
  font-weight: 850;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 4.2px;
  line-height: 1;
  color: #2563eb;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.95;
}

/* ========================================
   Premium Pill Navbar
   ======================================== */
.nav-links {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-start !important;
  margin-top: 14px;
  width: fit-content !important;
  margin-left: auto;
  height: auto;
  flex-shrink: 0;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(15, 23, 42, 0.09);
  border-radius: 100px;
  padding: 6px 12px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.06),
    0 4px 16px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.nav-tabs-list {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
  position: relative;
  padding: 0;
  margin: 0;
  width: fit-content;
}

/* Sliding Liquid Glass Indicator Pill */
.nav-indicator {
  position: absolute !important;
  margin: 0 !important;
  padding: 0 !important;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(2, 132, 199, 0.10) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.28);
  box-shadow:
    0 4px 16px rgba(37, 99, 235, 0.15),
    0 1px 4px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  pointer-events: none;
  /* GPU-composited transform for buttery smooth sliding */
  transform: translateX(0) translateZ(0);
  will-change: transform, width, opacity;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.18s ease;
  z-index: 0;
  opacity: 0;
}

.navbar.scrolled .nav-links {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.09),
    0 8px 24px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.nav-tabs-list li {
  display: flex;
  align-items: center;
  z-index: 1;
}

/* Thin separator before CTA */
.nav-tabs-list li:has(.nav-cta) {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1.5px solid rgba(15, 23, 42, 0.1);
}

.nav-tabs-list a {
  font-weight: 600;
  font-size: 0.875rem;
  color: #475569;
  position: relative;
  padding: 9px 18px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.015em;
  line-height: 1;
  z-index: 2;
  border: none !important;
  box-shadow: none !important;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-tabs-list a::after {
  display: none;
}

.nav-tabs-list a:not(.active):not(.nav-cta):hover {
  color: #1e40af;
  background-color: rgba(37, 99, 235, 0.06);
}

.nav-tabs-list a:not(.nav-cta).active {
  color: #1e40af !important;
  font-weight: 750;
}

@keyframes liquidPulse {
  0% {
    box-shadow:
      0 4px 16px rgba(37, 99, 235, 0.18),
      0 1px 4px rgba(37, 99, 235, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(37, 99, 235, 0.32);
  }
  100% {
    box-shadow:
      0 6px 22px rgba(37, 99, 235, 0.28),
      0 2px 8px rgba(37, 99, 235, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(37, 99, 235, 0.45);
  }
}

/* ---- Contact Us CTA ---- */
.nav-cta,
.nav-links a.nav-cta {
  font-family: 'Outfit', sans-serif !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border-radius: 100px !important;
  padding: 9px 22px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.025em !important;
  line-height: 1 !important;
  transform: none !important;
  transition: opacity 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: none !important;
  outline: none !important;
}

.nav-cta::before,
.nav-cta::after {
  display: none !important;
}

.nav-cta:hover,
.nav-cta:focus,
.nav-cta:active,
.nav-cta.active,
.nav-cta.active:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
  transform: none !important;
  border: none !important;
  outline: none !important;
  opacity: 0.96 !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--secondary);
  margin: 6px 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  border-radius: 3px;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Sticky Bottom Mobile Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

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

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  gap: 3px;
  flex: 1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-bottom-item.active,
.mobile-bottom-item:hover {
  color: var(--primary);
}

.mobile-bottom-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

/* Sections */
html {
  scroll-behavior: smooth;
}

.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 2px;
  background: rgba(0, 102, 255, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 24px;
  line-height: 1.1;
}

.about-preview {
  background: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  gap: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover {
  transform: none;
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.35);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid rgba(11, 19, 43, 0.1);
}

.btn-outline:hover {
  border-color: var(--secondary);
  background: var(--bg-offwhite);
  transform: none;
}

/* Dark Button */
.btn-dark {
  background: var(--secondary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(11, 19, 43, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-dark:hover::before {
  opacity: 1;
}

.btn-dark:hover {
  transform: none;
  box-shadow: 0 12px 25px rgba(0, 102, 255, 0.3);
  color: #fff;
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s;
}

.btn-dark:hover .btn-icon {
  transform: scale(1.1) translateX(2px);
}


/* Hero */
.hero {
  height: 100vh !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(160deg, #f0f6ff 0%, #e8f0fe 40%, #f5f8ff 100%);
  padding: 85px 0 25px !important;
  box-sizing: border-box !important;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

/* Ambient glows */
.hero-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(140px);
  opacity: 0.6;
  transition: all 0.8s ease;
}

.left-glow {
  top: 15%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
}

.right-glow {
  top: 20%;
  right: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
}

/* Watermark */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.8);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(6rem, 18vw, 22rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.09em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 50%, #06b6d4 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  white-space: nowrap;
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.8s cubic-bezier(0.16, 1, 0.3, 1),
              letter-spacing 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, letter-spacing;
  animation: watermark-shimmer-gradient 8s ease infinite alternate;
}

.hero.is-active .hero-watermark,
.hero-watermark.is-active {
  opacity: 0.055;
  letter-spacing: 0.04em;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes watermark-shimmer-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 3;
}

/* Hero Eyebrow (No Pills) */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-eyebrow-line {
  width: 36px;
  height: 2.5px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.hero-eyebrow-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2563eb;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #0f172a;
}

.italic-serif {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 34px;
  max-width: 92%;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary.hero-btn {
  background: #2563eb;
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
}

.btn-primary.hero-btn:hover {
  background: #1d4ed8;
  transform: none;
  box-shadow: 0 16px 32px -5px rgba(37, 99, 235, 0.45);
}

.btn-outline.hero-btn {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
}

.btn-outline.hero-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: none;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

/* Shimmering Metrics Grid (Shine top-left to bottom-left) */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 12px 35px -10px rgba(15, 23, 42, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  max-width: 580px;
}

.hero-metrics-grid::before {
  content: '';
  position: absolute;
  top: -120%;
  left: -120%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(37, 99, 235, 0.08) 45%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(37, 99, 235, 0.08) 55%,
    rgba(255, 255, 255, 0) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(-35deg);
  animation: gridShimmerSweep 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 2;
}

@keyframes gridShimmerSweep {
  0% {
    transform: translate(-35%, -35%) rotate(-35deg);
  }
  60%, 100% {
    transform: translate(65%, 65%) rotate(-35deg);
  }
}

.hero-metric-card {
  position: relative;
  z-index: 3;
  text-align: left;
  padding: 6px 12px;
  border-right: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-metric-card:last-child {
  border-right: none;
}

.metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
}

/* Machine Showcase Card & Visuals */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.hero-visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 30px 24px 24px;
  box-shadow: 0 25px 60px -15px rgba(37, 99, 235, 0.12),
              0 10px 25px -5px rgba(15, 23, 42, 0.05);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.hero-showroom-viewport.single-machine-showcase {
  height: 380px;
  width: 100%;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-showroom-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  cursor: pointer;
}

.hero-showroom-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 2;
}

.hero-showroom-slide.exit {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-30px) scale(0.95);
  z-index: 1;
}

.hero-showroom-slide .hero-showroom-img-wrapper {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.hero-showroom-slide .showroom-glow-bg {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  transition: all 0.5s ease;
}

.hero-showroom-slide:hover .showroom-glow-bg {
  transform: scale(1.2);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
}

.hero-showroom-slide .hero-showroom-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.06));
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-showroom-slide:hover .hero-showroom-img {
  transform: scale(1.08) translateY(-5px);
  filter: drop-shadow(0 25px 40px rgba(37, 99, 235, 0.16));
}

.hero-showroom-slide .hero-showroom-card-body {
  margin-top: 15px;
  text-align: center;
  z-index: 3;
}

.hero-showroom-slide .hero-showroom-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}

.hero-showroom-slide .hero-showroom-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin-top: 0;
  transition: color 0.3s ease;
}

.hero-showroom-slide:hover .hero-showroom-card-title {
  color: #2563eb;
}

/* Hero Arrows */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.hero-nav-arrow:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3);
}

.hero-nav-arrow.prev-arrow {
  left: -18px;
}

.hero-nav-arrow.next-arrow {
  right: -18px;
}

/* Dots Pagination */
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-dot.active {
  width: 28px;
  border-radius: 10px;
  background: #2563eb;
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 6;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.hero-scroll-hint:hover {
  opacity: 1;
}

.hero-scroll-hint span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #64748b;
}

.scroll-hint-bar {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, #2563eb, transparent);
  animation: scrollHintPulse 2s infinite ease-in-out;
}

@keyframes scrollHintPulse {
  0%, 100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.3;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
  overflow: hidden;
}

.hero-wave svg {
  display: block;
  width: 200%;
  height: 90px;
  animation: waveMove 20s linear infinite alternate;
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-20%); }
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rounded-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  transition: var(--transition-smooth);
}

.shadow-img {
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

/* Feature Minis */
.feature-row {
  display: flex;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.feature-mini {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: var(--bg-offwhite);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  flex: 1;
  min-width: 250px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-mini:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.1);
}

.feature-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Product Rows */
.product-row {
  display: flex;
  background: transparent;
  margin: 80px auto;
  max-width: 100%;
  position: relative;
  align-items: stretch;
}

.product-row::before {
  content: '';
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 50%;
  width: 3px;
  background-color: var(--secondary);
  transform: translateX(-50%);
  z-index: 2;
}

.product-row.reverse {
  flex-direction: row-reverse;
}

.visual-side {
  flex: 1;
  padding: 60px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-side img {
  max-width: 100%;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
}

.product-row:hover .visual-side img {
  transform: scale(1.08) rotate(-1deg);
}

.content-side {
  flex: 1;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border: none !important;
}

.main-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.machine-code {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
}

.spec-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.02);
  padding: 20px;
  border-radius: 12px;
  border-left: 3px solid var(--primary);
}

.spec-text strong {
  color: var(--secondary);
  font-weight: 600;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Machine Grid (Home Page) */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.machine-card {
  background: var(--bg-offwhite);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.machine-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.machine-card:hover::before {
  transform: scaleX(1);
}

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

.machine-card-img {
  padding: 20px 0;
}

.machine-card-img img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.machine-card:hover .machine-card-img img {
  transform: scale(1.08);
}

.machine-tag {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(0, 102, 255, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

/* Machine Banner Category */
.machine-banner {
  background-color: var(--secondary);
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 90px;
  position: relative;
  overflow: hidden;
}

.machine-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 43, 0.9), rgba(11, 19, 43, 0.3));
}

.machine-banner h1 {
  font-size: 3.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  z-index: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stats-section {
  background: #ffffff;
  padding: 100px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-preview {
  background: #ffffff;
}

/* Process Section */
.process-section {
  background: var(--secondary);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100vw;
  height: 100vw;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.process-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.process-title {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  text-align: left;
  line-height: 1.1;
  text-transform: uppercase;
}

.process-title span {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 15px;
}

.process-img {
  max-width: 550px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s ease;
}

.process-img:hover {
  transform: scale(1.05);
}

/* Detail Pages (.detail-page) */
.detail-page {
  padding-top: 140px;
  padding-bottom: 100px;
}

.top-detail {
  display: flex;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
}

.machine-img-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-offwhite);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.machine-img-container img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
  animation: floatSubtle 6s infinite ease-in-out;
}

@keyframes floatSubtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.spec-box {
  flex: 1;
  background: var(--bg-offwhite);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.spec-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.spec-box h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  line-height: 1.1;
}

.spec-box .tag {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.spec-box p {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  padding-bottom: 8px;
}

.spec-box p strong {
  color: var(--secondary);
  min-width: 180px;
  display: inline-block;
}

.social-share {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tabs-container {
  background: var(--bg-offwhite);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 40px;
  margin-top: 60px;
}

.tabs-container h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.tab-content {
  padding: 20px 0 0;
}

.full-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.spec-line {
  display: flex;
  padding: 15px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: var(--transition-smooth);
  border-left: 3px solid transparent;
}

.spec-line:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  border-left-color: var(--primary);
  transform: translateX(5px);
}

.spec-line strong {
  flex: 0 0 35%;
  color: var(--secondary);
}

.spec-line p {
  flex: 1;
  color: var(--text-muted);
}

.bottom-section {
  display: flex;
  gap: 60px;
  margin-top: 80px;
}

.quote-form {
  background: var(--bg-offwhite);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.quote-form input,
.quote-form textarea {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 16px;
  transition: all 0.3s;
  width: 100%;
  margin-bottom: 20px;
  font-family: inherit;
}

.quote-form input:focus,
.quote-form textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
  outline: none;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 16px;
  border-radius: 10px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1.1rem;
}

.btn-submit:hover {
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
  transform: none;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.stats-grid>div {
  background: var(--bg-offwhite);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  box-shadow: rgba(0, 0, 0, 0.34) 1px 1px 10px 1px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.stats-grid>div:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgb(0, 102, 255);
}

.stat-val,
.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--secondary);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-suffix {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stats-grid>div {
    padding: 20px 10px;
  }

  .stat-val,
  .stat-number,
  .stat-suffix {
    font-size: 2.3rem;
  }

  .stat-label {
    font-size: 0.85rem;
    margin-top: 5px;
  }
}

.page-header {
  padding: 180px 0 100px;
  text-align: center;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
}

.page-title {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-subtitle {
  color: #475569;
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 3rem;
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(11, 19, 43, 0.9), transparent);
  color: #fff;
  font-weight: 700;
  transition: bottom 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  bottom: 0;
}

/* Blog */
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.blog-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.blog-card-img img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.blog-card-body {
  padding: 30px;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.blog-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.careers-preview {
  background: var(--bg-main);
}

/* Careers */
.careers-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a2a5e 100%);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.careers-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg opacity="0.1" xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0 0h100v100H0z" fill="none"/><circle cx="50" cy="50" r="40" stroke="%23fff" stroke-width="2"/></svg>') repeat;
}

.careers-banner .section-tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.careers-banner .section-title {
  color: #fff;
  position: relative;
}

.careers-banner .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.careers-banner .btn-outline:hover {
  background: #fff;
  color: var(--secondary);
  border-color: #fff;
}

.careers-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
  position: relative;
  z-index: 2;
}

@media (max-width: 576px) {
  .careers-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .careers-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

.perks-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  position: relative;
  flex-wrap: wrap;
}

.perk-item {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
}

/* Contact */
.contact-preview {
  background: #ffffff;
}

.contact-info-blocks {
  margin-top: 40px;
}

.contact-info-block {
  margin-bottom: 30px;
  background: #fff;
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: rgba(0, 0, 0, 0.353) 1px 1px 10px 1px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form {
  background: #fff;
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 25px;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 24px;
}

.form-row .form-group {
  flex: 1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
.form-select {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-main);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
textarea:focus,
.form-select:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}

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

.form-select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%2364748b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 45px;
  cursor: pointer;
}

.btn-full {
  width: 100%;
  padding: 18px !important;
  font-size: 1.1rem;
  margin-top: 10px;
}

.form-actions {
  margin-top: 10px;
}

/* Team */
.team-section {
  background: var(--bg-offwhite);
}

.team-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
  margin-top: 50px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

/* Footer */
.footer {
  background: var(--secondary);
  color: #fff;
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

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

.footer-cols-row {
  display: contents;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-family: 'Outfit', sans-serif;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  line-height: 1.5;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-contact-item a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* Animations Core */
.animate-on-scroll {
  opacity: 1;
  /* Ensured visibility by default */
  transform: translateY(0);
  /* Default position */
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Overrides */
@media (max-width: 1024px) {

  .hero-content,
  .team-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 40px;
  }

  .product-row,
  .product-row.reverse {
    flex-direction: column;
  }

  .product-row::before {
    display: none;
  }

  .visual-side {
    padding: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .content-side {
    padding: 40px;
    border-left: none !important;
  }

  .process-content {
    flex-direction: column;
    text-align: center;
  }

  .process-title {
    text-align: center;
    font-size: 3rem;
  }

  .top-detail,
  .bottom-section {
    flex-direction: column;
  }

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

@media (max-width: 998px) {
  .navbar:not(.scrolled) {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  .navbar {
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
  }

  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
  }

  .logo-img {
    height: 36px;
  }

  .logo-text-shagun {
    font-size: 1.3rem;
  }

  .logo-text-enterprise {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .nav-links {
    display: none;
    position: fixed !important;
    top: 75px !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: calc(100vh - 75px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    flex-direction: column;
    padding: 16px 16px 36px !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1) !important;
    border-radius: 0 0 20px 20px !important;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hamburger {
    display: block;
  }

  .hero-title {
    font-size: 3rem;
  }

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

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

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .spec-line {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
}

/* Clean Category Grid Dropdown */
.nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Hover bridge pseudo element strictly confined to Machines item */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

/* Column Layout Navbar Pill (Desktop Only) - Tabs in Row 1, Mega Dropdown in Row 2 inside Pill */
@media (min-width: 769px) {
  .nav-links li.nav-dropdown {
    position: relative;
  }

  /* Morphing Pill Container: Morph border radius to 28px when mega dropdown is expanded with matching body blur */
  .nav-links:has(.nav-dropdown:hover),
  .nav-links.pill-expanded {
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.16) !important;
  }

  /* Highlight Machines link item inside morphing pill */
  .nav-dropdown:hover > a,
  .nav-links.pill-expanded .nav-dropdown > a {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.08) !important;
    box-shadow: none !important;
  }

  /* Row 2: Dropdown content matching pill width expanding downwards within fixed width using CSS Grid */
  .dropdown-menu.kiki-mega-menu {
    display: grid !important;
    grid-template-rows: 0fr !important;
    position: static !important;
    width: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    z-index: 9999990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
    transform: none !important;
    will-change: grid-template-rows, opacity;
    transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.28s ease,
                margin 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.38s !important;
  }

  /* Expanded State when active or hovered on Machines tab */
  .nav-links:has(.nav-dropdown:hover) .kiki-mega-menu,
  .dropdown-menu.kiki-mega-menu.active,
  .nav-links.pill-expanded .kiki-mega-menu {
    width: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
    grid-template-rows: 1fr !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    padding: 0 !important;
    margin-top: 10px !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  }

  /* Mega Menu Wrapper - Stationary text layout with static padding and zero transform shifts */
  .kiki-mega-wrapper {
    min-height: 0;
    overflow: hidden;
    container-type: inline-size;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    transform: none !important;
    opacity: 0;
    visibility: hidden;
    will-change: opacity;
    transition: opacity 0.25s ease-in-out, padding 0.25s ease-in-out, height 0.25s ease-in-out !important;
    height: 0;
  }

  .nav-links:has(.nav-dropdown:hover) .kiki-mega-wrapper,
  .dropdown-menu.kiki-mega-menu.active .kiki-mega-wrapper,
  .nav-links.pill-expanded .kiki-mega-menu .kiki-mega-wrapper {
    transform: none !important;
    opacity: 1;
    visibility: visible;
    padding: 20px 12px 24px;
    height: auto;
  }

  /* Categories Grid locked to 3 minmax(0, 1fr) columns matching exact pill width */
  .kiki-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .kiki-cat-col {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
  }

  .kiki-cat-heading {
    font-size: clamp(0.72rem, 1.8cqw, 0.78rem);
    line-height: clamp(1.2, 2.2cqw, 1.35);
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 4px;
    white-space: normal;
    word-break: break-word;
  }

  .kiki-machine-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .kiki-machine-list li {
    width: 100%;
  }

  .kiki-machine-list a {
    font-size: clamp(0.8rem, 2.1cqw, 0.86rem);
    line-height: clamp(1.3, 2.5cqw, 1.4);
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    display: block;
    padding: 3px 0;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color 0.2s ease;
  }

  .kiki-machine-list a:hover {
    color: #2563eb;
    background: transparent !important;
  }

  /* Hover bridge on Machines item */
  .nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
  }

  /* Featured Highlights Panel moved to the BOTTOM of the dropdown */
  .kiki-featured-panel {
    border-left: none !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    padding-left: 0 !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .kiki-featured-title {
    font-size: 0.62rem !important; /* decreased from 0.72rem */
    font-weight: 600 !important;
    color: #86868b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    opacity: 0.88 !important;
    line-height: 1.3 !important;
  }

  .kiki-featured-card {
    background: rgba(15, 23, 42, 0.02) !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 12px !important;
    padding: 8px 14px !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .kiki-featured-card:hover {
    background: rgba(37, 99, 235, 0.04) !important;
    border-color: rgba(37, 99, 235, 0.12) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.04) !important;
  }

  .kiki-featured-link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-decoration: none;
    color: inherit !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .kiki-featured-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    min-width: 0;
  }

  .kiki-featured-tag {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.55rem !important; /* decreased from 0.65rem */
    font-weight: 700 !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: rgba(37, 99, 235, 0.08) !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }

  .kiki-featured-name {
    font-size: 0.82rem !important; /* decreased from 0.92rem */
    font-weight: 650 !important;
    color: #0f172a !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
  }

  .kiki-featured-desc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.72rem !important; /* decreased from 0.82rem */
    color: #64748b !important;
    line-height: 1.35 !important;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .kiki-featured-cta {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.75rem !important; /* decreased from 0.85rem */
    font-weight: 650 !important;
    color: #2563eb !important;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    margin-left: auto;
  }

  .kiki-featured-cta .arrow {
    transition: transform 0.2s ease;
  }

  .kiki-featured-card:hover .kiki-featured-cta .arrow {
    transform: translateX(3px);
  }
}

/* Dimming Backdrop Overlay (Under Navbar) - Matches Navbar Blur */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.kiki-categories-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
  align-items: start;
  width: 100% !important;
}

.kiki-cat-col {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  min-width: 0;
}

/* Apple-style Light Muted Category Name Header */
.kiki-cat-heading {
  font-size: 0.6rem !important; /* decreased from 0.68rem */
  font-weight: 600 !important; /* Soft, light weight like Apple category labels */
  color: #94a3b8 !important; /* Clean slate-400 gray */
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 6px !important;
  display: block !important;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
  cursor: default !important;
  user-select: none !important;
  pointer-events: none !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  opacity: 0.98 !important;
  line-height: 1.3 !important;
  word-wrap: break-word !important;
}

.kiki-machine-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Apple-style Clean & Sleek Machine Names */
.kiki-machine-list a {
  font-size: 0.78rem !important; /* decreased from 0.85rem */
  font-weight: 500 !important; /* Balanced medium weight for a cleaner look */
  color: #334155 !important; /* Premium Slate-700 text color */
  text-decoration: none;
  padding: 2px 0 !important;
  border: none !important;
  transition: color 0.18s ease;
  display: block !important;
  line-height: 1.4;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

.kiki-machine-list a:hover {
  color: #2563eb !important; /* Accent blue on hover */
  transform: none !important; /* Elegant color transition without layout shift */
  background: transparent !important;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu:not(.kiki-mega-menu) a:hover {
  background: #f9f9f9;
  color: #0b132b !important;
  padding-left: 25px;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0;
    padding: 0;
    margin-top: 10px;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 10px 20px 10px 40px;
    color: inherit !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.1);
    padding-left: 40px;
  }
}

/* Footer Specific Dropdown Management */
.footer .nav-dropdown .dropdown-menu {
  background: #151d35;
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 5px 0;
}

.footer .nav-dropdown .dropdown-menu a {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.8rem;
  padding: 5px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .nav-dropdown .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent) !important;
  padding-left: 20px;
}

.footer .nav-dropdown>a svg {
  transition: transform 0.3s ease;
}

.footer .nav-dropdown:hover>a svg {
  transform: rotate(180deg);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Gallery Lightbox Modal - Optimized for Desktop */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0b132b;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.modal-content-wrapper {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content {
  width: auto;
  height: auto;
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
  border-radius: 4px;
}

.modal-caption {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 15px;
  font-size: 1.2rem;
  font-weight: 500;
  background: linear-gradient(to top, rgba(11, 19, 43, 0.9), transparent);
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 45px;
  font-weight: 300;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 2001;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media only screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 80vh;
  }

  .modal-close {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 35px;
  }
}

/* ═══════════════════ COMPLETE MOBILE RESPONSIVENESS OVERRIDES ═══════════════════ */

/* 1. Global Responsive Typography & Base Spacing (max-width: 1200px) */
@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* 2. Tablet Responsiveness Overrides (max-width: 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
    padding: 0 30px;
  }

  .section {
    padding: 70px 0;
  }

  /* Grid System Auto-stacking */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Navbar Adjustments */
  .nav-container {
    height: 80px;
  }

  .nav-links {
    top: 80px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  /* Hero section clearance below fixed header */
  .hero {
    box-sizing: border-box;
  }

  /* Form row vertical gap fix */
  .form-row {
    flex-direction: column;
    gap: 15px !important;
  }
}

/* 3. Small Screen & Mobile Overrides (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }

  /* Grid elements adjustments */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Text & Titles responsive sizing */
  h1,
  .hero-title,
  .page-title {
    font-size: 2.5rem !important;
    line-height: 1.15;
  }

  h2,
  .section-title,
  .premium-title {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  .section-tag {
    font-size: 0.8rem;
    padding: 5px 12px;
  }

  /* General Cards and Containers padding overrides */
  .team-card {
    padding: 30px 20px !important;
    gap: 30px !important;
  }

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

  .about-content .feature-row {
    justify-content: center;
  }


  /* Responsive image modals */
  #modalImg {
    max-width: 95% !important;
    max-height: 80vh !important;
  }
}

/* 4. Ultra-Small Devices / Portrait Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 50px 0;
  }

  /* Hero Section scaling */
  .hero {
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 2.1rem !important;
    font-weight: 800;
  }

  .hero-desc {
    font-size: 1rem !important;
    margin-top: 15px !important;
  }

  .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 30px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    max-width: 290px !important;
    padding: 15px 30px !important;
  }

  /* Gallery responsive override to prevent horizontal scrolling */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 15px !important;
  }

  .gallery-card {
    height: 300px !important;
  }

  /* Contact and Inquiry Forms */
  #contactForm {
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }

  .contact-preview .grid-2 {
    gap: 40px !important;
  }

  .contact-info-block {
    padding: 20px 15px !important;
  }

  /* Utility Helpers */
  .text-lead {
    font-size: 1.1rem !important;
  }
}

/* Responsive Table Helper wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Machine Detail Rich Content Styling */
.machine-text-description {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.machine-text-description h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 28px 0 12px 0;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.2px;
}

.machine-text-description p {
  margin-bottom: 16px;
  color: #475569;
}

.machine-text-description strong {
  color: #0f172a;
}

.machine-text-description ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.machine-text-description li {
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.95rem;
}

.machine-text-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.machine-text-description table th,
.machine-text-description table td {
  padding: 12px 18px;
  border: 1px solid #e2e8f0;
  font-size: 0.92rem;
}

.machine-text-description table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  width: 32%;
}

.machine-text-description table td {
  color: #334155;
}

/* Responsive Overrides for New Hero Section */
@media (max-width: 1024px) {
  .hero {
    height: auto !important;
    min-height: auto !important;
    padding-top: 110px !important;
    padding-bottom: 50px !important;
  }
  .hero-content {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3rem) !important;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 750px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-metrics-grid {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 520px;
  }
  .hero-visual-card {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 95px !important;
    padding-bottom: 35px !important;
  }
  .hero-watermark {
    font-size: clamp(3rem, 14vw, 6rem) !important;
    opacity: 0.04 !important;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.2vw, 2.2rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
  }
  .hero-desc {
    font-size: 0.94rem !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
  }
  .hero-actions .hero-btn {
    width: 100% !important;
    max-width: 290px !important;
    padding: 13px 24px !important;
    min-height: 48px;
    font-size: 0.92rem !important;
  }
  .hero-metrics-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
    padding: 12px 8px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
  }
  .hero-metric-card {
    border-right: 1px solid rgba(226, 232, 240, 0.7) !important;
    border-bottom: none !important;
    padding: 2px 4px !important;
    text-align: center;
  }
  .hero-metric-card:last-child {
    border-right: none !important;
  }
  .metric-val {
    font-size: 1.2rem !important;
  }
  .metric-lbl {
    font-size: 0.68rem !important;
    margin-top: 2px !important;
    line-height: 1.2 !important;
  }
  .hero-visual-card {
    padding: 18px 14px 14px !important;
    border-radius: 20px !important;
    max-width: 100% !important;
  }
  .hero-showroom-viewport.single-machine-showcase {
    height: 270px !important;
  }
  .hero-showroom-slide .hero-showroom-img-wrapper {
    width: 190px !important;
    height: 190px !important;
  }
  .hero-showroom-slide .showroom-glow-bg {
    width: 150px !important;
    height: 150px !important;
  }
  .hero-showroom-slide .hero-showroom-card-title {
    font-size: 1.05rem !important;
  }
  .hero-nav-arrow.prev-arrow {
    left: 2px !important;
    width: 36px !important;
    height: 36px !important;
  }
  .hero-nav-arrow.next-arrow {
    right: 2px !important;
    width: 36px !important;
    height: 36px !important;
  }
  .hero-scroll-hint {
    display: none !important;
  }
}

/* Slideshow Dots Pagination Styling */
.slideshow-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  z-index: 5;
  position: relative;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-dot:hover {
  background: #94a3b8;
}

.slide-dot.active {
  width: 24px;
  border-radius: 100px;
  background: var(--primary);
}

/* ═══════════════════ STICKY REVEAL FOOTER ═══════════════════ */
@media (min-width: 992px) and (min-height: 650px) {
  #app-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  main {
    position: relative;
    z-index: 2;
    background-color: var(--bg-main);
    background-image: radial-gradient(circle at top right, rgba(0, 212, 255, 0.03) 0%, transparent 40%),
      radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.15); /* Premium depth shadow overlaying the footer */
  }

  .footer {
    position: sticky;
    bottom: 0;
    z-index: 1;
  }
}

/* ═══════════════════ PROGRESSIVE BLUR ═══════════════════ */
.progressive-blur {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 10;
}

.progressive-blur-left {
  left: 0;
}

.progressive-blur-right {
  right: 0;
}

.progressive-blur .blur-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: backdrop-filter;
}

/* Left Progressive Blur Layers */
.progressive-blur-left .blur-1 {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(to right, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
}
.progressive-blur-left .blur-2 {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to right, black 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 75%);
}
.progressive-blur-left .blur-3 {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(to right, black 0%, transparent 50%);
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 50%);
}
.progressive-blur-left .blur-4 {
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  mask-image: linear-gradient(to right, black 0%, transparent 25%);
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 25%);
}

/* Right Progressive Blur Layers */
.progressive-blur-right .blur-1 {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(to left, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 0%, transparent 100%);
}
.progressive-blur-right .blur-2 {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to left, black 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to left, black 0%, transparent 75%);
}
.progressive-blur-right .blur-3 {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(to left, black 0%, transparent 50%);
  -webkit-mask-image: linear-gradient(to left, black 0%, transparent 50%);
}
.progressive-blur-right .blur-4 {
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  mask-image: linear-gradient(to left, black 0%, transparent 25%);
  -webkit-mask-image: linear-gradient(to left, black 0%, transparent 25%);
}

/* =========================================================================
   LIGHT CINEMATIC HOME PAGE SECTIONS - ULTRA PREMIUM STYLING
   ========================================================================= */

.align-center {
  align-items: center !important;
}

.justify-center {
  justify-content: center !important;
}

/* 1. About Preview Section (WHO WE ARE) */
.about-preview {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 70px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s ease-out;
}

.about-ambient-glow.left-glow {
  top: 15%;
  left: -5%;
}

.about-ambient-glow.right-glow {
  bottom: 10%;
  right: -5%;
}

.about-scroll-hint {
  bottom: 20px;
}

.about-img-frame {
  position: relative;
  border-radius: 28px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.09);
  overflow: hidden;
}

.about-spotlight {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-frame:hover .about-main-img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.about-floating-badge .badge-num {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-floating-badge .badge-txt {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.25;
  color: #e2e8f0;
}

.about-text-muted {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 24px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 28px;
}

.feature-glass-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #ffffff;
  padding: 16px;
  border-radius: 0 16px 16px 0;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2563eb;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-glass-item:hover {
  transform: none;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
  border-left-color: #2563eb;
}

.feature-mini-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
}

.feature-item-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.about-trust-row {
  display: flex;
  gap: 36px;
  align-items: center;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.trust-mini-stat .trust-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: #2563eb;
}

.trust-mini-stat .trust-lbl {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-cta-wrap {
  margin-top: 32px;
}

/* 2. Machine Portfolio Section (OUR PORTFOLIO) */
.machines-preview {
  position: relative;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  padding: 50px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.machines-preview .container {
  width: 100%;
}

.machines-scroll-hint {
  bottom: 18px;
}

.machines-preview .section-header {
  margin-bottom: 20px;
}

.machines-preview .section-header .section-title {
  font-size: 2.1rem;
  margin-bottom: 6px;
}

.machines-preview .section-header .section-desc {
  margin-top: 4px;
  font-size: 0.95rem;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}

@media (max-width: 1200px) {
  .machine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .machine-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.machine-card-glass {
  position: relative;
  background: #f8fafc;
  border-radius: 26px;
  padding: 18px;
  border: none;
  /* Claymorphism Dual Inset Highlight & Soft Drop Shadow */
  box-shadow: 
    14px 18px 36px rgba(15, 23, 42, 0.07),
    inset -6px -6px 14px rgba(15, 23, 42, 0.04),
    inset 6px 6px 14px rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.card-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 26px 26px 0 0;
}

.machine-card-glass:hover .card-accent-line {
  transform: scaleX(1);
}

.machine-card-glass:hover {
  transform: translateY(-8px) scale(1.015);
  background: #ffffff;
  box-shadow: 
    18px 26px 48px -10px rgba(37, 99, 235, 0.16),
    inset -8px -8px 16px rgba(37, 99, 235, 0.04),
    inset 8px 8px 16px #ffffff;
}

.machine-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 6px;
}

.soft-cat-chip {
  font-family: 'Outfit', sans-serif;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 12px;
  border: none;
  /* Clay Chip Inset Shadow */
  box-shadow: 
    3px 4px 8px rgba(37, 99, 235, 0.08),
    inset -2px -2px 4px rgba(37, 99, 235, 0.06),
    inset 2px 2px 4px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.soft-metric-chip {
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 5px 10px;
  border-radius: 12px;
  border: none;
  /* Clay Metric Pill Shadow */
  box-shadow: 
    3px 4px 8px rgba(15, 23, 42, 0.04),
    inset -2px -2px 4px rgba(0, 0, 0, 0.04),
    inset 2px 2px 4px #ffffff;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip-pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  animation: livePulse 1.8s infinite ease-in-out;
}

@keyframes livePulse {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.machine-card-img-wrap {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #f1f5f9 0%, #ffffff 100%);
  border: none;
  /* Carved Clay Pocket Inset Shadow */
  box-shadow: 
    inset 5px 5px 10px rgba(15, 23, 42, 0.05),
    inset -5px -5px 10px rgba(255, 255, 255, 0.9),
    2px 3px 6px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  margin-bottom: 12px;
  padding: 10px;
  transition: all 0.4s ease;
}

.machine-spotlight {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}

.machine-card-img {
  max-height: 92%;
  max-width: 92%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s ease;
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.1));
}

.machine-card-glass:hover .machine-card-img-wrap {
  background: linear-gradient(145deg, #eef6ff 0%, #ffffff 100%);
  box-shadow: 
    inset 6px 6px 12px rgba(37, 99, 235, 0.08),
    inset -6px -6px 12px #ffffff;
}

.machine-card-glass:hover .machine-card-img {
  transform: scale(1.09) translateY(-3px);
  filter: drop-shadow(0 16px 26px rgba(37, 99, 235, 0.2));
}

.machine-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.machine-card-glass:hover .machine-card-title {
  color: #2563eb;
}

.machine-card-desc {
  font-size: 0.79rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.machine-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
  background: #f1f5f9;
  padding: 9px 11px;
  border-radius: 14px;
  border: none;
  /* Clay Specs Box Inset */
  box-shadow: 
    inset 3px 3px 6px rgba(15, 23, 42, 0.04),
    inset -3px -3px 6px #ffffff;
  transition: all 0.3s ease;
}

.machine-card-glass:hover .machine-specs-grid {
  background: #eff6ff;
  box-shadow: 
    inset 4px 4px 8px rgba(37, 99, 235, 0.06),
    inset -4px -4px 8px #ffffff;
}

.spec-row-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #334155;
}

.card-action-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  border-radius: 14px !important;
  background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: none !important;
  /* Inflated 3D Clay Button Shadow */
  box-shadow: 
    6px 8px 18px rgba(37, 99, 235, 0.32),
    inset -3px -3px 6px rgba(0, 0, 0, 0.2),
    inset 3px 3px 6px rgba(255, 255, 255, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  text-decoration: none !important;
}

.card-action-btn .btn-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-action-btn:hover,
.machine-card-glass:hover .card-action-btn {
  transform: none !important;
  background: linear-gradient(145deg, #1d4ed8 0%, #1e40af 100%) !important;
  box-shadow: 
    8px 12px 24px rgba(37, 99, 235, 0.42),
    inset -4px -4px 8px rgba(0, 0, 0, 0.25),
    inset 4px 4px 8px rgba(255, 255, 255, 0.4) !important;
}

.machine-card-glass:hover .btn-arrow {
  transform: translateX(5px);
}

.portfolio-action-row {
  margin-top: 22px;
}

/* 3. Team & Philosophy */
.team-section {
  padding: 110px 0;
  background: #f8fafc;
}

.team-glass-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 45px;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.06);
  margin-top: 45px;
}

.team-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.35;
}

.team-desc {
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 14px;
}

.team-desc-secondary {
  font-size: 0.94rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.team-metrics-row {
  display: flex;
  gap: 30px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

.team-mini-metric .t-val {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  color: #2563eb;
}

.team-mini-metric .t-lbl {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.team-card-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.team-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
}

.team-img {
  width: 100%;
  display: block;
  border-radius: 20px;
  transition: transform 0.6s ease;
}

.team-glass-card:hover .team-img {
  transform: scale(1.03);
}

/* 4. Blog Preview Section */
.blog-preview {
  padding: 110px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 45px;
}

.blog-card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-glass:hover {
  transform: none;
  box-shadow: 0 25px 45px -10px rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.3);
}

.blog-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-glass:hover .blog-card-img {
  transform: scale(1.08);
}

.blog-category-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 24px;
}

.blog-read-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
}

.blog-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #2563eb;
  transition: gap 0.3s ease;
}

.blog-card-glass:hover .blog-card-link {
  gap: 10px;
}

/* 5. Careers Section */
.careers-preview {
  padding: 90px 0;
  background: #f1f5f9;
}

.careers-glass-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 48px 52px;
  box-shadow: 0 20px 45px -15px rgba(37, 99, 235, 0.08);
  overflow: hidden;
}

.careers-banner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.careers-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0f172a;
  margin: 12px 0 16px;
  line-height: 1.28;
}

.careers-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 580px;
}

.careers-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.perk-line-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 0 12px 12px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #2563eb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.perk-line-item:hover {
  transform: none;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.perk-text {
  font-weight: 800;
}

.careers-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Careers Roles Card (Right Column) */
.careers-roles-card {
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 28px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-roles-card:hover {
  transform: none;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.roles-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.roles-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.roles-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
}

.live-status-line-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 2.5px solid #22c55e;
  padding-left: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #15803d;
  letter-spacing: 1px;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.roles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.role-item-glass {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-item-glass:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.35);
  transform: none;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.role-item-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}

.role-item-meta {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 3px;
}

.role-item-btn {
  font-size: 1.1rem;
  font-weight: 800;
  color: #2563eb;
  transition: transform 0.3s ease;
}

.role-item-glass:hover .role-item-btn {
  transform: translateX(3px);
}

.roles-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 991px) {
  .careers-banner-grid {
    grid-template-columns: 1fr;
  }
  .careers-perks-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* 6. Stats Section */
.stats-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.stats-ambient-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.stats-header {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
}

.stats-full-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.stat-card-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-top: 2px solid rgba(37, 99, 235, 0.3);
  padding: 38px 24px 32px;
  text-align: center;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card-glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: gridShimmerSweep 6s infinite;
  pointer-events: none;
}

.stat-card-glass:hover {
  transform: none;
  box-shadow: 0 25px 50px -10px rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.4);
}

.stat-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card-badge svg {
  stroke: #2563eb;
  transition: stroke 0.3s ease;
}

.stat-card-glass:hover .stat-card-badge {
  background: #2563eb;
  color: #ffffff;
}

.stat-card-glass:hover .stat-card-badge svg {
  stroke: #ffffff;
}

.stat-card-val {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-card-lbl {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.35;
  margin-bottom: 4px;
}

.stat-card-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

@media (max-width: 991px) {
  .stats-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-full-grid {
    grid-template-columns: 1fr;
  }
}

/* 7. Contact Section */
.contact-preview {
  padding: 110px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf5ff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.contact-ambient-glow {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.live-response-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #15803d;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  margin: 18px 0 24px;
}

.contact-info-blocks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-glass {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-glass:hover {
  transform: translateX(6px);
  border-left: 3px solid #2563eb;
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.1);
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-glass:hover .contact-icon-box {
  background: #2563eb;
  border-color: #2563eb;
  transform: scale(1.08);
}

.contact-info-glass:hover .contact-icon-box svg {
  stroke: #ffffff;
}

.info-title {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.info-link {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-link:hover {
  color: #2563eb;
}

.phone-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bullet-dot {
  color: #94a3b8;
}

/* Contact Form Card (Right Column) */
.contact-form-glass-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 42px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
}

.form-card-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 6px;
}

.form-card-sub {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 24px;
}

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

.form-group-floating {
  margin-bottom: 18px;
}

.form-group-floating label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
}

.form-control-glass {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.92rem;
  color: #0f172a;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-control-glass:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

select.form-control-glass {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 15px 24px !important;
  margin-top: 10px;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35) !important;
  font-weight: 800 !important;
}

.form-submit-btn:hover {
  transform: none !important;
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.45) !important;
}

.form-trust-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 991px) {
  .form-row-grid {
    grid-template-columns: 1fr;
  }
}

/* Master Override: Zero Button Movement on Hover */
a.btn,
button.btn,
.btn,
.btn-primary,
.btn-outline,
.btn-dark,
.hero-btn,
.card-btn,
.card-action-btn,
.btn-submit,
.form-submit-btn {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease !important;
}

a.btn:hover,
button.btn:hover,
.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-dark:hover,
.hero-btn:hover,
.card-btn:hover,
.card-action-btn:hover,
.btn-submit:hover,
.form-submit-btn:hover,
.btn:hover svg,
a.btn:hover svg,
button.btn:hover svg {
  transform: none !important;
}

/* Master Override: Zero Card Movement on Hover */
.stat-card-glass:hover,
.blog-card-glass:hover,
.careers-roles-card:hover,
.machine-card-glass:hover,
.feature-glass-item:hover,
.perk-line-item:hover,
.role-item-glass:hover,
.contact-info-glass:hover,
.contact-form-glass:hover,
.team-glass-card:hover,
.perk-card:hover,
.card:hover {
  transform: none !important;
}

/* ═══════════════════ COMPREHENSIVE HOME PAGE MOBILE RESPONSIVE MASTER STYLES ═══════════════════ */
@media (max-width: 991px) {
  /* Global Page Layout Clearances */
  body {
    overflow-x: hidden !important;
  }
  
  #app-content, main {
    padding-bottom: 65px; /* Sticky mobile bottom bar clearance */
  }

  /* Mobile App Bar & Category Dropdown Management */
  .dropdown-menu.kiki-mega-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    max-height: 350px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: #f8fafc !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 10px !important;
    padding: 14px 12px !important;
    box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .dropdown-menu.kiki-mega-menu.mobile-open,
  .nav-dropdown.open ~ .kiki-mega-menu,
  .nav-links.mobile-mega-open .kiki-mega-menu {
    display: block !important;
  }

  .kiki-mega-wrapper {
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    gap: 14px !important;
  }

  .kiki-categories-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .kiki-cat-col {
    background: #ffffff !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
  }

  .kiki-cat-heading {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 8px !important;
    display: block !important;
    border-left: 3px solid #2563eb !important;
    padding-left: 8px !important;
  }

  .kiki-machine-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .kiki-machine-list a {
    font-size: 0.82rem !important;
    color: #334155 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
  }

  .kiki-machine-list a:hover {
    background: #eff6ff !important;
    color: #2563eb !important;
  }

  .kiki-featured-panel {
    display: none !important;
  }

  /* Section Padding Reductions for Mobile */
  .about-preview,
  .machines-preview,
  .team-section,
  .blog-preview,
  .careers-preview,
  .stats-section,
  .contact-preview {
    padding: 50px 0 !important;
    min-height: auto !important;
  }

  /* 1. Who We Are (#about) */
  .about-img-frame {
    border-radius: 20px !important;
    padding: 8px !important;
    margin-bottom: 24px;
  }
  .about-floating-badge {
    bottom: 12px !important;
    left: 12px !important;
    padding: 8px 14px !important;
    border-radius: 12px !important;
    gap: 8px !important;
  }
  .about-floating-badge .badge-num {
    font-size: 1.25rem !important;
  }
  .about-floating-badge .badge-txt {
    font-size: 0.68rem !important;
  }
  .about-feature-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 18px 0 20px !important;
  }
  .feature-glass-item {
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }
  .about-trust-row {
    gap: 20px !important;
    justify-content: center !important;
    padding-top: 14px !important;
    margin-bottom: 20px !important;
  }
  .trust-mini-stat .trust-val {
    font-size: 1.1rem !important;
  }
  .trust-mini-stat .trust-lbl {
    font-size: 0.72rem !important;
  }
  .about-scroll-hint {
    display: none !important;
  }

  /* 2. Portfolio (#machines) */
  .machines-preview .section-header .section-title {
    font-size: clamp(1.5rem, 4.8vw, 2rem) !important;
  }
  .machine-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }
  .machine-card-glass {
    padding: 12px 10px !important;
    border-radius: 16px !important;
  }
  .machine-card-top-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
  }
  .soft-cat-chip {
    font-size: 0.58rem !important;
    padding: 3px 6px !important;
    border-radius: 8px !important;
  }
  .soft-metric-chip {
    font-size: 0.58rem !important;
    padding: 3px 6px !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }
  .chip-pulse-dot {
    width: 5px !important;
    height: 5px !important;
  }
  .machine-card-img-wrap {
    height: 105px !important;
    border-radius: 12px !important;
    margin-bottom: 8px !important;
    padding: 6px !important;
  }
  .machine-card-img {
    max-height: 90% !important;
    max-width: 90% !important;
  }
  .machine-card-title {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    font-weight: 800 !important;
  }
  .machine-card-desc {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    -webkit-line-clamp: 2 !important;
    min-height: 2.7em !important;
  }
  .machine-specs-grid {
    padding: 6px 8px !important;
    border-radius: 10px !important;
    gap: 3px !important;
    margin-bottom: 10px !important;
  }
  .spec-row-item {
    font-size: 0.66rem !important;
    gap: 4px !important;
  }
  .spec-row-item svg {
    width: 11px !important;
    height: 11px !important;
  }
  .card-action-btn {
    padding: 9px 8px !important;
    min-height: 38px !important;
    font-size: 0.74rem !important;
    border-radius: 10px !important;
    gap: 4px !important;
  }
  .card-action-btn .btn-arrow {
    width: 12px !important;
    height: 12px !important;
  }
  .machines-scroll-hint {
    display: none !important;
  }

  /* 3. Engineering & Support (#philosophy) */
  .team-glass-card {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 22px 16px !important;
    border-radius: 20px !important;
    margin-top: 24px !important;
  }
  .team-title {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
  }
  .team-desc {
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
  }
  .team-desc-secondary {
    font-size: 0.84rem !important;
    margin-bottom: 18px !important;
  }
  .team-metrics-row {
    flex-direction: row !important;
    justify-content: space-around !important;
    gap: 10px !important;
    padding-top: 12px !important;
  }
  .team-mini-metric .t-val {
    font-size: 1.15rem !important;
  }
  .team-mini-metric .t-lbl {
    font-size: 0.7rem !important;
  }

  /* 4. Blog Preview (#blog) */
  .section-header-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 24px !important;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }
  .blog-card-glass {
    border-radius: 14px !important;
  }
  .blog-card-img-wrap {
    height: 100px !important;
  }
  .blog-category-badge {
    top: 6px !important;
    right: 6px !important;
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
  }
  .blog-card-body {
    padding: 10px 8px !important;
  }
  .blog-read-time {
    font-size: 0.65rem !important;
    margin-bottom: 4px !important;
  }
  .blog-card-title {
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    font-weight: 800 !important;
  }
  .blog-card-desc {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    -webkit-line-clamp: 2 !important;
    min-height: 2.7em !important;
  }
  .blog-card-link {
    font-size: 0.72rem !important;
    gap: 4px !important;
  }

  /* 5. Careers Preview (#careers) */
  .careers-glass-banner {
    padding: 20px 14px !important;
    border-radius: 20px !important;
  }
  .careers-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .careers-title {
    font-size: 1.35rem !important;
    line-height: 1.28 !important;
    margin: 8px 0 10px !important;
  }
  .careers-desc {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
  }
  .careers-perks-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }
  .perk-line-item {
    flex: 1 1 auto !important;
    white-space: normal !important;
    padding: 8px 10px !important;
    font-size: 0.76rem !important;
    border-radius: 10px !important;
    gap: 6px !important;
  }
  .careers-actions {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .careers-actions .btn {
    flex: 1 !important;
    width: auto !important;
    padding: 11px 10px !important;
    justify-content: center !important;
    min-height: 44px !important;
    font-size: 0.82rem !important;
    border-radius: 12px !important;
  }
  .careers-roles-card {
    padding: 14px 12px !important;
    border-radius: 16px !important;
  }
  .roles-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
  }
  .roles-card-title {
    font-size: 0.86rem !important;
  }
  .live-status-line-tag {
    font-size: 0.68rem !important;
    padding-left: 6px !important;
    gap: 4px !important;
  }
  .roles-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .role-item-glass {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
  .role-item-name {
    font-size: 0.82rem !important;
  }
  .role-item-meta {
    font-size: 0.72rem !important;
    margin-top: 2px !important;
  }
  .role-item-btn {
    font-size: 0.95rem !important;
  }
  .roles-card-footer {
    font-size: 0.72rem !important;
    gap: 6px !important;
    padding-top: 10px !important;
  }
  .role-item-meta {
    font-size: 0.75rem !important;
  }

  /* 6. Milestones (#stats) */
  .stats-header {
    margin-bottom: 24px !important;
  }
  .stats-full-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .stat-card-glass {
    padding: 16px 10px 14px !important;
    border-radius: 16px !important;
  }
  .stat-card-badge {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
  }
  .stat-card-badge svg {
    width: 16px !important;
    height: 16px !important;
  }
  .stat-card-val {
    font-size: 1.6rem !important;
    margin-bottom: 3px !important;
  }
  .stat-card-lbl {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
  }
  .stat-card-sub {
    font-size: 0.66rem !important;
    line-height: 1.2 !important;
  }

  /* 7. Contact Preview (#contact) */
  .contact-preview {
    padding-bottom: 85px !important; /* clearance for mobile bottom bar */
  }
  .live-response-tag {
    margin: 12px 0 18px !important;
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
  }
  .contact-info-blocks {
    gap: 12px !important;
    margin-bottom: 24px !important;
  }
  .contact-info-glass {
    padding: 14px 16px !important;
    border-radius: 14px !important;
    gap: 12px !important;
  }
  .contact-icon-box {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }
  .contact-icon-box svg {
    width: 18px !important;
    height: 18px !important;
  }
  .info-title {
    font-size: 0.88rem !important;
  }
  .info-link {
    font-size: 0.84rem !important;
  }
  .contact-form-glass-card {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }
  .form-card-title {
    font-size: 1.25rem !important;
  }
  .form-card-sub {
    font-size: 0.84rem !important;
    margin-bottom: 18px !important;
  }
  .form-row-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .form-group-floating {
    margin-bottom: 14px !important;
  }
  .form-group-floating label {
    font-size: 0.8rem !important;
  }
  .form-control-glass {
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    min-height: 48px !important;
    border-radius: 10px !important;
  }
  .form-submit-btn {
    min-height: 50px !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
  }

  /* 8. Footer Section Mobile Management */
  .footer {
    padding: 45px 0 85px !important; /* Clearance for sticky mobile bottom bar */
    background: #0b1329 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 30px !important;
  }
  .footer-brand h3 {
    font-size: 1.35rem !important;
    margin-bottom: 10px !important;
  }
  .footer-brand p {
    font-size: 0.86rem !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
  }
  .social-links {
    gap: 12px !important;
    margin-top: 14px !important;
  }
  .footer-cols-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  .footer-col h4 {
    font-size: 1.05rem !important;
    margin-bottom: 16px !important;
  }
  .footer-col h4::after {
    width: 30px !important;
    height: 2.5px !important;
    bottom: -6px !important;
  }
  .footer-col ul li {
    margin-bottom: 8px !important;
  }
  .footer-col ul li a {
    font-size: 0.86rem !important;
    padding: 3px 0 !important;
  }
  .footer-contact-item {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  .footer-contact-item svg {
    width: 16px !important;
    height: 16px !important;
    margin-top: 2px !important;
  }
  .footer-contact-item a {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }
  .footer-bottom {
    padding-top: 20px !important;
    font-size: 0.78rem !important;
  }
  .footer-bottom p {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 420px) {
  .stats-full-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .stat-card-glass {
    padding: 12px 6px 10px !important;
  }
  .stat-card-val {
    font-size: 1.4rem !important;
  }
  .stat-card-lbl {
    font-size: 0.7rem !important;
  }
  .stat-card-sub {
    font-size: 0.6rem !important;
  }
  .hero-metrics-grid {
    padding: 10px 4px !important;
  }
  .metric-val {
    font-size: 1.05rem !important;
  }
  .metric-lbl {
    font-size: 0.62rem !important;
  }
}