/* ===========================================
   VINMAX CONTRACTING — Premium CSS v2
   Enhanced: 3D, Micro-interactions, Stunning Hero
   =========================================== */

:root {
  --primary: #1E3A8A;
  --primary-light: #3B82F6;
  --primary-dark: #152C6B;
  --accent: #60A5FA;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --bg-dark: #0A0F1C;
  --bg-section: #F0F4FA;
  --bg-card: rgba(255, 255, 255, 0.06);
  --text-dark: #0F172A;
  --text-body: #475569;
  --text-light: #94A3B8;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --bounce: 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; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  cursor: none;
}

@media (max-width: 768px) { body { cursor: auto; } }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* ---- Custom Cursor ---- */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--bounce), height 0.3s var(--bounce), border-color 0.3s;
}

.cursor-dot.hovering {
  width: 16px;
  height: 16px;
  background: var(--accent);
}

.cursor-ring.hovering {
  width: 60px;
  height: 60px;
  border-color: rgba(96, 165, 250, 0.6);
}

@media (max-width: 768px) { .cursor-dot, .cursor-ring { display: none; } }

/* ---- Preloader ---- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-shape {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent);
  opacity: 0.5;
}

.loader-shape:nth-child(1) { clip-path: polygon(50% 0%, 100% 100%, 0% 100%); animation: loaderSpin 2s ease-in-out infinite; --s: 1; }
.loader-shape:nth-child(2) { clip-path: polygon(50% 0%, 100% 100%, 0% 100%); animation: loaderSpin 2s ease-in-out infinite 0.3s; --s: 1.4; }
.loader-shape:nth-child(3) { clip-path: polygon(50% 0%, 100% 100%, 0% 100%); animation: loaderSpin 2s ease-in-out infinite 0.6s; --s: 1.8; }

.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 80px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 2px;
  animation: loaderFill 2s ease-in-out forwards;
}

.loader-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 6px;
  color: var(--white);
  margin-top: 16px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderSpin {
  0%, 100% { transform: rotate(0deg) scale(var(--s, 1)); opacity: 0.3; }
  50% { transform: rotate(180deg) scale(var(--s, 1)); opacity: 0.8; }
}

@keyframes loaderPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes loaderFill { 0% { width: 0%; } 100% { width: 100%; } }

/* ---- Scroll Progress ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
  z-index: 10001;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ---- Persistent Background Shapes ---- */
.bg-shapes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.shape { position: absolute; opacity: 0.04; will-change: transform; }

.shape-1 { width: 300px; height: 300px; top: 10%; right: -50px; border: 2px solid var(--primary); clip-path: polygon(50% 0%, 100% 100%, 0% 100%); animation: floatShape 20s ease-in-out infinite; }
.shape-2 { width: 200px; height: 200px; top: 60%; left: -30px; border: 2px solid var(--primary-light); clip-path: polygon(50% 0%, 100% 100%, 0% 100%); animation: floatShape 25s ease-in-out infinite reverse; }
.shape-3 { width: 150px; height: 150px; bottom: 20%; right: 10%; border-radius: 50%; border: 2px solid var(--accent); animation: floatShape 18s ease-in-out infinite 2s; }
.shape-4 { width: 100px; height: 100px; top: 30%; left: 20%; border: 1.5px solid var(--primary); transform: rotate(45deg); animation: floatShape 22s ease-in-out infinite 1s; }
.shape-5 { width: 250px; height: 250px; bottom: 5%; left: 30%; border: 2px solid var(--primary); clip-path: polygon(50% 0%, 100% 100%, 0% 100%); animation: floatShape 28s ease-in-out infinite 3s; }
.shape-6 { width: 80px; height: 80px; top: 15%; left: 50%; border-radius: 50%; border: 1.5px solid var(--accent); animation: floatShape 15s ease-in-out infinite 4s; }
.shape-line { height: 2px; border: none; background: var(--primary); opacity: 0.04; }
.shape-line-1 { width: 200px; top: 25%; right: 15%; transform: rotate(-30deg); animation: floatLine 20s ease-in-out infinite; }
.shape-line-2 { width: 150px; top: 55%; left: 10%; transform: rotate(20deg); animation: floatLine 24s ease-in-out infinite reverse; }
.shape-line-3 { width: 180px; bottom: 30%; right: 25%; transform: rotate(-15deg); animation: floatLine 22s ease-in-out infinite 2s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
  75% { transform: translateY(-25px) rotate(2deg); }
}

