

/* Base styles & Custom properties */
:root {
  --primary: #6366f1; /* Indigo */
  --primary-dark: #4f46e5;
  --secondary: #06b6d4; /* Cyan */
  --accent: #a855f7; /* Purple */
  --dark-bg: #111827;
  --darker-bg: #030712;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --navbar-bg: rgba(17, 24, 39, 0.7); /* Semi-transparent navbar background */
  --glass-effect: blur(12px);
  --transition-normal: all 0.3s ease;
  --border-glow: rgba(99, 102, 241, 0.3);
  --neon-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
  --glow-cyan: 0 0 15px rgba(6, 182, 212, 0.5);
  --glow-indigo: 0 0 15px rgba(99, 102, 241, 0.5);
  --glow-purple: 0 0 15px rgba(168, 85, 247, 0.5);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --primary2: #00ffff;
  --secondary2: #ff0080;
  --accent2: #8000ff;
  --dark: #0a0a0a;
  --darker: #000000;
  --glass: rgba(255, 255, 255, 0.05);
  --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
  --glow-pink: 0 0 20px rgba(255, 0, 128, 0.5);
  --glow-purple: 0 0 20px rgba(128, 0, 255, 0.5);
  --btnprimary: #6366f1; /* Indigo */
}

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

html {
  scroll-behavior: smooth; /* Enable smooth scrolling */
  
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: black;
  color: white;
  overflow-x: hidden;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}



.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--primary-dark), var(--accent));
}

/* Navigation Bar Styles */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--navbar-bg);
  backdrop-filter: var(--glass-effect);
  -webkit-backdrop-filter: var(--glass-effect); /* For Safari */
  border-bottom: 1px solid var(--border-glow);
  z-index: 1000;
  transition: var(--transition-normal);
  height: 70px;
}

#navbar.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(17, 24, 39, 0.9); /* More opaque when scrolled */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Main Title */
.main-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, var(--primary2), var(--secondary2), var(--accent2));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 3s ease-in-out infinite, titleGlow 2s ease-in-out infinite alternate;
  position: relative;
}

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

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5)); }
  100% { filter: drop-shadow(0 0 30px rgba(255, 0, 128, 0.8)); }
}


/* Subtitle */
.subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtitle */
.subtitle_bottom {
  font-size: clamp(1rem, 2vw, 1rem);
  text-align: center;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Action Buttons */
.cta-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease 1s both;
}

.cta-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
}

.btn-primary2 {
  background: linear-gradient(45deg, var(--primary2), var(--secondary2));
  color: black;
  box-shadow: var(--glow-cyan);
}

.btn-secondary2 {
  background: transparent;
  color: var(--primary2);
  border: 2px solid var(--primary2);
  box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.cta-btn:hover {
  transform: translateY(-5px);
  filter: brightness(1.2);
}

.btn-primary2:hover {
  box-shadow: 0 10px 40px rgba(0, 255, 255, 0.4);
}

.btn-secondary2:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: inset 0 0 30px rgba(0, 255, 255, 0.2), 0 10px 40px rgba(0, 255, 255, 0.3);
}



.logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary2);
  text-decoration: none;
  text-shadow: var(--glow-cyan);
  transition: all 0.3s ease;
}

.logo:hover {
  color: var(--secondary2);
  text-shadow: var(--glow-pink);
  transform: scale(1.1);
}

/* Navigation Links */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, rgb(6, 182, 212), rgb(99, 102, 241));
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

/* Mobile Navigation */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
  max-height: 300px; /* Adjust based on your menu height */
}

#mobile-menu-button {
  background: transparent;
  border: none;
  cursor: pointer;
}

/* For the hamburger animation */
#mobile-menu-button.active #line1 {
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
}

#mobile-menu-button.active #line2 {
  opacity: 0;
}

#mobile-menu-button.active #line3 {
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}

#line1, #line2, #line3 {
  transition: transform 0.3s ease, opacity 0.2s ease, background-color 0.3s ease;
  transform-origin: center;
}

