/* --- JOB CARDS (Interactive) --- */
        .job-card {
            background-color: #1E293B;
            border: 1px solid #334155;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        
        .job-card:hover {
            border-color: #EF4444;
            transform: translateY(-5px);
            box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.2);
        }

        .job-card::before {
            content: "View Details";
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15, 23, 42, 0.9);
            color: #EF4444;
            font-family: 'Michroma', sans-serif;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 10;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .job-card:hover::before {
            opacity: 1;
        }

        /* --- INTERNSHIP CARDS (Static) --- */
        .intern-card {
            background-color: #1E293B;
            border: 1px solid #334155;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
            overflow: hidden;
        }
        
        .intern-card:hover {
            border-color: #EF4444;
            transform: translateY(-5px);
            box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.2);
        }

        /* --- PROTOCOL STEPS --- */
        .step-number-bg {
            font-family: 'Michroma', sans-serif;
            color: rgba(255, 255, 255, 0.03);
            position: absolute;
            right: 1rem;
            top: -0.5rem;
            font-size: 6rem;
            line-height: 1;
            z-index: 0;
            pointer-events: none;
        }

        /* --- MODAL --- */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15, 23, 42, 0.9);
            backdrop-filter: blur(8px);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

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

        .modal-content {
            background: #1E293B;
            border: 1px solid #334155;
            width: 90%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: hidden; /* Main modal shouldn't double scroll */
            transform: scale(0.95);
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
        }

        .modal-overlay.active .modal-content {
            transform: scale(1);
        }

        .bg-noise {
            position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
            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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            z-index: 0;
        }
        
        /* Custom scrollbar for the modal boxes */
        .modal-scroll-box::-webkit-scrollbar {
            width: 6px;
        }
        .modal-scroll-box::-webkit-scrollbar-track {
            background: #0f172a; 
        }
        .modal-scroll-box::-webkit-scrollbar-thumb {
            background: #374151; 
            border-radius: 3px;
        }
        .modal-scroll-box::-webkit-scrollbar-thumb:hover {
            background: #ef4444; 
        }