/* =========================================================
   BrightFirst IT Services — 3D Premium Stylesheet
   Palette: Navy #29334E | Gold #F4BA03 | White #FFFFFF
   Features: 3D depth, glassmorphism, layered shadows, glow
   ========================================================= */

:root {
  --navy: #29334E;
  --navy-dark: #1C2438;
  --navy-light: #3A4763;
  --gold: #F4BA03;
  --gold-light: #FFD24A;
  --white: #FFFFFF;
  --off-white: #F7F8FC;
  --gray: #6B7280;
  --border: #E5E7EB;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(41, 51, 78, 0.06);
  --shadow-md: 0 12px 32px rgba(41, 51, 78, 0.10);
  --shadow-lg: 0 24px 60px rgba(41, 51, 78, 0.18);
  --glow-gold: 0 12px 32px rgba(244, 186, 3, 0.35);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-3d: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --card-shadow-3d:
    0 1px 2px rgba(41, 51, 78, 0.04),
    0 4px 8px rgba(41, 51, 78, 0.06),
    0 12px 24px rgba(41, 51, 78, 0.08),
    0 24px 48px rgba(41, 51, 78, 0.10);
  --card-shadow-hover:
    0 2px 4px rgba(41, 51, 78, 0.06),
    0 8px 16px rgba(244, 186, 3, 0.15),
    0 20px 40px rgba(41, 51, 78, 0.15),
    0 40px 80px rgba(244, 186, 3, 0.20);
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  perspective: 2000px;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 186, 3, 0.06), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(41, 51, 78, 0.05), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.text-gold {
  background: linear-gradient(135deg, #F4BA03 0%, #FFD24A 50%, #F4BA03 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: goldShine 3s linear infinite;
  font-weight: 700;
}
@keyframes goldShine { to { background-position: 200% center; } }

/* =========================================================
   GLOBAL ICON BOX — 3D Depth
   ========================================================= */
.icon-box {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3A4763 0%, #29334E 50%, #1C2438 100%);
  border-radius: 14px;
  color: var(--white);
  flex-shrink: 0;
  transition: all var(--transition-3d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(41, 51, 78, 0.3),
    0 16px 40px rgba(41, 51, 78, 0.2);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.icon-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.icon-box:hover::before { opacity: 1; }
.icon-box svg {
  width: 30px;
  height: 30px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.icon-box.mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.icon-box.mini-icon svg {
  width: 20px;
  height: 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition-3d);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform-style: preserve-3d;
}
.btn-primary {
  background: linear-gradient(145deg, #F4BA03 0%, #FFD24A 50%, #F4BA03 100%);
  color: var(--navy);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 6px 12px rgba(244, 186, 3, 0.4),
    0 12px 24px rgba(244, 186, 3, 0.3),
    0 24px 48px rgba(244, 186, 3, 0.15);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateX(-100%);
  transition: var(--transition);
  z-index: -1;
}
.btn-primary:hover {
  color: var(--white);
  transform: translateY(-3px) translateZ(20px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 16px rgba(244, 186, 3, 0.5),
    0 20px 40px rgba(244, 186, 3, 0.35),
    0 40px 80px rgba(244, 186, 3, 0.2);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary svg { transition: var(--transition); position: relative; z-index: 1; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 4px 12px rgba(41, 51, 78, 0.08);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-3px) translateZ(20px);
  box-shadow:
    0 8px 20px rgba(41, 51, 78, 0.3),
    0 20px 40px rgba(41, 51, 78, 0.15);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 44px; width: auto; transition: var(--transition); }
.header.scrolled .logo img { height: 38px; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav-list { display: flex; gap: 32px; }
.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(244, 186, 3, 0.5);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold); }

.nav-cta { padding: 12px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(244, 186, 3, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(41, 51, 78, 0.15), transparent 50%),
    linear-gradient(180deg, #F7F8FC 0%, #FFFFFF 100%);
}
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(41, 51, 78, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 186, 3, 0.12), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(41, 51, 78, 0.10), transparent 50%);
  z-index: 0;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.5;
  animation: floatParticle linear infinite;
  box-shadow: 0 0 12px rgba(244, 186, 3, 0.6);
}
.particle.sparkle {
  background: var(--gold-light);
  box-shadow: 0 0 20px rgba(244, 186, 3, 0.9);
  animation: sparkleFloat linear infinite;
}
@keyframes sparkleFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  20%  { opacity: 0.9; }
  80%  { opacity: 0.9; }
  100% { transform: translateY(-150px) scale(0.5); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(244, 186, 3, 0.3), rgba(244, 186, 3, 0.15));
  color: var(--navy);
  border: 1.5px solid rgba(244, 186, 3, 0.55);
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 8px 20px rgba(244, 186, 3, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(244, 186, 3, 0.35), 0 0 0 0 rgba(244, 186, 3, 0.5); }
  50%      { box-shadow: 0 8px 20px rgba(244, 186, 3, 0.35), 0 0 0 10px rgba(244, 186, 3, 0); }
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow:
    0 1px 0 rgba(41, 51, 78, 0.1),
    0 4px 16px rgba(41, 51, 78, 0.08),
    0 0 60px rgba(244, 186, 3, 0.15);
}
.hero-title .line { display: block; }

.hero-sub {
  font-size: 18px;
  color: var(--gray);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat strong {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
}
.stat span { font-size: 24px; color: var(--gold); font-weight: 700; }
.stat p { font-size: 13px; color: var(--gray); margin-top: 4px; }

.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244, 186, 3, 0.3), transparent 65%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.hero-sunburst {
  position: relative;
  width: 320px; height: 320px;
  animation: rotateSlow 30s linear infinite, float3D 6s ease-in-out infinite;
  filter:
    drop-shadow(0 0 30px rgba(244, 186, 3, 0.7))
    drop-shadow(0 20px 40px rgba(244, 186, 3, 0.4));
  transform-style: preserve-3d;
}
@keyframes float3D {
  0%, 100% { transform: translateZ(0) translateY(0); }
  50%      { transform: translateZ(40px) translateY(-20px); }
}
.hero-sunburst span {
  position: absolute;
  top: 50%; left: 50%;
  width: 60px; height: 14px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  transform-origin: 0 50%;
  opacity: 0.9;
}
.hero-sunburst span:nth-child(1)  { transform: rotate(0deg)   translateX(70px); }
.hero-sunburst span:nth-child(2)  { transform: rotate(30deg)  translateX(70px); }
.hero-sunburst span:nth-child(3)  { transform: rotate(60deg)  translateX(70px); }
.hero-sunburst span:nth-child(4)  { transform: rotate(90deg)  translateX(70px); }
.hero-sunburst span:nth-child(5)  { transform: rotate(120deg) translateX(70px); }
.hero-sunburst span:nth-child(6)  { transform: rotate(150deg) translateX(70px); }
.hero-sunburst span:nth-child(7)  { transform: rotate(180deg) translateX(70px); }
.hero-sunburst span:nth-child(8)  { transform: rotate(210deg) translateX(70px); }
.hero-sunburst span:nth-child(9)  { transform: rotate(240deg) translateX(70px); }
.hero-sunburst span:nth-child(10) { transform: rotate(270deg) translateX(70px); }
.hero-sunburst span:nth-child(11) { transform: rotate(300deg) translateX(70px); }
.hero-sunburst span:nth-child(12) { transform: rotate(330deg) translateX(70px); }

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow:
    0 1px 2px rgba(41, 51, 78, 0.06),
    0 8px 16px rgba(41, 51, 78, 0.10),
    0 20px 40px rgba(41, 51, 78, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  transform-style: preserve-3d;
  transition: all var(--transition-3d);
}
.hero-card:hover {
  transform: translateZ(60px) translateY(-8px) scale(1.08);
  box-shadow:
    0 20px 40px rgba(244, 186, 3, 0.4),
    0 40px 80px rgba(41, 51, 78, 0.25);
}
.card-1 { top: 10%; left: 0; animation: floatCard3D-1 5s ease-in-out infinite; }
.card-2 { top: 45%; right: 0; animation: floatCard3D-2 6s ease-in-out infinite; }
.card-3 { bottom: 10%; left: 15%; animation: floatCard3D-3 7s ease-in-out infinite; }

@keyframes floatCard3D-1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0) rotateY(0); }
  50%      { transform: translate3d(0, -15px, 30px) rotateX(2deg) rotateY(-2deg); }
}
@keyframes floatCard3D-2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0) rotateY(0); }
  50%      { transform: translate3d(-8px, -20px, 40px) rotateX(-2deg) rotateY(2deg); }
}
@keyframes floatCard3D-3 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0) rotateY(0); }
  50%      { transform: translate3d(8px, -18px, 35px) rotateX(2deg) rotateY(2deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--navy);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 3;
  transition: var(--transition);
}
.scroll-indicator:hover { border-color: var(--gold); }
.scroll-indicator span {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
  box-shadow: 0 0 8px rgba(244, 186, 3, 0.8);
}

