/* Core utility helpers (additive to Tailwind) */
/* Enhanced Navbar Styles */
.nav-glass { 
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%); 
    backdrop-filter: blur(25px); 
    border: 2px solid rgba(255,255,255,0.8); 
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.1),
        0 8px 25px rgba(37,99,235,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-link { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.75rem; 
    padding: 0.75rem 1rem; 
    border-radius: 1rem; 
    color: #0f172a; 
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.1), transparent);
    transition: left 0.5s ease;
}

.menu-link:hover::before {
    left: 100%;
}

.menu-link:hover { 
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%); 
    box-shadow: 
        0 12px 25px rgba(37,99,235,0.15),
        0 4px 12px rgba(37,99,235,0.08);
    transform: translateY(-2px) scale(1.02);
    color: #2563eb;
    font-weight: 700;
}

.mega-item { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    padding: 1.25rem; 
    border-radius: 1.5rem; 
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.6) 100%); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226,232,240,0.4);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mega-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.1), transparent);
    transition: left 0.6s ease;
}

.mega-item:hover::before {
    left: 100%;
}

.mega-item:hover { 
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%); 
    box-shadow: 
        0 20px 40px rgba(59,130,246,0.15),
        0 8px 20px rgba(59,130,246,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(59,130,246,0.3);
/* Enhanced Text Hover Effects */
.text-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.text-hover-effect::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.text-hover-effect:hover::after {
    width: 100%;
}

.text-hover-effect:hover {
    color: #3b82f6;
    transform: translateY(-1px);
    text-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

/* Enhanced Button Hover Effects */
.btn-hover-glow {
    position: relative;
    overflow: hidden;
}

.btn-hover-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-hover-glow:hover::before {
    left: 100%;
}

/* Animated Underline Effect */
.animated-underline {
    position: relative;
    text-decoration: none;
}

.animated-underline::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ef4444, #8b5cf6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.animated-underline:hover::before {
    width: 100%;
}

.animated-underline:hover {
    color: #8b5cf6;
    transform: translateY(-2px);
}
.icon-btn { width:40px; height:40px; display:grid; place-items:center; border-radius: .9rem; background: rgba(255,255,255,.85); border:1px solid rgba(255,255,255,.7); backdrop-filter: blur(10px); box-shadow: 0 10px 20px rgba(37,99,235,.15); transition: transform .2s ease, box-shadow .2s ease; color:#1e3a8a; }
.icon-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(37,99,235,.25); color:#2563eb; }
.cart-link .badge { position:absolute; top:-6px; right:-6px; min-width:20px; height:20px; padding:0 6px; display:grid; place-items:center; border-radius:9999px; font-size:11px; font-weight:700; background:#2563eb; color:#fff; box-shadow: 0 0 12px rgba(37,99,235,.45); }

.btn-primary { display:inline-flex; align-items:center; justify-content:center; padding:.7rem 1rem; border-radius: .9rem; background:#2563eb; color:#fff; box-shadow: 0 10px 25px rgba(37,99,235,.35); border:1px solid rgba(255,255,255,.6); transition: all .25s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(37,99,235,.45); }
.btn-white { display:inline-flex; align-items:center; justify-content:center; padding:.7rem 1rem; border-radius:.9rem; background:#fff; color:#1f2937; border:1px solid rgba(226,232,240,.9); box-shadow: 0 8px 20px rgba(0,0,0,.05); transition: all .25s ease; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }

.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }

/* Title accent underline */
.section-title{ position:relative; }
.section-title::after{ content:""; position:absolute; left:0; bottom:-8px; width:84px; height:4px; border-radius:9999px; background: linear-gradient(90deg,#2563eb,#4f46e5,#9333ea); box-shadow: 0 6px 16px rgba(99,102,241,.35); }

/* Orbit ring & icons */
.orbit-ring { width: 88%; height: 88%; border-radius: 9999px; border: 2px dashed rgba(37,99,235,.35); animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

#orbit-icons .icon-dot { position: absolute; width: 42px; height: 42px; display:grid; place-items:center; border-radius:9999px; background: rgba(255,255,255,.85); color:#1e3a8a; box-shadow: 0 8px 18px rgba(99,102,241,.25); backdrop-filter: blur(8px); border:1px solid rgba(255,255,255,.7); }

/* UI glowing dots background */
#bg-dots span { position:absolute; width:8px; height:8px; border-radius:9999px; background: rgba(99,102,241,.35); box-shadow: 0 0 18px rgba(99,102,241,.45); filter: blur(.2px); animation: slowMove 14s linear infinite; }
@keyframes slowMove { 0% { transform: translateY(0); opacity:.5 } 50% { opacity:.9 } 100% { transform: translateY(-30px); opacity:.4 } }

/* Services pills */
.ui-pill { padding:.8rem 1.3rem; border-radius: 9999px; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border:1px solid rgba(255,255,255,.7); box-shadow: 0 10px 22px rgba(37,99,235,.15); transition: transform .25s ease, box-shadow .25s ease; }
.ui-pill:hover { transform: translateY(-3px); box-shadow: 0 15px 34px rgba(37,99,235,.28); color:#2563eb; }

/* Product cards */
.product-card { border-radius: 1.25rem; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border:1px solid rgba(255,255,255,.7); box-shadow: 0 15px 35px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 25px 45px rgba(37,99,235,.25); }

/* Neon carousel cards */
.neon-card { border-radius: 1.1rem; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border:1px solid rgba(255,255,255,.7); transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 0 0 rgba(99,102,241,0); }
.neon-card:hover { transform: translateY(-4px); box-shadow: 0 0 24px rgba(99,102,241,.6); }
.no-scrollbar::-webkit-scrollbar { display:none; }

/* Team card */
.team-card { border-radius: 1.25rem; overflow: hidden; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border:1px solid rgba(255,255,255,.7); box-shadow: 0 12px 28px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(37,99,235,.18); }

/* Enhanced Modal-Style Components */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Service Cards Enhanced */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.service-card .tech-tag {
  transition: all 0.3s ease;
}

.service-card:hover .tech-tag {
  transform: scale(1.05);
}

/* Coming Soon Cards */
.coming-soon-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.coming-soon-card:hover {
  transform: translateY(-12px) rotateY(5deg);
}

/* Future Product Cards */
.future-product-card {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  perspective: 1000px;
}

.future-product-card:hover {
  transform: translateY(-10px) rotateX(5deg);
}

/* Animated Backgrounds */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
  50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Enhanced Hover Effects */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Progress Bars */
.progress-bar {
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

/* Particle Effects */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.particle-1 {
  width: 4px;
  height: 4px;
  background: #8b5cf6;
  animation: float 3s ease-in-out infinite;
}

.particle-2 {
  width: 2px;
  height: 2px;
  background: #ec4899;
  animation: float 4s ease-in-out infinite reverse;
}

.particle-3 {
  width: 3px;
  height: 3px;
  background: #06b6d4;
  animation: float 5s ease-in-out infinite;
}

/* Timeline Enhancements */
.timeline-item {
  position: relative;
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: scale(1.05);
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-item:hover::before {
  opacity: 1;
}

/* Interactive Elements */
.interactive-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.interactive-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.interactive-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Glassmorphism Effects */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card-dark {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .service-card:hover,
  .coming-soon-card:hover,
  .future-product-card:hover {
    transform: translateY(-4px);
  }
  
  .coming-soon-card:hover {
    transform: translateY(-4px) rotateY(0deg);
  }
  
  .future-product-card:hover {
    transform: translateY(-4px) rotateX(0deg);
  }
}

/* Inputs */
.input-glass { padding:.8rem 1rem; border-radius:.9rem; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border:1px solid rgba(226,232,240,.9); box-shadow: 0 8px 20px rgba(0,0,0,.05); width:100%; }

/* Footer links */
.footer-title { font-weight:800; margin-bottom:.5rem; }
.footer-links li a { color:#1f2937; display:inline-block; padding:.35rem .2rem; border-radius:.6rem; }
.footer-links li a:hover { color:#2563eb; box-shadow: 0 6px 16px rgba(37,99,235,.12); }

/* Reveal on scroll */
.reveal { opacity:0; transform: translateY(18px); transition: all .6s ease; }
.reveal.visible { opacity:1; transform: none; }