/* ============================================
   RK AUTOMATION & TECHNOLOGY — Premium Design System
   v2 — Enhanced Animations + Performance Optimized
   ============================================ */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* === CSS Custom Properties === */
:root {
  /* Light Theme Variant */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.65);

  --color-deep-teal: #005a85;
  --color-teal: #1e7c8d;
  --color-accent: #00a886;
  --color-accent-alt: #0096c7;
  --color-neon: #00bf9a;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --gradient-main: linear-gradient(135deg, #005a85 0%, #1e7c8d 50%, #00a886 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.6));
  --gradient-hero: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 40%, #e2e8f0 100%);
  --gradient-text: linear-gradient(135deg, #00a886, #0096c7, #1e7c8d);

  --border-glass: rgba(30, 124, 141, 0.12);
  --border-glow: rgba(0, 168, 134, 0.2);

  --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 40px rgba(0, 168, 134, 0.05);
  --shadow-hover: 0 16px 48px rgba(15, 23, 42, 0.12);

  --section-padding: 120px 0;
  --container-max: 1280px;
  --container-padding: 0 24px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Custom Cursor Enhancements === */
.cursor-dot {
  display: none;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 212, 170, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--color-neon);
  background: rgba(0, 212, 170, 0.06);
}

.cursor-glow {
  position: fixed;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.04), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* On mobile, show default cursor */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring,
  .cursor-glow {
    display: none !important;
  }
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

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

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

a:hover {
  color: var(--color-neon);
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ============================================
   SCROLL ANIMATIONS — GPU Optimized
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Rotate-in reveal */
.reveal-rotate {
  opacity: 0;
  transform: translateY(40px) rotate(3deg);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-rotate.active {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* Blur-in reveal */
.reveal-blur {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-blur.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger children */
.stagger-children>* {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.stagger-children.active>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children.active>*:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger-children.active>*:nth-child(3) {
  transition-delay: 0.19s;
}

.stagger-children.active>*:nth-child(4) {
  transition-delay: 0.26s;
}

.stagger-children.active>*:nth-child(5) {
  transition-delay: 0.33s;
}

.stagger-children.active>*:nth-child(6) {
  transition-delay: 0.40s;
}

.stagger-children.active>*:nth-child(7) {
  transition-delay: 0.47s;
}

.stagger-children.active>*:nth-child(8) {
  transition-delay: 0.54s;
}

.stagger-children.active>*:nth-child(9) {
  transition-delay: 0.61s;
}

.stagger-children.active>*:nth-child(10) {
  transition-delay: 0.68s;
}

.stagger-children.active>*:nth-child(11) {
  transition-delay: 0.75s;
}

.stagger-children.active>*:nth-child(12) {
  transition-delay: 0.82s;
}

.stagger-children.active>*:nth-child(13) {
  transition-delay: 0.89s;
}

.stagger-children.active>*:nth-child(14) {
  transition-delay: 0.96s;
}

.stagger-children.active>*:nth-child(15) {
  transition-delay: 1.03s;
}

.stagger-children.active>*:nth-child(16) {
  transition-delay: 1.10s;
}

.stagger-children.active>*:nth-child(17) {
  transition-delay: 1.17s;
}

.stagger-children.active>*:nth-child(18) {
  transition-delay: 1.24s;
}

.stagger-children.active>* {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* === Animated Nav Logo === */
.nav-logo-img {
  height: 48px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: none; /* Original colors for light theme */
  transition: all 0.4s ease;
  animation: logo-glow-pulse 3s ease-in-out infinite;
  will-change: filter, transform;
}

.navbar.scrolled .nav-logo-img {
  height: 38px;
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 36px;
    max-width: 160px;
  }
}

.nav-logo:hover .nav-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(0, 212, 170, 0.6));
  transform: scale(1.05);
}

@keyframes logo-glow-pulse {

  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(0, 168, 134, 0.2));
  }

  50% {
    filter: drop-shadow(0 0 16px rgba(0, 168, 134, 0.4));
  }
}

/* === Footer Logo === */
.footer-logo-img {
  height: 44px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  filter: opacity(0.7);
  transition: all 0.4s ease;
}

.footer-logo-img:hover {
  filter: opacity(1) drop-shadow(0 0 12px rgba(0, 168, 134, 0.3));
  transform: translateY(-2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-main) !important;
  color: white !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

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

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ============================================
   HERO SECTION — Centered Layout
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0.8) contrast(1.1);
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(248, 250, 252, 0.4) 0%,
      rgba(248, 250, 252, 0.1) 35%,
      rgba(248, 250, 252, 0.5) 75%,
      var(--bg-primary) 100%);
}

