/* ============================================================
   BARREL CODERS NEXTGEN — ENTERPRISE SAAS THEME
   Premium, Clean, Light-Mode Overrides for index.html
============================================================ */

:root {
  /* Enterprise Light Color Palette */
  --c-bg-deep: #F8FAFC;
  --c-bg-mid: #F1F5F9;
  --c-bg-card: #FFFFFF;
  --c-bg-card2: #FFFFFF;
  --c-blue: #255bbd;
  --c-blue-light: #3B82F6;
  --c-navy-1: #1E293B;
  --c-navy-2: #0F172A;
  --c-cyan: #60A5FA;
  --c-purple: #255bbd;
  --c-highlight: #E0E7FF;
  
  --c-text-primary: #111827;
  --c-text-secondary: #334155;
  --c-text-muted: #64748B;
  
  --c-border: rgba(0, 0, 0, 0.08);
  --c-border-glow: rgba(37, 99, 235, 0.1);
  
  /* Refined, Elegant Shadows (No Neon) */
  --shadow-glow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-glow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body.enterprise-theme {
  background-color: var(--c-bg-deep);
  color: var(--c-text-primary);
}

/* ──── BACKGROUNDS ──── */
.enterprise-theme .bg-white {
  background-color: #FFFFFF;
}
.enterprise-theme .bg-light {
  background-color: #F8FAFC;
}

/* Mesh Gradient Backgrounds */
.mesh-bg-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.mesh-blob-1, .mesh-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  z-index: 0;
}
.mesh-blob-1 {
  width: 600px; height: 600px;
  background: var(--c-blue);
  top: -150px; left: -100px;
}
.mesh-blob-2 {
  width: 500px; height: 500px;
  background: var(--c-cyan);
  bottom: -200px; right: -100px;
}
.mesh-blob-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  width: 400px; height: 400px;
  background: var(--c-purple);
  top: 30%; left: 60%;
}

/* ──── TYPOGRAPHY OVERRIDES ──── */
.enterprise-theme .section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-text-primary);
}
.enterprise-theme .hero-headline {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-text-primary);
}
.enterprise-theme .headline-gradient {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.enterprise-theme .text-gradient {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.enterprise-theme .section-eyebrow {
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.05);
  color: var(--c-blue);
  font-weight: 700;
}
.enterprise-theme .hero-sub,
.enterprise-theme .section-desc {
  color: var(--c-text-muted);
  font-size: 18px;
}
.enterprise-theme .trust-text p {
  color: var(--c-text-muted);
}

/* ──── NAVBAR ──── */
.enterprise-theme .navbar {
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 20px 0 !important;
}
.enterprise-theme .navbar.scrolled {
  background: rgba(11, 4, 28, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  padding: 15px 0 !important;
}
.enterprise-theme .nav-link {
  color: #FFFFFF !important;
}
.enterprise-theme .nav-link:hover {
  color: var(--c-cyan) !important;
}
@keyframes megaBubbleFloat {
  0% { background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0%; }
  50% { background-position: 100% 100%, 0% 0%, 100% 0%, 0% 100%; }
  100% { background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0%; }
}

.enterprise-theme .mega-menu {
  background-color: #ffffff !important;
  background-image: 
    radial-gradient(circle 90px at center, rgba(0, 194, 255, 0.15) 0%, rgba(0, 194, 255, 0.15) 98%, transparent 100%),
    radial-gradient(circle 120px at center, rgba(255, 46, 147, 0.12) 0%, rgba(255, 46, 147, 0.12) 98%, transparent 100%),
    radial-gradient(circle 100px at center, rgba(123, 97, 255, 0.15) 0%, rgba(123, 97, 255, 0.15) 98%, transparent 100%),
    radial-gradient(circle 140px at center, rgba(255, 138, 0, 0.12) 0%, rgba(255, 138, 0, 0.12) 98%, transparent 100%) !important;
  background-size: 150% 150%, 200% 200%, 250% 250%, 180% 180% !important;
  background-repeat: repeat !important;
  animation: megaBubbleFloat 30s ease-in-out infinite alternate !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
  margin-top: 10px;
}
.enterprise-theme .mega-link-content span {
  color: var(--c-text-primary);
}
.enterprise-theme .mega-link-content p {
  color: var(--c-text-muted);
}
.enterprise-theme .mega-link-icon {
  background: rgba(37, 99, 235, 0.05);
  color: var(--c-blue);
}
.enterprise-theme .logo-text {
  color: var(--c-text-primary);
}
.enterprise-theme .logo-accent {
  color: var(--c-blue);
}
.enterprise-theme .hamburger span {
  background: var(--c-text-primary);
}
.enterprise-theme .search-trigger {
  color: var(--c-text-secondary);
}
.enterprise-theme .search-trigger:hover {
  color: var(--c-blue);
}
/* Fix mobile menu text colors */
.enterprise-theme .nav-links.open {
  background: rgba(255, 255, 255, 0.98);
}
.enterprise-theme .mega-col h4 {
  color: var(--c-blue);
}


/* ──── BUTTONS ──── */
.enterprise-theme .btn-hero-secondary,
.enterprise-theme .btn-secondary {
  background: #FFFFFF;
  color: var(--c-text-primary);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
}
.enterprise-theme .btn-hero-secondary:hover,
.enterprise-theme .btn-secondary:hover {
  background: #F8FAFC;
  box-shadow: var(--shadow-card-hover);
  color: var(--c-blue);
}

/* ──── CARDS (BENTO STYLE) ──── */
.enterprise-theme .service-card,
.enterprise-theme .floating-card,
.enterprise-theme .process-card,
.enterprise-theme .testimonial-card,
.enterprise-theme .port-card,
.enterprise-theme .diff-card,
.enterprise-theme .why-card {
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.enterprise-theme .service-card:hover,
.enterprise-theme .process-card:hover,
.enterprise-theme .port-card:hover,
.enterprise-theme .diff-card:hover,
.enterprise-theme .why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Clean up neon effects on cards */
.enterprise-theme .service-glow,
.enterprise-theme .hero-img-glow,
.enterprise-theme .port-glow {
  display: none !important;
}

/* Card Typography inside Bento */
.enterprise-theme .service-title,
.enterprise-theme .fc-text strong,
.enterprise-theme .port-title,
.enterprise-theme .process-title,
.enterprise-theme .why-card h4,
.enterprise-theme .diff-card h4 {
  color: var(--c-text-primary);
}
.enterprise-theme .service-desc,
.enterprise-theme .fc-text span,
.enterprise-theme .port-desc,
.enterprise-theme .process-desc,
.enterprise-theme .why-card p,
.enterprise-theme .diff-card p {
  color: var(--c-text-muted);
}
.enterprise-theme .process-number {
  background: rgba(37, 99, 235, 0.1);
  color: var(--c-blue);
}
.enterprise-theme .stat-number {
  color: var(--c-text-primary);
}
.enterprise-theme .stat-plus {
  color: var(--c-blue);
}

/* ──── SVG ICON RECOLORING ──── */
.enterprise-theme .service-icon {
  background: rgba(37, 99, 235, 0.05);
  color: var(--c-blue);
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.enterprise-theme .fc-icon {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.enterprise-theme .why-icon {
  background: rgba(37, 99, 235, 0.05);
  color: var(--c-blue);
}

/* ──── FOOTER ──── */
.enterprise-theme .footer {
  background: #FFFFFF;
  border-top: 1px solid var(--c-border);
}
.enterprise-theme .footer-tagline,
.enterprise-theme .footer-links a,
.enterprise-theme .footer-contact-item,
.enterprise-theme .fb-left,
.enterprise-theme .footer-legal a {
  color: var(--c-text-muted) !important;
}
.enterprise-theme .footer-links a:hover,
.enterprise-theme .footer-legal a:hover {
  color: var(--c-blue) !important;
}
.enterprise-theme .footer-col-title {
  color: var(--c-text-primary);
}
.enterprise-theme .social-link {
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
}
.enterprise-theme .social-link:hover {
  background: var(--c-blue);
  color: white;
  border-color: var(--c-blue);
}

/* ──── FIXES FOR WHITE TEXT & CARDS ──── */
.enterprise-theme .trust-text strong { color: var(--c-text-primary); font-size: 16px; }
.enterprise-theme .why-num { color: var(--c-navy-1); font-weight: 800; opacity: 0.8; }
.enterprise-theme .why-card { border-top: 3px solid var(--c-blue); background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); }

/* ──── DIFFERENCE TABLE OVERRIDES ──── */
.enterprise-theme .diff-table { background: #FFFFFF; border: 1px solid var(--c-border); box-shadow: var(--shadow-card); border-radius: var(--radius-lg); overflow: hidden; }
.enterprise-theme .diff-table-header { background: #F8FAFC; border-bottom: 1px solid var(--c-border); }
.enterprise-theme .diff-col { color: var(--c-text-secondary); font-weight: 700; }
.enterprise-theme .diff-col-bc { background: rgba(37, 99, 235, 0.05); border-left: 1px solid var(--c-border); border-right: 1px solid var(--c-border); position: relative; }
.enterprise-theme .diff-col-bc .bc-glow-bg { display: none; }
.enterprise-theme .diff-col-bc .bc-header-content { color: var(--c-blue); font-weight: 800; }
.enterprise-theme .diff-row { border-bottom: 1px solid var(--c-border); }
.enterprise-theme .diff-row:last-child { border-bottom: none; }
.enterprise-theme .diff-cell { background: transparent; }
.enterprise-theme .diff-bc { background: rgba(37, 99, 235, 0.02); border-left: 1px solid var(--c-border); border-right: 1px solid var(--c-border); }
.enterprise-theme .diff-feature { color: var(--c-text-primary); font-weight: 600; }
.enterprise-theme .check-icon { color: #1E3A8A; text-shadow: none; font-weight: bold; }
.enterprise-theme .cross-icon { color: #1E3A8A; text-shadow: none; font-weight: bold; }
.enterprise-theme .partial-icon { color: var(--c-text-muted); text-shadow: none; }
.enterprise-theme .diff-row:hover { background: #F8FAFC; }
.enterprise-theme .diff-row:hover .diff-bc { background: rgba(37, 99, 235, 0.06); }

/* ──── ENTERPRISE READINESS SCORE ──── */
.enterprise-theme .score-panel, .enterprise-theme .score-panel-inner { background: #FFFFFF; border: none; box-shadow: none; }
.enterprise-theme .score-panel { border: 1px solid var(--c-border); box-shadow: var(--shadow-card); border-radius: var(--radius-lg); overflow: hidden; }
.enterprise-theme .score-header h3 { color: var(--c-text-primary); }
.enterprise-theme .score-header p { color: var(--c-text-muted); }
.enterprise-theme .progress-labels span { color: var(--c-text-primary); font-weight: 600; }
.enterprise-theme .progress-track { background: var(--c-bg-mid); border-radius: 4px; }
.enterprise-theme .progress-fill { background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-cyan) 100%); border-radius: 4px; }
.enterprise-theme .progress-glow { display: none; }

/* ──── PORTFOLIO / CASE STUDIES ──── */
.enterprise-theme .portfolio-grid { display: grid; gap: 32px; }
.enterprise-theme .portfolio-card { background: #FFFFFF; border: 1px solid var(--c-border); box-shadow: var(--shadow-card); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.enterprise-theme .portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.enterprise-theme .pc-visual { background: #F8FAFC; padding: 40px; border-bottom: 1px solid var(--c-border); display: flex; justify-content: center; align-items: center; max-height: 280px; }
.enterprise-theme .pc-svg { width: 100%; height: auto; max-width: 80%; filter: invert(0.95) hue-rotate(180deg) brightness(1.1) contrast(1.1); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-radius: 12px; }
.enterprise-theme .pc-info { padding: 32px; }
.enterprise-theme .pc-overlay { display: none; }

/* ──── INDUSTRIES SECTION ──── */
.enterprise-theme .industry-card { background: #FFFFFF; border: 1px solid var(--c-border); box-shadow: var(--shadow-card); border-radius: var(--radius-lg); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.enterprise-theme .industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.enterprise-theme .industry-card h3 { color: var(--c-text-primary); }
.enterprise-theme .industry-card p { color: var(--c-text-muted); }
.enterprise-theme .ind-icon { background: rgba(37, 99, 235, 0.05); color: var(--c-blue); border: 1px solid rgba(37, 99, 235, 0.1); display: inline-flex; justify-content: center; align-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; }

/* ──── TESTIMONIALS SECTION ──── */
.enterprise-theme .testi-card { background: #FFFFFF; border: 1px solid var(--c-border); box-shadow: var(--shadow-card); border-radius: var(--radius-lg); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.enterprise-theme .testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.enterprise-theme .testi-rating { color: #3B82F6; font-size: 20px; }
.enterprise-theme .testi-text { color: var(--c-text-secondary); font-size: 16px; line-height: 1.6; }
.enterprise-theme .testi-meta strong { color: var(--c-text-primary); }
.enterprise-theme .testi-meta span { color: var(--c-text-muted); }

/* ──── WOW ELEMENTS & PREMIUM BACKGROUNDS ──── */

/* 1. Technical Grid / Dot Pattern on Light Sections */
.enterprise-theme .bg-light { 
  background-image: radial-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px); 
  background-size: 24px 24px; 
  position: relative; 
  z-index: 1; 
}

/* 2. Soft Gradient Glow for "Why Us" Section */
.enterprise-theme #why-us { 
  background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 50%, #F3E8FF 100%); 
  position: relative; 
  overflow: hidden; 
}
.enterprise-theme #why-us::before { 
  content: ''; position: absolute; top: -20%; right: -10%; 
  width: 600px; height: 600px; 
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%); 
  border-radius: 50%; pointer-events: none; 
}
.enterprise-theme #why-us::after { 
  content: ''; position: absolute; bottom: -20%; left: -10%; 
  width: 500px; height: 500px; 
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%); 
  border-radius: 50%; pointer-events: none; 
}
.enterprise-theme .why-card { 
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(12px); 
}

/* 3. Re-design the CTA Contact Section */
.enterprise-theme .cta-section { 
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-purple) 100%); 
  position: relative; 
  border-radius: var(--radius-lg); 
  margin: 0 24px 40px 24px; 
  padding: 80px 40px; 
  box-shadow: 0 24px 40px rgba(37, 99, 235, 0.2); 
  overflow: hidden; 
}
.enterprise-theme .cta-section canvas { display: none; }
.enterprise-theme .cta-content { position: relative; z-index: 2; }
.enterprise-theme .cta-headline, 
.enterprise-theme .cta-sub, 
.enterprise-theme .contact-form label { color: white; }
.enterprise-theme .cta-badge { 
  background: rgba(255,255,255,0.2); 
  color: white; 
  border: 1px solid rgba(255,255,255,0.3); 
}
.enterprise-theme .contact-form input, 
.enterprise-theme .contact-form select, 
.enterprise-theme .contact-form textarea { 
  background: rgba(255,255,255,0.9); 
  color: var(--c-text-primary); 
  border: none;
}
.enterprise-theme .contact-form .btn-primary { 
  background: white; 
  color: var(--c-blue); 
  border: none;
}
.enterprise-theme .contact-form .btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}

/* 4. Service Icons Float Effect */
.enterprise-theme .service-card .service-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.enterprise-theme .service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}


/* ──── NAVBAR CHEVRON FIX ──── */
.enterprise-theme .nav-link svg { background: var(--c-bg-mid); color: #0F172A; stroke: #0F172A; border-radius: 4px; padding: 2px; width: 16px !important; height: 16px !important; margin-left: 6px !important; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.enterprise-theme .nav-link:hover svg { background: rgba(37, 99, 235, 0.1); color: var(--c-blue); }

/* ──── SOCIAL PROOF STRIP FIX ──── */
.enterprise-theme .social-proof-strip { background: #0F172A; background-image: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.2) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(96, 165, 250, 0.1) 0px, transparent 50%); padding: 60px 0; }
.enterprise-theme .proof-grid { gap: 24px; }
.enterprise-theme .proof-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-md); padding: 32px 24px; transition: transform 0.3s ease; box-shadow: 0 4px 24px rgba(0,0,0,0.2); }
.enterprise-theme .proof-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.enterprise-theme .proof-item strong { color: white !important; font-size: 18px; margin-bottom: 8px; }
.enterprise-theme .proof-item span { color: rgba(255,255,255,0.6) !important; font-size: 14px; }
.enterprise-theme .proof-icon { width: 56px; height: 56px; display: inline-flex; justify-content: center; align-items: center; background: rgba(37,99,235,0.1); color: #4CC9F0; border-radius: 50%; margin-bottom: 16px; border: 1px solid rgba(76,201,240,0.2); }

/* ──── FIXED PARALLAX BACKGROUND ──── */
.enterprise-theme .process-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.03) 50%, #F8FAFC 100%); z-index: -1; pointer-events: none; }
.enterprise-theme #process, .enterprise-theme #industries, .enterprise-theme #tech { background: transparent !important; }
.enterprise-theme #process::before, .enterprise-theme #industries::before, .enterprise-theme #tech::before { display: none; }

/* ──── HERO REDESIGN & ANIMATIONS ──── */
.enterprise-theme .hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

/* Remove the dot pattern just in case it caused the blur */
.enterprise-theme .hero.bg-light {
  background-image: none !important;
}

/* Floating animated background orbs */
.enterprise-theme .hero::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  animation: floatOrb 20s ease-in-out infinite alternate;
  z-index: 0;
}
.enterprise-theme .hero::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.05) 40%, transparent 60%);
  border-radius: 50%;
  animation: floatOrb2 25s ease-in-out infinite alternate-reverse;
  z-index: 0;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 10%) scale(1.1); }
}
@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10%, -10%) scale(1.15); }
}

