/* Selvix Technology - Premium custom global styles */
:root {
  --primary-color: #0044FF;
  --primary-hover: #002ecc;
  --bg-dark: #020516;
  --bg-card-dark: #0A0F2C;
  --text-dark: #0A0F2C;
  --text-muted: #64748b;
  --accent-blue: #3b82f6;
  --success-color: #00E676;
}

/* Custom fonts setup and resets */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #FAFCFF;
  color: #334155;
}

/* Glass navigation overlay */
.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hide scrollbars for slick layouts */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Infinitive horizontal marquee animation */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-slide {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-slide:hover {
  animation-play-state: paused;
}

/* Fade-in up entrance transition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Subtle pulse animation for glowing badges */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.95;
  }
}

.animate-pulse-soft {
  animation: softPulse 3s ease-in-out infinite;
}

/* Glow effects */
.glow-primary {
  box-shadow: 0 10px 30px rgba(0, 68, 255, 0.12);
}

.glow-logo {
  box-shadow: 0 12px 30px rgba(0, 68, 255, 0.2);
  border: 4px solid rgba(0, 68, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 68, 255, 0.3);
}

/* Customized scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Custom service card hovering effects */
.service-hover-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-hover-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 68, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 68, 255, 0.06);
}

/* Scroll reveal animation classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Signature dot line component */
.title-dot-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.title-dot-line::after {
  content: '';
  display: inline-block;
  height: 2px;
  width: 42px;
  background-color: #0044FF;
  position: relative;
  border-radius: 99px;
  margin-left: 6px;
}

/* Carousel swipe track */
.swipe-carousel-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.swipe-carousel-item {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Dots pagination indicator */
.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background-color: #cbd5e1;
  transition: all 0.3s ease;
}

.dot-indicator.active {
  width: 24px;
  background-color: #0044FF;
}

.chat-message-bubble {
  max-width: 82%;
  border-radius: 20px;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-message-bubble.ai {
  background: white;
  border: 1px solid rgba(0, 68, 255, 0.08);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.chat-message-bubble.user {
  background: #0044FF;
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 68, 255, 0.15);
}

/* Mission Marquee Horizontal Animation */
@keyframes missionMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.mission-marquee-slide {
  display: flex;
  width: max-content;
  animation: missionMarquee 22s linear infinite;
}

.mission-marquee-slide:hover {
  animation-play-state: paused;
}

/* Persistent Touch & Pointer Indicator (Outer Ring + Solid Blue Center Dot) */
#cursor-follower {
  position: fixed;
  top: 16px;
  left: 50%;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid #0044FF;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 0 10px rgba(0, 68, 255, 0.3);
  transition: left 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              top 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              width 0.2s ease, 
              height 0.2s ease, 
              background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease;
  will-change: left, top, width, height;
}

/* Inner Solid Blue Core Dot */
#cursor-follower::after {
  content: '';
  width: 5px;
  height: 5px;
  background-color: #0044FF;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 68, 255, 0.9);
  transition: transform 0.2s ease;
}

#cursor-follower.touch-active {
  width: 36px;
  height: 36px;
  background: rgba(150, 180, 255, 0.85);
  border: 1px solid rgba(0, 68, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 68, 255, 0.4);
}

#cursor-follower.touch-active::after {
  transform: scale(2.2);
  background-color: #0044FF;
  opacity: 0.9;
}

/* Smooth 360-degree rotation animation on icons when clicked */
i[data-lucide], svg {
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