/* =========================================================
   INTRO STRIP
   ========================================================= */
.intro-strip {
  padding: 60px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F8FC 100%);
  border-bottom: 1px solid rgba(41, 51, 78, 0.06);
}
.intro-text {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: var(--navy);
  max-width: 900px;
  margin: 0 auto;
}
.intro-text .text-gold {
  font-weight: 700;
}

/* =========================================================
   SERVICES PREVIEW
   ========================================================= */
.services-preview {
  padding: 130px 0 100px;
  background:
    radial-gradient(ellipse at top, rgba(244, 186, 3, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom, rgba(41, 51, 78, 0.05), transparent 50%),
    linear-gradient(180deg, #F7F8FC 0%, #F0F2F8 100%);
  position: relative;
  overflow: hidden;
  perspective: 1500px;
}
.services-preview::before,
.services-preview::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.services-preview::before {
  width: 300px; height: 300px;
  background: rgba(244, 186, 3, 0.18);
  top: 10%; left: -100px;
  animation: floatOrb 8s ease-in-out infinite;
}
.services-preview::after {
  width: 400px; height: 400px;
  background: rgba(41, 51, 78, 0.10);
  bottom: -150px; right: -150px;
  animation: floatOrb 10s ease-in-out infinite reverse;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, -30px); }
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(244, 186, 3, 0.25), rgba(244, 186, 3, 0.10));
  color: var(--navy);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow:
    0 4px 12px rgba(244, 186, 3, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: tagGlow 3s ease-in-out infinite;
}
@keyframes tagGlow {
  0%, 100% { box-shadow: 0 4px 12px rgba(244, 186, 3, 0.3); }
  50%      { box-shadow: 0 4px 12px rgba(244, 186, 3, 0.3), 0 0 20px rgba(244, 186, 3, 0.5); }
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: '';
  position: absolute;
  bottom: -14px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  box-shadow:
    0 4px 12px rgba(244, 186, 3, 0.5),
    0 0 20px rgba(244, 186, 3, 0.4);
}
.section-head p { color: var(--gray); font-size: 17px; margin-top: 20px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}