.enterprise-theme .hero-content, 
.enterprise-theme .hero-visual {
  position: relative;
  z-index: 2; /* Make sure text and image sit strictly above the animated orbs */
}

/* Ensure the hero image is completely clear */
.enterprise-theme .hero-img {
  filter: none !important;
  opacity: 1 !important;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.15);
  animation: imgFloat 8s ease-in-out infinite;
}

@keyframes imgFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Animate the floating cards */
.enterprise-theme .floating-card {
  animation: floatCard 6s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px); /* Beautiful frosted glass */
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.enterprise-theme .floating-card.card-1 { animation-delay: 0s; }
.enterprise-theme .floating-card.card-2 { animation-delay: -2s; }
.enterprise-theme .floating-card.card-3 { animation-delay: -4s; }

@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}



/* ──── REMOVE BLURRY HERO BLOBS ──── */
.enterprise-theme .hero::before, .enterprise-theme .hero::after { opacity: 0 !important; visibility: hidden !important; }
.enterprise-theme .floating-card { backdrop-filter: none !important; background: #FFFFFF !important; }

/* ──── FIX GLOBAL HAZE FROM PARALLAX ──── */
.enterprise-theme .process-bg { display: none !important; }
.enterprise-theme #process, .enterprise-theme #tech { background: #F8FAFC !important; }
.enterprise-theme #industries { background: #FFFFFF !important; }

/* ──── APPLY WHY-US BACKGROUND TO DIFFERENCE SECTION ──── */
.enterprise-theme #difference { 
  background: linear-gradient(135deg, #F8FAFC 0%, #E0E7FF 50%, #F3E8FF 100%); 
  position: relative; 
  overflow: hidden; 
}
.enterprise-theme #difference::before { 
  content: ''; position: absolute; top: -20%; right: -10%; 
  width: 600px; height: 600px; 
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%); 
  border-radius: 50%; pointer-events: none; z-index: 0;
}
.enterprise-theme #difference::after { 
  content: ''; position: absolute; bottom: -20%; left: -10%; 
  width: 500px; height: 500px; 
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%); 
  border-radius: 50%; pointer-events: none; z-index: 0;
}
.enterprise-theme #difference > .container {
  position: relative;
  z-index: 2;
}


/* ──── INDUSTRIES BACKGROUND ──── */
.enterprise-theme #industries {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #DBEAFE 100%) !important;
}


/* ──── CTA CONTACT COLORS FIX ──── */
.enterprise-theme .cd-label { color: rgba(255,255,255,0.7) !important; font-weight: 600; letter-spacing: 1px; }
.enterprise-theme .contact-details p,
.enterprise-theme .contact-details a { color: #FFFFFF !important; font-weight: 500; }
.enterprise-theme .cd-icon { background: rgba(255,255,255,0.1) !important; color: #4CC9F0 !important; border: 1px solid rgba(255,255,255,0.2) !important; }

/* ──── PREMIUM DARK FOOTER ──── */
.enterprise-theme .enterprise-footer {
  background-color: #0B041C !important;
  color: #FFFFFF !important;
  border-top: none !important;
  padding-top: 40px;
  position: relative;
}
.enterprise-theme .enterprise-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}
.enterprise-theme .enterprise-footer .logo-text.text-white {
  color: #FFFFFF !important;
}
.enterprise-theme .enterprise-footer .footer-tagline {
  color: rgba(255,255,255,0.6) !important;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
}
.enterprise-theme .enterprise-footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.enterprise-theme .enterprise-footer .social-link {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #FFFFFF !important;
  display: flex; justify-content: center; align-items: center;
  transition: all 0.3s ease;
}
.enterprise-theme .enterprise-footer .social-link:hover {
  background: #255bbd;
  border-color: #255bbd;
  transform: translateY(-2px);
}
.enterprise-theme .enterprise-footer .footer-col-title {
  color: #FFFFFF !important;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.enterprise-theme .enterprise-footer .footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 24px; height: 2px;
  background: #255bbd;
}
.enterprise-theme .enterprise-footer .footer-links a {
  color: rgba(255,255,255,0.7) !important;
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  transition: color 0.3s ease;
  text-decoration: none;
}
.enterprise-theme .enterprise-footer .footer-links a::before {
  content: '›';
  color: #255bbd;
  font-size: 18px;
  font-weight: bold;
  margin-right: 8px;
  transition: margin 0.3s ease;
}
.enterprise-theme .enterprise-footer .footer-links a:hover {
  color: #FFFFFF !important;
}
.enterprise-theme .enterprise-footer .footer-links a:hover::before {
  margin-right: 12px;
}

/* Footer Contact Area */
.enterprise-theme .enterprise-footer .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}
.enterprise-theme .enterprise-footer .ci-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.2);
  color: #A78BFA;
  display: flex; justify-content: center; align-items: center;
  flex-shrink: 0;
  margin-right: 16px;
}
.enterprise-theme .enterprise-footer .ci-text {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
}
.enterprise-theme .enterprise-footer .ci-text a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.enterprise-theme .enterprise-footer .ci-text a:hover {
  color: #FFFFFF;
}