@keyframes floatLine {
  0%, 100% { transform: translateX(0) rotate(var(--r, -30deg)); }
  50% { transform: translateX(30px) rotate(var(--r, -30deg)); }
}

/* ---- Navbar ---- */
.navbar { padding: 16px 0; transition: all var(--transition); z-index: 1000; }

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(30, 58, 138, 0.06);
}

.navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-logo { height: 52px; width: auto; transition: height 0.3s ease; }
.navbar.scrolled .navbar-logo { height: 44px; }
.brand-icon { color: var(--primary); display: flex; }
.brand-text { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: 3px; color: var(--primary); }

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark) !important;
  padding: 8px 16px !important;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: right;
}

.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

.btn-nav-cta {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-glow); color: var(--white); }
.btn-nav-cta:hover::before { opacity: 1; }
.btn-nav-cta span { position: relative; z-index: 1; }

.navbar-toggler { border: none; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-line { display: block; width: 24px; height: 2px; background: var(--primary); transition: all 0.3s ease; }

/* ---- HERO SECTION — ENHANCED ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #070B1A 0%, #0D1530 30%, #111D45 60%, #0A0F1C 100%);
  overflow: hidden;
}

/* Animated gradient mesh */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(30, 58, 138, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 60% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
  animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% { opacity: 0.6; filter: hue-rotate(0deg); }
  50% { opacity: 0.8; filter: hue-rotate(10deg); }
  100% { opacity: 0.6; filter: hue-rotate(-5deg); }
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}

/* Particle canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Hero geometric shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; perspective: 1200px; }

.hero-triangle {
  position: absolute;
  fill: none;
  stroke: rgba(96, 165, 250, 0.15);
  stroke-width: 0.8;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.1));
  will-change: transform;
}

.ht-1 { width: 450px; height: 450px; top: 2%; right: -8%; opacity: 0.6; animation: heroFloat 10s ease-in-out infinite; }
.ht-2 { width: 280px; height: 280px; bottom: 8%; right: 12%; opacity: 0.3; animation: heroFloat 14s ease-in-out infinite 2s reverse; }
.ht-3 { width: 200px; height: 200px; top: 18%; right: 22%; opacity: 0.4; animation: heroFloat 12s ease-in-out infinite 4s; }
.ht-4 { width: 120px; height: 120px; top: 50%; right: 35%; opacity: 0.2; animation: heroFloat 16s ease-in-out infinite 1s reverse; }

/* 3D Wireframe Cube */
.hero-cube {
  position: absolute;
  top: 20%;
  right: 18%;
  width: 120px;
  height: 120px;
  transform-style: preserve-3d;
  animation: cubeRotate 20s linear infinite;
}

.cube-face {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(96, 165, 250, 0.12);
  background: rgba(59, 130, 246, 0.02);
}

.cube-front  { transform: translateZ(60px); }
.cube-back   { transform: translateZ(-60px) rotateY(180deg); }
.cube-left   { transform: translateX(-60px) rotateY(-90deg); }
.cube-right  { transform: translateX(60px) rotateY(90deg); }
.cube-top    { transform: translateY(-60px) rotateX(90deg); }
.cube-bottom { transform: translateY(60px) rotateX(-90deg); }

@keyframes cubeRotate {
  0%   { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Orbiting rings */
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(96, 165, 250, 0.08);
  border-radius: 50%;
}

.orbit-1 { width: 400px; height: 400px; top: 10%; right: 5%; animation: orbitSpin 25s linear infinite; }
.orbit-2 { width: 300px; height: 300px; top: 20%; right: 12%; animation: orbitSpin 18s linear infinite reverse; }
.orbit-3 { width: 500px; height: 500px; top: 3%; right: -3%; animation: orbitSpin 30s linear infinite 5s; }

.orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
}

@keyframes orbitSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Hero lines */
.hero-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
  will-change: transform;
}