.service-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F9FD 100%);
  padding: 32px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all var(--transition-3d);
  position: relative;
  overflow: visible;
  box-shadow: var(--card-shadow-3d);
  transform-style: preserve-3d;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  transform: translateZ(20px);
  box-shadow:
    0 4px 12px rgba(244, 186, 3, 0.5),
    0 0 20px rgba(244, 186, 3, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(244, 186, 3, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: var(--radius-lg);
}
.service-card:hover {
  transform: translateY(-16px) translateZ(40px) rotateX(4deg) rotateY(-4deg) scale(1.04);
  border-color: rgba(244, 186, 3, 0.5);
  box-shadow: var(--card-shadow-hover);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

.service-card .icon-box {
  margin-bottom: 20px;
  transform: translateZ(30px);
  transition: all var(--transition-3d);
}
.service-card:hover .icon-box {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateZ(60px) rotate(-10deg) scale(1.18);
  box-shadow:
    0 20px 40px rgba(244, 186, 3, 0.5),
    0 0 0 6px rgba(244, 186, 3, 0.2);
}
.service-card:hover .icon-box svg { stroke: var(--navy); }

.service-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  transform: translateZ(20px);
  transition: transform 0.5s ease;
}
.service-card p {
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.6;
  transform: translateZ(10px);
  transition: transform 0.5s ease;
}

/* Services CTA */
.services-cta {
  text-align: center;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}
.services-cta .btn {
  padding: 16px 36px;
  font-size: 15.5px;
}

/* =========================================================
   WHY CHOOSE
   ========================================================= */
.why-choose {
  padding: 110px 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 186, 3, 0.06), transparent 45%),
    var(--white);
  position: relative;
  perspective: 2000px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.why-image-wrap {
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateY(-4deg);
  transition: transform 0.6s ease;
}
.why-image-wrap:hover {
  transform: perspective(1200px) rotateY(0deg) translateZ(30px);
}
.why-image-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(244, 186, 3, 0.3), rgba(41, 51, 78, 0.2));
  border-radius: var(--radius-lg);
  filter: blur(40px);
  opacity: 0.5;
  z-index: -1;
  animation: pulseGlow 5s ease-in-out infinite;
}
.why-image {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(41,51,78,0.85), rgba(41,51,78,0.5)),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=800') center/cover;
  box-shadow:
    0 4px 8px rgba(41, 51, 78, 0.06),
    0 20px 40px rgba(41, 51, 78, 0.15),
    0 40px 80px rgba(41, 51, 78, 0.20),
    -20px 30px 60px rgba(244, 186, 3, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.why-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 186, 3, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.why-image-wrap:hover .why-image::after { opacity: 1; }

.why-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  padding: 24px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow:
    0 20px 40px rgba(244, 186, 3, 0.5),
    0 40px 80px rgba(244, 186, 3, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  min-width: 150px;
  animation: badgeFloat3D 3s ease-in-out infinite;
}
@keyframes badgeFloat3D {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0); }
  50%      { transform: translate3d(0, -12px, 20px) rotateX(4deg); }
}
.badge-num { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; }
.badge-plus { font-size: 24px; font-weight: 700; }
.why-badge p { font-size: 13px; font-weight: 600; margin-top: 6px; line-height: 1.3; }