/* Animated grid overlay */
.hero-grid {
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(rgba(30, 124, 141, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 124, 141, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  animation: grid-scroll 25s linear infinite;
  will-change: transform;
}

@keyframes grid-scroll {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity;
}

.particle:nth-child(1) {
  width: 3px;
  height: 3px;
  left: 10%;
  top: 20%;
  animation: float-particle 7s ease-in-out 0s infinite;
}

.particle:nth-child(2) {
  width: 5px;
  height: 5px;
  left: 25%;
  top: 60%;
  animation: float-particle 9s ease-in-out 1s infinite;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  left: 45%;
  top: 30%;
  animation: float-particle 6s ease-in-out 2s infinite;
}

.particle:nth-child(4) {
  width: 4px;
  height: 4px;
  left: 65%;
  top: 70%;
  animation: float-particle 10s ease-in-out 3s infinite;
}

.particle:nth-child(5) {
  width: 3px;
  height: 3px;
  left: 80%;
  top: 40%;
  animation: float-particle 8s ease-in-out 4s infinite;
}

.particle:nth-child(6) {
  width: 5px;
  height: 5px;
  left: 90%;
  top: 15%;
  animation: float-particle 7s ease-in-out 5s infinite;
}

.particle:nth-child(7) {
  width: 4px;
  height: 4px;
  left: 35%;
  top: 85%;
  animation: float-particle 9s ease-in-out 2.5s infinite;
}

.particle:nth-child(8) {
  width: 3px;
  height: 3px;
  left: 55%;
  top: 10%;
  animation: float-particle 11s ease-in-out 1.5s infinite;
}

@keyframes float-particle {

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

  10% {
    opacity: 0.6;
    transform: translateY(-20px) scale(1);
  }

  50% {
    opacity: 0.3;
    transform: translateY(-100px) scale(0.8);
  }

  90% {
    opacity: 0.05;
    transform: translateY(-200px) scale(0.2);
  }
}

/* Hero content — centered */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 32px;
  animation: fade-in-up 0.8s ease 0.2s both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line:nth-child(1) {
  animation: text-clip-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero h1 .line:nth-child(2) {
  animation: text-clip-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero h1 .line:nth-child(3) {
  animation: text-clip-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

@keyframes text-clip-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

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

.hero h1 .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 auto 48px;
  max-width: 600px;
  animation: fade-in-up 0.9s ease 0.9s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-in-up 0.9s ease 1.1s both;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: none;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  will-change: transform;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 212, 170, 0.3);
  color: white;
}

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  background: rgba(0, 212, 170, 0.05);
  transform: translateY(-3px);
  color: var(--color-accent);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fade-in-up 1s ease 1.5s both;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-teal), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-accent);
  animation: scroll-indicator 2s ease-in-out infinite;
}

@keyframes scroll-indicator {
  0% {
    top: -50%;
  }

  100% {
    top: 150%;
  }
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-glass);
  animation: fade-in-up 1s ease 1.3s both;
}

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

.hero-stat h3 {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 24px;
  transition: transform 0.6s ease;
  will-change: transform;
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  pointer-events: none;
}

.about-image .experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(5, 10, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
}

.experience-badge h3 {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.experience-badge p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-top: 4px;
}

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

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 36px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
  will-change: transform;
}

.about-feature:hover {
  border-color: var(--color-accent);
  background: rgba(0, 212, 170, 0.03);
  transform: translateY(-3px);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.4s var(--transition-spring);
}

.about-feature:hover .about-feature-icon {
  transform: scale(1.15) rotate(-5deg);
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mission/Vision */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.mv-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

.mv-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.mv-card h3 {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mv-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  padding: var(--section-padding);
  position: relative;
}

.products-header {
  text-align: center;
  margin-bottom: 64px;
}

.products-header .section-subtitle {
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
}

.product-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: var(--shadow-hover);
}