.hl-1 { width: 350px; top: 28%; right: 3%; transform: rotate(-25deg); animation: heroLineFloat 8s ease-in-out infinite; }
.hl-2 { width: 250px; top: 55%; right: 18%; transform: rotate(15deg); animation: heroLineFloat 12s ease-in-out infinite 2s reverse; }
.hl-3 { width: 300px; bottom: 22%; right: 8%; transform: rotate(-10deg); animation: heroLineFloat 10s ease-in-out infinite 4s; }
.hl-4 { width: 180px; top: 40%; right: 30%; transform: rotate(35deg); animation: heroLineFloat 14s ease-in-out infinite 1s; }
.hl-5 { width: 220px; bottom: 35%; right: 25%; transform: rotate(-45deg); animation: heroLineFloat 9s ease-in-out infinite 3s reverse; }

/* Glowing orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: 15%;
  right: -5%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
}

.glow-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 20%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
  animation: glowPulse 8s ease-in-out infinite 3s;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-25px) rotate(3deg); }
  66% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes heroLineFloat {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 0.6; transform: translateX(25px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.15); }
}

/* Hero content */
.hero-content { position: relative; z-index: 2; }

/* Hero label with line animation */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.label-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  animation: lineExpand 0.8s ease forwards 0.8s;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes lineExpand { to { transform: scaleX(1); } }

.label-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
}

/* Word-by-word hero title reveal */
.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.05;
}

.title-line { display: block; overflow: hidden; padding-bottom: 0.1em; }

.title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: wordReveal 0.7s var(--bounce) forwards;
  animation-delay: calc(0.6s + var(--i) * 0.12s);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--accent), #93C5FD);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
}

/* Gradient words need both animations — reveal first, then shimmer */
.title-word.text-gradient {
  animation: wordReveal 0.7s var(--bounce) forwards, gradientShift 4s ease-in-out 1.2s infinite;
  animation-delay: calc(0.6s + var(--i) * 0.12s), calc(0.6s + var(--i) * 0.12s + 0.7s);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(148, 163, 184, 0.9);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.3s;
}

.hero-btns {
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.5s;
}

/* Enhanced Buttons */
.btn-primary-custom {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.btn-primary-custom:hover { transform: translateY(-3px); box-shadow: 0 12px 40px var(--accent-glow); color: var(--white); }
.btn-primary-custom:hover::before { opacity: 1; }

.btn-text, .btn-icon { position: relative; z-index: 1; }

.btn-icon {
  display: inline-flex;
  transition: transform 0.3s var(--bounce);
}

.btn-primary-custom:hover .btn-icon { transform: translateX(4px); }

/* Ripple effect */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  pointer-events: none;
  z-index: 1;
}

.btn-ripple.active {
  animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
  to { transform: scale(4); opacity: 0; }
}

.btn-outline-custom {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 14px 32px;
  border: 2px solid rgba(96, 165, 250, 0.4);
  color: var(--white);
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(96, 165, 250, 0.1);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.7s;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
}

.stat-item:hover { background: rgba(59, 130, 246, 0.06); }

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-plus {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.stat-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 3px;
  transition: width 1.5s ease 2s;
}

.stat-bar-fill.animated { width: var(--w); }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 2s;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(96, 165, 250, 0.4);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color 0.3s ease;
}

.scroll-indicator:hover .scroll-mouse { border-color: var(--accent); }

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 3px;
  animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.5);
}

@keyframes scrollWheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Section Styles ---- */
.section-padding { padding: 100px 0; position: relative; z-index: 1; }