/* Floating CTA Pill */
.enterprise-theme .footer-cta-pill {
  background: linear-gradient(90deg, #5B21B6 0%, #255bbd 100%);
  border-radius: 100px;
  padding: 16px 24px 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(30px);
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(91, 33, 182, 0.4);
  max-width: 900px;
  margin: 0 auto;
}
.enterprise-theme .fcp-text {
  display: flex; align-items: center; gap: 12px;
  color: #FFFFFF; font-weight: 600; font-size: 16px;
}
.enterprise-theme .fcp-actions {
  display: flex; gap: 16px;
}
.enterprise-theme .fcp-btn {
  background: #FFFFFF;
  color: #5B21B6 !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 100px;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.enterprise-theme .fcp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Bottom Bar */
.enterprise-theme .enterprise-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 50px 0 24px 0;
}
.enterprise-theme .enterprise-footer .footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.enterprise-theme .enterprise-footer .fb-left {
  color: rgba(255,255,255,0.5) !important;
  font-size: 13px;
}
.enterprise-theme .enterprise-footer .footer-legal a {
  color: rgba(255,255,255,0.5) !important;
  font-size: 13px;
  margin-left: 24px;
  text-decoration: none;
}
.enterprise-theme .enterprise-footer .footer-legal a:hover {
  color: #FFFFFF !important;
}

@media (max-width: 992px) {
  .enterprise-theme .enterprise-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .enterprise-theme .footer-cta-pill { flex-direction: column; gap: 20px; border-radius: 24px; text-align: center; }
}
@media (max-width: 768px) {
  .enterprise-theme .enterprise-footer .footer-grid { grid-template-columns: 1fr; }
  .enterprise-theme .enterprise-footer .footer-bottom-inner { flex-direction: column; gap: 16px; text-align: center; }
}

/* ──── GLASSMORPHIC HEADER ──── */
.enterprise-theme .navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  top: 20px;
  border-radius: 100px;
  margin: 0 30px;
  width: calc(100% - 60px);
  padding: 12px 30px !important;
  transition: all 0.3s ease;
}
.enterprise-theme .nav-link {
  color: #334155;
  transition: all 0.3s ease;
  border-radius: 100px;
  padding: 8px 18px;
  position: relative;
  overflow: hidden;
}
.enterprise-theme .nav-link:hover {
  background: rgba(0, 87, 255, 0.05);
  color: #255bbd;
}
.enterprise-theme .nav-btn {
  border-radius: 100px;
  background: linear-gradient(135deg, #255bbd 0%, #7B61FF 100%);
  box-shadow: 0 8px 20px rgba(123, 97, 255, 0.3);
  border: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white !important;
}
.enterprise-theme .nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(123, 97, 255, 0.5);
}

/* ──── ATTRACTIVE HERO BADGE ──── */
.enterprise-theme .hero-badge {
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
  border: 1px solid rgba(123, 97, 255, 0.3);
  color: #255bbd;
  box-shadow: 0 0 20px rgba(123, 97, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 1);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  padding: 10px 24px;
  border-radius: 100px;
  display: inline-block;
  animation: badge-glow 3s infinite alternate;
}
.enterprise-theme .hero-badge::before {
  content: '✨ ';
  font-size: 16px;
}
.enterprise-theme .hero-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
  animation: badge-shine 3s infinite;
  transform: skewX(-20deg);
}
@keyframes badge-shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}
@keyframes badge-glow {
  0% { box-shadow: 0 0 10px rgba(123, 97, 255, 0.2); }
  100% { box-shadow: 0 0 25px rgba(123, 97, 255, 0.6); }
}

/* ──── TECHNOLOGY SECTION BACKGROUND ──── */
.enterprise-theme #tech {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%) !important; /* Soft Tech Teal */
}


/* ──── HEADER HALF PINK HALF GREEN BACKGROUND ──── */
.enterprise-theme .navbar {
  background: linear-gradient(90deg, rgba(255, 240, 245, 0.95) 50%, rgba(240, 255, 240, 0.95) 50%) !important;
}


/* ──── SMOOTH BLENDED PINK/GREEN HEADER BACKGROUND ──── */
.enterprise-theme .navbar {
  background: linear-gradient(135deg, rgba(255, 240, 245, 0.95) 0%, rgba(240, 255, 240, 0.95) 100%) !important;
}


/* ──── CTA SECTION MATCHING SURROUNDINGS ──── */
.enterprise-theme .cta-section {
  background: #0B041C !important; /* Matches the new footer */
  position: relative;
  overflow: hidden;
}

/* Large soft glowing orbs to add depth */
.enterprise-theme .cta-section::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.enterprise-theme .cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Ensure the content is above the orbs */
.enterprise-theme .cta-section .container {
  position: relative;
  z-index: 2;
}

/* Adjust the form card to look incredibly premium on the dark background */
.enterprise-theme .cta-section .contact-form {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Adjust input fields to be slightly translucent */
.enterprise-theme .cta-section .contact-form input,
.enterprise-theme .cta-section .contact-form select,
.enterprise-theme .cta-section .contact-form textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
}
.enterprise-theme .cta-section .contact-form input:focus,
.enterprise-theme .cta-section .contact-form select:focus,
.enterprise-theme .cta-section .contact-form textarea:focus {
  border-color: #255bbd !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Make sure text elements are white */
.enterprise-theme .cta-section .section-eyebrow {
  background: rgba(124, 58, 237, 0.2) !important;
  color: #A78BFA !important;
  border: 1px solid rgba(124, 58, 237, 0.3) !important;
}
.enterprise-theme .cta-section .cta-headline,
.enterprise-theme .cta-section .cta-sub {
  color: #FFFFFF !important;
}


/* ──── REVERTING CTA TO LIGHT PASTEL GRADIENT (HEADER SHADES) ──── */
.enterprise-theme .cta-section {
  background: linear-gradient(135deg, #FFF0F5 0%, #F0FFF0 100%) !important;
  position: relative;
  overflow: hidden;
  border-top: none;
}

/* Remove dark glowing orbs */
.enterprise-theme .cta-section::before,
.enterprise-theme .cta-section::after {
  display: none !important;
}

/* Form card styling for light background */
.enterprise-theme .cta-section .contact-form {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Input fields styling for light background */
.enterprise-theme .cta-section .contact-form input,
.enterprise-theme .cta-section .contact-form select,
.enterprise-theme .cta-section .contact-form textarea {
  background: #F8FAFC !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #334155 !important;
}
.enterprise-theme .cta-section .contact-form input:focus,
.enterprise-theme .cta-section .contact-form select:focus,
.enterprise-theme .cta-section .contact-form textarea:focus {
  border-color: #255bbd !important;
  background: #FFFFFF !important;
}

/* Text elements styling for light background */
.enterprise-theme .cta-section .section-eyebrow {
  background: rgba(124, 58, 237, 0.1) !important;
  color: #255bbd !important;
  border: 1px solid rgba(124, 58, 237, 0.2) !important;
}
.enterprise-theme .cta-section .cta-headline,
.enterprise-theme .cta-section .cta-sub {
  color: #0B041C !important;
}

/* Fix CTA Contact Text that I previously made white */
.enterprise-theme .cta-section .cd-label { 
  color: #64748b !important; 
}
.enterprise-theme .cta-section .contact-details p,
.enterprise-theme .cta-section .contact-details a { 
  color: #0B041C !important; 
}
.enterprise-theme .cta-section .cd-icon { 
  background: rgba(76, 201, 240, 0.1) !important; 
  color: #255bbd !important; 
  border: none !important; 
}


/* ──── CTA SECTION SLIGHTLY DARKER PASTEL ──── */
.enterprise-theme .cta-section {
  background: linear-gradient(135deg, #FCE7F3 0%, #DCFCE7 100%) !important;
}


/* ──── FIX DIFF TRUST STATEMENT VISIBILITY ──── */
.enterprise-theme .diff-trust-statement {
  color: #3B0764 !important; /* Deep dark purple for visibility against light background */
}



/* ============================================================
   BUBBLE & GLASS OVERHAUL & ANIMATIONS
============================================================ */

/* Global setup */
body.enterprise-theme {
  background-color: #F8FAFC !important;
  background-image: none !important;
}

/* The Animated Global Background */
.global-glass-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  pointer-events: none;
  background: #F4F7FB;
  overflow: hidden;
}

.global-glass-bg::before, .global-glass-bg::after {
  content: '';
  position: absolute;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.6;
}

.global-glass-bg::before {
  top: -10%; left: -20%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(124, 58, 237, 0.1) 40%, transparent 70%);
  animation: blobRotate 25s infinite alternate ease-in-out;
}

.global-glass-bg::after {
  bottom: -20%; right: -20%;
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, rgba(96, 165, 250, 0.35) 50%, transparent 70%);
  animation: blobRotate2 30s infinite alternate-reverse ease-in-out;
}

@keyframes blobRotate {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15vw, 15vh) scale(1.1); }
  100% { transform: translate(-5vw, 25vh) scale(0.9); }
}

@keyframes blobRotate2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10vw, -20vh) scale(1.15); }
  100% { transform: translate(15vw, -5vh) scale(0.95); }
}

