/* ==========================================================================
   LAKSHYA SOFTECH - HIGH-END PREMIUM STYLESHEET WITH GLOW ("CHAMAK")
   Font Family: Outfit, sans-serif
   Creative Direction: Apple + Stripe + Linear + Vercel (Ultra Glow Edition)
   ========================================================================== */

/* Import Google Font - Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-primary: #0B1F52;
  --color-secondary: #1E3A8A;
  --color-accent: #2563EB;
  --color-light-blue: #60A5FA;
  --color-bg: #0A122C; /* Navy Blue Base */
  --color-text-dark: #F8FAFC;
  --font-sans: 'Outfit', sans-serif;
  --glow-primary: rgba(37, 99, 235, 0.22);
  --glow-secondary: rgba(96, 165, 250, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
  letter-spacing: -0.01em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0A122C;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 6px;
  border: 2px solid #0A122C;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

/* --------------------------------------------------------------------------
   CUSTOM CURSOR (NEON GLOW)
   -------------------------------------------------------------------------- */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 12px var(--color-accent), 0 0 20px var(--color-light-blue);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(37, 99, 235, 0.5);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  box-shadow: inset 0 0 8px rgba(37, 99, 235, 0.1), 0 0 15px rgba(96, 165, 250, 0.1);
  transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
}

/* Hover State */
.cursor-hover .custom-cursor {
  width: 14px;
  height: 14px;
  background-color: var(--color-light-blue);
  box-shadow: 0 0 15px var(--color-light-blue), 0 0 30px var(--color-accent);
}
.cursor-hover .custom-cursor-follower {
  width: 64px;
  height: 64px;
  border-color: var(--color-light-blue);
  background-color: rgba(37, 99, 235, 0.08);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.2);
}

@media (max-width: 1024px) {
  .custom-cursor, .custom-cursor-follower {
    display: none;
  }
  body {
    cursor: auto !important;
  }
}

/* --------------------------------------------------------------------------
   SCROLL PROGRESS BAR (NEON STREAK)
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-light-blue), var(--color-accent));
  background-size: 200% auto;
  z-index: 10000;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.5), 0 0 20px rgba(96, 165, 250, 0.3);
  animation: shineGlow 3s linear infinite;
}

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

/* --------------------------------------------------------------------------
   GLASSMORPHISM & PREMIUM GLOWS ("CHAMAK")
   -------------------------------------------------------------------------- */
.glass-navbar {
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 30px rgba(11, 31, 82, 0.02), inset 0 1px 0 rgba(255,255,255,0.6);
}

.glass-navbar.scrolled {
  background: rgba(11, 31, 82, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(11, 31, 82, 0.25), 0 0 30px rgba(37, 99, 235, 0.15);
}

.glass-card {
  background: rgba(11, 31, 82, 0.35); /* Transparent Navy */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(11, 31, 82, 0.25), 0 2px 10px rgba(11, 31, 82, 0.15);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-8px);
  background: rgba(11, 31, 82, 0.55); /* Darker transparent navy hover */
  box-shadow: 0 30px 60px rgba(11, 31, 82, 0.35), 0 0 35px rgba(37, 99, 235, 0.25);
  border-color: rgba(96, 165, 250, 0.4);
}

.dark-glass-card {
  background: rgba(11, 31, 82, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Stronger Ambient Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35; /* Increased opacity for absolute chamak */
  pointer-events: none;
  z-index: 0;
}

.glow-orb-primary {
  background: radial-gradient(circle, var(--color-accent) 0%, rgba(37, 99, 235, 0) 70%);
}

.glow-orb-secondary {
  background: radial-gradient(circle, var(--color-light-blue) 0%, rgba(96, 165, 250, 0) 70%);
}

/* Mouse Follow Ambient Glow */
.mouse-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(96, 165, 250, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.6s ease;
  opacity: 0;
}

/* --------------------------------------------------------------------------
   SHIMMER BUTTONS & NEON LINKS
   -------------------------------------------------------------------------- */
.btn-ripple {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25), 0 0 15px rgba(96, 165, 250, 0.15);
}

.btn-ripple::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s;
  transform: skewX(-25deg);
}

.btn-ripple:hover::before {
  left: 150%;
  transition: left 0.6s ease-in-out;
}

.btn-ripple:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45), 0 0 25px rgba(96, 165, 250, 0.3);
}

.btn-ripple-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12), 0 0 15px rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.glow-card {
  position: relative;
  background: rgba(11, 31, 82, 0.35); /* Transparent Navy */
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(226,232,240,0.8), rgba(226,232,240,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glow-card:hover {
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 30px 65px rgba(11, 31, 82, 0.05), 0 0 35px rgba(37, 99, 235, 0.18), 0 0 15px rgba(96, 165, 250, 0.1);
}

.glow-card:hover::after {
  background: linear-gradient(135deg, var(--color-accent), var(--color-light-blue));
}

/* --------------------------------------------------------------------------
   BACKGROUNDS & GRIDS (LINEAR SHINE)
   -------------------------------------------------------------------------- */
.moving-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 80%);
}