.section-dark { background: linear-gradient(180deg, var(--bg-dark) 0%, #0D1425 100%); color: var(--white); }
.section-dark .section-text, .section-dark .section-subtitle { color: var(--text-light); }

.section-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-body); max-width: 600px; margin: 0 auto; }
.section-text { font-size: 1.05rem; color: var(--text-body); line-height: 1.8; margin-bottom: 24px; }

/* ---- Glass Card ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.section-padding:not(.section-dark) .glass-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(30, 58, 138, 0.08);
  box-shadow: var(--shadow);
}

/* ---- About Section ---- */
.about-image-wrapper {
  position: relative;
  padding: 20px;
  transform-style: preserve-3d;
}

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.about-img-accent {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  transform: translateZ(30px);
}

.about-img-accent img { width: 100%; height: 250px; object-fit: cover; }

.about-exp-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(30, 58, 138, 0.92) !important;
  border-color: rgba(96, 165, 250, 0.2) !important;
  color: var(--white);
  transform: translateZ(40px);
}

.exp-number { font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.exp-text { font-size: 0.8rem; text-align: center; opacity: 0.8; }

/* Decorative dots */
.about-img-dots {
  position: absolute;
  bottom: -25px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--primary-light) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.3;
}

.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.about-feature:hover { background: rgba(30, 58, 138, 0.04); transform: translateX(5px); }

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.about-feature:hover .feature-icon { color: var(--primary-light); transform: scale(1.1); }

.about-feature h5 { font-size: 1rem; margin-bottom: 4px; }
.about-feature p { font-size: 0.9rem; color: var(--text-body); margin-bottom: 0; }

/* ---- Services Section ---- */
.service-card {
  padding: 36px 28px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Shine effect on hover */
.service-card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 55%, transparent 60%);
  transform: rotate(0deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.service-card:hover .service-card-shine { transform: rotate(180deg); }

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.05));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.2);
}

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

.service-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  color: var(--accent);
  z-index: 1;
  transition: transform 0.3s var(--bounce);
}

.service-card:hover .service-icon-wrap { transform: scale(1.15) rotateZ(-5deg); }

.service-icon-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 50%;
}

.service-card:hover .service-icon-glow { opacity: 1; }

.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; position: relative; z-index: 1; }
.service-card p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 20px; line-height: 1.7; position: relative; z-index: 1; }

.service-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  transition: color 0.4s ease;
}

.service-card:hover .service-number { color: rgba(59, 130, 246, 0.08); }

.service-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  transition: gap var(--transition), color var(--transition);
}

.service-link:hover { gap: 12px; color: var(--primary-light); }

/* ---- Projects Section ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.project-item.project-wide { grid-column: span 2; aspect-ratio: 16/10; }

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 15, 28, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-item:hover img { transform: scale(1.12); filter: brightness(0.7); }
.project-item:hover .project-overlay { opacity: 1; }

.project-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(96, 165, 250, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
  backdrop-filter: blur(6px);
}

.project-overlay h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.1s;
}

.project-item:hover .project-overlay h4 { transform: translateY(0); }

.project-overlay p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.2s;
}

.project-item:hover .project-overlay p { transform: translateY(0); }

.project-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transform: translateY(-10px) scale(0);
  transition: all 0.4s var(--bounce) 0.15s;
}

.project-item:hover .project-arrow { transform: translateY(0) scale(1); }

/* ---- Why Choose Us ---- */
.why-card {
  padding: 36px 24px;
  transition: all var(--transition);
  transform-style: preserve-3d;
}

.why-card:hover { transform: translateY(-8px); border-color: rgba(59, 130, 246, 0.3); box-shadow: 0 15px 40px rgba(59, 130, 246, 0.12); }

.why-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 16px;
  transition: transform 0.4s var(--bounce);
}

.why-card:hover .why-icon { transform: scale(1.2) rotateZ(-10deg); }

.counter-wrap { margin-bottom: 8px; }

.counter {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.counter-suffix { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--accent); }

.why-card h5 { font-size: 1rem; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }

