/**
 * Mentore Solution — Three.js Visual Experience Styles
 * Global ambient canvas layer, translucent glass depth, 3D card tilt & specular glare.
 */

/* =========================================================
   1. GLOBAL THREE.JS CANVAS CONTAINER
========================================================= */
#threejs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

#threejs-ambient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* =========================================================
   2. LAYERED DEPTH & CONTENT ELEVATION
========================================================= */

/* Hero video on homepage must remain 100% opaque and untouched */
.hero-video-section {
    position: relative;
    z-index: 10 !important;
    background: #000 !important;
}

/* Navbar must ALWAYS remain fixed at the very top above all content and videos */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
}

/* All foreground content sits gracefully above the WebGL background */
section,
main,
footer,
.footer-section,
.main-container,
.training-showcase-container {
    position: relative;
    z-index: 2;
}

/* Glassmorphism card surfaces that allow soft golden glow to shimmer through */
.feature-box,
.why-box,
.service-box,
.fp-card-column,
.job-card,
.program-card,
.stat-box,
.student-card {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

/* 3D Specular glare overlay for interactive cards */
.card-specular-glare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    mix-blend-mode: overlay;
}

/* Interactive click stardust particles */
.three-stardust-spark {
    pointer-events: none;
    position: fixed;
    border-radius: 50%;
    will-change: transform, opacity;
}