.why-content h2 { font-size: clamp(28px, 3.5vw, 42px); margin: 12px 0 18px; }
.why-intro { color: var(--gray); font-size: 17px; margin-bottom: 36px; max-width: 520px; }

.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius);
  transition: all var(--transition-3d);
  border: 1px solid transparent;
}
.why-list li:hover {
  background: var(--off-white);
  transform: translateX(6px) translateZ(20px);
  border-color: rgba(244, 186, 3, 0.2);
  box-shadow: 0 8px 24px rgba(41, 51, 78, 0.06);
}
.why-list .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}
.why-list .icon-box svg {
  width: 24px;
  height: 24px;
}
.why-list li:hover .icon-box {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow:
    0 20px 40px rgba(244, 186, 3, 0.5),
    0 40px 80px rgba(244, 186, 3, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.why-list li:hover .icon-box svg { stroke: var(--navy); }

.why-list h4 { font-size: 17px; margin-bottom: 4px; }
.why-list p { font-size: 14px; color: var(--gray); }

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
  background:
    radial-gradient(circle at 20% 50%, rgba(244, 186, 3, 0.20), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(244, 186, 3, 0.10), transparent 50%),
    linear-gradient(135deg, #29334E 0%, #1C2438 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(244, 186, 3, 0.15) 50%,
    rgba(255, 255, 255, 0.06) 55%,
    transparent 60%);
  animation: statsShine 6s linear infinite;
  pointer-events: none;
}
@keyframes statsShine {
  0%   { transform: translateX(-100%) translateY(-100%); }
  100% { transform: translateX(100%) translateY(100%); }
}
.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  perspective: 1000px;
  transform-style: preserve-3d;
}
.stat-item {
  transform-style: preserve-3d;
  transition: all var(--transition-3d);
  padding: 20px;
  border-radius: 20px;
}
.stat-item:hover {
  transform: translateY(-12px) translateZ(40px) rotateX(6deg);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(244, 186, 3, 0.3);
}
.stat-item strong {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(180deg, #FFFFFF 0%, #E5E7EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  text-shadow:
    0 0 20px rgba(244, 186, 3, 0.6),
    0 0 40px rgba(244, 186, 3, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}
.stat-item:hover strong {
  background: linear-gradient(180deg, #FFD24A 0%, #F4BA03 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 30px rgba(244, 186, 3, 0.9),
    0 0 60px rgba(244, 186, 3, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.4);
}
.stat-item span { font-size: 28px; font-weight: 700; color: var(--gold); }
.stat-item p { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 8px; letter-spacing: 0.5px; }

/* =========================================================
   PROCESS
   ========================================================= */
.process {
  padding: 110px 0;
  background:
    radial-gradient(ellipse at top, rgba(244, 186, 3, 0.10), transparent 50%),
    linear-gradient(180deg, #F7F8FC 0%, #EDEFF7 100%);
  position: relative;
  overflow: hidden;
  perspective: 2000px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 50px; left: 12%; right: 12%;
  height: 2px;
  background-image:
    linear-gradient(90deg,
      var(--gold) 0%,
      var(--gold) 50%,
      transparent 50%,
      transparent 100%);
  background-size: 16px 100%;
  background-repeat: repeat-x;
  animation: flowDots 1s linear infinite;
  opacity: 0.7;
  z-index: 0;
}
@keyframes flowDots {
  0%   { background-position-x: 0; }
  100% { background-position-x: 16px; }
}
.process-step {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F9FD 100%);
  padding: 40px 26px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-3d);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--card-shadow-3d);
  transform-style: preserve-3d;
  overflow: hidden;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 0 0 4px 4px;
  transition: width 0.4s ease;
  box-shadow: 0 4px 12px rgba(244, 186, 3, 0.4);
}
.process-step:hover::before { width: 80%; }
.process-step:hover {
  transform: translateY(-16px) translateZ(50px) rotateX(4deg) scale(1.04);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(244, 186, 3, 0.5);
}
.process-step .icon-box {
  margin: 0 auto 18px;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  transform: translateZ(30px);
  transition: all var(--transition-3d);
}
.process-step .icon-box svg {
  width: 32px;
  height: 32px;
}
.process-step:hover .icon-box {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateZ(60px) rotate(-10deg) scale(1.18);
  box-shadow:
    0 20px 40px rgba(244, 186, 3, 0.5),
    0 0 0 6px rgba(244, 186, 3, 0.2);
}
.process-step:hover .icon-box svg { stroke: var(--navy); }

.step-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  transform: translateZ(20px);
  text-shadow: 0 4px 12px rgba(244, 186, 3, 0.4);
}
.process-step h3 { font-size: 19px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--gray); }