.product-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.product-card:hover .product-card-image img {
  transform: scale(1.1);
}

.product-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.product-card-content {
  padding: 24px 28px 28px;
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.product-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 212, 170, 0.1);
  color: var(--color-accent);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s ease;
}

.product-card:hover .product-card-tag {
  background: rgba(0, 212, 170, 0.18);
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.brands-header {
  text-align: center;
  margin-bottom: 48px;
}

.brands-track {
  display: flex;
  gap: 48px;
  animation: scroll-brands 25s linear infinite;
  width: max-content;
  will-change: transform;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-brands {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.brand-item {
  flex-shrink: 0;
  padding: 28px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.brand-item:hover {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.brand-logo {
  width: 150px;
  height: 54px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.4s ease;
}

.brand-item:hover .brand-logo {
  transform: scale(1.08);
  animation: brand-logo-pulse 1.4s ease-in-out infinite alternate;
}

.brand-item.brand-siemens {
  background: linear-gradient(135deg, rgba(0, 153, 153, 0.22), rgba(0, 88, 88, 0.25));
}

.brand-item.brand-delta {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.22), rgba(130, 0, 30, 0.24));
}

.brand-item.brand-abb {
  background: linear-gradient(135deg, rgba(221, 0, 0, 0.23), rgba(120, 0, 0, 0.25));
}

.brand-item.brand-yaskawa {
  background: linear-gradient(135deg, rgba(45, 109, 164, 0.24), rgba(16, 57, 98, 0.28));
}

.brand-item.brand-weintek {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.24), rgba(150, 78, 0, 0.26));
}

@keyframes brand-logo-pulse {
  0% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1.11);
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-padding);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  text-align: center;
  transition: border-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 30%;
  right: 30%;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.4s ease, left 0.4s ease, right 0.4s ease;
}

.service-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  opacity: 1;
  left: 0;
  right: 0;
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
}

.service-card:hover .service-icon {
  background: rgba(0, 212, 170, 0.14);
  transform: scale(1.12) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-list {
  list-style: none;
  text-align: left;
  margin-top: 18px;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.service-list li::before {
  content: '→';
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.service-card:hover .service-list li {
  color: var(--text-primary);
}

.service-card:hover .service-list li::before {
  transform: translateX(4px);
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
}

.industries-header {
  text-align: center;
  margin-bottom: 64px;
}

.industries-header .section-subtitle {
  margin: 0 auto;
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.industry-chip {
  padding: 14px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  will-change: transform;
}

.industry-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(0, 212, 170, 0.05);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.12);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  padding: var(--section-padding);
  position: relative;
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-header .section-subtitle {
  margin: 0 auto;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border-glass);
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.process-number {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  background: var(--bg-card);
  border: 2px solid var(--border-glass);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.process-step:hover .process-number {
  border-color: var(--color-accent);
  background: rgba(0, 212, 170, 0.08);
  transform: scale(1.12) rotate(-6deg);
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
}

.why-us-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-us-header .section-subtitle {
  margin: 0 auto;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-us-card {
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  text-align: center;
  transition: border-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
}

.why-us-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.why-us-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-us-card:hover .why-us-icon {
  transform: scale(1.2);
}

.counter-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.why-us-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-us-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-padding);
  position: relative;
}

.contact-wrapper {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}

.contact-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-top {
  text-align: center;
  margin-bottom: 64px;
}

.contact-top .section-subtitle {
  margin: 0 auto;
}

/* Two-column layout */
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

/* Left — Info Cards 2x2 */
.contact-info-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  padding: 28px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.4s ease, transform 0.4s ease;
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.contact-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-3px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.12) rotate(-5deg);
}

.contact-card h4 {
  font-size: 0.72rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card a {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--color-accent);
}

/* Right — Contact Form Card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 44px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
}

.form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Form Layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* Input / Select / Textarea Shared */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1), 0 0 20px rgba(0, 212, 170, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

/* Validation Styles */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.03);
}

.error-msg {
  color: #ef4444;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 4px;
  display: none;
  animation: fade-in 0.3s ease;
}

.form-group.invalid .error-msg {
  display: block;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Select dropdown */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238ba3b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 10px;
}