/* Section Styles */
section {
  padding: 6rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

section:first-of-type {
  padding-top: 8rem;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Glow Effects */
.glow-effect {
  position: relative;
}

.glow-effect:before {
  content: '';
  position: absolute;
  inset: -5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(8px);
}

.glow-effect:hover:before {
  opacity: 1;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--neon-shadow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background-color: rgba(6, 182, 212, 0.1);
  transform: translateY(-3px);
}

.contact-btn {
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(6, 182, 212, 0.2) 45%,
    rgba(6, 182, 212, 0.4) 50%,
    rgba(6, 182, 212, 0.2) 55%,
    transparent 60%
  );
  transition: transform 0.5s ease;
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
}

.contact-btn:hover::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes pulse {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Card Styles */
.card {
  background-color: rgba(17, 24, 39, 0.7);
  backdrop-filter: var(--glass-effect);
  border: 1px solid var(--border-glow);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--neon-shadow);
  border-color: rgba(99, 102, 241, 0.5);
}

.card-hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-cyan);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 0.5rem;
  color: var(--text-primary);
  transition: var(--transition-normal);
}

.form-input:focus {
  outline: none;
  color: var(--text-primary);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

/* Responsive Layout */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  
  /* Show desktop nav, hide mobile nav */
  .mobile-only { display: none; }
}

@media (max-width: 767px) {
  .desktop-only { display: none; }
  
  section {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  #navbar {
    height: auto;
  }
  
  .nav-link::after {
    display: none;
  }
}

/* Navigation Menu */
/* Menu Tab */
#menu-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  width: 40px;
  height: 120px;
  color: var(--primary2);
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
  user-select: none;
  transition: background 0.3s ease;
}

#menu-tab:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: var(--glow-cyan);
}

#menu-tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.nav-menu {
  position: fixed;
  top: 50%;
  right: -150px; /* Hidden off the screen, adjust width */
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 80px; /* broader than nav-items to accommodate */
  transition: right 0.3s ease;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 10px 0 0 10px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

/* When nav menu is open */
.nav-menu.open {
  right: 50px; /* same right as your original nav-menu */
}

/* Rotate arrow when menu is open */
#menu-tab.open #menu-arrow {
  transform: rotate(180deg);
}

/* Arrow inside tab */
#menu-arrow {
  transition: transform 0.3s ease;
  font-size: 1rem;
}

/* Adjust .nav-item width & height to fit better inside the wide nav */
.nav-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary2);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

.nav-item::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.9rem;
}

.nav-item:hover::after {
  opacity: 1;
  transform: translateX(-10px);
}

/* Tooltip adjustments */
.nav-item::after {
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 25px;
}

/* Hide original fixed nav-menu position */
.nav-menu:not(.open) {
  /* no pointer events when closed */
  pointer-events: none; 
}

.nav-menu.open {
  pointer-events: auto;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
  color: var(--primary2);
  text-shadow: var(--glow-cyan);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-20px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Hidden sections for navigation */
.hidden-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.8);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .cta-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .logo-container {
    top: 20px;
    left: 20px;
  }
  
  .hero-container {
    padding: 1rem;
  }
  
  .main-title {
    font-size: clamp(2rem, 10vw, 4rem);
  }
  
  .subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
  }
}

/* Loading Animation */
      @import url('https://fonts.googleapis.com/css2?family=Creepster&family=Roboto+Mono:wght@300;400;700&display=swap');

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

        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            overflow: hidden;
            transition: opacity 1s ease-out;
        }

        /* Animated background particles */
        .loading-screen::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.1), transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.05), transparent),
                radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.08), transparent),
                radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.03), transparent);
            background-repeat: repeat;
            background-size: 200px 100px;
            animation: sparkle 8s linear infinite;
        }

        @keyframes sparkle {
            0% { transform: translateY(0px) rotate(0deg); }
            100% { transform: translateY(-100px) rotate(360deg); }
        }

       .phantom-logo {
    font-family: 'Creepster', cursive;
    font-size: 4rem;
    color: #1e90ff; /* Rich blue color */
    text-shadow: 
        0 0 10px rgba(30, 144, 255, 0.8),  /* blue shadows with opacity */
        0 0 20px rgba(30, 144, 255, 0.6),
        0 0 40px rgba(30, 144, 255, 0.4);
    margin-bottom: 2rem;
    animation: phantomGlow 2s ease-in-out infinite alternate;
    text-align: center;
}