/* Add an extra floating bubble */
.glass-bubble {
  position: fixed;
  width: 40vw; height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  top: 30%; left: 40%;
  z-index: -1;
  animation: floatBubble 20s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes floatBubble {
  0% { transform: translate(0,0); }
  100% { transform: translate(-20vw, 30vh); }
}

/* Strip hard backgrounds and reduce spacing */
.enterprise-theme .bg-white,
.enterprise-theme .bg-light,
.enterprise-theme #services,
.enterprise-theme #why-us,
.enterprise-theme #difference,
.enterprise-theme #process,
.enterprise-theme #industries,
.enterprise-theme #tech,
.enterprise-theme .hero {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.enterprise-theme .section-pad {
  padding: 80px 0 !important;
}

/* Kill old absolute blobs */
.enterprise-theme #why-us::before, .enterprise-theme #why-us::after,
.enterprise-theme #difference::before, .enterprise-theme #difference::after,
.enterprise-theme .hero::before, .enterprise-theme .hero::after {
  display: none !important;
}

/* Frosted Glassmorphism for Cards */
.enterprise-theme .service-card,
.enterprise-theme .why-card,
.enterprise-theme .process-card,
.enterprise-theme .industry-card,
.enterprise-theme .testi-card,
.enterprise-theme .portfolio-card,
.enterprise-theme .score-panel,
.enterprise-theme .diff-table {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 10px 40px rgba(31, 38, 135, 0.05), inset 0 0 0 1px rgba(255,255,255,0.4) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Premium Hover Animations */
.enterprise-theme .service-card:hover,
.enterprise-theme .why-card:hover,
.enterprise-theme .process-card:hover,
.enterprise-theme .industry-card:hover,
.enterprise-theme .portfolio-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  background: rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15), inset 0 0 0 1px rgba(255,255,255,0.6) !important;
}

/* Sub-elements inside Glass */
.enterprise-theme .pc-visual {
  background: rgba(255,255,255,0.2) !important;
}
.enterprise-theme .diff-table-header {
  background: rgba(255,255,255,0.4) !important;
}
.enterprise-theme .diff-row:hover {
  background: rgba(255,255,255,0.5) !important;
}
.enterprise-theme .diff-col-bc {
  background: rgba(255,255,255,0.5) !important;
}

/* Header/Footer Blending */
.enterprise-theme .navbar {
  background: rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

.enterprise-theme .enterprise-footer {
  background: rgba(11, 4, 28, 0.8) !important;
  backdrop-filter: blur(20px);
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
}

/* Proof items need text color adjustments to fit light bg */
.enterprise-theme .social-proof-strip {
  background: rgba(255,255,255,0.2) !important;
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.enterprise-theme .proof-item {
  background: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
}
.enterprise-theme .proof-item strong { color: var(--c-navy-2) !important; }
.enterprise-theme .proof-item span { color: var(--c-text-secondary) !important; }

/* Enhanced Icons */
.enterprise-theme .sc-icon-wrap, 
.enterprise-theme .why-icon, 
.enterprise-theme .ind-icon,
.enterprise-theme .process-number {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.5)) !important;
  box-shadow: 0 8px 20px rgba(37,99,235,0.15) !important;
  border: 1px solid rgba(255,255,255,1) !important;
}

/* Gradient Texts for extra pop against glass */
.enterprise-theme .section-title, .enterprise-theme .hero-headline {
  text-shadow: 0 4px 20px rgba(255,255,255,0.5);
}

/* ──── FIX DIFFERENCE TABLE CONTAINER BACKGROUND ──── */
.enterprise-theme .diff-table-container {
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

.enterprise-theme .diff-table {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: var(--radius-lg);
}

.enterprise-theme .diff-table-header {
  background: rgba(255, 255, 255, 0.6) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.enterprise-theme .diff-col-bc {
  background: rgba(255, 255, 255, 0.6) !important;
}

.enterprise-theme .diff-row:hover {
  background: rgba(255, 255, 255, 0.8) !important;
}

.enterprise-theme .diff-feature {
  color: #1E293B !important;
}


/* ──── FIX ACTIVE TAB COLOR ──── */
.enterprise-theme .tech-tab.active {
  background: var(--c-blue) !important;
  color: white !important;
  border-color: var(--c-blue) !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}
.enterprise-theme .tech-tab {
  color: var(--c-text-secondary) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

/* ──── REVERT FOOTER TO SOLID PREMIUM DARK ──── */
.enterprise-theme .enterprise-footer {
  background-color: #0B041C !important;
  background: #0B041C !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: none !important;
}
.enterprise-theme .enterprise-footer::before {
  display: none !important;
}



/* ============================================================
   DARK FUTURISTIC HERO & NAVBAR OVERRIDES
============================================================ */

/* DARK NAVBAR */
.enterprise-theme .header {
  background: rgba(11, 4, 28, 0.85) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}

.enterprise-theme .logo {
  color: #FFFFFF !important;
}
.enterprise-theme .logo span {
  color: #38bdf8 !important; /* cyan glow */
}

.enterprise-theme .nav-link {
  color: #E2E8F0 !important;
}
.enterprise-theme .nav-link:hover {
  color: #38bdf8 !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.enterprise-theme .btn-primary {
  background: linear-gradient(90deg, #8b5cf6, #38bdf8) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5) !important;
  transition: all 0.3s ease !important;
}
.enterprise-theme .btn-primary:hover {
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.8) !important;
  transform: translateY(-2px) scale(1.05) !important;
}

.enterprise-theme .search-trigger svg {
  stroke: #FFFFFF !important;
}
.enterprise-theme .hamburger span {
  background: #0F172A !important;
}

/* DARK HERO */
.enterprise-theme .hero {
  /* This creates the dark top that fades out perfectly */
  background: linear-gradient(180deg, #0B041C 0%, rgba(11, 4, 28, 0.9) 60%, transparent 100%) !important;
  color: #FFFFFF !important;
  position: relative;
}

/* Subtly glowing particle effect behind hero content */
.enterprise-theme .hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.enterprise-theme .hero-content {
  position: relative;
  z-index: 2;
}

.enterprise-theme .hero-headline {
  color: #FFFFFF !important;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.enterprise-theme .headline-gradient {
  background: linear-gradient(90deg, #38bdf8, #8b5cf6) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.enterprise-theme .hero-sub {
  color: #94A3B8 !important;
}

.enterprise-theme .hero-badge {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #E2E8F0 !important;
  backdrop-filter: blur(10px);
}
.enterprise-theme .badge-dot {
  background: #38bdf8 !important;
  box-shadow: 0 0 10px #38bdf8 !important;
}

/* HERO STATS */
.enterprise-theme .stat-number { color: #FFFFFF !important; }
.enterprise-theme .stat-plus { color: #38bdf8 !important; }
.enterprise-theme .stat-label { color: #94A3B8 !important; }
.enterprise-theme .stat-divider { background: rgba(255,255,255,0.2) !important; }

/* HERO BUTTONS */
.enterprise-theme .btn-hero-primary {
  background: linear-gradient(90deg, #8b5cf6, #38bdf8) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6) !important;
}
.enterprise-theme .btn-hero-primary:hover {
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.9) !important;
  transform: translateY(-3px) scale(1.02) !important;
}
.enterprise-theme .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
}
.enterprise-theme .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #FFFFFF !important;
}

/* HERO VISUAL & FLOATING CARDS */
.enterprise-theme .hero-img-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%) !important;
  width: 120%; height: 120%;
  top: -10%; left: -10%;
  animation: pulseGlow 4s infinite alternate ease-in-out;
}
@keyframes pulseGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

.enterprise-theme .hero-img {
  animation: floatImg 6s infinite alternate ease-in-out;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.3);
}
@keyframes floatImg {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

.enterprise-theme .floating-card {
  background: rgba(11, 4, 28, 0.6) !important;
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}
.enterprise-theme .fc-icon {
  background: rgba(255, 255, 255, 0.1) !important;
}
.enterprise-theme .fc-icon svg {
  stroke: #38bdf8 !important;
}
.enterprise-theme .fc-text strong {
  color: #FFFFFF !important;
}
.enterprise-theme .fc-text span {
  color: #94A3B8 !important;
}



/* ============================================================
   LIGHT PREMIUM HERO & NAVBAR OVERRIDES
============================================================ */

/* LIGHT NAVBAR */
.enterprise-theme .header {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 4px 30px rgba(31, 38, 135, 0.05) !important;
}

.enterprise-theme .btn-primary {
  background: linear-gradient(90deg, #38bdf8, #8b5cf6) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3) !important;
  transition: all 0.3s ease !important;
}
.enterprise-theme .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

/* LIGHT HERO */
.enterprise-theme .hero {
  background: transparent !important; /* Uses the global animated background */
  color: var(--c-navy-1) !important;
  position: relative;
  padding-top: 150px !important;
}

.enterprise-theme .hero-headline {
  color: #0F172A !important;
}
.enterprise-theme .headline-gradient {
  background: linear-gradient(90deg, #255bbd, #255bbd) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.enterprise-theme .hero-sub {
  color: #475569 !important;
  font-weight: 500;
}

.enterprise-theme .hero-badge {
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  color: #1E293B !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.enterprise-theme .badge-dot {
  background: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
}

/* HERO STATS */
.enterprise-theme .stat-number { color: #0F172A !important; }
.enterprise-theme .stat-plus { color: #38bdf8 !important; }
.enterprise-theme .stat-label { color: #475569 !important; font-weight: 500; }
.enterprise-theme .stat-divider { background: rgba(0,0,0,0.1) !important; }

/* HERO BUTTONS */
.enterprise-theme .btn-hero-primary {
  background: linear-gradient(90deg, #255bbd, #8b5cf6) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}
.enterprise-theme .btn-hero-primary:hover {
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4) !important;
  transform: translateY(-2px) scale(1.02) !important;
}
.enterprise-theme .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.5) !important;
  color: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(10px);
}
.enterprise-theme .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: #CBD5E1 !important;
}

/* HERO VISUAL & FLOATING CARDS */
.enterprise-theme .hero-img-glow {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%) !important;
  width: 120%; height: 120%;
  top: -10%; left: -10%;
  animation: pulseGlowLight 4s infinite alternate ease-in-out;
}
@keyframes pulseGlowLight {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.05); }
}

.enterprise-theme .hero-img {
  animation: floatImgLight 6s infinite alternate ease-in-out;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(31, 38, 135, 0.08), 0 0 0 1px rgba(255,255,255,0.5);
}
@keyframes floatImgLight {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

.enterprise-theme .floating-card {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 10px 30px rgba(31, 38, 135, 0.05) !important;
}
.enterprise-theme .fc-icon {
  background: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 4px 10px rgba(37,99,235,0.1) !important;
}
.enterprise-theme .fc-icon svg {
  stroke: #255bbd !important;
}
.enterprise-theme .fc-text strong {
  color: #0F172A !important;
}
.enterprise-theme .fc-text span {
  color: #64748B !important;
}


/* ──── FIX NAVBAR TEXT VISIBILITY ──── */
.enterprise-theme .nav-link {
  color: #0F172A !important;
}
.enterprise-theme .nav-link:hover {
  color: #255bbd !important;
}
.enterprise-theme .search-trigger {
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s ease !important;
}
.enterprise-theme .search-trigger:hover {
  background: #FFFFFF !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.9) !important;
  transform: scale(1.1) !important;
}
.enterprise-theme .search-trigger svg {
  stroke: #0F172A !important;
}
.enterprise-theme .search-trigger:hover svg {
  stroke: #255bbd !important;
}



/* ============================================================
   STICKY CTA BANNER & FLOATING ACTION BUTTONS
============================================================ */

/* STICKY CTA BANNER */
.sticky-cta-banner {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(90deg, #6d28d9, #8b5cf6);
  padding: 12px 16px 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.4);
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
}

.sticky-cta-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-cta-text {
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-cta-text svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.sticky-cta-actions {
  display: flex;
  gap: 12px;
}

.btn-cta-white {
  background: white;
  color: #6d28d9;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-cta-white:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  color: #4c1d95;
}

.btn-cta-white svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* FLOATING ACTION BUTTONS (FAB) */
.fab-container {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-5px);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.floating-btn-whatsapp {
  background: #25D366;
}
.floating-btn-whatsapp:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.floating-btn-call {
  background: #255bbd;
}
.floating-btn-call:hover {
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

@media (max-width: 900px) {
  .sticky-cta-banner {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 20px;
    width: 90%;
  }
}

.floating-btn::before, .floating-btn::after {
    display: none !important;
    content: none !important;
}

/* ============================================================
   DARK COLLAGE HERO REDESIGN
============================================================ */
.hero-dark-collage {
  background-color: #0B041C;
  min-height: 95vh;
  padding-top: 220px;
  position: relative;
  overflow: hidden;
  margin-top: -100px; /* Pull up behind navbar */
}

/* Ensure the navbar is dark glass over the hero */
.enterprise-theme .navbar {
  background: rgba(11, 4, 28, 0.7) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.enterprise-theme .nav-link { color: #F8FAFC !important; }
.enterprise-theme .nav-link:hover { color: #4CC9F0 !important; }
.enterprise-theme .logo-text { color: white !important; }

/* The smooth gradient transition at the bottom to blend into the light theme */
.hero-gradient-mask {
  display: none !important; /* Removed to let the video fill the bottom space */
}

.hero-text-content {
  position: relative;
  z-index: 5;
}

.title-dark { 
  color: #FFFFFF; 
  font-size: 4rem; 
  line-height: 1.1; 
  margin-bottom: 24px; 
  font-weight: 800;
}
.desc-dark { 
  color: #94A3B8; 
  font-size: 1.15rem; 
  line-height: 1.6;
  margin-bottom: 40px; 
  max-width: 90%; 
}
.badge-dark { 
  color: #4CC9F0; 
  border-color: rgba(76, 201, 240, 0.2); 
  background: rgba(76, 201, 240, 0.05); 
}

.hero-stats-row {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  max-width: 90%;
}
.hs-item strong { 
  display: block; 
  font-size: 2rem; 
  color: white; 
  font-weight: 800; 
  margin-bottom: 4px; 
}
.hs-item span { 
  color: #64748B; 
  font-size: 0.85rem; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  font-weight: 600;
}

.btn-outline-dark { 
  border: 1px solid rgba(255,255,255,0.2); 
  color: white; 
  background: transparent; 
}
.btn-outline-dark:hover { 
  background: rgba(255,255,255,0.1); 
  border-color: white; 
}

/* Tech Cluster Collage */
.hero-tech-cluster {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.htc-img {
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  transition: transform 0.5s ease;
}

.htc-bg {
  width: 90%;
  max-width: 500px;
  right: 0;
  top: 30px;
  opacity: 0.7;
  filter: blur(1px);
  animation: float-bg 8s ease-in-out infinite;
}

.htc-fg {
  width: 85%;
  max-width: 480px;
  left: -20px;
  bottom: 100px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.1);
  animation: float-fg 6s ease-in-out infinite;
}

@keyframes float-bg {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-20px) rotate(0deg); }
}

@keyframes float-fg {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(15px) rotate(1deg); }
}

/* Floating UI Tags */
.htc-float {
  position: absolute;
  background: rgba(11, 4, 28, 0.8);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 3;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}
.float-1 { top: 100px; left: -40px; animation: float-tag 5s ease-in-out infinite 1s; }
.float-2 { bottom: 180px; right: 0px; animation: float-tag 7s ease-in-out infinite 0.5s; }

@keyframes float-tag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 1000px) {
  .hero-dark-collage { grid-template-columns: 1fr; padding-top: 150px; height: auto; padding-bottom: 100px; }
  .title-dark { font-size: 3rem; }
  .hero-tech-cluster { height: 450px; margin-top: 60px; }
  .htc-fg { left: 5%; bottom: 20px; }
}

/* ============================================================
   FIX DARK HERO OVERLAPS & BACKGROUND
============================================================ */
.hero.hero-dark-collage {
  background: #0B041C !important;
  background-color: #0B041C !important;
  margin-top: 0 !important;
  padding-top: 250px !important;
}

@media (max-width: 1000px) {
  .hero.hero-dark-collage {
    padding-top: 200px !important;
  }
}

/* Give the text some breathing room so it doesn't touch the navbar */
.hero-text-content {
  margin-top: 20px;
}

/* Adjust Tech Cluster Positioning */
.htc-fg {
  width: 95%;
  max-width: 500px;
  left: 20px;
  bottom: 60px;
  z-index: 2;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.htc-bg {
  width: 95%;
  max-width: 480px;
  right: -20px;
  top: 10px;
  opacity: 0.5;
  filter: blur(2px);
}

.float-1 { top: 150px; left: -20px; }
.float-2 { bottom: 120px; right: 20px; }

/* ============================================================
   HERO OUT-OF-THE-BOX UPGRADE
============================================================ */
.hero.hero-dark-collage {
  /* Make it full bleed, removing the 1300px max-width restriction */
  max-width: 100% !important;
  width: 100% !important;
  
  /* Pull it up behind the navbar and adjust top padding */
  margin-top: -120px !important;
  padding-top: 290px !important;
  padding-left: 3% !important;
  padding-right: 3% !important;

  /* Add a massive glowing radial gradient for depth instead of flat color */
  background: radial-gradient(circle at 75% 50%, rgba(123, 97, 255, 0.25) 0%, #0B041C 50%, #0B041C 100%) !important;
  background-color: #0B041C !important;
}

.hero-text-content {
  margin-top: 0 !important;
}

/* 
   MAGIC TRICK: Use screen blend mode to completely remove the ugly black 
   backgrounds from the AI images and make them float seamlessly 
*/
.htc-img {
  mix-blend-mode: screen;
  box-shadow: none !important; /* Remove box shadow as it interferes with blend mode */
  border-radius: 0 !important;
}

.htc-fg {
  width: 110%;
  max-width: 650px;
  left: -50px;
  bottom: 0px;
  border: none !important;
  filter: contrast(1.2) brightness(1.1); /* Make the neon colors pop */
}

.htc-bg {
  width: 120%;
  max-width: 700px;
  right: -100px;
  top: -50px;
  opacity: 0.8;
  filter: blur(1px) contrast(1.2);
}

/* Make floating tags look holographic and out of the box */
.htc-float {
  background: rgba(123, 97, 255, 0.1);
  border: 1px solid rgba(76, 201, 240, 0.3);
  box-shadow: 0 0 20px rgba(76, 201, 240, 0.2), inset 0 0 15px rgba(123, 97, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.float-1 { top: 60px; left: -80px; }
.float-2 { bottom: 50px; right: -40px; }

/* Add a glowing text shadow to the title to make it pop against the dark background */
.title-dark .text-gradient {
  text-shadow: 0 0 30px rgba(76, 201, 240, 0.4);
}

/* Reduce Hero Text Size */
.title-dark { 
  font-size: 3.2rem !important; 
}

@media (max-width: 1000px) {
  .title-dark { 
    font-size: 2.5rem !important; 
  }
}

/* ============================================================
   GLASSMORPHIC TECH ECOSYSTEM (LIGHT MODE, HIGH CONTRAST)
============================================================ */

/* 1. Dynamic Background Orbs */
body.enterprise-theme {
  position: relative;
  background-color: #F8FAFC !important;
}

body.enterprise-theme::before,
body.enterprise-theme::after {
  content: '';
  position: fixed;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  z-index: -1;
  filter: blur(120px);
  opacity: 0.15; /* Increased opacity for more vibrant color */
  pointer-events: none;
  animation: float-orbs 20s infinite alternate ease-in-out;
}

body.enterprise-theme::before {
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, #4CC9F0 0%, transparent 70%);
}

body.enterprise-theme::after {
  bottom: 10%;
  right: -10%;
  background: radial-gradient(circle, #7B61FF 0%, transparent 70%);
  animation-delay: -10s;
}

@keyframes float-orbs {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 20%) scale(1.2); }
}

/* 2. Frosted Glass Sections */
.enterprise-theme .bg-white, 
.enterprise-theme .bg-light {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

/* 3. High Contrast Typography */
.enterprise-theme .section-title {
  color: #0B041C !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.enterprise-theme .section-desc {
  color: #334155 !important;
  font-weight: 500;
  font-size: 1.1rem;
}

/* 4. High Contrast Glass Cards */
.enterprise-theme .service-card,
.enterprise-theme .why-card,
.enterprise-theme .diff-table {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.4s ease;
}

.enterprise-theme .service-card:hover,
.enterprise-theme .why-card:hover {
  background: #FFFFFF !important;
  border-color: rgba(76, 201, 240, 0.3) !important;
  box-shadow: 0 20px 40px rgba(123, 97, 255, 0.15) !important;
  transform: translateY(-5px);
}

.enterprise-theme .sc-title,
.enterprise-theme .why-card h3 {
  color: #0B041C !important;
  font-weight: 700;
}

.enterprise-theme .sc-desc,
.enterprise-theme .why-card p {
  color: #475569 !important;
  font-weight: 500;
}

/* Give the trust band (logos) a solid white background so the logos pop with high contrast */
.enterprise-theme .trust-band {
  background: #FFFFFF !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.enterprise-theme .trust-logo {
  color: #0B041C !important;
}

/* ============================================================
   PUMP UP THE CONTENT & FIX SCROLLED NAVBAR
============================================================ */

/* 1. Reduce the massive empty padding gaps */
.enterprise-theme .section-pad {
  padding: 80px 0 !important; /* Reduced from 120px to pull sections closer */
}
.enterprise-theme .section-header {
  margin-bottom: 40px !important; /* Reduced to bring cards closer to the title */
}

/* 2. Fix the unreadable navbar over light sections */
/* When the user scrolls down, the JS adds a .scrolled class. We use it to invert colors! */
.enterprise-theme .navbar.scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(25px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(150%) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.enterprise-theme .navbar.scrolled .logo-text,
.enterprise-theme .navbar.scrolled .nav-link {
  color: #0B041C !important; /* Dark text for readability */
}

.enterprise-theme .navbar.scrolled .nav-link svg {
  color: #0B041C !important;
  stroke: #0B041C !important;
}

.enterprise-theme .navbar.scrolled .nav-link:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #255bbd !important;
}

.enterprise-theme .navbar.scrolled .nav-link:hover svg {
  color: #255bbd !important;
  stroke: #255bbd !important;
}

/* ============================================================
   PREMIUM CTA & CONTACT FORM UPGRADE
============================================================ */

/* Add huge bottom padding so the sticky banner NEVER covers the submit button */
.enterprise-theme .cta-section {
  padding-top: 100px !important;
  padding-bottom: 100px !important; 
  background: transparent !important;
  position: relative;
  z-index: 2;
}

/* Fix the unreadable badge */
.enterprise-theme .cta-badge {
  background: linear-gradient(135deg, #255bbd 0%, #7B61FF 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(123, 97, 255, 0.3) !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  padding: 8px 20px !important;
}

/* Elegant, bright frosted glass form */
.enterprise-theme .contact-form {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 24px !important;
  padding: 50px !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.04) !important;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .enterprise-theme .contact-form {
    padding: 30px 20px !important;
  }
}

/* Premium form inputs */
.enterprise-theme .form-group label {
  color: #0B041C !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  margin-bottom: 8px !important;
  display: block;
}

.enterprise-theme .form-group input,
.enterprise-theme .form-group select,
.enterprise-theme .form-group textarea {
  background: #F8FAFC !important;
  border: 2px solid transparent !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  color: #0B041C !important;
  font-size: 1rem !important;
  font-family: inherit !important;
  width: 100% !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02) !important;
  transition: all 0.3s ease !important;
}

.enterprise-theme .form-group input:focus,
.enterprise-theme .form-group select:focus,
.enterprise-theme .form-group textarea:focus {
  background: #FFFFFF !important;
  border-color: #7B61FF !important;
  box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.15) !important;
  outline: none !important;
}

.enterprise-theme .form-group input::placeholder,
.enterprise-theme .form-group select::placeholder,
.enterprise-theme .form-group textarea::placeholder {
  color: #94A3B8 !important;
}

/* The Submit Button (Make it pop!) */
.enterprise-theme .submit-btn {
  background: linear-gradient(135deg, #4CC9F0 0%, #7B61FF 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  padding: 20px 40px !important;
  box-shadow: 0 12px 30px rgba(123, 97, 255, 0.4) !important;
  cursor: pointer !important;
  width: 100% !important;
  margin-top: 15px !important;
  transition: all 0.3s ease !important;
}

.enterprise-theme .submit-btn:hover {
  box-shadow: 0 15px 40px rgba(76, 201, 240, 0.6) !important;
  transform: translateY(-2px) !important;
}

/* ============================================================
   COMPACT CONTACT SECTION
============================================================ */

/* Reduce overall section height but keep enough bottom padding for the sticky banner */
.enterprise-theme .cta-section {
  padding-top: 60px !important;
  padding-bottom: 60px !important; 
}

/* Reduce spacing around the header text */
.enterprise-theme .cta-headline {
  font-size: clamp(28px, 3.5vw, 48px) !important;
  margin-bottom: 10px !important;
}

.enterprise-theme .cta-sub {
  margin-bottom: 30px !important;
}

.enterprise-theme .cta-badge {
  margin-bottom: 15px !important;
}

/* Make the form box tighter */
.enterprise-theme .contact-form {
  padding: 30px !important;
}

/* Tighter form rows */
.enterprise-theme .form-row {
  gap: 15px !important;
  margin-bottom: 15px !important;
}

.enterprise-theme .form-group--full {
  margin-bottom: 15px !important;
}

/* Smaller inputs */
.enterprise-theme .form-group input,
.enterprise-theme .form-group select,
.enterprise-theme .form-group textarea {
  padding: 12px 16px !important;
}

/* Smaller submit button */
.enterprise-theme .submit-btn {
  padding: 14px 30px !important;
  font-size: 1.05rem !important;
  margin-top: 5px !important;
}

/* ============================================================
   DETACHED DARK TRUST BAND & 3D ASSETS
============================================================ */

/* Detached, premium dark trust band */
.enterprise-theme .trust-band {
  background: rgba(11, 4, 28, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  width: 90%;
  max-width: 1400px;
  margin: -40px auto 60px auto !important; /* Pull up slightly over hero */
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-top: 1px solid rgba(76, 201, 240, 0.5) !important;
  border-bottom: 1px solid rgba(123, 97, 255, 0.5) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 0 40px rgba(123, 97, 255, 0.15) !important;
  position: relative;
  z-index: 10;
  padding: 40px 0 !important;
}

.enterprise-theme .trust-label {
  color: #FFFFFF !important;
  letter-spacing: 3px !important;
  opacity: 0.9 !important;
  font-weight: 700 !important;
}

/* Dark mode logos inside trust band */
.enterprise-theme .trust-logo {
  color: #FFFFFF !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
  border-radius: 12px !important;
}

.enterprise-theme .trust-logo svg {
  stroke: #4CC9F0 !important;
}

/* 3D Floating Assets */
.floating-3d-obj {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  mix-blend-mode: multiply; /* Looks incredible on light glass backgrounds */
  filter: drop-shadow(0 20px 30px rgba(123, 97, 255, 0.3));
}

.obj-1 {
  width: 250px;
  top: 10%;
  right: -5%;
  animation: float-3d 12s infinite ease-in-out alternate;
}

.obj-2 {
  width: 300px;
  bottom: 10%;
  left: -8%;
  animation: float-3d-reverse 15s infinite ease-in-out alternate;
}

@keyframes float-3d {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-50px) rotate(10deg); }
}

@keyframes float-3d-reverse {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(40px) rotate(-15deg); }
}

/* Remove borders from white cards for cleaner look with 3D elements */
.enterprise-theme .service-card, .enterprise-theme .why-card {
  border: none !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

/* ============================================================
   MEGA COMPACT - FIXING THE HUGE GAPS
============================================================ */

/* Aggressively reduce all section padding to eliminate the 160px gaps between sections */
.enterprise-theme .section-pad {
  padding: 40px 0 !important;
}

/* Specifically target the gap between Difference and Tech sections */
.enterprise-theme .difference-section {
  padding-bottom: 30px !important;
}

.enterprise-theme .tech-section {
  padding-top: 30px !important;
}

/* Pull the section headers up slightly more */
.enterprise-theme .section-header {
  margin-bottom: 30px !important;
}

/* If the diff actions have extra margin, eliminate it */
.enterprise-theme .diff-actions {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ============================================================
   STATIC FOOTER CTA BANNER & COMPACT FOOTER SPACING
============================================================ */

/* Hide the old sticky banner completely just in case */
.sticky-cta-banner {
  display: none !important;
}

/* Eliminate the huge gap above the CTA banner */
.enterprise-theme .footer-top {
  padding-bottom: 20px !important;
}

/* Style the new static footer banner */
.enterprise-theme .footer-cta-banner {
  background: linear-gradient(90deg, #6d28d9, #8b5cf6);
  border-radius: 100px;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 20px auto; /* Reduced top margin from 40px to 0 */
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(123, 97, 255, 0.3);
  position: relative;
  z-index: 10;
  width: 90%;
}

@media (max-width: 768px) {
  .enterprise-theme .footer-cta-banner {
    flex-direction: column;
    border-radius: 20px;
    padding: 20px;
    gap: 15px;
  }
}

/* ============================================================
   DARK PROOF ITEMS (FOOTER COLORS)
============================================================ */

.enterprise-theme .social-proof-strip {
  background: transparent !important;
}

.enterprise-theme .proof-item {
  background: rgba(11, 4, 28, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(76, 201, 240, 0.2) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), inset 0 0 20px rgba(123, 97, 255, 0.05) !important;
  border-radius: 20px !important;
  transition: all 0.3s ease !important;
}

.enterprise-theme .proof-item:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(123, 97, 255, 0.5) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 0 30px rgba(123, 97, 255, 0.15) !important;
}

.enterprise-theme .proof-item strong {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.enterprise-theme .proof-item span {
  color: #94A3B8 !important; 
}

.enterprise-theme .proof-icon {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
}

.enterprise-theme .proof-icon svg {
  stroke: #4CC9F0 !important;
}

/* ============================================================
   SECONDARY BUTTON FIX (FROSTED GLASS)
============================================================ */
.enterprise-theme .btn-hero-secondary,
.enterprise-theme .btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 32px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
  transition: all 0.3s ease !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: none !important;
}

.enterprise-theme .btn-hero-secondary:hover,
.enterprise-theme .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}


/* --- PREMIUM GLOWING ORBS FOR HOME PAGE SECTIONS --- */
.enterprise-theme #process, 
.enterprise-theme #industries, 
.enterprise-theme #testimonials { 
  position: relative; 
  overflow: hidden; 
  z-index: 1; 
  background: transparent !important;
}

/* Base section backgrounds */
.enterprise-theme #process { background-color: #F8FAFC !important; }
.enterprise-theme #industries { background-color: #FFFFFF !important; }
.enterprise-theme #testimonials { background-color: #F8FAFC !important; }

/* Glowing Orbs */
.enterprise-theme #process::before {
  content: ''; position: absolute; top: -10%; right: -5%; width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
  filter: blur(60px); z-index: 0; animation: float-3d 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.enterprise-theme #industries::before {
  content: ''; position: absolute; top: -20%; left: -10%; width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
  filter: blur(60px); z-index: 0; animation: float-3d 14s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
.enterprise-theme #industries::after {
  content: ''; position: absolute; bottom: -20%; right: -10%; width: 40%; height: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  filter: blur(60px); z-index: 0; animation: float-3d 10s ease-in-out infinite alternate;
  pointer-events: none;
}
.enterprise-theme #testimonials::before {
  content: ''; position: absolute; bottom: 0; left: 10%; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, transparent 70%);
  filter: blur(60px); z-index: 0; animation: float-3d 15s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Robust Pulsing Process Nodes using pseudo-element */
.enterprise-theme .ps-node::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px; bottom: -2px; left: -2px;
  border-radius: 50%;
  border: 3px solid rgba(37, 99, 235, 0.6);
  z-index: -1;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Ensure testi-card has the same premium hover as other cards */
.enterprise-theme .testi-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15), inset 0 0 0 1px rgba(255,255,255,0.8) !important;
}
/* Hide connecting line in process section */
.enterprise-theme .process-line {
  display: none !important;
}
/* --- ULTIMATE PREMIUM THEME UPGRADES --- */

/* 1. Gorgeous Gradient Text for Section Titles */
.enterprise-theme .section-title {
  background: linear-gradient(135deg, #0B041C 0%, #3B82F6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: none !important;
}

/* 2. Ultra-Premium Glassmorphism Cards */
.enterprise-theme .service-card, 
.enterprise-theme .why-card, 
.enterprise-theme .diff-table,
.enterprise-theme .industry-card,
.enterprise-theme .testi-card {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 3. Magnetic Hover States for Cards */
.enterprise-theme .service-card:hover, 
.enterprise-theme .why-card:hover, 
.enterprise-theme .industry-card:hover,
.enterprise-theme .testi-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.1), 0 0 0 1px rgba(59, 130, 246, 0.2), inset 0 1px 1px rgba(255, 255, 255, 1) !important;
}

/* 4. Beautiful Icon Glows */
.enterprise-theme .sc-icon-wrap, 
.enterprise-theme .why-icon, 
.enterprise-theme .ind-icon {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
  color: #255bbd !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.12), inset 0 2px 4px rgba(255, 255, 255, 0.5) !important;
  border-radius: 16px !important;
}

/* 5. Clean up section eyebrows to be premium badges */
.enterprise-theme .section-eyebrow {
  background: rgba(59, 130, 246, 0.08) !important;
  color: #255bbd !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05) !important;
  border-radius: 100px !important;
  padding: 6px 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}
/* Ensure containers sit above orbs */
.enterprise-theme #process .container,
.enterprise-theme #industries .container,
.enterprise-theme #testimonials .container {
  position: relative;
  z-index: 2;
}

/* Redesign Industry Cards to pop more */
.enterprise-theme .industry-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.8) 100%) !important;
  position: relative;
  overflow: hidden;
}