.moving-grid-animate {
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 60px 60px;
  }
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY & HIGH-CONTRAST GRADIENTS
   -------------------------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 10%, var(--color-accent) 60%, var(--color-light-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(37, 99, 235, 0.1));
}

.gradient-text-light {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--color-light-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(96, 165, 250, 0.3));
}

/* --------------------------------------------------------------------------
   ANIMATIONS & FLOAT KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1.5deg);
  }
}

@keyframes float-reverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(12px) rotate(-1.5deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1) translate(0px, 0px);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.1) translate(10px, -10px);
  }
}

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

.animate-float-2 {
  animation: float-reverse 7s ease-in-out infinite;
}

.animate-float-3 {
  animation: float 5s ease-in-out infinite;
  animation-delay: 1s;
}

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

/* --------------------------------------------------------------------------
   SCROLLING MARQUEE
   -------------------------------------------------------------------------- */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  width: 100%;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg) 0%, rgba(248, 250, 252, 0) 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg) 0%, rgba(248, 250, 252, 0) 100%);
}

.marquee-content {
  display: flex;
  gap: 80px;
  flex-shrink: 0;
  min-width: 100%;
  justify-content: space-around;
  animation: scrollMarquee 40s linear infinite;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

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

/* --------------------------------------------------------------------------
   DEVELOPMENT PROCESS TIMELINE (GLOWING PATH)
   -------------------------------------------------------------------------- */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(226, 232, 240, 0.8);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-progress-bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent), var(--color-light-blue));
  transform: translateX(-50%);
  height: 0%;
  z-index: 2;
  transition: height 0.1s ease-out;
  box-shadow: 0 0 15px var(--color-light-blue), 0 0 30px var(--color-accent);
}

@media (max-width: 768px) {
  .timeline-line, .timeline-progress-bar {
    left: 24px;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35), 0 0 15px rgba(96, 165, 250, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-4px);
  background-color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(11, 31, 82, 0.35), 0 0 25px rgba(37, 99, 235, 0.3);
}

/* --------------------------------------------------------------------------
   OWL CAROUSEL PREV/NEXT OVERRIDES
   -------------------------------------------------------------------------- */
.owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  background: #E2E8F0;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--color-accent);
}

.owl-nav button {
  background: white !important;
  color: var(--color-primary) !important;
  width: 46px;
  height: 46px;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  font-size: 1.1rem !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(226, 232, 240, 0.6) !important;
}

.owl-nav button:hover {
  background: var(--color-accent) !important;
  color: white !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25), 0 0 15px rgba(96, 165, 250, 0.15);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   TECH STACK CARD ANIMATIONS (NEON HOVER SHINE)
   -------------------------------------------------------------------------- */
.tech-icon-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-icon-card:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25), 0 0 25px rgba(96, 165, 250, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(30, 58, 138, 0.25);
}

.tech-icon-card:hover i, 
.tech-icon-card:hover span {
  color: var(--color-light-blue);
  filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.8));
}

.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   LENIS SMOOTH SCROLL INTEGRATION
   -------------------------------------------------------------------------- */
html.lenis {
  height: auto;
}

.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis-stopped {
  overflow: hidden;
}

.lenis-scrolling iframe {
  pointer-events: none;
}

/* ==========================================================================
   FLOATING WHATSAPP & CALL CONTACT BUTTONS (RIGHT CENTER)
   ========================================================================== */
.floating-contact-container {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.15) translateY(-2px);
}

/* Premium WhatsApp Green Gradient with Glow */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35), 0 0 10px rgba(37, 211, 102, 0.2);
  animation: wa-pulse 3s infinite;
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 20px rgba(37, 211, 102, 0.3);
}

/* Premium Blue Gradient (Call Button) with Glow */
.btn-call {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35), 0 0 10px rgba(59, 130, 246, 0.2);
  animation: call-pulse 3s infinite;
  animation-delay: 1.5s;
}

.btn-call:hover {
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5), 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Premium Tooltip styling */
.floating-btn .contact-tooltip {
  position: absolute;
  right: 62px;
  background: rgba(11, 31, 82, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #F8FAFC;
  padding: 6px 12px;
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.floating-btn:hover .contact-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Pulsing Outer Ring Animations */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35), 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes call-pulse {
  0% {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35), 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35), 0 0 0 12px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35), 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Responsive adjustment for Mobile screens */
@media (max-width: 480px) {
  .floating-contact-container {
    right: 12px;
    gap: 10px;
  }
  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .floating-btn .contact-tooltip {
    display: none; /* Hide tooltips on touch screens */
  }
}