@keyframes phantomGlow {
    from { 
        text-shadow: 
            0 0 10px rgba(30, 144, 255, 0.8),
            0 0 20px rgba(30, 144, 255, 0.6),
            0 0 40px rgba(30, 144, 255, 0.4);
    }
    to { 
        text-shadow: 
            0 0 20px rgba(30, 144, 255, 1),
            0 0 30px rgba(30, 144, 255, 0.8),
            0 0 60px rgba(30, 144, 255, 0.6);
    }
}

        .loading-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .ghost-spinner {
            width: 80px;
            height: 80px;
            position: relative;
            animation: float 3s ease-in-out infinite;
        }

        .ghost-body {
            width: 60px;
            height: 80px;
            background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(200,200,255,0.8));
            border-radius: 30px 30px 0 0;
            position: relative;
            box-shadow: 
                0 0 20px rgba(255,255,255,0.3),
                inset 0 0 20px rgba(255,255,255,0.1);
            animation: ghostBob 2s ease-in-out infinite;
        }

        .ghost-body::before {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 20px;
            background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(200,200,255,0.8));
            clip-path: polygon(0 0, 20% 100%, 40% 0, 60% 100%, 80% 0, 100% 100%, 100% 0);
        }

        .ghost-eyes {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
        }

        .ghost-eye {
            width: 8px;
            height: 12px;
            background: #333;
            border-radius: 50%;
            animation: blink 3s infinite;
        }

        @keyframes blink {
            0%, 90%, 100% { transform: scaleY(1); }
            95% { transform: scaleY(0.1); }
        }

        .ghost-mouth {
            position: absolute;
            top: 35px;
            left: 50%;
            transform: translateX(-50%);
            width: 15px;
            height: 8px;
            border: 2px solid #333;
            border-top: none;
            border-radius: 0 0 15px 15px;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            33% { transform: translateY(-10px) rotate(1deg); }
            66% { transform: translateY(5px) rotate(-1deg); }
        }

        @keyframes ghostBob {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .loading-text {
            font-family: 'Roboto Mono', monospace;
            font-size: 1.2rem;
            color: #4ecdc4;
            text-align: center;
            min-height: 1.5em;
            animation: textGlow 2s ease-in-out infinite alternate;
        }

        @keyframes textGlow {
            from { 
                color: #4ecdc4;
                text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
            }
            to { 
                color: #45b7b8;
                text-shadow: 0 0 20px rgba(78, 205, 196, 0.8);
            }
        }

       

        .glitch-text {
            animation: glitch 0.3s ease-in-out;
        }

        @keyframes glitch {
            0% { transform: translate(0); }
            20% { transform: translate(-2px, 2px); }
            40% { transform: translate(-2px, -2px); }
            60% { transform: translate(2px, 2px); }
            80% { transform: translate(2px, -2px); }
            100% { transform: translate(0); }
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .phantom-logo {
                font-size: 2.5rem;
            }
            
            .loading-text {
                font-size: 1rem;
                padding: 0 1rem;
            }
            
            .progress-bar {
                width: 250px;
            }
        }

        /* Exit animation */
        .loading-screen.fade-out {
            opacity: 0;
            transform: scale(1.1);
            transition: all 1s ease-in-out;
        }



/* Dark Overlay for Modals */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}



/* Main Container */
.hero-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem;
}

/* Logo Animation */
.logo-container {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 1000;
}