/* Add a beautiful top glowing border to industry cards */
.enterprise-theme .industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, #3B82F6, #8B5CF6, #EC4899);
  opacity: 0.8;
}

/* Add an internal subtle glow to industry cards */
.enterprise-theme .industry-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
/* --- ANIMATED CAR & HIGHWAY --- */
.enterprise-theme .animated-highway {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 2px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.enterprise-theme .highway-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4), transparent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.enterprise-theme .car-wrapper {
  position: absolute;
  top: -28px;
  left: -150px;
  width: 100px;
  height: 40px;
  animation: drive-car 6s linear infinite;
  z-index: 10;
}

.enterprise-theme .car-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 12px rgba(236, 72, 153, 0.4));
}

.enterprise-theme .car-trail {
  position: absolute;
  bottom: 10px;
  right: 90%;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8));
  filter: blur(1px);
}

.enterprise-theme .car-wrapper::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 92px;
  width: 60px;
  height: 20px;
  background: linear-gradient(90deg, rgba(254, 240, 138, 0.6), transparent);
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%);
  filter: blur(3px);
}

@keyframes drive-car {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 300px)); }
}

@media (max-width: 768px) {
  .enterprise-theme .animated-highway {
    display: none; /* Hide complex animation on small mobile screens to prevent layout bugs */
  }
}
/* --- S-CURVE ASPHALT ROAD & CAR --- */