/* Textarea */
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.form-submit {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 1rem;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.form-submit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.form-submit:active::after {
  width: 400px;
  height: 400px;
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: fade-in-up 0.6s ease both;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-primary);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* ============================================
   GLOW ORBS
   ============================================ */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 170, 0.05);
  top: 20%;
  right: -10%;
}

.glow-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(30, 124, 141, 0.05);
  bottom: 10%;
  left: -5%;
}

/* ============================================
   ANIMATED GRADIENT UTILITY
   ============================================ */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animated-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

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

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-timeline::before {
    display: none;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-glass);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-stat h3 {
    font-size: 1.6rem;
  }

  .hero-content {
    padding-top: 100px;
  }

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

  .about-image img {
    height: 300px;
  }

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

  .mission-vision {
    grid-template-columns: 1fr;
  }

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

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

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 48px 24px;
  }

  .contact-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info-col {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================
   PRODUCT CATALOGUE PAGE STYLES
   ============================================ */

/* Active nav link styling */
.nav-links a.active-link {
  color: var(--color-accent) !important;
}

.nav-links a.active-link::after {
  width: 100%;
}

/* Catalogue Hero — compact version */
.catalogue-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.catalogue-hero .hero-grid {
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(rgba(30, 124, 141, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 124, 141, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  animation: grid-scroll 25s linear infinite;
}

.catalogue-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.catalogue-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.catalogue-hero h1 .line {
  display: block;
}

.catalogue-hero h1 .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.catalogue-hero .hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* Catalogue Toolbar — filter + search */
.catalogue-toolbar {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  padding: 20px 0;
}

.toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 20px;
}

.catalogue-search-wrap {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.catalogue-search {
  width: 100%;
  padding: 12px 16px 12px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.catalogue-search:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.catalogue-search::placeholder {
  color: var(--text-muted);
}

.catalogue-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.catalogue-count span {
  color: var(--color-accent);
  font-weight: 600;
}

/* Filter tabs */
.catalogue-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.catalogue-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--text-primary);
  background: rgba(0, 212, 170, 0.05);
}

.filter-btn.active {
  background: var(--gradient-main);
  border-color: transparent;
  color: white;
  font-weight: 600;
}

.filter-count {
  font-size: 0.72rem;
  opacity: 0.7;
}

.filter-btn.active .filter-count {
  opacity: 1;
}

/* Catalogue section */
.catalogue-section {
  padding: 60px 0 80px;
  min-height: 50vh;
}

/* Product grid */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Product card */
.catalogue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  will-change: transform;
}

.catalogue-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-glow);
}

/* Card image */
.cat-card-img {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.9), rgba(226, 232, 240, 0.95));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform var(--transition-smooth);
}

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

/* Brand badge */
.cat-brand-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: var(--brand-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 6px;
}

/* Category badge */
.cat-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 0.68rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card body */
.cat-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.cat-card-models {
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 500;
  opacity: 0.85;
}

.cat-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feature tags */
.cat-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.cat-feature-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 212, 170, 0.06);
  border: 1px solid rgba(0, 212, 170, 0.12);
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Specs */
.cat-card-specs {
  margin-top: 4px;
  padding: 10px 12px;
  background: rgba(0, 212, 170, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 170, 0.06);
}

.specs-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specs-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Card footer */
.cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}

.cat-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.cat-card-link:hover {
  color: var(--color-neon);
  gap: 10px;
}

.cat-card-enquiry {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--gradient-main);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cat-card-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.3);
  color: white;
}

/* Empty state */
.catalogue-empty {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.catalogue-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.catalogue-empty p {
  color: var(--text-secondary);
}

/* CTA card */
.catalogue-cta {
  padding: 40px 0 100px;
}

.cta-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
}

.cta-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

@media (max-width: 768px) {
  .catalogue-hero {
    padding: 120px 0 50px;
  }

  .catalogue-toolbar {
    top: 56px;
    padding: 14px 0;
  }

  .toolbar-top {
    flex-direction: column;
    align-items: stretch;
  }

  .catalogue-search-wrap {
    max-width: 100%;
  }

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

  .catalogue-filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .catalogue-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cat-card-img {
    height: 180px;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Form Loader Animation */
.loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  display: inline-block;
  margin-left: 10px;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}