/* =========================================================
   INDUSTRIES SECTION
   ========================================================= */
.industries-section {
  padding: 110px 0;
  background:
    radial-gradient(ellipse at top, rgba(244, 186, 3, 0.08), transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F8FC 100%);
  position: relative;
  overflow: hidden;
}
.industries-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.industries-pills .industry-pill {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(145deg, #FFFFFF 0%, #F8F9FD 100%);
  border: 1px solid rgba(41, 51, 78, 0.08);
  border-radius: 50px;
  color: var(--navy);
  box-shadow: var(--card-shadow-3d);
  transition: all var(--transition-3d);
  cursor: default;
}
.industries-pills .industry-pill:hover {
  transform: translateY(-6px) translateZ(30px);
  border-color: rgba(244, 186, 3, 0.5);
  color: var(--gold);
  box-shadow:
    0 12px 24px rgba(244, 186, 3, 0.25),
    0 20px 40px rgba(41, 51, 78, 0.1);
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  padding: 0 0 110px;
  background: var(--white);
  perspective: 2000px;
}
.cta-inner {
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 186, 3, 0.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(244, 186, 3, 0.15), transparent 50%),
    linear-gradient(135deg, #29334E 0%, #1C2438 100%);
  padding: 70px 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(41, 51, 78, 0.4),
    0 80px 160px rgba(41, 51, 78, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cta-inner:hover {
  transform: translateZ(30px) rotateX(2deg);
  box-shadow:
    0 60px 120px rgba(41, 51, 78, 0.5),
    0 0 80px rgba(244, 186, 3, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.cta-inner::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(244, 186, 3, 0.12) 50%,
    rgba(255, 255, 255, 0.05) 55%,
    transparent 60%);
  animation: statsShine 8s linear infinite;
  pointer-events: none;
}
.cta-text { position: relative; z-index: 2; }
.cta-text h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 10px;
  text-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(244, 186, 3, 0.3);
}
.cta-text p { color: rgba(255,255,255,0.75); font-size: 17px; }
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-actions .btn {
  padding: 16px 32px;
  font-size: 15.5px;
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background:
    radial-gradient(circle at 0% 0%, rgba(244, 186, 3, 0.15), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(244, 186, 3, 0.10), transparent 40%),
    linear-gradient(180deg, #FFF9E6 0%, #FFF5D6 100%);
  border-top: 3px solid transparent;
  background-clip: padding-box;
  padding: 80px 0 0;
  color: var(--navy);
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 -4px 20px rgba(41, 51, 78, 0.05);
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold) 20%,
    var(--gold-light) 50%,
    var(--gold) 80%,
    transparent 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(41,51,78,0.1);
  position: relative;
  z-index: 2;
}
.footer-logo { height: 48px; margin-bottom: 20px; }
.footer-brand p { color: #4B5563; font-size: 14.5px; line-height: 1.7; margin-bottom: 24px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.footer-social a:hover {
  background: var(--navy);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow:
    0 8px 20px rgba(41, 51, 78, 0.3),
    0 0 0 4px rgba(244, 186, 3, 0.2);
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 2px 8px rgba(244, 186, 3, 0.4);
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  color: #4B5563;
  font-size: 14.5px;
  transition: var(--transition);
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--navy); transform: translateX(4px); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4B5563;
  font-size: 14.5px;
  margin-bottom: 12px;
}
.footer-contact .mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.footer-contact .mini-icon svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: #6B7280;
  position: relative;
  z-index: 2;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 20px rgba(244, 186, 3, 0.5),
    0 16px 40px rgba(244, 186, 3, 0.3),
    0 0 60px rgba(244, 186, 3, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
  animation: backToTopFloat 3s ease-in-out infinite;
}
@keyframes backToTopFloat {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50%      { transform: translateY(-6px) translateZ(20px); }
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold);
  transform: translateY(-4px) translateZ(20px);
}