@media (min-width: 769px) {
  /* Force fixed height on steps to ensure the S-curve road aligns perfectly */
  .enterprise-theme #process .process-step {
    height: 280px;
    z-index: 2;
  }

  /* Reorder Row 2 for Right-to-Left visual flow */
  .enterprise-theme #proc-develop { order: 6; }
  .enterprise-theme #proc-deploy  { order: 5; }
  .enterprise-theme #proc-scale   { order: 4; }

  /* The Asphalt Track U-Shape */
  .enterprise-theme .asphalt-track {
    position: absolute;
    top: 15px; /* Center is 40px (15 + 25) */
    left: 16.66%;
    width: calc(66.66% + 185px); /* Creates 160px radius */
    height: 370px; /* Gap is 40px. 360 - 40 = 320 inner. +50 = 370 outer */
    border: 50px solid #1e293b;
    border-left: none; /* Open on left */
    border-radius: 0 185px 185px 0;
    box-sizing: border-box;
    z-index: 0;
  }

  /* Dashed Yellow Line */
  .enterprise-theme .asphalt-track::before {
    content: '';
    position: absolute;
    top: -26px; /* Exactly middle of 50px border */
    bottom: -26px;
    left: 0;
    right: -26px;
    border: 2px dashed #facc15;
    border-left: none;
    border-radius: 0 161px 161px 0;
    box-sizing: border-box;
    pointer-events: none;
  }

  /* Stop-and-Go Top-Down Car */
  .enterprise-theme .proper-car-wrapper {
    position: absolute;
    top: 40px; /* Start at Row 1 Center */
    left: 16.66%; /* Start at Node 1 */
    margin-top: -15px; /* Center car (Height 30px) */
    margin-left: -30px; /* Center car (Width 60px) */
    width: 60px;
    height: 30px;
    z-index: 10;
    animation: proper-drive 14s ease-in-out infinite;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
  }

  @keyframes proper-drive {
    /* Node 1 */
    0%, 8% { top: 40px; left: 16.66%; transform: rotate(0deg); }
    /* Node 2 */
    16%, 24% { top: 40px; left: 50%; transform: rotate(0deg); }
    /* Node 3 */
    32%, 40% { top: 40px; left: 83.33%; transform: rotate(0deg); }
    
    /* Curve - Using calculated coordinates for 160px radius circle */
    43% { top: 87px; left: calc(83.33% + 113px); transform: rotate(45deg); }
    46% { top: 200px; left: calc(83.33% + 160px); transform: rotate(90deg); }
    49% { top: 313px; left: calc(83.33% + 113px); transform: rotate(135deg); }
    
    /* Node 4 (Row 2 Right) */
    52%, 60% { top: 360px; left: 83.33%; transform: rotate(180deg); }
    /* Node 5 */
    68%, 76% { top: 360px; left: 50%; transform: rotate(180deg); }
    /* Node 6 */
    84%, 92% { top: 360px; left: 16.66%; transform: rotate(180deg); }
    
    /* Drive off */
    96% { top: 360px; left: -10%; transform: rotate(180deg); opacity: 1; }
    97% { top: 360px; left: -10%; transform: rotate(180deg); opacity: 0; }
    
    /* Reset */
    99% { top: 40px; left: -10%; transform: rotate(0deg); opacity: 0; }
    100% { top: 40px; left: 16.66%; transform: rotate(0deg); opacity: 1; }
  }
}

