/* Updated bright futuristic stylesheet for RAVAX NOVA TECHNOLOGIES */

:root {
  --neon-blue: #0066cc;
  --neon-purple: #8b5cf6;
  --neon-cyan: #06b6d4;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
}

/* Core Settings */
html, body {
  background-color: var(--slate-50);
  scroll-behavior: smooth;
}

/* Organic Noise Overlay for high-end texture */
.noise-overlay {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Mouse-Responsive Glowing Spotlight Overlay (Adjusted for high contrast light mode) */
#radial-spotlight {
  background: radial-gradient(
    circle 400px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(6, 182, 212, 0.05) 0%,
    rgba(139, 92, 246, 0.03) 40%,
    transparent 100%
  );
}

/* Premium Thin Tech Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--slate-50);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 204, 0.1);
  border-radius: 999px;
  border: 1.5px solid var(--slate-50);
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 102, 204, 0.3);
}

/* Three.js / Canvas Hologram Layer Positioning */
#hologram-canvas {
  filter: blur(0.5px);
}

/* Custom Dual Cursor followers styling */
#custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

#custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(0, 102, 204, 0.25);
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.05);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              border-color 0.3s, 
              background-color 0.3s;
}

/* Active Cursor state when hovering over links / interactive nodes */
.cursor-active-dot {
  width: 10px !important;
  height: 10px !important;
  background-color: var(--neon-blue) !important;
  box-shadow: 0 0 12px var(--neon-blue) !important;
}

.cursor-active-ring {
  width: 52px !important;
  height: 52px !important;
  border-color: var(--neon-purple) !important;
  background-color: rgba(139, 92, 246, 0.04) !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15) !important;
}

/* Glassmorphism & Neomorphism Cards */
.tech-card, .course-item, .why-card, .stat-card {
  perspective: 1000px; /* Enable 3D Card tilting space context */
  transform-style: preserve-3d;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease, 
              background-color 0.3s ease;
}

/* Sub-elements inside tilt cards gets subtle depth displacement */
.tech-card > *, .why-card > *, .course-item > * {
  transform: translateZ(20px); /* Push inner content slightly forward in 3D */
}

/* Premium Neomorphic border highlights */
.tech-card::before, .course-item::before, .why-card::before, .stat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.2) 50%,
    rgba(0, 102, 204, 0.03)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Custom glow borders on hover */
.tech-card:hover::before {
  background: linear-gradient(
    to bottom right,
    var(--neon-purple),
    transparent 50%,
    var(--neon-cyan)
  );
}

.course-item:hover::before {
  background: linear-gradient(
    to bottom right,
    var(--neon-cyan),
    transparent 50%,
    var(--neon-blue)
  );
}

/* Custom Interactive Active Steps highlight glow */
.timeline-step.active .w-10 {
  border-color: var(--neon-blue) !important;
  color: var(--neon-blue) !important;
  box-shadow: 0 0 15px rgba(0, 102, 204, 0.25);
  background-color: white !important;
}

.timeline-step.active-purple .w-10 {
  border-color: var(--neon-purple) !important;
  color: var(--neon-purple) !important;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
  background-color: white !important;
}

.timeline-step.active-cyan .w-10 {
  border-color: var(--neon-cyan) !important;
  color: var(--neon-cyan) !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
  background-color: white !important;
}

/* Custom animations for moving light background bubbles */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1) translate(0px, 0px);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.15) translate(30px, -30px);
    opacity: 0.25;
  }
}

/* Details modal slide-over transition systems */
#program-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#program-modal.active #modal-drawer {
  transform: translateX(0);
}

#program-modal.active #modal-backdrop {
  opacity: 1;
}

/* Glass slide-over modal styling adjustments */
#modal-drawer {
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
}
