/* ===== Custom styles beyond Tailwind ===== */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Particle canvas */
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Gradient text helper */
.gradient-text {
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulsing dot */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.animate-pulse-dot { animation: pulse-dot 2s infinite; }

/* Float bounce for WhatsApp */
@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float-bounce 3s ease-in-out infinite; }

.float-whatsapp {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 45px; height: 45px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.float-whatsapp svg { width: 24px; height: 24px; fill: #fff; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Nav link underline effect */
.nav-link-effect::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #00d4ff;
  transition: width 0.3s ease;
}
.nav-link-effect:hover::after { width: 100%; }

/* Service card top-bar glow */
.service-card-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, #7b2fff);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card-glow:hover::before { opacity: 1; }

/* Navbar glass */
.navbar-glass {
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* Process connector line */
.process-line::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #7b2fff, #00ff88, #00d4ff);
  opacity: 0.25;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a12; }
::-webkit-scrollbar-thumb { background: #1e1e35; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2e2e50; }

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* About Us Specific Styles */
.mission-quote {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid #7b2fff;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-5px);
}

.chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.chip:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.3);
  color: #00d4ff;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(15, 15, 26, 0.8), rgba(10, 10, 18, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
}
/* Adjust navbar for WhatsApp button */
#navbar .container {
  padding-right: 85px !important;
}

@media (max-width: 768px) {
  #navbar .container {
    padding-right: 80px !important;
  }
}