/* Mobile View (Straight down vertical road) */
@media (max-width: 768px) {
  .enterprise-theme .process-timeline {
    display: flex;
    flex-direction: column;
  }
  .enterprise-theme #proc-develop { order: initial; }
  .enterprise-theme #proc-deploy  { order: initial; }
  .enterprise-theme #proc-scale   { order: initial; }
  
  .enterprise-theme .asphalt-track {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 100%;
    background-color: #1e293b;
    border: none;
    border-radius: 0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    z-index: 0;
  }
  .enterprise-theme .asphalt-track::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 2px; height: 100%;
    background: repeating-linear-gradient(180deg, #facc15, #facc15 20px, transparent 20px, transparent 40px);
    border: none;
    border-radius: 0;
  }

  .enterprise-theme .proper-car-wrapper {
    position: absolute;
    top: -50px;
    left: 50%;
    margin-left: -30px; 
    margin-top: -15px;
    width: 60px; height: 30px;
    transform: translateX(-50%) rotate(90deg); /* Face down */
    animation: mobile-drive 10s linear infinite;
    z-index: 10;
  }

  @keyframes mobile-drive {
    0% { top: -50px; }
    100% { top: calc(100% + 100px); }
  }
}
/* Fix positioning for z-index to work */
.enterprise-theme .process-step {
  position: relative;
  z-index: 2;
}


/* ============================================================
   HERO VIDEO FADE REDESIGN
============================================================ */
.hero.hero-dark-collage {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
}

.hero-text-content {
  position: relative;
  z-index: 10 !important;
  margin-top: 40px !important; /* Further decreased space between navbar and text */
}

.hero-tech-cluster {
  position: absolute !important;
  top: 120px !important; /* Starts just below the navbar */
  left: 0 !important;
  width: 100% !important;
  height: calc(100% - 120px) !important; /* Adjust height to match */
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 0 !important;
  z-index: 0 !important;
  pointer-events: none;
}

.htc-video.fade-edges {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.85; /* Increased visibility */
  /* This creates a beautiful smooth fade on all edges */
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0.1) 100%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0.1) 100%);
  border-radius: 0 !important; /* No hard borders */
  box-shadow: none !important;
  border: none !important;
}

/* Hide floating tags or move them to corners */
.htc-float { display: none !important; }



/* Enhancing text readability over the video background */
.hero-title.title-dark {
  font-weight: 900 !important; /* Maximum boldness */
  color: #FFFFFF !important;
  text-shadow: 0 5px 30px rgba(0,0,0,0.9), 0 2px 5px rgba(0,0,0,1), 0 0 100px rgba(0,0,0,0.7) !important;
  letter-spacing: 1px;
}
.hero-title.title-dark .text-gradient {
  text-shadow: 0 5px 20px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.9) !important;
}

.hero-desc.desc-dark {
  font-weight: 700 !important; /* Made significantly bolder */
  color: #FFFFFF !important;
  text-shadow: 0 4px 15px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,1), 0 0 50px rgba(0,0,0,0.6) !important;
}

.hero-stats-row .hs-item strong {
  font-weight: 900 !important;
  color: #FFFFFF !important;
  text-shadow: 0 4px 15px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,1) !important;
}
.hero-stats-row .hs-item span {
  font-weight: 700 !important;
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,1) !important;
}


/* ============================================================
   GLOWING TEXT ANIMATION FOR HERO
============================================================ */
@keyframes blueWhiteGlow {
  0% {
    -webkit-text-fill-color: #FFFFFF !important;
    color: #FFFFFF !important;
    text-shadow: 0 0 10px #FFFFFF, 0 0 20px rgba(76, 201, 240, 0.8), 0 0 30px rgba(76, 201, 240, 0.6) !important;
  }
  50% {
    -webkit-text-fill-color: #4CC9F0 !important;
    color: #4CC9F0 !important;
    text-shadow: 0 0 20px #4CC9F0, 0 0 40px #4CC9F0, 0 0 60px rgba(76, 201, 240, 0.8), 0 0 80px rgba(76, 201, 240, 0.5) !important;
  }
  100% {
    -webkit-text-fill-color: #FFFFFF !important;
    color: #FFFFFF !important;
    text-shadow: 0 0 10px #FFFFFF, 0 0 20px rgba(76, 201, 240, 0.8), 0 0 30px rgba(76, 201, 240, 0.6) !important;
  }
}

.hero-title.title-dark .text-gradient {
  background: none !important; 
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #FFFFFF !important;
  animation: blueWhiteGlow 3.5s ease-in-out infinite !important;
  display: inline-block; /* Ensure transforms and shadows work perfectly */
}