/* =========================================================
   FLOATING DECORATIVE DOTS
   ========================================================= */
.floating-dot {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  box-shadow:
    0 8px 20px rgba(244, 186, 3, 0.6),
    0 0 30px rgba(244, 186, 3, 0.8);
}
.floating-dot.dot-1 {
  width: 8px; height: 8px;
  top: 15%; left: 8%;
  animation: floatUpDown 6s ease-in-out infinite;
}
.floating-dot.dot-2 {
  width: 12px; height: 12px;
  top: 60%; right: 10%;
  animation: floatUpDown 8s ease-in-out infinite reverse;
}
.floating-dot.dot-3 {
  width: 6px; height: 6px;
  bottom: 20%; left: 20%;
  animation: floatUpDown 7s ease-in-out infinite;
}
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(-20px); opacity: 0.8; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 360px; }
  .hero-sunburst { width: 240px; height: 240px; }
  .why-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-image-wrap { transform: none; }
  .why-image { aspect-ratio: 16/10; }
  .why-badge { bottom: -20px; right: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .cta-inner { flex-direction: column; text-align: center; padding: 50px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    padding: 40px;
  }
  .nav.open { right: 0; }
  .nav-list { flex-direction: column; gap: 20px; text-align: center; }
  .nav-toggle { display: flex; z-index: 1100; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .stat strong { font-size: 28px; }

  .services-preview { padding: 100px 0 70px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .industries-section { padding: 70px 0; }
  .industries-pills { gap: 10px; }
  .industries-pills .industry-pill {
    padding: 12px 20px;
    font-size: 13.5px;
  }
  .intro-strip { padding: 40px 0; }
}

@media (max-width: 600px) {
  .why-choose, .process { padding: 70px 0; }
  .stats-bar { padding: 50px 0; }
  .stat-item strong { font-size: 38px; }
  .cta-banner { padding: 0 0 70px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-preview { padding: 100px 0 70px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .service-card:hover,
  .process-step:hover,
  .hero-card:hover,
  .stat-item:hover,
  .industry-pill:hover {
    transform: none !important;
  }
}