.bg-glow {
  position: fixed;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.bg-glow.top-right {
  top: -20%;
  right: -20%;
}

.bg-glow.bottom-left {
  bottom: -20%;
  left: -20%;
}

/* Footer Styles */
footer {
  background-color: rgba(17, 24, 39, 0.8);
  backdrop-filter: var(--glass-effect);
  border-top: 1px solid var(--border-glow);
  padding: 3rem 0;
}

.footer-link {
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.footer-link:hover {
  color: var(--secondary);
}

/* Section transitions and animations */
.section-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-highlight {
  position: relative;
}

.section-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1), transparent 70%);
  opacity: 0;
  animation: pulse 1s ease;
  pointer-events: none;
  z-index: -1;
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header animation */
.text-6xl {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}


/* Enhance focus styles for accessibility */
a:focus, button:focus {
  outline: 2px solid rgba(6, 182, 212, 0.5);
  outline-offset: 2px;
}

/* Style the scrollbar for a futuristic look */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #0891b2, #4f46e5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #06b6d4, #6366f1);
}

@keyframes ghostFlyIn {
  0% {
    opacity: 0;
    transform: translateX(-110%) translateY(-20px);
  }
  60% {
    opacity: 1;
    transform: translateX(20px) translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes ghostFlyOut {
  0% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-110%) translateY(-20px);
  }
}

#ghost-message {
  transition: opacity 0.4s ease, transform 0.6s ease;
  box-shadow: 0 0 10px 2px rgba(6, 182, 212, 0.7),
              0 0 30px 10px rgba(6, 182, 212, 0.4);
  backdrop-filter: blur(10px);
}

.shadow-neon {
  /* Neon shadow matching your existing cyan glow */
  text-shadow: 0 0 6px rgba(6, 182, 212, 0.8);
}

       



        .text-glow {
            text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
        }

       

       /* Reset & base */
  .parallax-container {
      position: relative;
      height: 100vh;
      overflow: hidden;
      background: #000; /* Optional: default background */
  }
  .parallax-layer {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 120%;
      will-change: transform;
  }
  .bg-mesh {
      background: 
          radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
          radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
          radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
      background-size: 100% 100%, 80% 80%, 120% 120%;
      animation: meshFloat 20s ease-in-out infinite;
  }
  @keyframes meshFloat {
      0%, 100% { 
          background-position: 0% 0%, 100% 100%, 50% 50%;
          filter: hue-rotate(0deg);
      }
      25% { 
          background-position: 20% 10%, 80% 90%, 30% 70%;
          filter: hue-rotate(90deg);
      }
      50% { 
          background-position: 40% 20%, 60% 80%, 10% 90%;
          filter: hue-rotate(180deg);
      }
      75% { 
          background-position: 60% 30%, 40% 70%, 90% 10%;
          filter: hue-rotate(270deg);
      }
  }
  .particle {
      position: absolute;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.8) 0%, rgba(168, 85, 247, 0.4) 50%, transparent 100%);
      border-radius: 50%;
      animation: floatParticle 15s linear infinite;
      filter: blur(0.5px);
  }
  @keyframes floatParticle {
      0% {
          transform: translateY(100vh) rotate(0deg);
          opacity: 0;
      }
      10% {
          opacity: 1;
      }
      90% {
          opacity: 1;
      }
      100% {
          transform: translateY(-20vh) rotate(360deg);
          opacity: 0;
      }
  }
  .glow-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(1px);
      animation: pulseGlow 4s ease-in-out infinite;
  }
  .glow-orb::before {
      content: '';
      position: absolute;
      inset: -20%;
      border-radius: 50%;
      background: inherit;
      filter: blur(20px);
      opacity: 0.6;
      animation: orbitGlow 8s linear infinite;
  }
  @keyframes pulseGlow {
      0%, 100% { transform: scale(1); opacity: 0.6; }
      50% { transform: scale(1.2); opacity: 0.9; }
  }
  @keyframes orbitGlow {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }
  #webgl-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
  }

  
  /* Accessibility: reduce motion */
  @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
      }
  }   