/* Global Footer Space Fix */
html.enterprise-theme, html {
  background-color: #050816 !important; /* Match dark footer background */
}
body.enterprise-theme {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
global-footer {
  display: block !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.enterprise-theme global-footer {
}
.enterprise-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* =======================================================================
   PREMIUM ENTERPRISE FOOTER V2
   ======================================================================= */
.new-premium-footer {
  background-color: #050511 !important; /* Dark navy */
  color: #fff !important;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  font-family: 'Inter', sans-serif; /* Or generic sans-serif */
}

/* Background Glows */
.footer-bg-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,91,189,0.15) 0%, rgba(37,91,189,0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.glow-left { top: -100px; left: -100px; }
.glow-right { bottom: -100px; right: -100px; }

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* 5 Column Grid */
.footer-grid-5 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Brand Column */
.footer-logo img { height: 100px; max-width: 100%; object-fit: contain; margin-bottom: 20px; }
.footer-description { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0 0 24px 0; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; color: rgba(255,255,255,0.8); font-size: 14px; }
.footer-contact-list li svg { width: 18px; height: 18px; color: #3b82f6; flex-shrink: 0; margin-top: 2px; }
.footer-contact-list li a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; }
.footer-contact-list li a:hover { color: #fff; }
.follow-us-text { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-social { display: flex; gap: 12px; }
.footer-social .social-link {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1);
}
.footer-social .social-link:hover {
  background: #3b82f6; border-color: #3b82f6; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(59,130,246,0.3);
}

/* Nav Columns */
.footer-nav-col .f-title { font-size: 16px; font-weight: 600; margin-bottom: 24px; letter-spacing: 1px; color: #fff; }
.footer-nav-col .f-title.mt-4 { margin-top: 32px; }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 12px; }
.f-links li a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: all 0.3s ease;
  display: inline-block; position: relative;
}
.f-links li a:hover { color: #fff; transform: translateX(5px); text-shadow: 0 0 8px rgba(255,255,255,0.5); }
.f-links li a::before {
  content: '→'; position: absolute; left: -15px; opacity: 0; color: #3b82f6; transition: all 0.3s ease;
}
.f-links li a:hover::before { opacity: 1; left: -20px; }

/* CTA Card */
.footer-cta-card {
  background: rgba(255,255,255,0.03); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); transition: transform 0.3s ease;
}
.footer-cta-card:hover { transform: translateY(-5px); border-color: rgba(59,130,246,0.3); }
.footer-cta-card h3 { font-size: 24px; margin-bottom: 10px; font-weight: 700; }
.footer-cta-card .highlight { color: #3b82f6; }
.footer-cta-card p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.f-cta-form .input-wrap { position: relative; margin-bottom: 16px; }
.f-cta-form input {
  width: 100%; padding: 12px 16px 12px 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.2); color: #fff; outline: none; transition: border 0.3s;
}
.f-cta-form input:focus { border-color: #3b82f6; }
.f-cta-form .input-wrap svg { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; color: rgba(255,255,255,0.5); }
.f-cta-form .btn-primary {
  width: 100%; padding: 12px; background: linear-gradient(135deg, #3b82f6, #2563eb); border: none; border-radius: 8px;
  color: #fff; font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.f-cta-form .btn-primary:hover { box-shadow: 0 0 15px rgba(59,130,246,0.5); }
.f-call-direct { margin-top: 20px; text-align: center; font-size: 14px; color: rgba(255,255,255,0.6); }
.f-call-direct a { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; color: #3b82f6; font-weight: 600; text-decoration: none; transition: color 0.3s; }
.f-call-direct a:hover { color: #60a5fa; text-shadow: 0 0 8px rgba(96,165,250,0.5); }

/* Statistics Strip */
.footer-stats-strip {
  display: flex; justify-content: space-between; align-items: center; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 40px;
}
.stat-item { display: flex; align-items: center; gap: 16px; }
.footer-stats-strip .stat-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(59,130,246,0.1) !important; color: #3b82f6 !important; display: flex; align-items: center; justify-content: center; }
.footer-stats-strip .stat-icon svg { width: 24px; height: 24px; }
.footer-stats-strip .stat-data { display: flex; flex-direction: column; }
.footer-stats-strip .stat-num { font-size: 28px; font-weight: 700; color: #fff; }
.footer-stats-strip .stat-plus { font-size: 24px; font-weight: 700; color: #3b82f6; }
.footer-stats-strip .stat-label { font-size: 14px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.footer-stats-strip .stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* Partners Section */
.footer-partners-section { text-align: center; margin-bottom: 60px; }
.partners-title { font-size: 14px; color: rgba(255,255,255,0.5); letter-spacing: 2px; margin-bottom: 30px; font-weight: 600; }
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }
.partner-logo { font-size: 18px; font-weight: 500; font-family: 'Inter', sans-serif; transition: all 0.3s; cursor: default; display: flex; align-items: center; justify-content: center; color: #ffffff; }
.partner-logo img { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.partner-logo:hover img { transform: scale(1.1); filter: brightness(1.2); }
.partner-logo:hover { text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.partner-text { margin-top: 2px; }

/* Bottom Bar */
.footer-bottom-bar {
  display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; color: rgba(255,255,255,0.5);
}
.fb-center { display: flex; align-items: center; gap: 6px; }
.fb-center svg { width: 16px; height: 16px; color: #ef4444; }
.fb-right { display: flex; gap: 20px; }
.fb-right a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s; }
.fb-right a:hover { color: #fff; }

/* Back to Top */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%;
  background: #3b82f6; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(59,130,246,0.4); opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 1000;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: #2563eb; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(59,130,246,0.6); }

/* Responsiveness */
@media (max-width: 1200px) {
  .footer-grid-5 { grid-template-columns: 1fr 1fr 1fr; }
  .footer-cta-card { grid-column: span 3; margin-top: 30px; }
  .stat-divider { display: none; }
  .footer-stats-strip { flex-wrap: wrap; justify-content: center; gap: 30px; }
}
@media (max-width: 768px) {
  .footer-grid-5 { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .footer-brand { grid-column: span 2; }
  .footer-nav-col { grid-column: span 1; }
  .footer-nav-col:nth-child(4) { grid-column: span 2; }
  .footer-cta-card { grid-column: span 2; }
  .footer-stats-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 15px; }
  .stat-item { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom-bar { flex-direction: column; gap: 16px; text-align: center; }
  .partners-grid { gap: 20px; justify-content: center; }
}

/* ============================================================
   ACTIVE NAV LINK STYLES
============================================================ */
/* Force all active nav links to the pill style with a border */
.enterprise-theme .nav-link.active,
.nav-link.active {
  background: rgba(0, 87, 255, 0.1) !important;
  border: 1px solid #255bbd !important;
  border-radius: 100px !important;
  padding: 8px 16px !important;
}
.enterprise-theme .nav-link.active::after,
.nav-link.active::after {
  display: none !important; /* Hide the old underline */
}
.enterprise-theme .nav-link.active svg,
.nav-link.active svg {
  color: currentColor !important;
  stroke: currentColor !important;
}
.enterprise-theme .navbar.scrolled .nav-link.active {
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  color: #0F172A !important;
}

/* Services Mega Menu Active */
.mega-menu--services .mega-link.active {
  background: rgba(0,212,255,0.06);
}
.mega-menu--services .mega-link.active .mega-link-content span {
  color: #00d4ff;
}
.mega-menu--services .mega-link.active .mega-link-icon {
  background: rgba(0, 87, 255, 0.1);
  color: var(--c-cyan);
}

/* Company Mega Menu Active */
.mega-menu--company .mega-link.active {
  background: rgba(99,102,241,0.06);
}
.mega-menu--company .mega-link.active .mega-link-content span {
  color: #6366f1;
}

/* Industries Mega Menu Active */
.mega-menu--industries .mega-link.active {
  background: rgba(99,102,241,0.06);
}
.mega-menu--industries .mega-link.active .mega-link-content span {
  color: #6366f1;
}

/* General fallback active for other mega menus */
.mega-link.active {
  background: rgba(0,212,255,0.06);
}
.mega-link.active .mega-link-content span {
  color: #00d4ff !important;
}
.mega-link.active .mega-link-icon {
  background: rgba(0, 87, 255, 0.1) !important;
  color: var(--c-cyan) !important;
}

/* ============================================================
   IMMERSIVE SEO FEATURE CARDS
============================================================ */
.immersive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .immersive-grid {
    grid-template-columns: 1fr;
  }
}

.immersive-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.immersive-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 87, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.immersive-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 15, 36, 0.95) 0%, rgba(0, 15, 36, 0.6) 50%, rgba(0, 15, 36, 0.1) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.immersive-card:hover .immersive-overlay {
  background: linear-gradient(to top, rgba(0, 15, 36, 0.95) 0%, rgba(0, 15, 36, 0.7) 50%, rgba(0, 15, 36, 0.3) 100%);
}

.immersive-content {
  position: relative;
  z-index: 2;
}

.immersive-content .ai-card-icon {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.immersive-content .ai-card-icon svg {
  width: 30px;
  height: 30px;
  stroke: #00d4ff !important;
}

.immersive-content .ai-card-icon svg path,
.immersive-content .ai-card-icon svg circle {
  stroke: #00d4ff !important;
}

.immersive-content h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.immersive-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   IMMERSIVE CARDS FIX (GRID & CONTINUOUS FLOAT)
============================================================ */
@keyframes smoothFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.ai-feature-grid.immersive-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 30px !important;
  margin-top: 40px !important; 
}

@media (max-width: 991px) {
  .ai-feature-grid.immersive-grid {
    grid-template-columns: 1fr !important;
  }
}

.ai-feature-grid.immersive-grid .immersive-card {
  min-height: 380px !important;
  margin-top: 0 !important; 
  animation: smoothFloat 5s ease-in-out infinite;
  transition: box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.ai-feature-grid.immersive-grid .immersive-card:nth-child(1) { animation-delay: 0s; }
.ai-feature-grid.immersive-grid .immersive-card:nth-child(2) { animation-delay: 1.2s; }
.ai-feature-grid.immersive-grid .immersive-card:nth-child(3) { animation-delay: 2.4s; }
.ai-feature-grid.immersive-grid .immersive-card:nth-child(4) { animation-delay: 3.6s; }

.ai-feature-grid.immersive-grid .immersive-card:hover {
  animation-play-state: paused !important;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4) !important;
  border-color: rgba(0, 212, 255, 0.6) !important;
}

.ai-card.immersive-card h3 {
  color: #ffffff !important;
  position: relative;
  z-index: 10;
}

.ai-card.immersive-card p {
  color: rgba(255, 255, 255, 0.9) !important;
  position: relative;
  z-index: 10;
}

/* ============================================================
   REDUCE VERTICAL SPACING BETWEEN SECTIONS
============================================================ */
.ai-features {
  padding-bottom: 30px !important;
}

.ai-benefits {
  padding-top: 40px !important;
}

/* ============================================================
   REVEAL LEFT ANIMATION
============================================================ */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Global Responsive Fallbacks */
@media (max-width: 992px) {
  .hero-split, .why-split, .metrics-split, .split-section, .two-col-layout,
  .benefits-layout, .expertise-layout, .process-layout, .exp-layout, .why-layout,
  .ent-hero-layout, .intro-grid, .growth-grid, .bento-grid, .bento-stagger-grid,
  .services-bento-grid, .choose-grid, .approach-grid, .tailored-grid,
  .grid-2, .grid-3, .grid-4, .srv-grid, .sol-grid, .cap-grid, .services-grid, 
  .features-grid, .process-steps, .stats-strip, .industries-grid-revamp, 
  .tech-ecosystem-grid, .blog-grid-revamp, .retail-grid, .phone-grid, .cloud-grid,
  .jm-bento, .jm-stats, .l-approach-grid, .l-features, .puzzle-row, .bento-grid-main,
  .eco-bento-glass, .cloud-hero-content, .hero-mosaic, .masonry-grid {
    grid-template-columns: 1fr !important;
  }
  
  .mega-menu {
    position: static;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 10px 0 10px 15px;
    border-left: 2px solid rgba(37, 99, 235, 0.3);
  }
  
  /* When hovering over the nav-item on mobile, show mega-menu (handled by CSS or JS, fallback to hover for now or assume user clicks) */
  .nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.8rem !important; line-height: 1.3 !important; }
  h3 { font-size: 1.4rem !important; line-height: 1.4 !important; }
  p { font-size: 1rem !important; }
  
  section { padding: 60px 20px !important; }
  .hero-section, .hero-split, .uiux-hero-inner, .jm-hero-inner, .py-hero-inner, .wp-hero-inner {
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    min-height: auto !important;
  }
}

/* Additional Global Responsive Grids */
@media (max-width: 992px) {
  .timeline-grid, .cms-hero-grid, .phone-carousel-layout, .bento-row-bottom,
  .vp-split-grid, .vp-bento-grid, .cta-island, .wp-glass-grid-layout, .wp-scale-grid,
  .dp-split, .mag-split, .device-grid, .story-grid, .arch-grid, .form-row,
  .lt-hero-grid, .bp-hero-inner, .hero-side-grid, .analytics-row, .growth-visual,
  .wp-benefits, .wp-services-grid, .hero-container, .hero-bubble-layout,
  .py-hero-inner, .py-benefits, .py-services-grid, .py-fw-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Specific Mobile Fix for Mega Menu Overrides */
@media (max-width: 992px) {
  .mega-menu {
    background-image: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 2px solid rgba(37, 99, 235, 0.3) !important;
    border-radius: 0 !important;
    padding: 10px 0 10px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .nav-item:hover .mega-menu, .nav-item.mobile-active .mega-menu, .nav-item:focus-within .mega-menu {
    display: grid !important;
  }

  .mega-menu--services, .mega-menu--company, .mega-menu--industries, .mega-menu {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .mega-col {
    padding: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
  }
  
  .mega-col:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* Off-Canvas Mobile Menu */
@media (max-width: 992px) {
  /* Override the old absolute position from style.css/components.css */
  .enterprise-theme .nav-links, .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important; /* Start off-screen */
    left: auto !important;
    width: 320px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 80px 20px 30px !important; /* Top padding for close button/hamburger */
    overflow-y: auto !important;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1) !important;
    clip-path: none !important; /* Remove old polygon clip-path */
    z-index: 1000 !important;
  }
  
  .enterprise-theme .nav-links.open, .nav-links.open {
    right: 0 !important;
  }
  
  .nav-item {
    width: 100% !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  }
  
  .nav-link {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 15px 0 !important;
    font-size: 1.1rem !important;
  }
  
  /* Reset mega-menu completely for accordion */
  .nav-item .mega-menu {
    display: none !important; /* Hidden by default */
    position: static !important;
    width: 100% !important;
    max-height: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 0 15px !important;
    transition: max-height 0.4s ease, padding 0.4s ease !important;
    opacity: 0 !important;
  }
  
  /* When JS adds .accordion-open to the nav-item */
  .nav-item.accordion-open .mega-menu {
    display: grid !important;
    max-height: 2000px !important; /* Big enough to fit contents */
    padding-bottom: 15px !important;
    opacity: 1 !important;
  }
  
  /* Force columns inside mega menu to stack */
  .mega-menu--services, .mega-menu--company, .mega-menu--industries {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  
  .mega-col {
    padding: 0 !important;
    border: none !important;
    margin-bottom: 10px !important;
  }
  
  .mega-col h4 {
    margin-bottom: 10px !important;
    font-size: 0.95rem !important;
  }
  
  .mega-link {
    padding: 8px 0 !important;
    justify-content: flex-start !important;
  }
  
  /* Prevent hover from triggering old menu on mobile */
  .nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu {
    display: none !important;
  }
  .nav-item.accordion-open:hover .mega-menu, .nav-item.accordion-open:focus-within .mega-menu {
    display: grid !important;
  }
  
  /* Keep hamburger above the drawer */
  .hamburger {
    position: relative !important;
    z-index: 1001 !important;
  }
}

/* Mobile Menu Text Color Fix */
@media (max-width: 992px) {
  .enterprise-theme .nav-link, .nav-link {
    color: #111827 !important;
  }
  .enterprise-theme .nav-link svg, .nav-link svg {
    stroke: #111827 !important;
  }
}

/* Hero Buttons Mobile Layout Fix */
@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
  }
  .hero-buttons .btn {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Additional Mobile Fixes (Left Clip + Hero Button Overflow) */
@media (max-width: 992px) {
  .mega-col {
    align-items: flex-start !important;
  }
}

@media (max-width: 640px) {
  .hero-buttons {
    width: auto !important;
    box-sizing: border-box !important;
  }
  .hero-buttons .btn {
    width: auto !important;
    box-sizing: border-box !important;
  }
}

/* Fix Mega Menu Transform on Mobile */
@media (max-width: 992px) {
  .nav-item .mega-menu, .mega-menu {
    transform: none !important;
    left: 0 !important;
  }
}

/* Definitive Hero Buttons Mobile Fix */
@media (max-width: 640px) {
  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
  }
  .hero-buttons .btn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 15px 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
  }
}

/* Ultimate Hero Button Fit */
@media (max-width: 640px) {
  .hero-buttons {
    width: 90vw !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    align-items: stretch !important;
  }
  .hero-buttons .btn {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    white-space: normal !important; /* In case text is too long */
  }
}

/* Global Mobile Overflow Fix */
@media (max-width: 992px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .hero-content, .hero {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-content h1, .hero-content p, .hero-headline {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* Re-adjust buttons to be centered correctly in the fixed container */
@media (max-width: 640px) {
  .hero-buttons {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    align-self: center !important; /* Force center in flex parent */
  }
}


/* Index Page Mobile Width Fixes */
@media (max-width: 768px) {
  /* Fix the stats row overflowing */
  .hero-stats-row, .hero-stats {
    flex-wrap: wrap !important;
    gap: 15px !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-stats-row .hs-item, .hero-stats .hs-item {
    width: 45% !important;
    text-align: center !important;
    padding: 10px !important;
    box-sizing: border-box !important;
  }
  
  /* Fix the navbar width and paddings */
  .enterprise-theme .navbar, .navbar {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Force minimum widths off so flex items can shrink */
  .hero-content, .hero-content * {
    min-width: 0 !important;
  }
}



/* ==========================================================================
   GLOBAL LAPTOP RESPONSIVENESS FIX
   Ensures containers do not overflow on medium-to-large laptop screens (1024px to 1440px)
   Without affecting mobile layout or content.
   ========================================================================== */
@media screen and (min-width: 769px) and (max-width: 1440px) {
    /* Prevent horizontal scrolling globally on laptops */
    html, body {
        overflow-x: hidden !important;
        width: 100%;
    }

    /* Force all major containers to stay within viewport and maintain padding */
    [class*="container"], 
    [class*="-inner"], 
    [class*="-wrapper"], 
    .nav-links {
        max-width: 94vw !important;
        padding-left: 3vw !important;
        padding-right: 3vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* Ensure grids and flex containers don't force overflow */
    [class*="-grid"], [class*="-flex"], [class*="-row"] {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1440px) {
    .hero-intro-text {
        padding-bottom: 140px !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1440px) {
    /* Scale down the Our Focus Areas box to prevent clashing on any laptop */
    .fs-3 {
        transform: scale(0.75) !important;
        transform-origin: bottom right !important;
        right: 1% !important;
        bottom: 5% !important;
    }
}