.usp-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  transition: all var(--transition);
}

.usp-card:hover { transform: translateY(-5px) translateX(5px); border-color: rgba(59, 130, 246, 0.3); }

.usp-card > i { font-size: 1.5rem; color: var(--accent); flex-shrink: 0; margin-top: 2px; transition: transform 0.3s var(--bounce); }
.usp-card:hover > i { transform: scale(1.2); }

.usp-card h5 { font-size: 1rem; margin-bottom: 4px; }
.usp-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }

/* ---- Contact Section ---- */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin: 30px 0; }

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.contact-info-item:hover { background: rgba(30, 58, 138, 0.04); transform: translateX(5px); }

.ci-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  transition: all 0.3s var(--bounce);
}

.contact-info-item:hover .ci-icon { transform: scale(1.1); color: var(--primary-light); }

.contact-info-item h6 { font-size: 0.85rem; color: var(--text-light); font-weight: 500; margin-bottom: 2px; }
.contact-info-item p { font-size: 1rem; margin-bottom: 0; font-weight: 500; }

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 180px;
  text-align: center;
  color: var(--text-body);
  gap: 6px;
  transition: all 0.3s ease;
}

.map-placeholder:hover { transform: translateY(-3px); }

.map-placeholder i { font-size: 2rem; color: var(--primary); }
.map-placeholder p { font-weight: 600; margin-bottom: 0; }
.map-placeholder span { font-size: 0.85rem; color: var(--text-light); }

.contact-form-wrap { padding: 40px; }
.contact-form-wrap h3 { font-size: 1.5rem; margin-bottom: 28px; }

.form-control, .form-select {
  background: rgba(30, 58, 138, 0.04);
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  background: rgba(30, 58, 138, 0.06);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.form-floating > label { font-size: 0.9rem; color: var(--text-light); }

.form-success { text-align: center; padding: 40px 20px; }
.form-success i { font-size: 3rem; color: #22C55E; margin-bottom: 16px; }
.form-success h4 { margin-bottom: 8px; }
.form-success p { color: var(--text-body); }

/* ---- Footer ---- */
.site-footer { background: var(--bg-dark); color: var(--text-light); padding: 60px 0 0; position: relative; z-index: 1; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; max-width: 320px; }

.footer-socials { display: flex; gap: 12px; }

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  transition: all 0.3s var(--bounce);
}

.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-4px) scale(1.1); }

.footer-heading { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--white); margin-bottom: 20px; font-size: 1rem; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-links a:hover::before { width: 100%; }

.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.footer-contact i { color: var(--primary-light); font-size: 1rem; }

.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); text-align: center; }
.footer-bottom p { font-size: 0.85rem; margin-bottom: 0; }

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.back-to-top .btt-circle {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 0.3s ease;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: var(--white); transform: translateY(-4px); }

/* ---- Reveal Animations ---- */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

/* ---- Smooth section transitions ---- */
section { transition: opacity 0.6s ease; }

/* ---- Mobile Responsive ---- */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-lg);
  }

  .btn-nav-cta { display: inline-block; margin-top: 12px; }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-btns .btn { margin-bottom: 10px; }
  .hero-btns .ms-3 { margin-left: 0 !important; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-item.project-wide { grid-column: span 2; }
  .about-img-accent { display: none; }
  .hero-cube { display: none; }
}

@media (max-width: 767px) {
  .section-padding { padding: 70px 0; }
  .hero-title { font-size: 2rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-item.project-wide { grid-column: span 1; }
  .project-item { aspect-ratio: 16/10; }
  .project-overlay { opacity: 1; }
  .contact-form-wrap { padding: 24px; }
  .hero-stats { gap: 16px; }
  .stat-number { font-size: 1.8rem; }
  .about-img-main img { height: 300px; }
  .hero-orbit { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .hero-sub { font-size: 1rem; }
  .btn-primary-custom, .btn-outline-custom { padding: 12px 24px; font-size: 0.9rem; }
}