/* Neon Glow Shadow for Button */
.shadow-neon {
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.7), 0 0 24px rgba(168, 85, 247, 0.6);
}
.shadow-neon-hover {
  box-shadow: 0 0 20px rgba(99, 102, 241, 1), 0 0 40px rgba(168, 85, 247, 0.9);
}

/* Float Animation for Orbs */
@keyframes floatOrb {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px);
    opacity: 0.85;
  }
}

        /* Background Image Styling */
       .bg-image {
  position: absolute;
  left: calc(-10vw);
  top: 50%;
  transform: translateY(-50%);
  width: 70vw;
  aspect-ratio: 2 / 1; /* Replace with your image aspect ratio */
  
  background-image: url('./img/technician.png');
  background-size: contain;  /* scales image to fit inside container */
  background-position: center center;
  background-repeat: no-repeat;

  opacity: 0.25;
  filter: blur(1.2px) brightness(0.65);
  z-index: 1;
  pointer-events: none;

  transition: width 0.4s ease, opacity 0.4s ease, filter 0.4s ease, left 0.4s ease;
  will-change: width, opacity, filter, left;
}

@media (max-width: 768px) {
  .bg-image {
    left: calc(-15vw);
    width: 90vw;
    opacity: 0.15;
    filter: blur(1.5px) brightness(0.6);
  }
}

 /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .modal {
            background: linear-gradient(145deg, #ffffff, #f0f0f0);
            border-radius: 25px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            position: relative;
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1);
            transform: scale(0.7) translateY(50px);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            text-align: center;
        }

        .modal-overlay.show .modal {
            transform: scale(1) translateY(0);
        }

        .modal-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            position: relative;
            overflow: hidden;
        }

        .modal-icon::before {
            content: '⭐';
            font-size: 35px;
            animation: sparkle 2s ease-in-out infinite;
        }

        @keyframes sparkle {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.1) rotate(5deg); }
        }

        .modal-title {
            font-size: 28px;
            font-weight: bold;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
        }

        .modal-text {
            font-size: 16px;
            color: #666;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .modal-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .modal_btn {
            padding: 15px 30px;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-width: 140px;
        }

        .modal_btn::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.5s ease;
        }

        .modal_btn:hover::before {
            left: 100%;
        }

        .modal_btn-yes {
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
            color: white;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
        }

        .modal_btn-yes:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
        }

        .modal_btn-no {
            background: linear-gradient(135deg, #ff7675, #fd79a8);
            color: white;
            box-shadow: 0 4px 15px rgba(255, 118, 117, 0.3);
        }

        .modal_btn-no:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 118, 117, 0.4);
        }

        .modal_close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            color: #999;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal_close-btn:hover {
            background: #f0f0f0;
            color: #333;
            transform: rotate(90deg);
        }

        /* Pulse animation for the modal */
        @keyframes pulse {
            0% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); }
            50% { box-shadow: 0 25px 70px rgba(102, 126, 234, 0.3); }
            100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); }
        }

        .modal-overlay.show .modal {
            animation: pulse 3s ease-in-out infinite;
        }

        /* Responsive design */
        @media (max-width: 600px) {
            .modal {
                padding: 30px 20px;
                margin: 20px;
            }
            
            .modal-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
            }
        }

        /* Floating particles effect */
        .modal::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            animation: float 10s linear infinite;
            pointer-events: none;
        }

        @keyframes float {
            0% { transform: translate(0, 0) rotate(0deg); }
            100% { transform: translate(-20px, -20px) rotate(360deg); }
        }

 
 /* PoP-Up effect */
        .popup-overlay {
            backdrop-filter: blur(10px);
            background: rgba(0, 0, 0, 0.7);
        }
        
        .popup-content {
            background: rgba(17, 24, 39, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(79, 70, 229, 0.3);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
                        0 0 0 1px rgba(79, 70, 229, 0.1),
                        inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }
        
        .popup-enter {
            animation: popupEnter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .popup-exit {
            animation: popupExit 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
        }
        
        @keyframes popupEnter {
            0% {
                transform: scale(0.7) translateY(20px);
                opacity: 0;
            }
            100% {
                transform: scale(1) translateY(0);
                opacity: 1;
            }
        }
        
        @keyframes popupExit {
            0% {
                transform: scale(1) translateY(0);
                opacity: 1;
            }
            100% {
                transform: scale(0.8) translateY(-20px);  
                opacity: 0;
            }
        }
        
        .popup_floating-particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(79, 70, 229, 0.6);
            border-radius: 50%;
            animation: float 6s infinite ease-in-out;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }
        
        .progress-bar {
            background: linear-gradient(90deg, #ef4444, #f97316, #eab308, #22c55e);
            background-size: 400% 100%;
            animation: progressFlow 3s linear infinite;
        }
        
        @keyframes progressFlow {
            0% { background-position: 100% 0; }
            100% { background-position: -100% 0; }
        }
        
        .shake {
            animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
        }
        
        @keyframes shake {
            10%, 90% { transform: translate3d(-1px, 0, 0); }
            20%, 80% { transform: translate3d(2px, 0, 0); }
            30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
            40%, 60% { transform: translate3d(4px, 0, 0); }
        }

         .modal-backdrop {
            backdrop-filter: blur(10px);
        }
        .modal-content {
            animation: modalSlideIn 0.3s ease-out;
        }
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(-20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        .fade-out {
            animation: fadeOut 0.2s ease-in forwards;
        }
        @keyframes fadeOut {
            to {
                opacity: 0;
                transform: scale(0.95) translateY(-10px);
            }
}

        /* Pop-up Styles */
        .review_review-popup {
            position: fixed;
            top: 50%;
            left: -400px;
            transform: translateY(-50%);
            width: 360px;
            background: linear-gradient(145deg, #ffffff, #f8f9ff);
            border-radius: 0 20px 20px 0;
            box-shadow: 
                10px 0 40px rgba(0,0,0,0.15),
                0 10px 30px rgba(0,0,0,0.1);
            transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 1000;
            overflow: hidden;
        }

        .review_review-popup.show {
            left: 0;
        }

        .review_popup-header {
            background: linear-gradient(135deg, #667eea, #764ba2);
            padding: 25px;
            color: white;
            position: relative;
        }

        .review_popup-header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .review_popup-title {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 8px;
            position: relative;
            z-index: 2;
        }

        .review_popup-subtitle {
            font-size: 0.95rem;
            opacity: 0.9;
            position: relative;
            z-index: 2;
        }

        .review_popup-body {
            padding: 30px 25px;
        }

        .review_review-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
            50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(102, 126, 234, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
        }

        .review_star-icon {
            color: white;
            font-size: 1.5rem;
        }

        .review_popup-text {
            text-align: center;
            color: #555;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .review_popup-buttons {
            display: flex;
            gap: 12px;
        }

        .review_btn {
            flex: 1;
            padding: 14px 20px;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

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

        .review_btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .review_btn-primary {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            transform: translateY(0);
        }

        .review_btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .review_btn-secondary {
            background: #f1f3f4;
            color: #666;
            border: 2px solid #e1e5e9;
        }

        .review_btn-secondary:hover {
            background: #e8eaed;
            border-color: #d1d5db;
            transform: translateY(-1px);
        }

        .review_close-btn {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            z-index: 3;
        }

        .review_close-btn:hover {
            background: rgba(255,255,255,0.3);
            transform: rotate(90deg);
        }

        /* Mobile Responsiveness */
        @media (max-width: 480px) {
            .review-popup {
                width: 100%;
                left: -100%;
                border-radius: 0 20px 0 0;
            }
            
            .review_review-popup.show {
                left: 0;
            }
        }


      .logo2 {
            font-size: 3.5rem;
            font-weight: 900;
            background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 3s ease infinite;
            margin-bottom: 1rem;
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
        }
        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }